PDA

View Full Version : Variable to hold crossover?


Trader61
11-12-2009, 04:08 AM
I want to be able to tell that a crossover has taken place, but it may not have happened in this bar or last several bars. How would I do this? Can I do this with the Strategy Wizard?

I basically want to flag that a crossover has taken place that I could check. Could I set a variable when a crossover takes places and then check this variable later?

NinjaTrader_Bertrand
11-12-2009, 04:15 AM
Trader61, yes user variables are ideal for this task -

http://www.ninjatrader-support2.com/vb/showthread.php?t=15417