PDA

View Full Version : Mro


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?

NinjaTrader_Ray
08-31-2007, 12:59 PM
Hi Jim,

Yes, they are reversed, thanks for pointing this out.

Ray