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 frankthearm, Today, 09:08 AM
    5 responses
    10 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    43 views
    0 likes
    Last Post jeronymite  
    Started by yertle, Today, 08:38 AM
    5 responses
    15 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by adeelshahzad, Today, 03:54 AM
    3 responses
    18 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by bill2023, Yesterday, 08:51 AM
    6 responses
    27 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X