It's just how the price is calculated if for example you are using heiken ashi (better formula) close the code for determining that close isAlphonse91 wrote: Mon Aug 08, 2022 1:41 am Hello Mr. Tools, I don't know where to ask this question, so I apologize first if I'm asking this in the wrong thread.
This is a little bit silly, but my question is if in the indicator we select the price option, let's say, 'heiken ashi (better formula) close',
what does it mean and what does it do to the indicator? Does the indicator behave like we put it on the heiken ashi candle and not the Japanese stick candle?
Thank you, Mr. Tools, sorry for my silly question.
Code: Select all
if (_prHABF(tprice))
if (high[i]!=low[i])
haClose = (open[i]+close[i])/2.0+(((close[i]-open[i])/(high[i]-low[i]))*MathAbs((close[i]-open[i])/2.0));
else haClose = (open[i]+close[i])/2.0;
Code: Select all
close[i]