Learn MQL4 Programming in 112 Minutes (Easy for Beginners)

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 162

  • @boipelontsepe1226
    @boipelontsepe1226 10 месяцев назад +2

    Wow, I finally understand MQL4. I genuinely believed it was too hard but you made it easy.

  • @robertspencer5219
    @robertspencer5219 Год назад +2

    So glad you released this. I'll be watching this and the other for MT5 over this long weekend several times.

    • @ReneBalke
      @ReneBalke  Год назад +1

      I hope you will like it :)

  • @stevenjohnstone5833
    @stevenjohnstone5833 2 месяца назад +1

    Great you pack a lot into the time available. So many courses are so lslow and laboured that thye take up too much time and make simple concepts seem difficult.

  • @tool1gt
    @tool1gt 8 месяцев назад +1

    Your channel is like gold, I was able to follow easily, you explain it well. Thank you for sharing with your community 👌

  • @brendonglennie6843
    @brendonglennie6843 2 месяца назад +1

    Great video. I am trying to convert some amibroker code to MQL4. This was very helpful!

  • @xavierka
    @xavierka Год назад +1

    That is great, René!. I do hope you make same or even more tutorial courses for MQL4 than you have done for MQL5, as traders community still is using by far more MT4 than MT5.

  • @omni7575
    @omni7575 10 месяцев назад +1

    This was absolutely fantastic. I wished your MT5 Masterclass was for MT4. I would have signed up immediately. Such a shame.

  • @brocojack
    @brocojack Год назад +1

    Balke?
    Now I do the Dance of Joy!
    Subscribed.

    • @ReneBalke
      @ReneBalke  Год назад

      Thanks for the support! :)

  • @rufeldagatan3833
    @rufeldagatan3833 2 месяца назад +1

    Newly Subscriber. Hopefully you can do more videos. God bless you...

    • @rufeldagatan3833
      @rufeldagatan3833 2 месяца назад

      Are you still making videos about programming? As I can see there is no recent videos anymore.

  • @giovannidonato-iz8xr
    @giovannidonato-iz8xr 10 месяцев назад

    Hello at the minute 1:47:21 when you made the switch from on to off at the counter the program didn't change, it worked in the same way as on before, can you fix it to make me understand better? Thank you

  • @NULL_HANDLE_EXCEPTION
    @NULL_HANDLE_EXCEPTION Год назад +1

    MQL4 is so much more straightforward and intuitive than MQL5. Is it possible to create an #include that would allow MQL4 syntax to compile and run in the MQL5 editor? It would be nice to have MQL4 simplicity in MT5 with full backward compatibility.

    • @ReneBalke
      @ReneBalke  Год назад +3

      It would be possible to write a #include file to work with cross platform code I guess... Maybe I can have a look at this

  • @JoeTushy
    @JoeTushy Год назад

    God bless you Rene. These tutorials are great! Happy new year!

    • @ReneBalke
      @ReneBalke  Год назад

      Thank you! :) Have a great 2024

  • @elieturk9694
    @elieturk9694 9 месяцев назад

    Hi Rene i; using a third party ea to backtest and its giving me the following message
    2024.03.22 12:56:53.928 TestGenerator: no history data 'EURUSD5' from 2023.09.01 to 2023.11.02
    how can i get the history data ?
    Can you please help ? Thanks a lot

  • @ebenbeetge7453
    @ebenbeetge7453 Месяц назад

    Great stuff thank you so much. I just started, so I must go through it repeatedly until I get it all. where or how can I copy the code into my mt4?

  • @brunog481
    @brunog481 9 месяцев назад

    Thank you so much René, for your pedagogy and knowledge sharing !!!🙏🙏🙏

  • @Carshar8
    @Carshar8 11 месяцев назад

    Thank you this has been very informative and helpful.

  • @chathuramanathunge5391
    @chathuramanathunge5391 2 месяца назад

    Thank you so much. This is very valuable.

  • @denniskean183
    @denniskean183 7 месяцев назад

    Thanks a lot for this elaborate tutorial.

  • @AnthonyMatji-mf8mw
    @AnthonyMatji-mf8mw Год назад +1

    Thank you very much...from South Africa

  • @oompiet100
    @oompiet100 10 месяцев назад

    Rene thank you for everything, can I please ask you just one thing, could you please assist with just one thing...how do I write a indicator to wortk in conjunction with this Crossover? I want to add a macd and rsi to this strategy...could you help me?

  • @djgmforex
    @djgmforex Год назад

    You are the best, I love your videos and I learn a lot!!!
    Could you explain... the way you do how to work with classes in mql4, for example I am not able to change the background color of a panel using the CAPpDialog class!
    THANK YOU!!!!

    • @ReneBalke
      @ReneBalke  Год назад

      I made a video about OOP already. Maybe it helps: ruclips.net/video/HdbGyug8vf0/видео.html
      Also I teach it in detail in my masterclass: en.bmtrading.de/mt5-masterclass/

    • @djgmforex
      @djgmforex Год назад

      @@ReneBalke ICould I see the contents of your course... ?I have done many but they are really quite basic and I would like something more advanced... on your page I see part of them but in case you could tell me the complete syllabus.
      THANK YOU!!!!!

    • @ReneBalke
      @ReneBalke  Год назад

      @@djgmforex If you sign up for the course you can view all the videos

  • @learningpriceaction
    @learningpriceaction Год назад

    René, hoping you could make a video to help master coding Trade Functions in MT4, since trading profitably is mostly about trade execution.

    • @ReneBalke
      @ReneBalke  Год назад

      Hey what do you mean with "trade functions"?

    • @learningpriceaction
      @learningpriceaction Год назад

      @@ReneBalke Trade functions are the group of functions intended for managing trading activities. Basically the idea i have in mind is to be able to use all of those functions in all sorts of ways, ex. say i place N-orders with comments in each of them, so that if i decide to close all orders containing similar names, i can do that easily. something like that.. thank you for your reply Rene

    • @ReneBalke
      @ReneBalke  Год назад +1

      @@learningpriceaction bro just watch the video and you knwo how it is done :D ;)

    • @learningpriceaction
      @learningpriceaction Год назад

      @@ReneBalke yes still watching it.. thank you

  • @brainblood1
    @brainblood1 7 месяцев назад

    Very good explanation, keep going.🙌

  • @mikedixon4409
    @mikedixon4409 9 месяцев назад

    Could you do videos on using some of the chart functions like finding the last high on a chart maybe draw a line. And maybe touching on coding a fvg . Thanks
    Or do you have a mql4 course that shows all these ?

    • @ReneBalke
      @ReneBalke  9 месяцев назад

      Right now I only focus on mql5. If you want to learn more about this you should check this out: en.bmtrading.de/mt5-masterclass/

  • @mobilenerdgames
    @mobilenerdgames 2 месяца назад

    I am looking for someone who might be coding this, The candle must have no lower wick, so open and low are the same price, we don't care about the high just the close needs to be higher than the open. Also, the opposite candle needs to be highlighted, when the open and high are the same price and the close is lower than the open. Can someone program that?

  • @leiflindahl1288
    @leiflindahl1288 Год назад

    Great tutorial!
    Thanks from Norway!
    What code would you use if you want to limit the EA to trade certain time (like London open hours and/or NY open hours, but not during Asian open hours)?

    • @ReneBalke
      @ReneBalke  Год назад

      I would code a simple time filter: ruclips.net/video/V_qh7sTbl80/видео.htmlsi=aF9gpGNUZ4ulVrr4

  • @AaronOak
    @AaronOak Год назад +1

    Oo shit.. here we go again
    Another "movie" for my new year's holiday 🤣

    • @ReneBalke
      @ReneBalke  Год назад +1

      I won't stop ;) Have fun watching and programming :)

  • @nomadchad5733
    @nomadchad5733 7 месяцев назад

    really informative video,thank you

  • @saraalaoui5651
    @saraalaoui5651 Год назад

    Hello thank you for the valuable informations.
    can we code bulk orders->close all position
    Also bulk orders->close all profitable positions.
    i dont want the for loop, i want to close all positions instantly same as we can do manually by right click->bulk order->close all positions
    Happy new year 🎉❤

    • @ReneBalke
      @ReneBalke  Год назад +1

      Thanks :) you can close them asynchronously i think but never really did this :D there should be a function for it just google it

    • @saraalaoui5651
      @saraalaoui5651 Год назад

      @@ReneBalke
      Can you give me an idea.
      Because I tried to search for it in but I didn't find anything
      Thanks so much 🙏

    • @saraalaoui5651
      @saraalaoui5651 Год назад

      @@ReneBalke
      I have a function which can get the tickets of positions I want to close
      I use this code
      OrderClose(ticket1, OrderLots(), OrderClosePrice(), Slippage, Red);
      OrderClose(ticket2, OrderLots(), OrderClosePrice(), Slippage, Red);
      OrderClose(ticket3, OrderLots(), OrderClosePrice(), Slippage, Red);
      ...
      But the positions don't colosed in the same time.
      Especially when there are several orders

    • @ReneBalke
      @ReneBalke  Год назад +1

      www.mql5.com/en/forum/211863@@saraalaoui5651

  • @Trading-indicators-Strategies
    @Trading-indicators-Strategies 3 месяца назад

    Can you share the code which was in this video

  • @davidcaple5547
    @davidcaple5547 10 месяцев назад

    Hi Rene, it's a great video and am learning a lot thank you but I'm hitting a problem with the Back Testing. The problem is the MA's do not show on the chart until the very end when the simulation finishes. I can see from the Journal they are being calculated as expected. Is there a 'switch' somewhere that needs turning on?

    • @ReneBalke
      @ReneBalke  10 месяцев назад

      You can create a tester.tpl before you start tests. Check this out: ruclips.net/video/9NKSG-bFbHI/видео.html

    • @davidcaple5547
      @davidcaple5547 10 месяцев назад

      Thanks@@ReneBalke I got that but that seems to mean I have to have a different Tester for each EA that uses different indicators/oscillators but I can't because I can only have one "Tester". So I assume I have to keep changing Tester with each EA I back test. :( I was expecting the Strategy Tester to display that that is used in the EA ... would make a lot more sense.

  • @abhikvlogs9741
    @abhikvlogs9741 9 месяцев назад

    Why is one time signal bar function is not working?

  • @solkahila
    @solkahila Год назад

    tnx for the mt4 toturiel free content is the best you are the best thnx

    • @ReneBalke
      @ReneBalke  Год назад +1

      I am glad you like it :)

  • @AlvinJacob-l3h
    @AlvinJacob-l3h Год назад

    Please can you make a video on how to convert tradingview indicator to mt4 indicator

    • @ReneBalke
      @ReneBalke  Год назад

      I never really worked with tradingview.. so not in the near future I guess.. sorry :/

  • @dumamooi
    @dumamooi 4 месяца назад

    Hello Rene, I have only 2 errors the first one it says " '}' - unexpected end of program Line 139 column 1" and the second one it says " '{' - unbalanced parentheses Line 41 column 14" can you help me fix this PLEASE.

    • @ReneBalke
      @ReneBalke  4 месяца назад

      Your brackets are not matching ;)

    • @ReneBalke
      @ReneBalke  4 месяца назад

      Every { needs exactly one }

  • @alsan01
    @alsan01 Год назад

    Hi René, do you get the same exact results when you do the back testing on mt4 and mt5 for tick data settings. I ask because there is no fixed spread option for mt5

    • @ReneBalke
      @ReneBalke  Год назад

      Did not try it for a while but I guess the results will be different for the reason you just mentioned ;)

    • @alsan01
      @alsan01 Год назад

      @ReneBalke I asked because my region does not offer Mt5 and I know Tickdata Suite is directly compatible with mt4 so I had no way to test. My other question is when you download the data source from tickdata suite let's say dukascopy I know the tick data is from there, but are the spreads from dukascopy data as well or data from your own broker for fixed spread? On margin settings, I see my own broker settings.

    • @ReneBalke
      @ReneBalke  Год назад

      @@alsan01 The spread should be from dukascopy as well (at least for mt5). Actually I did not do my backtests with MT4 for a long time now so I might not be up to date. But you can contact the tick data suite support and ask them about this. They will know what to do.

    • @alsan01
      @alsan01 Год назад

      @ReneBalke thank you I asked them the same question, I will get back to you when I hear an answer. Some tabs on tick data settings like margin do mirror my account, so I wanted to know which tabs are from dukascopy on tick data suite vs my broker.

    • @alsan01
      @alsan01 Год назад

      "When using variable spread, if you are using the default spread settings, your backtests will use the spread that is stored in the data. I.e., if you are using Dukascopy data, your backtests will have the same ask and bid prices that the Dukascopy data had on the live server.
      Please take a look at the support article Using variable spread for more information about tweaking the spread to make it closer resemble your broker's spread.
      All configuration parameters that have an override checkbox next to them are taken from the account you are connected with (swap, commission, stop distance, leverage, etc.)."

  • @oompiet100
    @oompiet100 10 месяцев назад

    Hey Rene. Can I ask you, I followed every step with you on writing this code, but for some reason, it pickes up sell signal, but it doesn't execute and actual sell order but it does execute a buy order when it gets a buy signal. Could you perhaps assist

    • @ReneBalke
      @ReneBalke  10 месяцев назад

      Maybe your broker only allows buy trades for this symbol. You can also check the journal for error messages.

    • @oompiet100
      @oompiet100 10 месяцев назад

      Hi Rene. Thank you so much for replying. So I use FXPro and they allow sell trades. I had a look also for any error msgs, but don't see anything and the code compiled without any errors, so not sure if I did something wrong...also, really want to learn more on how to code and learn advanced coding. Can I kindly ask, how do I go about learning?

    • @ReneBalke
      @ReneBalke  10 месяцев назад

      @@oompiet100 The best and fastest way would be my complete course I think: en.bmtrading.de/mt5-masterclass/
      Check it out if you want to learn mql5 quickly and efficient :)

  • @quickmeforextrading
    @quickmeforextrading Месяц назад

    I am install mt4 but not mql 4 only mql 5 show

  • @farobiy724
    @farobiy724 7 месяцев назад

    Thank you very much.

  • @gladi111
    @gladi111 Год назад

    Hey Rene,
    kurze Frage.
    Ab wann würdest du sagen kann man einen EA automatisch traden lassen? Sobald der Profitfaktor 1,0+ ist oder erst ab 1,5 oder so?
    Bzw. was gäbe es für Kriterien damit du sagst, jetzt kann man das ding gut laufen lassen?

    • @ReneBalke
      @ReneBalke  Год назад +1

      Hey, ich habe im Tester selten einen Profit Faktor von über 1.2 ;) Viel wichtiger ist die Frage, ob die Ergebnisse im Livekonto auch so aussehen.

    • @gladi111
      @gladi111 Год назад

      Okay danke für die schnelle Antwort!
      Deine EA die du verkauft hast liegen wohl dann auch so in dem Bereich richtig?
      Livekonto wäre jetzt dann wohl mal der nächste Schritt^^
      Der Max. Drawdown sollte in welchem Bereich sein? Damit kenne ich mich 0 aus :D
      @@ReneBalke

    • @ReneBalke
      @ReneBalke  Год назад +1

      @@gladi111 Das sind alles gute Fragen, für die ich leider keine passenden Antworten parat habe. Ich bin tatsächlich froh, wenn es am Ende profitabel ist. Schau gerne einmal in dieses Livekonto von mir: www.mql5.com/en/signals/432380?source=Site+Profile+Seller
      Die letzte Videoauswertung davon findest du hier: ruclips.net/video/EWfO7ZvemFY/видео.html
      Das hilft vielleicht zur Orientierung am Anfang. Aber wie gesagt: Am Ende des Jahres auch nur einen Cent verdient zu haben macht dich besser als 70% -80% aller Trader (je nachdem, von welchem Broker man die Zahlen nimmt).

    • @gladi111
      @gladi111 Год назад

      Ja da hast du recht! :)
      Danke für die Info. Ich schau mir das gleich mal an! :)
      Schönen Sonntag dir noch!
      @@ReneBalke

    • @ReneBalke
      @ReneBalke  Год назад

      Danke dir auch :)@@gladi111

  • @Nnnh614
    @Nnnh614 Год назад

    Do you have the course for mt4

    • @ReneBalke
      @ReneBalke  Год назад

      I do not have a complete MT4 course in English right now. Only a German one: bmtrading.de/mt4-masterclass/

  • @fredysoto8547
    @fredysoto8547 6 месяцев назад

    Thanks a lot!

  • @herdenramos3880
    @herdenramos3880 Год назад

    Valeu pelo vídeo. Boa forma de começar 2024

    • @ReneBalke
      @ReneBalke  Год назад

      Bro I do not understand a word but all the best for 2024 :D :)

    • @herdenramos3880
      @herdenramos3880 Год назад

      @@ReneBalke😀 thanks for the vídeo. What a good way to start 2024.

    • @ReneBalke
      @ReneBalke  Год назад

      @@herdenramos3880 I am glad you like it ;)

  • @giovannidonato-iz8xr
    @giovannidonato-iz8xr 10 месяцев назад

    sorry why in the for loop you wrote ordertotal() -1 thanks

    • @ReneBalke
      @ReneBalke  10 месяцев назад +1

      Because order indexing starts at 0 and ends at orderstotal-1

    • @giovannidonato-iz8xr
      @giovannidonato-iz8xr 10 месяцев назад

      @@ReneBalke thanks

  • @Margaret-g7w
    @Margaret-g7w 3 месяца назад

    Altenwerth Divide

  • @CaesarAthena-e4v
    @CaesarAthena-e4v 3 месяца назад

    Macejkovic Terrace

  • @AbrahamMirabelle-v5q
    @AbrahamMirabelle-v5q 3 месяца назад

    Buckridge Meadows

  • @MAVICHANNELL
    @MAVICHANNELL 10 месяцев назад

    Thank you

  • @RonnyGarcia-i4j
    @RonnyGarcia-i4j 3 месяца назад

    Reymundo Expressway

  • @ThomsonRory-x3k
    @ThomsonRory-x3k 3 месяца назад

    Hills Stravenue

  • @ErinNock-e6w
    @ErinNock-e6w 3 месяца назад

    Verna Center

  • @ifxcoinairdrop3529
    @ifxcoinairdrop3529 11 месяцев назад

    I need your course for mql5 Sir but i live in a country where the minimum wage is less 21$,is there a way you can help Sir? I will definitely pay all.

    • @ReneBalke
      @ReneBalke  11 месяцев назад

      Hey, I cannot really reduce the price for you. This would be really unfair for everyone else and I think the course is worth a lot. I am sorry. But you can always watch the free RUclips tutorials on the channel. Keep it up!

    • @ifxcoinairdrop3529
      @ifxcoinairdrop3529 11 месяцев назад

      @@ReneBalke I know it would be unfair,I am promising I would pay in full afterward the tutorial.

  • @shagarcool
    @shagarcool Год назад

    Wonderful bro

  • @WhittierDebby-x2e
    @WhittierDebby-x2e 3 месяца назад

    Halvorson Crest

  • @DeQuinceyBeverly-b7r
    @DeQuinceyBeverly-b7r 3 месяца назад

    Vivianne Road

  • @CoverdaleDon-n2g
    @CoverdaleDon-n2g 3 месяца назад

    Carroll Squares

  • @EmersonKay-z6b
    @EmersonKay-z6b 3 месяца назад

    Novella Lock

  • @GretchenTemple-z4y
    @GretchenTemple-z4y 2 месяца назад

    Glover Underpass

  • @DonaldRodriguez-g1b
    @DonaldRodriguez-g1b 3 месяца назад

    Cornelius Forge

  • @NickiMeil-b5k
    @NickiMeil-b5k 3 месяца назад

    Heathcote Rapids

  • @DamienAlaimo-m7u
    @DamienAlaimo-m7u 3 месяца назад

    Brook Trace

  • @WolfErin-t8v
    @WolfErin-t8v 3 месяца назад

    Strosin Ranch

  • @MarshallBernard-i2w
    @MarshallBernard-i2w 3 месяца назад

    O'Keefe Ranch

  • @StuartSegers-g6w
    @StuartSegers-g6w 4 месяца назад

    Jo Stravenue

  • @NicholasBruce-g2c
    @NicholasBruce-g2c 3 месяца назад

    Ruth Landing

  • @EdenChristian-f3q
    @EdenChristian-f3q 3 месяца назад

    Marisa Plaza

  • @HopeEdmund-r8m
    @HopeEdmund-r8m 3 месяца назад

    Abelardo Spur

  • @GeraldWaters-g5j
    @GeraldWaters-g5j 3 месяца назад

    Wilmer Fords

  • @GrantShartle-d7e
    @GrantShartle-d7e 3 месяца назад

    Micah Springs

  • @VernaKnauss-i6o
    @VernaKnauss-i6o 3 месяца назад

    Daphne Mill

  • @SimpsonLynn-j7z
    @SimpsonLynn-j7z 3 месяца назад

    Hettinger Vista

  • @TerriDewall-l1c
    @TerriDewall-l1c 3 месяца назад

    Sanford Point

  • @LannieSkeels-j4q
    @LannieSkeels-j4q 3 месяца назад

    Adrian Canyon

  • @TaraJaffray-j9r
    @TaraJaffray-j9r 3 месяца назад

    Garrett Freeway

  • @GilbertHenry-k4j
    @GilbertHenry-k4j 3 месяца назад

    Langworth Port

  • @WilliamBarnes-m2c
    @WilliamBarnes-m2c 3 месяца назад

    Foster Springs

  • @PitmanBurke-i3k
    @PitmanBurke-i3k 3 месяца назад

    Hudson Summit

  • @FrankieJohnson-c4y
    @FrankieJohnson-c4y 2 месяца назад

    Marietta Spurs

  • @GuillermoMouser-l5d
    @GuillermoMouser-l5d 3 месяца назад

    Leonie Fort

  • @DanielNava-v1i
    @DanielNava-v1i 2 месяца назад

    Rahul Manors

  • @BarnardGenevieve-o5h
    @BarnardGenevieve-o5h 2 месяца назад

    Heidenreich Ports

  • @bektv7177
    @bektv7177 Год назад

    Goo 👍👍

  • @VoncileGoulas-e4o
    @VoncileGoulas-e4o 3 месяца назад

    Clara Mountains

  • @ONeilMarguerite-f3z
    @ONeilMarguerite-f3z 3 месяца назад

    Alexanne Fields

  • @WalkerLucy-v9v
    @WalkerLucy-v9v 3 месяца назад

    Herman Turnpike

  • @PatriciaSharp-b7h
    @PatriciaSharp-b7h 3 месяца назад

    Jesse Ville

  • @FreemanModesty-g3y
    @FreemanModesty-g3y 3 месяца назад

    Ernser Spring

  • @FrankWoods-w8k
    @FrankWoods-w8k 2 месяца назад

    Ziemann Spur

  • @JustinTodd-u5t
    @JustinTodd-u5t 3 месяца назад

    Hagenes Lights

  • @YouTube2002Youtube
    @YouTube2002Youtube Месяц назад

    Hello

    • @YouTube2002Youtube
      @YouTube2002Youtube Месяц назад

      Is there a way to contact you
      I have a small issue in my code

    • @ReneBalke
      @ReneBalke  Месяц назад

      Check out my new comminity: www.skool.com/automated-traders-elite

  • @LondonEllen-i9c
    @LondonEllen-i9c 3 месяца назад

    Dolly Parkway

  • @RamonMizutani-l5o
    @RamonMizutani-l5o 3 месяца назад

    Bechtelar Haven

  • @BlackMaureen-y9z
    @BlackMaureen-y9z 3 месяца назад

    Kris Inlet

  • @MicahSchwerin-z8j
    @MicahSchwerin-z8j 3 месяца назад

    Earnest Center

  • @BurkeGene-j5h
    @BurkeGene-j5h 3 месяца назад

    Sigurd Mountain

  • @KellyReynolds-v1z
    @KellyReynolds-v1z 3 месяца назад

    Myrl Keys

  • @LorenzoAlpert-q9x
    @LorenzoAlpert-q9x 3 месяца назад

    Leila Drive

  • @MacDonaldWalker-d7v
    @MacDonaldWalker-d7v 3 месяца назад

    Moriah Oval

  • @RogerMathis-e1p
    @RogerMathis-e1p 3 месяца назад

    Breana Island

  • @ThomasTodd-o6l
    @ThomasTodd-o6l 3 месяца назад

    Hegmann Pine