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 nightstalker, Today, 02:05 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post nightstalker  
                      Started by llanqui, Yesterday, 09:59 AM
                      8 responses
                      28 views
                      0 likes
                      Last Post llanqui
                      by llanqui
                       
                      Started by quicksandatl, Today, 01:39 PM
                      1 response
                      5 views
                      0 likes
                      Last Post quicksandatl  
                      Started by md4866, 05-01-2024, 08:15 PM
                      2 responses
                      18 views
                      0 likes
                      Last Post md4866
                      by md4866
                       
                      Started by samish18, Today, 12:20 PM
                      0 responses
                      7 views
                      0 likes
                      Last Post samish18  
                      Working...
                      X