Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

stoploss and MAE in backtest

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

    stoploss and MAE in backtest

    I have made a simple crossover system and was looking at the trades. I saw that a few trades had a MAE that was much bigger than the stoploss.
    The stoploss was 15 ticks on the ER2 and the MAE was 47 ticks. I checked the trade on the chart and the MAE should have been 6 ticks.
    The profit was correctly calculated as I was stopped out at 15 ticks.
    I have seen the same in other strategies.

    #2
    Can you reproduce? Is this realtime or backtested or both?

    Comment


      #3
      I observed it only optimizing or backtesting.
      I optimised another strategy with the same results.
      How do I make a screenshot of the strategy analyzer so i can show you

      Comment


        #4
        Great, I would need:
        - your strategy
        - a screenshot of the strategy settings as you backtest it
        - a screenshot pointing out an execution/trade exposing the problem
        - the data you test on: please export the data to a file by Tools->Historical data->Export

        Please PM all info to "dierk AT ninjatrader DOT com".

        Comment


          #5
          I presume that 1 minute bars historical data is adequate?

          Comment


            #6
            Correct, provided your backtest runs on a 1 min series.

            Comment


              #7
              Backtest runs on 5 min

              Comment


                #8
                Right, then 1 min series it the series to export.

                Comment


                  #9
                  This is a bug which will be fixed with next update (available within the next 2 weeks). Thanks for bringing this up.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  104 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  52 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  34 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  38 views
                  0 likes
                  Last Post TheRealMorford  
                  Started by Mindset, 02-28-2026, 06:16 AM
                  0 responses
                  74 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X