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

how to properly configure Stop Market Order

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

    how to properly configure Stop Market Order

    Dear Support

    Does the ExitLongStopMarket Price has to be exact market price?
    in the sense that I am passing a stop price that the decimal is not quarters or ticks

    will this prevent the order to get executed?

    Thanks

    #2
    Hello jimmy_trader,

    Thanks for your post.

    ExitLongStopMarket() generates a sell stop market order to exit a long position at the exact stop price that you specify.

    For example, ExitLongStopMarket(Low[0]); would submit a sell stop market order at the current bar's Low price. This could be offset by Ticks, Pips, Percent, etc. Below is an example of calling ExitLongStopMarket() with a stop price of the current bar's Low price + a 5 tick offset.

    ExitLongStopMarket(Low[0] + 5 * TickSize);

    See this help guide documentation for more information: https://ninjatrader.com/support/help...stopmarket.htm

    Let us know if we may assist further.

    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Kaledus, Today, 01:29 PM
    5 responses
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Waxavi, Today, 02:00 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by alifarahani, Today, 09:40 AM
    5 responses
    23 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by gentlebenthebear, Today, 01:30 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PhillT, Today, 02:16 PM
    2 responses
    7 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Working...
    X