Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Automation Initilization Methods

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

    Strategy Automation Initilization Methods

    Currently, when you enable a strategy (for real-time trading) that includes historical bars, you need to sync the market position based on the position the strategy has determined based on historical bars.

    I would like to request to change or preferably add another method of strategy initialization: When you enable a strategy for real-time trading, the historical signals are dis-regarded and you always start the strategy in a flat position. This way you dont need to manually or programatically sync your market position when you enable a strategy.

    #2
    thinking about it a little more, maybe add a vertical line where the (real-time) strategy was initialized. Or some other type of visual queue of where the historical strategy ends. Maybe just remove all the historical signal arrows all together once the strategy goes in to real-time mode.

    Comment


      #3
      I will forward your suggestions to our development team and ask them if they can add this to the list of future considerations for the software.

      Thank you for taking time and post your feedback.
      JasonNinjaTrader Customer Service

      Comment


        #4
        You can use the following statement at the top of OnBarUpdate():

        if (Historical) return;

        This ensures the strategy that runs in real-time will begin flat. However, this does not guarantee the account is flat as well.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Jason View Post
          You can use the following statement at the top of OnBarUpdate():

          if (Historical) return;

          This ensures the strategy that runs in real-time will begin flat. However, this does not guarantee the account is flat as well.
          Well that is good enough for me. Thanks Jason.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by sidlercom80, 10-28-2023, 08:49 AM
          170 responses
          2,271 views
          0 likes
          Last Post sidlercom80  
          Started by Irukandji, Yesterday, 02:53 AM
          2 responses
          17 views
          0 likes
          Last Post Irukandji  
          Started by adeelshahzad, Today, 03:54 AM
          0 responses
          3 views
          0 likes
          Last Post adeelshahzad  
          Started by CortexZenUSA, Today, 12:53 AM
          0 responses
          3 views
          0 likes
          Last Post CortexZenUSA  
          Started by CortexZenUSA, Today, 12:46 AM
          0 responses
          1 view
          0 likes
          Last Post CortexZenUSA  
          Working...
          X