Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating moving stop loss to lock in the profits

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

    Creating moving stop loss to lock in the profits

    Hello, I am trying to implement risk mgt for my automated strategy. Have two things I'd like to achieve:
    - If I am long and if the trade moves in my favor by 6 ticks in the ES, I want my stoploss to move to breakeven.
    - Again, if I am long and if the trade moves in my favor by another 6 ticks (that's a total of 12 ticks of favorable move), I want my stop loss to move to 6 ticks above my entry price. This is to lock in the profits if the market turns against me.

    Can someone please help me how this can be achieved in NT?
    Very much appreciate your help in advance.

    #2
    Hi Pandyav,

    Thank you for your post.

    You can use two different methods that we have available.

    If you are familiar with ATM strategies you can incorporate an ATM strategy into your Automated Strategy. I suggest taking a look at the example we have built into NinjaTrader, Tools -> Edit NinjaScript -> Strategy -> SampleAtmStrategy

    The second method would be modfying a stoploss and profit target dynamically. The link below is a reference sample on this is achieved in NinjaScript -
    http://www.ninjatrader.com/support/f...ead.php?t=3222

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    117 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    164 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    85 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    130 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    88 views
    0 likes
    Last Post PaulMohn  
    Working...
    X