// Prints the high price of the most recent up bar over the last 10 bars
int barsAgo = MRO(delegate {return Close[0] > Open[0];}, 10, 1);
if (barsAgo > -1)
Print("The bar high was " + High[barsAgo]);
Seems like the "10" and the "1" are reversed in the example...the last parameter is documented to be the "bars to look back"...am I reading this wrong?
Comment