Jim-Boulder
08-31-2007, 12:48 PM
In the USer Manual, the MRO example is shown as:
// 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?
// 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?