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 jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,290 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        8 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        8 responses
        61 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        8 views
        0 likes
        Last Post Option Whisperer  
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        24 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X