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 Option Whisperer, Today, 09:05 AM
        0 responses
        1 view
        0 likes
        Last Post Option Whisperer  
        Started by cre8able, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Started by Harry, 05-02-2018, 01:54 PM
        10 responses
        3,203 views
        0 likes
        Last Post tharton3  
        Started by ChartTourist, Today, 08:22 AM
        0 responses
        6 views
        0 likes
        Last Post ChartTourist  
        Started by LiamTwine, Today, 08:10 AM
        0 responses
        2 views
        0 likes
        Last Post LiamTwine  
        Working...
        X