Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

auto move stop loss

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

    auto move stop loss

    No of Buy Entries: 3
    Stop Loss: 10 ticks
    First Profit Entries: 2
    First Profit Ticks: 4 ticks

    Second Profit Entries: 1
    Second Profit Ticks: 8 Ticks

    I will manually pull trigger to Buy Long/Short

    But strategy should sell entries based on above parameters
    I want to build strategy with above input parameters
    When First Target is met, the STOP loss should auto move to ENTRY price.


    #2
    Hi surya, thanks for posting.

    If you want to create an ATM strategy with a break even, please watch the ATM 301 webinar:

    For the most up-to-date ATM training resources, check out our Advanced Trade Management playlist: https://www.youtube.com/playlist?list=PL3-s3qsUnfLR-WCxS_rk...


    For a NinjaScript strategy that implements a break-even, see the attached example from this forum post:


    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      I have ATM Strategy but how do I move STOP to breakeven.

      Click image for larger version

Name:	Capture.JPG
Views:	728
Size:	33.6 KB
ID:	1178841
      Attached Files

      Comment


        #4
        Hi surya , thanks for your reply.

        The Stop Strategy must be created for one of the targets. E.g. for target one, open up the Stop Strategy and for break even set: Profit Trigger: 6, Plus: 0 this will move the stop loss from 20 to break even once 6 ticks of profit have been reched for target 1.

        Best regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Please correct me if this is right?

          Click image for larger version

Name:	Capture.JPG
Views:	683
Size:	35.4 KB
ID:	1202578

          Click image for larger version

Name:	Capture-2.JPG
Views:	660
Size:	37.9 KB
ID:	1202579


          Click image for larger version

Name:	Capture-3.JPG
Views:	651
Size:	38.5 KB
ID:	1202580
          Attached Files

          Comment


            #6
            Hi surya, It looks fine to me. You can use the simulated data feed to test your ATMs. It gives you a slider control so you can control the price direction over time.

            Kind regards,
            -ChrisL
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              Team,

              I tried and its not working, the STOP LOSS is not moving after 1st TARGET is met. Can you test & confirm from your end.


              Regards,

              Comment


                #8
                Hi surya, your 1st target has a break-even profit trigger that's the same as its profit target setting. You would want to apply that stop strategy to the second target instead.

                Kind regards,
                -ChrisL
                Chris L.NinjaTrader Customer Service

                Comment


                  #9
                  Sorry, not clear on what you meant. Can you share steps please.

                  Comment


                    #10
                    Hi surya, remove the break even stop strategy from the first target and apply it to your second target and then you should be able to understand what I am saying. Alternatively, set the profit trigger for the first stop strategy to 4, or any number lower than it's profit target. The problem is your profit trigger is the same as it's profit target, so its filling before it gets the chance to reach its profit trigger to break even.

                    Kind regards,
                    -ChrisL
                    Last edited by NinjaTrader_ChrisL; 05-24-2022, 08:14 AM.
                    Chris L.NinjaTrader Customer Service

                    Comment


                      #11
                      Thanks Chris, as per your suggestion I made below changes

                      I got 4 entries

                      Click image for larger version

Name:	Capture-1.JPG
Views:	635
Size:	37.5 KB
ID:	1202976

                      STOP BREAK EVEN

                      Click image for larger version

Name:	Capture-2.JPG
Views:	646
Size:	23.7 KB
ID:	1202978

                      STOP BREAKEVEN + 4, Similarly STOP BREAKEVEN + 8

                      Click image for larger version

Name:	Capture-3.JPG
Views:	641
Size:	39.1 KB
ID:	1202979

                      But When my first target trigger, only 1 STOP LOSS moved to my entry area but the other 2 didn't move. Not sure how we can fix this.
                      When my first target met, I want all my STOP LOSS to be at my entry price, When my 2nd target met, ALL STOP LOSS should move at First Entry
                      Please correct me what am I doing wrong here.

                      Click image for larger version

Name:	Capture.JPG
Views:	643
Size:	139.8 KB
ID:	1202980
                      Attached Files

                      Comment


                        #12
                        Hi surya, It looks like the other two stop strategies have a higher profit trigger value than STOP BREAKEVEN +4 if you want all of them to move to break even at 12 ticks of profit, then set all the profit triggers to a 12 profit trigger.
                        Chris L.NinjaTrader Customer Service

                        Comment


                          #13
                          Hi surya , i'm having the exact same issue you're having. Did you manage to figure it out? If you did can you please show how you did it? Thanks

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Radano, 06-10-2021, 01:40 AM
                          19 responses
                          604 views
                          0 likes
                          Last Post Radano
                          by Radano
                           
                          Started by KenneGaray, Today, 03:48 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post KenneGaray  
                          Started by thanajo, 05-04-2021, 02:11 AM
                          4 responses
                          470 views
                          0 likes
                          Last Post tradingnasdaqprueba  
                          Started by aa731, Today, 02:54 AM
                          0 responses
                          5 views
                          0 likes
                          Last Post aa731
                          by aa731
                           
                          Started by Christopher_R, Today, 12:29 AM
                          0 responses
                          10 views
                          0 likes
                          Last Post Christopher_R  
                          Working...
                          X