Metatrader 5 optimization tutorial

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 83

  • @trustfultrading
    @trustfultrading  2 роки тому +7

    Enjoy 🙂

  • @XaviAndreu
    @XaviAndreu 2 роки тому +13

    You are a crack bro, you have a lot of talent to explain things. Thank you so much, you give us a lot with all your videos!

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

      I appreciate that! Thank you for watching! ✌

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

      Your content is worth gold, it is an honor to see it 🏆

  • @dimatistrading
    @dimatistrading Рік тому +2

    Your explanations are simple and clear. As you explain as you write the code, the pace is perfect. Thanks a lot for these wonderful videos.

  • @maffysmods9718
    @maffysmods9718 2 роки тому +5

    Another great video Tobias thanks for all your work making these - I am learning a lot and watching all your videos and looking forward to the next one - Appreciate all that you do 💯👍

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

      Thanks for watching, it's nice to know the content is useful! ☺

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

    Goof job, I am interested in knowing more about your optimization process.

  • @AqualataCode
    @AqualataCode 2 роки тому +3

    Thank you so much! your videos are pure gold!

  • @kuldeeprathore5284
    @kuldeeprathore5284 2 роки тому +3

    Another GEM 💎 👽

  • @ray_an_e
    @ray_an_e 2 роки тому +5

    Thank you very much 🙂

  • @EricAnderson-s9s
    @EricAnderson-s9s Рік тому

    Very helpful. Thank you. I look forward to more on optimisation, but this is enough to get me started for now.

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

    very very very helpful, I watched the video and felt comfortable enough to navigate the EA's setting and inputs to ultimately optimize for the results im looking for results and most importantly sustain them.
    There will never be a time to not optimize because market conditions are constantly changing and as a trader you must be able to adapt.

  • @user-zo1np4lh5u
    @user-zo1np4lh5u 5 місяців тому

    Thank you, finally, I know how to optimize, always thought it has to be done on the code xD I was just one click away from selecting a parameter to optimize lol

  • @AlejandroSanchez-xv2hv
    @AlejandroSanchez-xv2hv Рік тому

    This is so far the best video on mt5 optimization I've seen!!! 😎 Have you ever thought of using neural networks for an EA????

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

      Thanks, thats a topic I want to take a look at in the future ;)

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

    keep doing what you do😀

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

    Excellent!

  • @fulkrumfx
    @fulkrumfx Рік тому +2

    Hello, thank you for the great video! Is there a way I can find the optimization result with the smoothest equity curve? Without having to individually go through each result and running a test to see the graph. Thanks!

    • @trustfultrading
      @trustfultrading  Рік тому +2

      Thank you! Yes there is. You can write your own custom optimization criteria. What I do is to calculate the coefficient of determination. On my video list.

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

      @@trustfultrading bro. You are on a different fucken level. Keep up the awesome videos. Thank you!!

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

    Hi Toby. Thanks for the great series. Did you noticed during the optimisation there were errors in the Journal tab. The errors during the optimisation could that be from the dow selection when all days are false? "tested with error - incorrect input parameters in 0:00:00.000" . -- The actual EA compiled with no errors. 🙂

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

      Yes, I know. That's perfectly fine. If you test all five days, there will be combinations with all days "wrong". The EA will simply skip these combinations as we check the inputs directly in the Oninit function. This way we don't waste time with these combinations. Thanks for watching ;D

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

    single year tests to check the deviation helps also to build something stable.

  • @freenrg888
    @freenrg888 3 місяці тому

    Thank you again.

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

    Hey Toby. When will you create the videos for stable strategy development, curve fitting and over-optimization? You promised to create those.

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

    Love this channel

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

    Great video but I'm wondering in the results column why are the numbers different colors? It's doesn't reflect largest to smallest so I wasn't sure what it could be

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

    Thanks for the video, I like to learn more about stable strategy development optimization. Any tips?

    • @trustfultrading
      @trustfultrading  8 місяців тому +1

      Thinking about uploading more about this in the future. Make sure neighbor parameters also work.

  • @EugenePekeur-g7z
    @EugenePekeur-g7z 10 місяців тому

    Much appreciated. thanks

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

    More of these tutorials with more detailed explaining information would be great.
    Anyhow this is a great beginning!!

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

    I’m currently having an issue with an EA that I’m trying to use in the MT5 strategy tester. “Error: ActionTrade::ManageOrderSend(): OrderCheck(): Invalid order filling type” It will run the test but not execute any trades and there are 0 bug or error if I compile it. The MT4 version of this EA works without any issues. Have you ever had this problem?

  • @vinh-le
    @vinh-le Рік тому

    useful big thanks bro

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

    Your channel will grow keep adding different videos that are unique like this can u also do monte carlo pls

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

      Thank you man, I'm trying ;D Monte carlo analysis is a bit more advanced. I still got some more basic stuff to cover.

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

    great 💜💜💜💜💜💜

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

    Waiting for your New Videos Mate 👽🙏

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

      Very soon! What topic would be interesting for you?

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

    Why your optimization result shows that trades on Wednesday should be off? I mean what is special about Wednesday. Perhaps it is just by chance.

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

    Thanks for the great video. Do we have to define the variables differently so they can get optimized? I have a code running fine on a simple test but as soon as I try to optimize it, the code run without error but not a single trade is taken

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

      Same as mine did you figured out how to fix it

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

    Hi thanks for the great Video! But one Question about you. Are you a german or from Germany and where are you living now? Tanks.

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

      I'm a german from germany living in germany

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

      @@trustfultrading lol. Man hört es am Akzent. Hast du einen Discord Server oder ähnliches wo man sich mal austauschen kann?
      LG

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

      @@nilsmueller81 ;D Kannst mir gerne auf telegram schreiben. Können dann auch mal kurz quatschen. 😊

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

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

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

    Why is MasterEA not available?

  • @AsadullahHabibi-ey7zt
    @AsadullahHabibi-ey7zt 10 місяців тому

    Please test with every tick based on real ticks!

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

    is the default data in MT5 making huge difference comparing to yours? because I've followed your previous video all along and with the same setting, the profit is different from yours.
    Like $10000 -> around $10500 maximum for 6~7years
    I am not sure is it because of the data quality or what. Is the default data in MT5 really that bad that isn't even trustworthy?

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

      Yes. First of all, there is a high probability that the data contains errors. Second, there is not enough high-resolution data. So every year further back it often gets worse. Take a look here where I also talked a bit about the data problem: ua-cam.com/video/VKZPf6V4zHU/v-deo.html

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

      @@trustfultrading oh I found the reason why the profit is so low over 6~7years. It's because I set the lotsize as 0.01.
      However, the situation got even more weird when I change the lot size back to 1. The profit is way higher than yours in this video. like $10000 -> $37000 something.
      Is it again about the data quality? How could I ensure every setting is fine for the historical data if the difference coudl be so huge?

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

      and because I am new to algo trading. I wonder if you really use this strategy in real market and earn profit with it? As it looks so simple to me and this kind of breakout doesn't really make sesne to me in terms of technical anaylsis (not an expert tho).
      I wonder if I could really use this strategy right now in all kinds of market after a few input tuning.

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

    Can you test it with everytick base on real tick because the other are not accurate at all

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

      I used the open tick mode. This is the most accurate test you can do. A real tick test is not really useful. Unless you get tick data from your broker.

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

      @@trustfultrading yea u can try mt5 backtester mt5 backtester uses your broker spread and slippage you should try that one

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

      @@harmansairani5430 You should use a custom symbol for backtesting.

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

      @@trustfultrading dude i have many ea that perform millions percent in mt4 but not in mt5 i tested 1 of my ea for week in real life and then backtest it on mt5 it was same result but you have to chose every tick base on real tick

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

      @@harmansairani5430 I'm happy for you if you have profitable strategies, thats nice 👍

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

    Would it be the same for a multisymbol EA

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

      No. These settings are only for USDJPY. They might work on other JPY pairs too.
      The optimization part would be the same yes.

  • @JDMVERSUS
    @JDMVERSUS 9 місяців тому

    when have the best is possible save the parameters or need reedit the code of ea ¿ thnx 4 all

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

      You can save all the paramters to a file. Right click in the Inputs tab and save it ;)

    • @JDMVERSUS
      @JDMVERSUS 4 місяці тому

      @@trustfultrading tnks for your fast answer , need your help when optimiz you check all parameters or 1 to 1 ..? Becouse if check all parameters its a overoptimize ? Or fix it with a out sample analisis thnks men

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

    Is comission considered in this symbol?

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

      Yes, thats very important!

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

      @@trustfultrading no wonder why I made more profit on my backtest as I haven't setup the commission yet

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

      @@OneOfTheManyJason 🤑

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

      ​@@trustfultrading I've added the commission now. However, with the same period & setting & input & code & commission, my result is still a bit different from yours.
      my profit is now 37435.95 and yours is 35813.41
      It's pretty close but it's still different. I wonder what am I missing for the history data.
      Did you add/delete/modify your data for USD/JPY?

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

      @@OneOfTheManyJason I use the data from tickstory(dukascopy). I also looked through the data and deleted/added things to get a good data set.

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

    Nice