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 techgetgame, Today, 11:42 PM
    0 responses
    7 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Today, 11:36 PM
    0 responses
    1 view
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,612 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Working...
    X