Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-time frame orders

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

    Multi-time frame orders

    Hi all,

    I believe I read something about this on the forum (or perhaps the help docs?), but I'm having a hard time searching through to locate the thread...

    I'm trading the same instrument in two different timeframes... and I'm getting myself in trouble because an order from the second-timeframe can't get through while the first one is working. I know this is well known behavior.

    I'm just trying to understand my options for getting around this.

    I currently track 'IOrder' object from both timeframes. I try to CancelOrder() the other order before placing the second one... but it looks like the cancellation isn't happening "quick" enough to allow the second order to be accepted... so, what do most people do? Increase EntriesPerDirection by one, and hope not both orders are filled?

    Thanks in advance.

    #2
    Your best bet is to cancel the order, monitor the cancellation of this order in OnOrderUpdate() and once "Cancelled", then submit the other order.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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