I used strategy builder to create and compile the strategy. However, when I apply the strategy to a chart, NO arrows are drawn.
Following is the code snippet:
if (CrossAbove(Close, SMA(60), 1)
&& DMI_JP(60)[0] > 0)
{
DrawArrowUp("LONG" + CurrentBar, false, 0, 0, Color.Lime);
PlaySound(@"C:\Program Files\NinjaTrader 6.5\sounds\long.wav");
}
Please help.
Thanks.
Comment