Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies behavior inconsistent and unreliable

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

    Strategies behavior inconsistent and unreliable

    Hi,

    Have a lot of strategies running on daily bars.
    Had them running for a couple of days and some of them had opened positions with target and stops in place.
    I performed the following actions in order:
    1. I disabled them.
    2. Reloaded data from Kinetick.
    3. Changed option to "wait until flat before executing"
    4. Enabled the strategies.

    None of them is yellow.
    How is this possible?!

    #2
    Would they hold any historical positions after the data reload / recalculation then at all per the conditions?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      no.
      So realtime vs. backtesting behaves very differently.

      Comment


        #4
        It seems that when backtesting on daily bars NT executes the target always if target price was traded during the day. Does not take into consideration if target was reached after or before entry.

        Comment


          #5
          Yes, there are some expected discrepancies running realtime vs backtesting:



          Only the OHLCV info of a series (here the daily bar) is known in backtesting, not the intrabar / day formation, with additional coding granularity could be added to your script.

          You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by selu72, Today, 02:01 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Started by WHICKED, Today, 02:02 PM
          2 responses
          8 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by f.saeidi, Today, 12:14 PM
          8 responses
          21 views
          0 likes
          Last Post f.saeidi  
          Started by Mikey_, 03-23-2024, 05:59 PM
          3 responses
          50 views
          0 likes
          Last Post Sam2515
          by Sam2515
           
          Started by Russ Moreland, Today, 12:54 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Erick  
          Working...
          X