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 bortz, 11-06-2023, 08:04 AM
    47 responses
    1,607 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
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    6 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    16 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X