• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Request Breakeven Functions in Strategy Builder

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

    Request Breakeven Functions in Strategy Builder

    I use the Strategy Builder as I am not a programmer. It would be very helpful if a Breakeven function was available in the Strategy Builder. When I test a trading idea manually the ATM Strategy easily allows a Breakeven setting. When I want to fine tune that idea in Strategy Builder Breakeven isn't available.. The Breakeven feature can really make a difference in the profitability of a strategy.

    Let me know if NinjaTrader has any interest in adding this feature.

    Thank you,

    #2
    Hello 123r34,

    I am happy to submit a feature request on your behalf for the NinjaTrader Development to consider this for a future version of NinjaTrader. Please let me know if you would like to do this.

    NinjaScript Strategies are meant to have the behavior customized by the logic of the programmer including any trailing or breakeven movements.

    Attached are two examples of a breakeven movement and a trailing action created with the Strategy Builder.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Yes, please submit my request for a Breakeven function in the Strategy Builder. It would be extremely useful to the non programmers which are probably the vast majority of your users.


      Thank you

      Comment


        #4
        Hello 123r34,

        I have received a tracking ID for your request.

        Your request for the Strategy Builder to have breakeven settings is being tracked with ID #SFT-2212.

        Please note it is up to the NinjaTrader Development to decide if and when a request will be implemented.

        We appreciate your feedback. Please let us know of any other suggestions you have for the NinjaTrader Platform.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Any examples/samples for NT7 ?
          Thnx.

          Comment


            #6
            Hello gplatis,

            Below are links to NinjaTrader 7 versions.
            https://ninjatrader.com/support/foru...458#post381458
            https://ninjatrader.com/support/foru...604#post478604
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Please add my request for this feature

              Comment


                #8
                I have forwarded your vote request to our development team.
                Christopher J.NinjaTrader Customer Service

                Comment


                  #9
                  please add my vote for this feature request ID#SFT-2212
                  Thank you.

                  Comment


                    #10
                    I have forwarded your vote as well.
                    Christopher J.NinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_ChelseaB View Post
                      Hello 123r34,


                      Attached are two examples of a breakeven movement and a trailing action created with the Strategy Builder.
                      Hello I have modified the NT8 sample inserting a different entry long condition (last bar close higher than previous bar close).
                      It was working when I was using Continuum data feed. Now I am using IB data feed and the sample strategy does not trigger any trade.
                      Is this due to the type of data feed provided by IB (no tick historical) ?
                      In order to avoid tick references in the script I have been using only minute timeframes and I changed loss target and trailing calculation methods, (from nr of ticks to percentage changes; I hope I was able to do this correctly with the Strategy Builder), but it appears that this is not enough to get the sample strategy working.
                      Can you please explain why this is happening? is it because the scripts requests "Real Time"?
                      I attach the sample modified.
                      Thanks.
                      Attached Files

                      Comment


                        #12
                        Hello guidoisot,

                        Is the script not working real-time or is the script not working historically?

                        What is the bar type and interval the strategy is being applied to?

                        Historical Tick Data is not supported with Interactive Brokers connections in NinjaTrader. It would be expected this would not load historically on a tick based chart using this connection type but would run in real-time.

                        What is not working?
                        Is the entry not being placed?
                        Are the exit orders not being placed?
                        Are these being placed but are not filling?

                        Have you used prints to debug the script and understand the behavior?
                        http://ninjatrader.com/support/forum...979#post510979
                        Chelsea B.NinjaTrader Customer Service

                        Comment


                          #13
                          Hello Chelsea,
                          the script does not trigger any trade, no entry orders, both real-time and historically.
                          I am using only minute bars.
                          Please see screenshot video to better describe what is happening.
                          https://drive.google.com/open?id=1-4...UKI689c3BjawcE
                          Unfortunately I do not know how to use print for this script.
                          As it is now, with the changes I have done on loss target and trailing calculation methods, does it trigger trades on your platform?
                          Thanks.

                          Comment


                            #14
                            Hello guidoisot,

                            You will need to debug the script to find out why no orders are being placed.

                            In my previous email I have provided a link to a forum post that demonstrates how to use prints to understand behavior.

                            I have tested the script as you have requested. I am not finding orders are being placed historically, however, this is how the conditions are written in the script.

                            Are you wanting me to run the script for a specific amount of time to see if orders are placed in real-time?

                            You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.

                            How long would you like me to run the script.
                            Chelsea B.NinjaTrader Customer Service

                            Comment


                              #15
                              Hello
                              in the meantime, a few minutes after applying the strategy, the two error messages attached showed up.
                              Did you get the same error msg?
                              No need to run the script.
                              Maybe you could modify the script of the sample you published some time ago so that it can place orders also historically, on minute timeframe chart.
                              Thanks.
                              Attached Files

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Hanstanz, Today, 04:44 AM
                              0 responses
                              9 views
                              0 likes
                              Last Post Hanstanz  
                              Started by juniortut, Today, 04:38 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post juniortut  
                              Started by rojiinko, Today, 03:58 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post rojiinko  
                              Started by mreanuzlazx, Today, 01:30 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post mreanuzlazx  
                              Started by xinepev, Today, 12:33 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post xinepev
                              by xinepev
                               
                              Working...
                              X