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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X