MQL4 Programming Tutorial 1.08 - Backtesting & Debugging

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

КОМЕНТАРІ • 29

  • @jogbox2108
    @jogbox2108 3 роки тому +3

    Ayy almost finished the tutorials, grinding harddd. Cheers again for everything so useful!!

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

    You are no,1 Big Fan!!!!!

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

    Really appreciate this awesome tutorial, thank you kindly.

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

    It is really helpful! Thanks!

  • @Frank-si2jd
    @Frank-si2jd 2 роки тому

    Good day! Thanks again for your incredible nice Tutorial! Q. If you actually use an EA and backtest it in MetaTrader4, is the Broker you are using or MetaTrader4 themselves able to see what you are doing? Can they have access to the code you've written?

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

    Good day.. Thank you very much for lessons. from 17 minutes going forward I couldn't see because the letters where too small or not zoomed and I am still puzzled as am beginner. Please help or anyone who managed to see it clearly I could appreciate help. Thank you

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

      Hey Steven, sorry for that, you can download the code on the website and look at it that way? In future my video will be more zoomed in!

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

    Hello, I want you to explain to me per minute
    28:08 you say rightbar is equal to globaltime and we wrote if(RightBartime != gbar) meaning it is not equal. I hope you clarify for me and thank you

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

    legend

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

    I would have used iOpen(_Symbol, _Period, 0) instead of iTime(_Symbol, _Period, 0). Or do they return the same value?

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

    Can you make MQL5 programming tutorial..? Now mt4 is not available now to download.

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

      Yes I will do, this took a lot more work than I had planned to do the first series but MT5 is in my plan.

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

    When backtest it, i get some error messages: order close error 4108, unknown ticket for order close function. It seems both related each other. How do I get some references to fix it?

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

      Somehow you may not be supporting the ticket number correctly. Try printing it in the comments or log just before you use the close function to check it.

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

    you dont have to write that condition to the else function i think

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

    wrong titel? where is the debugging part?😵‍💫

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

      It's not debugging in the traditional sense, but if you watch EA in visual mode you can identify potential bugs.

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

    I am on lesson 8, I watched and followed along exactly at least 3 times and EA fires a new trade every tick. I downloaded
    Your coding and it does the exact same thing. What am I doing wrong here? The ONLY time it closes a trade are at
    The cross over.

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

      Kept at it, nothing worked. Deleted platform, downloaded from broker and everything works great. No idea what was wrong but its fixed. Thank you for the great lessons!!

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

    I made a mistake when type rightBartime = gBartime; It should be gBartime = rightBartime;
    Otherwise the EA still places a lot of orders in the same bar.
    Hopefully it helps somebody.

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

    Thanks. An important question when programming is successful on control point How can I make it successful also on Every tick What is the code for that

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

    I got 1 error on line 58 Onbar();

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

    if you make tutorial change on text bigger sir :) can't see

  • @MohammadAli-hf2id
    @MohammadAli-hf2id 2 роки тому

    Dear Sir, It missing SL and TP In some order, This is not working properly, Can you please check the reason? can you help me?

  • @JohnSmith-pd4mf
    @JohnSmith-pd4mf 3 роки тому +2

    If only this bit of code would work...
    if(the trade loses)
    {
    Don't take it!
    }
    Comment("Lol");