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

Slippage problem

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

    Slippage problem

    Hi Ray

    I am having few problems and I am sure you can guide me on that

    1. When I place my market order and set stop loss at 4 ticks and my profit 4 ticks then it process the profit only when it crosses the 4 ticks but for losses it process as it touches the 4 ticks. I am using "setstoploss" and "setprofittarget"

    Is that usual. It is not working the same way for profit and loss


    2. When I am placing my orders (market orders). there is slippage of .5 point. I see the price as 1401 and place market order but sometime it is taking at 1401.50 or even on some time at 1401.75


    3. I have also seen that some it is processing my stop loss at point where I dont see that candle reached. For example, I see my stoploss is set at 4 ticks from 1401 (for long). That means my stop loss is at 1400. It gets executed but when I check the candle data I dont see the candle has reached to 1400. The open, close, high and low are above 1400 then how come it excuting the loss at 1400

    For the above I have also checked the data (text file)

    I will appreciate your response

    Thanks

    #2
    1. Right, that is how limit and stop orders work. A stop order is triggered as the stop price is touched.

    2. Right, that is what can happen.

    3. Right. Use the "Liberal" fill method instead of Default. This is explained in more detail in the Help Guide Strategy Analyzer section.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    2 views
    0 likes
    Last Post gentlebenthebear  
    Started by samish18, Yesterday, 08:31 AM
    2 responses
    9 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by Mestor, 03-10-2023, 01:50 AM
    16 responses
    389 views
    0 likes
    Last Post z.franck  
    Started by rtwave, 04-12-2024, 09:30 AM
    4 responses
    31 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Started by yertle, Yesterday, 08:38 AM
    7 responses
    30 views
    0 likes
    Last Post yertle
    by yertle
     
    Working...
    X