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 set 2 step trail stop.

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

    How to set 2 step trail stop.

    Hallo.
    Could anybody tell me how to set 2 step trail order??
    I know how to set trail stop buy how to make it go follow only 1 or 2 times only???
    Any suggestions will be very appreciated.
    Rgds
    Czarek

    #2
    To do this you would need to use IOrder objects instead of the SetTrailStop(). Please check out the reference sample section for the OnOrderUpdate() sample. Take the ideas from there and just x2 it for the moving stop loss.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Human#102, Yesterday, 09:54 AM
    2 responses
    7 views
    0 likes
    Last Post Human#102  
    Started by Patlpp, 08-16-2021, 03:10 PM
    10 responses
    498 views
    0 likes
    Last Post Joerg
    by Joerg
     
    Started by AdamDJ8, 05-07-2024, 09:18 PM
    2 responses
    19 views
    0 likes
    Last Post -=Edge=-  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    46 responses
    4,103 views
    3 likes
    Last Post tradgrad  
    Started by usasugardefender, Today, 01:42 AM
    0 responses
    1 view
    0 likes
    Last Post usasugardefender  
    Working...
    X