PDA

View Full Version : Data Series


nigeleyre
01-07-2009, 02:06 PM
I have a data series called emaT21 and want to check when the Bid crosses this level, I am trying to use this but get errors, what is the correct syntax please?

CrossBelow(GetCurrentBid(), emaT21[0], 1)

NinjaTrader_Josh
01-07-2009, 02:15 PM
CrossBelow(GetCurrentBid(), emaT21, 1)

nigeleyre
01-07-2009, 02:29 PM
Mmm, I tried that but it wouldn't compile. Thanks anyway

NinjaTrader_Josh
01-07-2009, 02:33 PM
What is the compile error? You need to compare DataSeries to double or DataSeries to DataSeries.