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 pmachiraju, 11-01-2023, 04:46 AM
                  8 responses
                  148 views
                  0 likes
                  Last Post rehmans
                  by rehmans
                   
                  Started by mattbsea, Today, 05:44 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post mattbsea  
                  Started by RideMe, 04-07-2024, 04:54 PM
                  6 responses
                  33 views
                  0 likes
                  Last Post RideMe
                  by RideMe
                   
                  Started by tkaboris, Today, 05:13 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post tkaboris  
                  Started by GussJ, 03-04-2020, 03:11 PM
                  16 responses
                  3,283 views
                  0 likes
                  Last Post Leafcutter  
                  Working...
                  X