Is it possible to use the Slope() method as part of the true/false condition to be tested within the MRO() method? I have tried the following code but I do not seem to be getting the results:
int endBarsAgo = 1;
int barsAgo = MRO(delegate{return hPrice[2] <= hPrice[1] && hPrice[1] > hPrice[0] && Slope(hIndic, 1, endBarsAgo) < slopeRef;}, idx, CurrentBar - 2) + 1;
Can anyone help?
Thanks,
Stopped
Comment