I am returning the value of the Ichimoku indicator and want to be able to look at the data in the chinkou span one step back and one step forward of what is the default. So the 2 points on either side is what I wanted to retrieve.
The chinkou span is a lagging indicator which is 26 positions behind. So I essentially want price data from 25 and 27 as 26 is the default. How can I return this data?
IchChin = iCustom(NULL,0,"Ichimoku",9,26,52,4,26); //ChinKou Span
IchChin25 = iCustom(NULL,0,"Ichimoku",9,26,52,4,25); //ChinKou Span - one step before default - always returns 0 ??
IchChin27 = iCustom(NULL,0,"Ichimoku",9,26,52,4,27); //ChinKou Span - one step after default
To add comments, please log in or register