Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intrabar order generation

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

    Intrabar order generation

    In the strategy wizzard or strategy how do I enable Intra-bar order generation both for backtesting and realtime orders. As of right now the orders are made at the open of next bar. I want the orders to take place as soon as the strategy condition is met and not after.
    I set "calculate on bar close" to false but still not doing it.
    Thanks

    #2
    designer, CalculateOnBarClose is not applicable to backtesting (always true here) as the intrabar formation is not know.

    For realtime trade signal generation you could set it to false to submit an order when the condition becomes true intrabar, however it could lead to unwanted whipsaws.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      ---CalculateOnBarClose is not applicable to backtesting (always true here) as the intrabar formation is not know. Can this work in a market replay connection simulation? will this feature be available in version 7 ?


      ---however it could lead to unwanted whipsaws. Can I set it to one order per bar?


      Thanks

      Comment


        #4
        designer, yes this would would in market replay data, as this replayed live data, there's no change in this default behavior for NinjaTrader 7.

        You could add a check to order only if flat for example, this way one entry in the developing bars would be executed.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Balage0922, Today, 07:38 AM
        0 responses
        2 views
        0 likes
        Last Post Balage0922  
        Started by JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        19 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        6 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Working...
        X