Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parameters EOD Exit

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

    Parameters EOD Exit

    I have my EODExit set to 155500 (3:55PM), but the backtest results show the exit as 4:00 PM.

    a) how can I make sure I am out at 3:55 when I go live? (is my strategy set up correctly?)

    b) does Ninja use my computers clock for the time, or my brokers time to execute the close?

    thanks,

    Bruce (newbie at automated trading)

    #2
    a. You likely submitted your trade at 3:55. In backtesting, a submission on a closed bar can only be executed at the open of the next bar which means 4:00 if you are on 5min charts. In real-time if you use CalculateOnBarClose = false then it will submit it at the next tick which will be ~3:55.

    b. It uses your chart's timestamps. Whether this is locally timestamped or natively done by your brokerage depends on which brokerage you are using.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      a. You likely submitted your trade at 3:55. In backtesting, a submission on a closed bar can only be executed at the open of the next bar which means 4:00 if you are on 5min charts. In real-time if you use CalculateOnBarClose = false then it will submit it at the next tick which will be ~3:55.

      b. It uses your chart's timestamps. Whether this is locally timestamped or natively done by your brokerage depends on which brokerage you are using.
      Thanks Josh;
      I am using 15 minute bars; so what do I need to do to close at 3:55?
      My broker is TDAmeritrade; their rep said the time is based on their system; not sure he knows what he's talking about... can you confirm? thanks

      Comment


        #4
        TDA bars are timestamped locally by your PC clock in NinjaTrader.

        In backtesting you likely do not have the granularity for a 3:55 exit. In real-time you just want to run with CalcualteOnBarClose = false and then you can place the exit when your PC clock says 3:55.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        68 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        54 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X