Disliked{quote} Loaded MetaEditor from under terminal, loaded the indi and successfully pressed F5. Now I have no idea what variables to put into Expression. Had no idea that such an easy Q will cause so much struggle for the coders. It's been 2 weeks already I'm trying to find the A. What I did receive were wrong answers and useless instructions and packs of codes I don't understand and I said several times that I am not a MQL4 programmer. Don't get the fact the coders can't understand my Q clearly and yet wasting their time doing pointless things.Ignored
Those line of codes is the formula. What more do you want?
https://www.forexfactory.com/showthr...3#post10043013
The HA candles. How is calculated the open price of the very first HA candle on the chart?
Answer:
haOpen=(ExtOpenBuffer[i-1]+ExtCloseBuffer[i-1])/2;
haClose=(open[i]+high[i]+low[i]+close[i])/4;
haHigh=MathMax(high[i],MathMax(haOpen,haClose));
haLow=MathMin(low[i],MathMin(haOpen,haClose));
You have to look at every variable: where, what, when, how, afterwards.
Now you want to know what is [i] or MathMax or MathMin.
You want a short answer and when given you still don't understand.
How long will it take to explain Albert Einstein's famous equation E=mc2 to a person that does not know what is E or mc2? Figure that one out and you will know how long it is going to take to explain " calculated the open price "