How To Use The MT5 Strategy Optimizer (EA Optimization Explained)

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • Complete MT5 Programming Course: en.bmtrading.d...
    Recommended Broker: en.bmtrading.d...
    Free Trading Journal: en.bmtrading.d...
    Learn about the benefits of automated trading. After programming trading strategies for a while I started teaching how to program expert advisors for the MT4 (MetaTrader 4) and MT5 (MetaTrader 5). Until now I only did videos in German but now I will start this channel with English videos to reach a larger audience of traders and help them improve their trading. There will be no fake trading on this channel and no lies. I show trading as it is - the good and the bad sides. Stay tuned and subscribe because you don't want to miss ;)
    Instagram: / rene_balke
    BM Trading: / @bmtrading

КОМЕНТАРІ • 50

  • @mauriluciano6140
    @mauriluciano6140 5 місяців тому

    what a awesome video!! hahah i have try optimazian manually and i get sick to test 2 days non stop on settings. Then i start to search how i can find quicker good settings. Good i have find a way now...

  • @riosupescu
    @riosupescu 13 днів тому

    Great. Please tell me if you know if the colors of the values ​​in the Results column have any meaning? Thanks.

  • @raphaelarguello5020
    @raphaelarguello5020 Рік тому +1

    Hi Rene, thanks for the great video again. Do we need to define the variables differently in order to use the optimizer? My code is running fine without optimization, but as soon as I try to optimize it, it runs but not a single trade is taken. Thanks!

  • @momoduzuberu2892
    @momoduzuberu2892 2 роки тому

    Great video sir

  • @mepartoelpecho
    @mepartoelpecho Рік тому

    HELLO... WHEN TRYING TO OPTIMIZE IT TELLS ME SERVER SWITCHED OFF... AND I DO NOT KNOW WHAT I SHOULD DO CAN HELP ME? THANK YOU

  • @King_Eke
    @King_Eke 10 місяців тому

    Hey Rene, great video, do you know the top notch laptop that can breeze through these optimization tests as quicky as possible?

    •  10 місяців тому +1

      No not really.. right now i mainly use my vps for optimizations

  • @christianneller9499
    @christianneller9499 Рік тому

    Super

  • @lamboJase
    @lamboJase 20 днів тому

    Great stuff. One question though. HOW to create a setfile based on optimization settings after a test. That's what I'd like to know. Everything else I know. but taking optimized forward testing results and putting that into a setfile of it's own is what I'm seeking. Do you have anything like that.

  • @davidoconnor8224
    @davidoconnor8224 День тому

    Well explained, thank you!

  • @m_wijaya
    @m_wijaya Рік тому +6

    thank you very much, rene. this is by far the easiest to understand optimization (and back testing) video that i've come by. really appreciate your hard work.

    •  Рік тому +2

      Thank you for the kind comment! :)

  • @oscarcalle4234
    @oscarcalle4234 Місяць тому

    Hey Rene could you do a video on how to schedule these optimizations so they can start automatically?

  • @هانيياسر-ح7ب
    @هانيياسر-ح7ب 3 місяці тому

    hi Rene, how can I get MaSystem advisor or the source code?

  • @lukeevans6263
    @lukeevans6263 Рік тому +1

    Hey Rene, thanks for the video! I ran a back test all night and when I woke up in the morning all the results had disappeared which was sole destroying as it was running at 65% profitability when I went to bed. Is this common for the results to disappear? Is there an option to auto save?

  • @ericcanlorbe3265
    @ericcanlorbe3265 2 роки тому +2

    Hello Rene,
    thanks for the video.
    But when the optimization is finished and we choose one of the results that suits us, how do we extract it to make a set file?
    Thanks

    •  2 роки тому +4

      Hey, you can "double click" the optimization run to make a single backtest. That should also fill in all the parameters at the inputs tab of your backtest. You can then "right click" somewhere in the inputs tab and save the settings.

  • @bookssums
    @bookssums 2 роки тому +1

    Would you please explain the meaning of the 1.35 profit factor and the 1.66 expected payoff? I understand that the draw drown% is the percent your account went negative by as a result of losing trades.

    •  2 роки тому +1

      Hey, thanks for the idea. Maybe I will do a video on this in the future.

  • @nightRanger0077
    @nightRanger0077 7 місяців тому

    Hi, very nice video. I have a question how do you copy a row of the optimization and use that row to directly populate the expert advisor tool ? It is a pain writing all the variables in by hand and also risky to make a mistake.

    • @nightRanger0077
      @nightRanger0077 7 місяців тому

      Hi i figured it out, on the inputs tab. There is an option to save the setting as a set file if you click the left mouse on this page.

    •  7 місяців тому

      Thanks! And great that you figured it out already :)

  • @ippokratisboboras19
    @ippokratisboboras19 Рік тому +1

    Thank you for your amazing videos. Optimization results for Drawdown%, actually display the "Equity Drawdown Maximal", right? So how can we find the "Equity Drawdown Relative", which is actually more important ? (assuming that we test a demo EA on a demo account...)

    • @fexzi4074
      @fexzi4074 Рік тому

      I think you have to run it individually to see that

  • @IMChrisThom
    @IMChrisThom Рік тому

    Great information but on the Optimization Results tab in the RESULT column, why are the results different colors (Green, lt green, red)? What does that mean?

    • @Cavz001
      @Cavz001 8 місяців тому

      Green for profits red for losses

    • @IMChrisThom
      @IMChrisThom 8 місяців тому

      @@Cavz001 No it's not

  • @adamgrzeskowiak691
    @adamgrzeskowiak691 2 роки тому +1

    Hi René, could you also show how forward optymalisation work. Could you do test for 3 months choose best 100 and test it for another 3 months and then pick best 50 etc. but only with profitable inputs. It could speed up optymalisation for many inputs as you will eliminate bad configuration early.
    I think it will be also nice to show how you can eliminate some configurations and how it impact testing. So for example if fast MA > slow MA periods go to deinit and same if sl > tp.
    I think you could also test multicurency if you do input instead of _symbol but I'm not sure about that.

    •  2 роки тому

      Hey, thanks for the comment. I never really worked with forward tests. But you can easily try it out on your own. The MT5 Tester (with all its features) is completely free to use and accessible for anyone.

  • @canercanbir2042
    @canercanbir2042 Рік тому

    bro, how does the genetic algorithm give results?

  • @fxbewaralkordi2219
    @fxbewaralkordi2219 2 роки тому

    Hi freind can i open expert for different pairs in one time suppose Usdcad, Usdjpy, chfjpy in one lapy

    •  2 роки тому

      Sure that is no problem at all. You can use the Buy and Sell function for this and just change the parameter for the symbol.

  • @breakaway2181
    @breakaway2181 6 місяців тому

    Awesome lecture xxx

  • @WasimZayed
    @WasimZayed 2 роки тому

    helpful as usual :-) thank you

  • @regy1657
    @regy1657 2 роки тому

    Well explained

  • @momoduzuberu2892
    @momoduzuberu2892 2 роки тому

    Please sir
    Can u make video
    For an EA which closes all trade once the account balance reach a particular amount

    •  2 роки тому +1

      Hey, I get a lot of requests and it is hard to respond to all of them with a video. Maybe this will be featured in the future. But I would always recommend learning the basics. Then you are able to do whatever you want in mql5. Check out my complete course: en.bmtrading.de/mt5-masterclass/

    •  2 роки тому +1

      Also check out this video: ua-cam.com/video/0Z6EXoPbx38/v-deo.html&ab_channel=Ren%C3%A9Balke

    • @momoduzuberu2892
      @momoduzuberu2892 2 роки тому +1

      Thank you sir

  • @onkemetsetshenyego7456
    @onkemetsetshenyego7456 2 роки тому

    Please do alerts, arrow buffers step by step on one of your videos Sir.

    •  2 роки тому +1

      Hey, I am not sure what you mean with "arrow buffers"?

    • @onkemetsetshenyego7456
      @onkemetsetshenyego7456 2 роки тому

      @ ok, let me say you are tracking a crossover of two moving averages on an indicator, it’s hard to see by your naked eye if the cross has happened, so the process of putting an object specifically an arrow to indicate the cross is quite tricky for us beginners

    •  2 роки тому +1

      @@onkemetsetshenyego7456 oh okay I got it now :) Please watch my other videos on the channel. I explained how to create objects in the chart like fibo retracements. You just have to modify this code a little bit to create a OBJ_ARROW.

    • @onkemetsetshenyego7456
      @onkemetsetshenyego7456 2 роки тому +1

      @ thank you, I have not watched that one, I will go through it. Thank you.

  • @virginbumfattydown5336
    @virginbumfattydown5336 2 роки тому

    Hi sir could you do a video on drawing objects on indicators for example a horizontal line on the rsi or a shifting vertical line on the stochastic

    •  2 роки тому

      Hey, check out my other tutorials on this channel :) I already explained how to create objects in the main chart. The only difference is that you will have to choose a different subwindow. The first indicator will have subwindow index 1 for example.

    • @virginbumfattydown5336
      @virginbumfattydown5336 2 роки тому

      @ ok thanks.....so I can put a horizontal line on the high of the rsi??? Because wat i want to do is to create an expert adviser that trades the crossovers of dynamic rsi levels............so can I do this with the information on the videos that you have done

    •  2 роки тому

      ​@@virginbumfattydown5336 Yes that is possible. I do not show this specific case but you can watch the video and go from there.

    • @virginbumfattydown5336
      @virginbumfattydown5336 2 роки тому

      @ As always thank you sir your videos are really inspiring