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 Rocket, Today, 07:43 PM
    0 responses
    1 view
    0 likes
    Last Post Rocket
    by Rocket
     
    Started by javier.filgueira, Today, 03:07 PM
    0 responses
    32 views
    0 likes
    Last Post javier.filgueira  
    Started by cassb, Today, 03:09 PM
    0 responses
    28 views
    0 likes
    Last Post cassb
    by cassb
     
    Started by ChasK, Today, 10:03 AM
    3 responses
    44 views
    0 likes
    Last Post Lancer
    by Lancer
     
    Started by UltraNIX, Today, 01:07 PM
    3 responses
    38 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X