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.
              JasonNinjaTrader Customer Service

              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 Tim-c, Today, 03:54 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post Tim-c
                      by Tim-c
                       
                      Started by FrancisMorro, Today, 03:24 AM
                      0 responses
                      2 views
                      0 likes
                      Last Post FrancisMorro  
                      Started by Segwin, 05-07-2018, 02:15 PM
                      10 responses
                      1,771 views
                      0 likes
                      Last Post Leafcutter  
                      Started by Rapine Heihei, 04-23-2024, 07:51 PM
                      2 responses
                      31 views
                      0 likes
                      Last Post Max238
                      by Max238
                       
                      Started by Shansen, 08-30-2019, 10:18 PM
                      24 responses
                      945 views
                      0 likes
                      Last Post spwizard  
                      Working...
                      X