Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two separate stop or limit orders placed at the same time

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

    Two separate stop or limit orders placed at the same time

    If I, for instance, set up an "Enter Long by limit" set at 4 ticks above Ask and an "Enter Short by stop" set at 4 ticks below bid, OnBarOpen only one appears. Whether these are in the same "Action" or two separate "Actions" under separate "Conditions". What parameters in Strategy Builder do I need to change to allow that?

    If I wanted to right click the chart and place a "Buy Stop" and "Sell Stop" above and below a bar, it is allowed but to do so from Startegy builder eludes me.

    As a follow-up, how would I cancel one when the other is filled?

    Please and thank you,

    Sam
    Last edited by smcllr; 08-08-2020, 06:27 PM.

    #2
    Hello Sam,

    The Strategy Builder uses the managed approach which does not allow for two working orders in opposite directions.

    Below is a link to the help guide on the internal order handling rules.
    https://ninjatrader.com/support/help...antedPositions

    To accomplish this using the Strategy Builder you would need use logic to submit a market order in the correct direction at the correct time.

    This can be achieved with an unlocked script that uses the unmanaged approach.

    Below is a link to an example.
    https://ninjatrader.com/support/foru...579#post770579
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jerminedop, Today, 12:18 AM
    0 responses
    5 views
    0 likes
    Last Post jerminedop  
    Started by cnzaxtoil, Yesterday, 11:38 PM
    0 responses
    4 views
    0 likes
    Last Post cnzaxtoil  
    Started by cnzaxtoil, Yesterday, 11:37 PM
    0 responses
    3 views
    0 likes
    Last Post cnzaxtoil  
    Started by sukhob, Yesterday, 04:27 PM
    1 response
    14 views
    0 likes
    Last Post zacharydw00  
    Started by Bmnaiorwsd, Yesterday, 07:52 PM
    0 responses
    4 views
    0 likes
    Last Post Bmnaiorwsd  
    Working...
    X