PDA

View Full Version : Strategy based on indicator value, not price?


cassb
12-18-2007, 10:06 PM
Is there a way to create a strategy that runs off of an indicator value rather than the instrument price? For example, let's say I want to enter a long position when the EMA is rising, and then close that position when the EMA stops rising. I created a strategy with the wizard, but it seems to base trades on the instrument ticks rather than the indicator values from bar to bar. It keeps opening and closing the trade within each bar rather than allowing the trade to remain open across bars until the indicator changes direction.

Thanks!
Bryan

NinjaTrader_Josh
12-19-2007, 12:12 AM
Yes this is possible. In the wizard instead of selecting price data select your indicator. http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?CreatingTheSrategyViaTheWizard

cassb
12-19-2007, 06:44 AM
Yes this is possible. In the wizard instead of selecting price data select your indicator. http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?CreatingTheSrategyViaTheWizard

D'oh. That was kind of obvious, wasn't it? Thank you! :D