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 Touch-Ups, Today, 10:36 AM
    0 responses
    0 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    8 responses
    61 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    4 responses
    3,289 views
    1 like
    Last Post jgualdronc  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    5 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    22 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X