Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy entry market orders don't get filled

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

    Strategy entry market orders don't get filled

    Can somebody help me pls?

    I've began running live automated system after a couple mounths of backtesting. I am running my strategy from the chart. I have a problem: strategy orders/positions appears on chart only after I close strategy and reload. System doesn't send orders automatically into TWS platfrom. This can be the problem?

    /// <summary>
    /// Called on each bar update event (incoming tick)
    /// </summary>
    protected override void OnBarUpdate()


    Please help...

    #2
    Please follow this tip and see if you get any messages when running your strategy: http://www.ninjatrader-support2.com/...ead.php?t=3627
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      not updating the bars on live strategy running

      Running live strategy from the chart. Does not execute trading conditions. Entries and exits appear only when I reload strategy on the chart. What should I do?

      Comment


        #4
        serman, to which account do you execute? On the Sim101 they would stay inside of NinjaTrader.

        Also: please remove any CalculateOnBar references in called indicators and control this only from the strategy Initialize() directly.

        Comment


          #5
          Bertrand,

          I am runninng live trading strategy with TWS. I am running this strategy from the ninja trader chart. On the Sim101 account everything is fine, the problem is with the live trading account. I am not using any "calculate onbarclose" references. But I have set up chart to run from specific period of time...

          Comment


            #6
            serman, do you see any errors in the log tab? Did you check into TraceOrders yet to debug? - http://www.ninjatrader-support2.com/...ead.php?t=3627

            So the strategy is running as expected in realtime trading on the Sim101 account?

            Which TWS and NT versions do you employ? We recommend using TWS 895.3 with NT 6.5.1000.12 currently - http://www.ninjatrader.com/webnew/su...ivebrokers.htm

            Comment


              #7
              Bertrand,

              I am using trace orders, have checked log files but nothing there. Output window does not print anything. I will try to update ninja trader but seems to me that the problem is with the bar update. Now I reloaded strategy and it exited from the position a few bars ago while the position in the TWS is sill the same....

              Comment


                #8
                serman, ok please upgrade to the latest NinjaTrader release via Help > Download Site.

                Then contact me with the Help > Mail to Support feature ( Attn Bertrand ) and check to include Trace and Logs.

                Thanks

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                559 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                546 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X