Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Break Even

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

    Break Even

    Hi all,

    I'm been struggling to add a break even to my strategy. I would appreciate any kind of guidance. I've attached my strategy. Also please share recommendations, my strategy is a little buggy.

    Thank you
    Attached Files

    #2
    Hello

    You can find some working examples of break even and manipulating targets in the following links:

    https://ninjatrader.com/support/foru...der#post806596
    https://ninjatrader.com/support/foru...ing#post802269

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you Jesse. The links are very helpful but I still need assistance in incorporating the break even into my strategy. Any suggestions of how to go about this?

      Comment


        #4
        Hello Titli,

        What part in your strategy are you having difficulty with? The link i provided has a full example which could be a starting point if you wanted to do a break even. That is what would be needed if you are trying to make a break even.

        Please let me know if i may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Jesse I tried adding the breakevenstrategy(links) into my strategy and it didn't go off. Would I need to connect the breakeven to my indicator signal as well? Would this interfere with the trailing stop? I don't know if I'm overthinking it. What would be the simplest way going about this?

          Comment


            #6
            Hello Titli,

            If you are trying to bring over the logic from those samples you would need to review the sample and take away the concepts its showing. The other way to approach this would be to start with the sample and then modify it as needed. For example if you have an indicator signal as your entry signal, you could modify the sample to use that instead of the generic condition it uses to enter.

            The most simple way would be to start with one of the samples that already does the part you want (break even) and then add to that. You could make a copy of the sample by doing a Right click ->Save as if you wanted to retain the sample and use it as a starting point.

            The break even requires some logic to be able to do so that part of the code is going to be more complex than any of the entry conditions or other parts of the script.


            I look forward to being of further assistance.
            JesseNinjaTrader Customer Service

            Comment


              #7
              Thank you so much. Your information is very helpful.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by moehsan, Yesterday, 09:47 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_PaulH  
              Started by BraisedInBlue, Today, 06:43 AM
              0 responses
              6 views
              0 likes
              Last Post BraisedInBlue  
              Started by AaronKoRn, Today, 06:28 AM
              0 responses
              3 views
              0 likes
              Last Post AaronKoRn  
              Started by pjsmith, Today, 01:00 AM
              1 response
              13 views
              0 likes
              Last Post NT-Roland  
              Started by alejandro888, Yesterday, 08:41 PM
              0 responses
              9 views
              0 likes
              Last Post alejandro888  
              Working...
              X