When I initiate a loop to extract the value of a specific indior (for arguments sake ATR) how can I extract the atr worth of the final x bars
for instance
for (int I =1; ilt;=Bars; I )
latestatr = iATR(NULL,0,5,0);
Alert (latestatr);
For instance I know whether I wanted that the high of the past xbar it would be high[x] .... But how can you extract the value of an indior for pub? I tried iATR (x) or iATR [x] ... but to no avail.??
Cheers
D_T