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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        88 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X