Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Timeframe problem in 7.0

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

    Multiple Timeframe problem in 7.0

    Version 7.0.0.23.

    We have been running a multiple TtimeFrame strategy in 6.5 with the same instrument in both TF's. We discovered early on that even though we are only trading on the Primary TF, an entry order (a stop entry) has to be resubmitted on both TF's otherwise the order is cancelled when exiting the secondary timeframe OnBarUpdate(). Note that we set the EntriesPerDirection property to 1 during initialization.

    We recently moved the strategy to 7.0 and found that the order (re)entry on the secondary TF is intermittently having the order rejected with the following error:

    'Exceeded entry signals limit based on EntryHandling and
    EntriesPerDirection properties'

    and a null IOrder is returned. We are currently testing an "all in/all out" strategy so it's not currently a problem but would be for a "scale in" strategy.

    Attached is a copy of the output window with our log entries and NT log entries (TraceOrders property is set to true).
    Attached Files

    #2
    Hello Paulca,

    We discovered early on that even though we are only trading on the Primary TF, an entry order (a stop entry) has to be resubmitted on both TF's otherwise the order is cancelled when exiting the secondary timeframe OnBarUpdate().
    This shouldn't be a requirement. You can submit orders to only one time frame, and use the liveUntilCancelled property = true for the order to remain active beyond the bar it's submitted on.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X