Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Understanding The Orders Mechanism

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

    Understanding The Orders Mechanism

    Hi,

    I'm trying to understand how the NT build in Order mechanism is working in the following scenario:
    1. I have a short position in the market, with a stop loss and take profit set for it.
    2. I get a signal to place a Long Limit Order few ticks below the current price(Close[0]).

    My question is what happens in such scenario?

    TX in advance!

    #2
    Hello Ben,
    Thanks for writing in and I am happy to assist you.

    If you have an position with a stop and target in place using the Set method, then the ExitLongLimit will be ignored as per the internal order rules.

    To submit an Limt order, you have to cancel the Set orders, exit the short position and then put the buy limit order.

    Please see the section “Internal Order Handling Rules that reduce Unwanted position” to get more idea from here http://www.ninjatrader.com/support/h...d_approach.htm
    Methods that generate orders to enter a position will be ignored if:
    • A position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction
    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by arvidvanstaey, Today, 02:19 PM
    4 responses
    11 views
    0 likes
    Last Post arvidvanstaey  
    Started by samish18, 04-17-2024, 08:57 AM
    16 responses
    61 views
    0 likes
    Last Post samish18  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    9 views
    0 likes
    Last Post jordanq2  
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    48 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X