Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using indicators as a trailingstop

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

    Using indicators as a trailingstop

    Hi,
    Sorry for my English! It is not my first language!
    I have started a strategy with NinjaTrader. I am ok with 2 profit targets. They are performing ok! The buying is ok so far but I would like to include a trailingstop that will be an indicator (ex: SMA one bar ago) and sale when the low cross the trailingstop. I would like that my salePrice would be the Trailing stop (one by ago) and not the ‘’Open’’ the bar after the close cross the trailingstop!
    Any hints or advises?

    #2
    felgab, while you are in your position you could submit a stop loss then for the position to be at the last bar's SMA value - you can for example use the SetStopLoss method with a calculation mode of price, then you can set the stop directly to a price like value - your SMA here.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X