Hi
Someone please remind me what I'm doing wrong, I'm trying to step back through the high() and low() values of previous bars. It works for the previous candle (-1) but not for a general negative number. [Edit: It also works when processing historic bars, but fails when we get to the current bar.]
I think
should access the high values for the symbol and interval of the current chart and return a valid value for any nCandle (a negative) which, as I don't do this until we get to the current bar, is not a value greater in magnitude than the number of bars in the chart. I get null as the return, eSig 10.0.
I can't work it out.
Thanks
Someone please remind me what I'm doing wrong, I'm trying to step back through the high() and low() values of previous bars. It works for the previous candle (-1) but not for a general negative number. [Edit: It also works when processing historic bars, but fails when we get to the current bar.]
I think
PHP Code:
nVal = high(nCandle);
I can't work it out.
Thanks
Comment