Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Autp trail runner on ATM strategy

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

    Autp trail runner on ATM strategy

    Hi there,

    Is there anyway to setup an ATM strategy such that the runner can have a trailing stop come into place once price has exceeded a given amount of ticks from the entry price?

    Thank-you
    Michelle

    #2
    Hello,
    This is not possible with an ATM Strategy.
    To achieve this you would need to use custom programming with an automated strategy. You would need to check when the price is greater than your entry price and then have it submit the order.
    For example if you want it to submit the order after price has exceeded by 10 ticks
    Code:
    if(Position.GetProfitLoss(Close[0], PerformanceUnit.Points) == 10)
            SetTrailStop(CalculationMode.Mode, double value)
    For more information on Position.GetProfitLoss please see the following link:http://ninjatrader.com/support/helpG...profitloss.htm

    For more information on SetTrailStop() please see the following link: http://ninjatrader.com/support/helpG...ttrailstop.htm
    Cody B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,227 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X