Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

trailing stops updated every tick

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

    trailing stops updated every tick

    Good Afternoon;

    I would like to find out how can I get ninja trader to update my trailing stop every tick, while the strategy is calculated on the close of the bar?

    thank you and have a good day

    #2
    Hello,

    Thank you for your post.

    Unfortunately, this is not possible directly within the ATM strategy. To accomplish this you will need a custom NinjaScript Automated Trading Strategy.

    Comment


      #3
      Eamon,

      If the SetTrailingStop() method is set once within the Initialize() method of a custom NinjaScript Automated Trading Strategy that updates at the Close of the bar, will the trail still trail on a tick by tick basis? Is this done within the internal workings of NT?

      If so, is the associated trailing order constantly modified by NT to the broker?

      Thanks
      Anthony
      mrlogik
      NinjaTrader Ecosystem Vendor - Purelogik Trading

      Comment


        #4
        Yes, done internally of course. Modifications sent to broker.
        RayNinjaTrader Customer Service

        Comment


          #5
          perfect.

          thanks
          mrlogik
          NinjaTrader Ecosystem Vendor - Purelogik Trading

          Comment


            #6
            Thank you for your reply Eamon . Is there anywhere I can find out how such a code will be structured
            Last edited by aafwintb; 07-09-2008, 04:24 AM.

            Comment


              #7
              You can find information in our Help Guide at the link below.

              Comment


                #8
                Thank you very much for your reply jason.
                It seems you guys do not understand how to solve this problem. I have read though various posts on the same subject, but none of the so called ninja experts have answered the question.

                Comment


                  #9
                  Unfortunately you can not have the stop placed by your strategy updated tick by tick but the managing strategy running on CalculateOnBarClose=true.

                  Comment


                    #10
                    Dierk.

                    I know this is in the ATM section, but if you have an NT coded strategy and the CalculateOnBarClose is true, can't you still use OnMarketData() tick by tick to update and submit a new SetStopLoss()?

                    Thanks.
                    mrlogik
                    NinjaTrader Ecosystem Vendor - Purelogik Trading

                    Comment


                      #11
                      Right, this might be valid idea. Thanks for throwing that in.

                      My statement then "only" would be applicable to OnBarUdpate()

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by argusthome, 03-08-2026, 10:06 AM
                      0 responses
                      116 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      61 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      40 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      43 views
                      0 likes
                      Last Post TheRealMorford  
                      Started by Mindset, 02-28-2026, 06:16 AM
                      0 responses
                      82 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Working...
                      X