Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multiple executions of one order

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

    multiple executions of one order

    I am working with the Wizard to develop my Strategy so I hope you can help me using that. In the image http://screencast.com/t/YLMRpoNChjN
    the red diamond indicates the set-up bar where the HMA signal line goes positive, the yellow diamond marks the first bar with a close above the high of the set-up bar. This high is set as the stop limit entry price but is not to be filled till after 8am (the indigo background area or during the daytime session of ES which has a black background). So the fill happens and is hit by the trailing stop a few bars later. That is all correct. But then the Strategy re-enters at the same stop limit entry price. I want this entry order to be cancelled after it is filled the first time and not repeated. How can I do this in the Wizard? Thanks.

    #2
    Hi Bkout,

    Thank you for posting.

    You can use an 'User Variable', to use as a 'switch' for your order.

    Your condition that places that 'Yellow Dot', add a 'Set user defined variable' in the lower half of the conditions and actions page. Set the value to 1.

    On your order entry, add in the condition another test if the User variable is equal to 1. In the actions part, add another 'Set user defined variable' , but use the same variable as before and set the value to anything but 1.

    Now every time it goes through the code it will only set the first order once the yellow dot is placed and then turn it 'off' once the order is placed.

    Below are two screen shots of the settings in the wizard on how to setup the switch. Keep in mind the condition settings are just a sample.

    Draw dot condition

    Entry order Condition

    Please let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X