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 NullPointStrategies, Today, 05:17 AM
        0 responses
        41 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X