Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

workaround CalculateOnClose

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

    workaround CalculateOnClose

    There is absolutely no way how to turn off CalculateOnClose while backtesting?
    /I read all threads, support pages, ninjascript 7 help/ so there is no need to repost "all trades are made after day/bar closes".
    I am trying to program gap strategy and it is required that value of CalculateOnClose is FALSE while backtest/real trade.
    I cant even imagine that today i get signal to go short and i cant go short right away!
    any one know how i can workaround this "feature" of NT7?
    Please do not tell me MarketReplay is the way.

    thanks for any suggestions

    #2
    Hello buggyboy,

    Yes, unfortunately you cannot turn off CalculatOnBarClose in the Strategy Analyzer. I am not aware of any workaround.

    Comment


      #3
      ok so there is no way to turn it of in NinjaScript.
      but there must be a way how to disable it while its programmed in the NT7 and there is even switch right in ninjascript (CalculateOnBarClose)
      I am talking about some config files where nt is installed.
      Ill try poke in it... but nt is huge and I doubt that ill find what am im looking for.


      this is sad really sad that nt is forcing... who cares yo.
      thanks for reply anyway.

      Comment


        #4
        Unfortunately this is not supported.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X