(function(){
var COOKIE_NAME = 'menthorq_utm_params';
var LS_KEY = 'menthorq_utm_params';
var UTM_KEYS = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','utm_id'];
var CLICK_ID_KEYS = ['gclid','fbclid','msclkid','ttclid'];
var COOKIE_DAYS = 30;// Read UTM parameters and click IDs from current URL
var params = new URLSearchParams(window.location.search);
var trackingData = {};
var hasData = false;
var allKeys = UTM_KEYS.concat(CLICK_ID_KEYS);
for (var i = 0; i < allKeys.length; i++) {
var val = params.get(allKeys[i]);
if (val) {
trackingData[allKeys[i]] = val;
hasData = true;
}
}if (hasData) {
// Fresh tracking data found in URL — store it (overwrites previous attribution)
trackingData.captured_at = new Date().toISOString();
setCookie(COOKIE_NAME, JSON.stringify(trackingData), COOKIE_DAYS);
try { localStorage.setItem(LS_KEY, JSON.stringify(trackingData)); } catch(e) {}
return;
}// No tracking params in URL — check if cookie exists
if (getCookie(COOKIE_NAME)) return;// Cookie is missing (expired or first visit) — try to restore from localStorage
try {
var stored = localStorage.getItem(LS_KEY);
if (stored) {
var parsed = JSON.parse(stored);
if (parsed && (parsed.utm_source || parsed.gclid || parsed.fbclid || parsed.msclkid || parsed.ttclid)) {
setCookie(COOKIE_NAME, stored, COOKIE_DAYS);
}
}
} catch(e) {}// Helper: set cookie
function setCookie(name, value, days) {
var expires = new Date(Date.now() + days * 864e5).toUTCString();
var cookie = name + '=' + encodeURIComponent(value) + ';expires=' + expires + ';path=/;SameSite=Lax';
if (location.protocol === 'https:') cookie += ';Secure';
document.cookie = cookie;
}// Helper: get cookie value (returns empty string if not found)
function getCookie(name) {
var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
return match ? decodeURIComponent(match[1]) : '';
}
})();
var breeze_prefetch = {"local_url":"https://menthorq.com","ignore_remote_prefetch":"1","ignore_list":["/wp-json/openid-connect/userinfo","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
Understanding Candlestick: What Information a Candlestick Shows
Understanding candlestick charts begins with knowing the information each candle displays. In Technical analysis, Japanese candlesticks provide an immediate view of four key data points: the open price, close price, high, and low.
These values are specific to the candle’s time frame a daily candle reflects an entire trading session, while a ten-minute candle captures price activity over a ten-minute period.
Understanding Candlestick Charts in Trading 8
Understanding Candlestick: Structure of a Japanese Candlestick
Candlestick charts are characterized by several elements that provide insight into price movement.
The candlestick body is the rectangular area that represents the price range between the opening and closing prices. A green body indicates that the closing price is higher than the opening price, while a red body indicates that the closing price is lower than the opening price.
The upper shadow, also called the upper wick, is the vertical line extending above the candle body and represents the highest price reached during the time frame. The lower shadow, or lower wick, extends below the candle body and represents the lowest price reached during the same period.
The color of the candle shows whether price increased or decreased during the selected time frame. In some charting platforms, candlesticks can also be black and white, where white represents bullish candles and black represents bearish candles. Using green and red is generally more effective for visual clarity.
Candlestick Patterns
Japanese candlesticks also form formations known as candlestick patterns or chart patterns. These patterns help identify trends and confirm potential price direction.
Among the most important patterns are the Hammer, the Doji, the Marubozu, and many others. These patterns are widely used by traders to analyze market behavior and anticipate future price movements.
Introduction to Heikin Ashi Candles
Heikin Ashi candles are a variation of Japanese candlesticks and are used to capture trends more effectively. They were developed to make traditional candlestick charts cleaner and easier to interpret by reducing short-term price noise.
Like Japanese candlesticks, Heikin Ashi candles display open, close, high, and low values. However, these values are not direct reflections of actual market prices but are derived from arithmetic calculations.
How Heikin Ashi Candles Are Calculated
The opening price of a Heikin Ashi candle is calculated as the average of the opening and closing prices of the previous candle. This smoothing method reduces sudden price gaps and provides a more balanced representation of market sentiment.
The closing price is calculated using the average of four values: open, close, high, and low of the current candle. The formula is:
Close = (Open + Close + High + Low) / 4.
The maximum value of a Heikin Ashi candle is determined by the highest value among the current high, the Heikin Ashi open, and the Heikin Ashi close. The minimum value is determined by the lowest value among the current low, the Heikin Ashi open, and the Heikin Ashi close.
This calculation process dampens extreme price fluctuations and reveals clearer trend signals.
Understanding Candlestick Charts in Trading 9
Comparing Japanese Candlesticks and Heikin Ashi
One limitation of Japanese candlesticks is the amount of noise they can display. Alternating green and red candles can make it difficult to identify a true trend and may lead to false signals.
Heikin Ashi candles were created to address this issue. By smoothing price movement, Heikin Ashi charts appear cleaner and allow traders to interpret trends more efficiently.
The advantage of Japanese candlesticks is that they display real market sentiment and momentum. Candle color and body size help identify bullish or bearish pressure. Long-bodied candles with no shadows indicate strong directional movement, while candles with long shadows show conflict between buyers and sellers. Doji candles indicate indecision.
Despite these advantages, Japanese candlesticks can still generate false reversal signals.
Using Heikin Ashi to Identify Trends
Heikin Ashi candles help eliminate short-term price movements, often referred to as market noise. These abrupt movements can create spikes that confuse traders.
A series of large green Heikin Ashi candles indicates an uptrend, while a series of large red candles indicates a downtrend. Strong uptrends are reinforced by green candles without lower shadows, while strong downtrends are confirmed by red candles without upper shadows.
When smaller candles with both upper and lower shadows appear, it suggests that the trend is losing strength and may be entering a consolidation phase.
Doji candles or small candles with long shadows can signal potential trend reversals, indicating market indecision or rejection of key price levels.
Advantages and Limitations of Heikin Ashi
The primary advantage of Heikin Ashi candles is their smoother appearance. During uptrends, candles remain predominantly green, and during downtrends, they remain red for extended periods. This visual continuity helps traders stay focused on the main trend.
However, Heikin Ashi candles do not represent actual market prices. The closing price of a Heikin Ashi candle may differ from the real market closing price, which can create a disconnect between the chart and execution levels.
Traders must remain aware of this limitation when using Heikin Ashi charts for analysis.
Candlestick charts are fundamental tools in technical analysis, offering valuable insight into price action and market sentiment. Japanese candlesticks provide precise price information, while Heikin Ashi candles help filter noise and clarify trends. Understanding how and when to use each chart type allows traders to analyze markets more effectively and improve long-term decision-making.