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

Question About ExitLongStop()

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

    Question About ExitLongStop()

    Hello,

    Is the ExitLongStop() triggered by the Last price and then submitted to the Bid or is the ExitLongStop() triggered by the Bid?

    Thank you for your time and response.

    #2
    Hello otislauwaert,

    Thanks for your post.

    ExitLongStop() will place a stop market order which will fill when the stop price is met. Testing the NinjaTrader simulator for realtime data using the simulated data feed, the last price will have to touch the stop market order, and then the fill is made with bid/ask.

    You can test the same on your end creating a chart with three 1 tick data series added using Ask, Bid and Last all plotting to the first panel and with different colors for each data type. We can then see that the Last will have to touch in order for the order fill to begin.

    There are differences between NinjaTrader simulated fills with historical and realtime data and these fills are going to be fundamentally different from the true market dynamics at the exchange. These differences are publicly outlined here - https://ninjatrader.com/support/help...ime_vs_bac.htm

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    12 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    9 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    387 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X