Heiken Ashi (HA) - type of representation quotations on time segments, based on the averaged price fluctuations of the previous time period.
View of indicator on the chart:
Methodology of building HA candles.
Open = (Open (i-1) + Close (i-1)) / 2;
Where, Open - the value of the opening of the current price, Open (i-1) - the price of opening the previous candle, Close (i-1) - the closing price of the previous candle. That is, for the price of opening the current candle is taken the average value between the price of opening and closing of the previous candle.
Close = (open (i) + high (i) + low (i) + close (i)) / 4;
The closing price is calculated as the average value of the opening, maximum, minimum and closing of the candle.
High = MathMax (high (i), MathMax (Open, Close));
The maximum value from two numbers high (i) - maximum closing price of the candle and MathMax (Open, Close) - maximum value between the opening and closing price. That is, if we say in simple words, then the greater of two numbers is determined and the final value of High is assigned to it.
By analogy with High, the value Low is calculated, only the difference, taken minimum of two numbers:
Low = MathMin (low (i), MathMin (Open, Close))
Based on the obtained values, the indicator builds its own candles chart, which are superimposed over the main chart.
To add and configure the indicator, you must open the settings window.
Source - settings of calculation parameters of the indicator::
Panel - select the location of the indicator on the chart:
- New panel
Visible - turn on/off display of bars.
Visible - turn on/off display of HA candles.
Scale - if this option is enabled, the scale will automatically be calculated based on the minimum and maximum values of the indicator, in order for the indicator to be placed on the graph.
Up Candle Color - choose color of upward candle.
Down Candle Color - choose color of downward candle.
Candle Border - choose color or candle`s border.
Show description of indicator
Servicio de atención al cliente por UserEcho