Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why order execution is late in auto strategy

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

    why order execution is late in auto strategy

    Hi all,

    I designed a small test auto strategy but the issues is that it is slow to react, after the conditions executed on chat, system wont put the order right away. I mean usually it executes its order after 2nd or 3rd candle.

    All I want is that my strategy should execute order immediately after conditions in strategy got executed on chart.

    Thanks
    Uzair

    #2
    uzairkha, welcome to the forums - please work with CalculateOnBarClose = false to submit the order on the tick after the conditions triggered (this will only work in realtime, as the intrabar tick formation is not known in backtesting) -

    Comment


      #3
      still not working

      I do have CalculateOnBarClose = false (box uncheck) in my strategy. But still it’s not working. Any thing else which needs to be corrected.

      Comment


        #4
        uzairkha, unfortunately hard to tell without having a rough idea of your custom code and what you attempt to do - do you have the same when our default SampleMACrossOver is used? Please also add a visual check (DrawArrow, Dots) as your conditions trigger so you can debug if the hit as think they do.

        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