I'm defenitely not a coder, but I'm learning (very slowly I have to admit
is this correct? : PATR=iATR(NULL,NULL,ATR_Period,0);
or should it be : PATR= iATR(NULL,0,ATR_Period;0);
both ways show on screen: ATR= 0,000000
what I'm missing?
Hi iATR is used in this way:fxcba » Sat Jul 19, 2014 6:43 pm wrote:Hello
I'm defenitely not a coder, but I'm learning (very slowly I have to admit), I have problem on showing an indi value on main chart, text part is ok but only get zeroes instead the correct value, the indi is ATR
is this correct? : PATR=iATR(NULL,NULL,ATR_Period,0);
or should it be : PATR= iATR(NULL,0,ATR_Period;0);
both ways show on screen: ATR= 0,000000
what I'm missing?
double PATR=iATR(symbol,timeframe, period,shift);Maybe you can attach your complete code, than I will take a look, why it is not working as intended..fxcba » Sat Jul 19, 2014 7:06 pm wrote:Hi Tomasso
thank you for your answer
I've declared PATR as double, and text is shown on screen, why is no reading the value?
Here you gomilanese » Sat Jul 19, 2014 4:11 pm wrote:Maybe you can attach your complete code, than I will take a look, why it is not working as intended..fxcba » Sat Jul 19, 2014 7:06 pm wrote:Hi Tomasso
thank you for your answer
I've declared PATR as double, and text is shown on screen, why is no reading the value?
Cheers
Tommaso
do not worry, we all started one day, good that you try to learn coding