Building your own trading bot using MetaTrader 4 and MQL4

preview_player
Показать описание
Brian shows you how to program your own basic trading bot using MetaTrader 4 and MQL4.
Рекомендации по теме
Комментарии
Автор

The secret of successful trading is good risk management, discipline, and the ability to control your emotions. Anyone can guess right and win every once in a while, but without risk management it is virtually impossible to remain profitable over time.

jamesowen
Автор

Awesome! This will be so helpful! Of course, we're just scratching the surface, but you explained a TON in such a short amount of time. I'll come back to this when I try my hand at setting up a bot.

Rationalific
Автор

I was building a program on a different platform, but found out that I couldn't do it with my brokers api. I can use mt4 though. This video eased my fears of using mql4. I'm fairly confident it's a good strategy, but now I have a base point to start. I can look up ali to implement. Thank you for sharing.

killersquir
Автор

thanks, it was the best MT4 coding video I found on youtube. It was very clear to understand

marianakayama
Автор

This is an honest channel, great for beginners. It would be awesome to see you produce more advanced bot videos! Keep up the awesome work, dude.

jayp
Автор

basic, simple and educative
thats what I call a good video
thanks for sharing

andres-ydev
Автор

Slanting moving average works, not based on the price by only entries and exists according to the slanting of the moving averages

nayanmipun
Автор

For everyone getting an error with the double movingAverage in 8:00, delete the last parameter so its just this now:
double movingAverage = iMA(_Symbol, _Period, 20, 0, MODE_SMA, PRICE_MEDIAN);
EDIT: Sorry, I was using mql5

robelso
Автор

Best video by far in this field, Which line would you use to set the lot size when placing orders?

ivanmogajane
Автор

oh my god. this I can NOT believe that you share this video for Free << you are the best of the best

Sumercrypto
Автор

Thank you ۔۔۔ i will keep this video in my play list to work as daily drill

pichhalperi
Автор

Well explained video sir just exactly how I was put through when investing with Mr Romero pieto.

stephaniewilcox
Автор

i make huge profit on my investment since i started with Mrs Stacey Lawrence, her trading strategies are top notch.

hollypaul
Автор

Why the software doesn't recognize the functions "OP_SELL" or "OP_BUY"? For you in the video it is recognized and show you the functions, for me it's just a text. I did exactly as you did. I use MetaTrader 4 and followed step by step without any mistakes.
Please help. I also would like to get some guides how to program everything that I wish for, as for now I do now know what to type in the code to make it happen. I learned how to code (Computer Science degree) but I have no idea how this software works or what functions are in there and what they do.
Please I would like to get any kind of helpful information.

Best Regards

Insertor
Автор

Thanks a lot for this video. On of the very rare in this cathegory in YouTube.
One problem I get with "Hello, world" is that the message is displayed with a sound alert on each tick (normal as it is coder under void OnTick).
But I see it was not the case for you as "Hello, world" was displayed only one time.
Why this difference ?
How to stop the execution as the only solution I found to stop the "Helloword" messages is to restart MetaTrader

HoussemMiladi
Автор

Keep in mind that I don't think ticks occur during off hours, I'm doing this on a saturday and I think that's why the hello world window didn't pop up for me, but who knows, maybe I just fudged something up.

chili
Автор

Brian
How can I code a EMA cross over? Such as a 5EMA crossing a 10EMA. I tried duplicating the movingaverage but it's not compiling. I'm just trying to make an EA so I can modify it and back test it for real trading.

shawnbuel
Автор

Thank you for your effort !!! It helps a lot for noobs like me

bluezones
Автор

Thank you for this video! Would you be able to write something that would buy when price crosses over and 5 m candle closes above the Lead 2 line in the Ichimoku and vice versa? How much would you charge for that, if you were to consider doing it?

gittakocsis
Автор

Thanks a million for your invaluable content.. it's just wonderful

amirmoezi