Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SMA Crossing Strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SMA Crossing Strategy

    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
    Attached Files

    #2
    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.
    RayNinjaTrader Customer Service

    Comment


      #3
      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

      Comment


        #4
        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.
        RayNinjaTrader Customer Service

        Comment


          #5
          Ray,
          So if I wanted to have the buy signal triggered earlier I would have to use intraday bar charts?

          Comment


            #6
            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.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            60 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            147 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            161 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            97 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            284 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X