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 yertle, Today, 08:38 AM
    6 responses
    24 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    46 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    23 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X