PDA

View Full Version : Arrow alerts in strategy do not work


Pippursuit
07-31-2009, 06:53 AM
Hello.

I created a simple strategy to test arrows.

It is a price Oscillator (3,18,6) that when the Oscillator crosses above 0 it is to generate an UP arrow, and when the Oscillator crosses below 0 it generates a DOWN arrow.

I see the Oscillator on my chart, but no arrows. What did I do wrong?

I zipped and attached the code.

Thank you in advance.

NinjaTrader_Bertrand
07-31-2009, 06:57 AM
Pippursuit, your Y Axis values for the DrawArrows are at 0, so you won't see them on the chart, please set them to something like the Bar high or Low + / - an offset - http://www.ninjatrader-support.com/HelpGuideV6/StrategyAction-DrawingOnAChart.html

Pippursuit
07-31-2009, 09:40 AM
Perfect!

Thank you so much - I see my error and it works perfectly now.