• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Script to trail the ATM stops

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

    Script to trail the ATM stops

    I've been using your @SampleAtmStrategy. to place start an ATM from the script which simply has 2 profit argets, and the 2 stops.
    I now would like to change this strqategy to trail these stops by modifying these ATM stop orders, I can use a PSRR for it.
    What are the instructions to modify these stops? (the stop controled by the ATM that I lunched from this same script)
    Thank You.

    #2
    Hi giogio1, thanks for your post.

    Orders that an ATM creates can not be modified by the script that initiates the ATM. You can implement a trailing stop in the ATM itself. See this documentation page on stop strategies:

    https://ninjatrader.com/support/help...p_strategy.htm

    Best regards.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Gav_G, Today, 10:35 AM
    0 responses
    1 view
    0 likes
    Last Post Gav_G
    by Gav_G
     
    Started by traderpards, Today, 09:55 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by MojoJojo, Today, 09:53 AM
    0 responses
    5 views
    0 likes
    Last Post MojoJojo  
    Started by lunardiplomacy, Today, 08:23 AM
    5 responses
    17 views
    0 likes
    Last Post lunardiplomacy  
    Started by Gerik, Today, 06:36 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X