PDA

View Full Version : SMA Crossing Strategy


designer
11-01-2008, 07:05 AM
I followed Josh's Strategy creation from the webinar last week using the Wizzard. When plotted it on the chart (see attachment) I get the Buy and Sell signals one or sometimes two bars late. I tried changing to false for "On bar close" and "look back" to 1....but still the signals are late. Is there a setting I'm missing? I want the signas to be realtime on the crossing of SMAs. Thanks

NinjaTrader_Ray
11-01-2008, 10:39 AM
Image looks correct. The actual cross occurs one bar before the execution is plotted. You can verify this by checking the values of the MAs on each bar, the bar above the circle does not have a cross, I can see this in the image. It looks like it but, just check the values and I suspect you will see that I am correct.

designer
11-01-2008, 11:10 AM
I did, the Smas crossed on the 17th and the Buy signal was triggered on the 21st at the open. Also the Sell Smas cross was on the 13th and the signal was triggered on the 14th. I tried changing the look back to cero in the Wizzard but did not allow me. it seem too late to me in both cases is there a way to make the signals get triggered sooner or realtime? Please advice.
Thanks

NinjaTrader_Ray
11-01-2008, 03:00 PM
Unfortunately I have no furher advice. From your image, the lines on the 17th do not cross, I can see that they cross on the next bar which is when the signal is triggered which would fill on the next bar which is exactly what is seen in the image you posted.

designer
11-01-2008, 04:21 PM
Ray,
So if I wanted to have the buy signal triggered earlier I would have to use intraday bar charts?

NinjaTrader_Ray
11-01-2008, 06:02 PM
If you want it on a daily chart you would need to run your strategy with the parameter 'Calculate on bar close' set to false.