Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set on barclose and eachtick custom

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

    Set on barclose and eachtick custom

    Hello, my question is if its possible to set single indicators react on bar close and single indicators on eacht from a strategy with the strategy builder

    #2
    Hello Uregon,

    Your indicators will follow the strategies Calculate setting so to do what you are asking the indicators would need to be programmed in specific ways in addition to the strategy.

    The strategy could be set to OnEachTick. The indicators which need to work OnBarClose would need to be programmed to use OnEachTick and then in their logic use FirstTickOfBar to simulate bar close events.

    Comment


      #3
      NinjaTrader_Jesse Can you give me an example of strategy builder ? I implement it to my strategy in backtesting it works but in realtime market there will be no execution anymore

      Comment


        #4
        Hello Uregon,

        I woul suggest trying OnBarClose in realtime to see if the strategy performs the same, backtests always use OnBarClose for processing.

        This would otherwise be something you need to change in the indicators, not the strategy. If the indicators are intended to work OnBarClose but you set the strategy to OnEachTick that will change how the indicators work. They would have to be programmed differently to support simulating OnBarClose while using OnEachTick.

        There are not any additional changes in the strategy that you would need to make, you just would change the Calculate setting in the strategy depending on the goal you had. If OnBarClose is used, all indicators use OnBarClose, if OnEachTick is used the indicators will follow and use that instead.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X