• 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 rontronimous, Today, 05:55 PM
    0 responses
    7 views
    0 likes
    Last Post rontronimous  
    Started by bcgeek, Today, 03:43 PM
    2 responses
    6 views
    0 likes
    Last Post bcgeek
    by bcgeek
     
    Started by Mberg, Today, 04:05 PM
    0 responses
    8 views
    0 likes
    Last Post Mberg
    by Mberg
     
    Started by dkbyond, Today, 03:52 PM
    0 responses
    4 views
    0 likes
    Last Post dkbyond
    by dkbyond
     
    Started by Newtrader101, Today, 03:09 PM
    2 responses
    6 views
    0 likes
    Last Post Newtrader101  
    Working...
    X