Code a simple RSI EA in mql5 | MT5 Programming
Today I will show you how to code a simple RSI EA for Metatrader 5. If you are new to mql5, just follow my steps and we will create a fully working RSI Expert Advisor.
As an algo trader I develop and trade strategies with metatrader 5.
Automated trading makes it possible to be consistently profitable in the forex market. With my own trading system, programmed in mql5, various strategies can be automated in metatrader. If you have any questions about algo trading, metatrader or programming trading systems (Expert Advisor or EA), just write a comment or visit my website. You can also write me on telegram.
►Links
RSI EA for free: https://www.mql5.com/en/market/product/93533
MasterEA: https://www.mql5.com/en/market/product/92711
SpreadRecorder: https://www.mql5.com/en/market/product/92882
DataEditor: https://www.mql5.com/de/market/product/92867
*Recommended broker: https://www.darwinex.com/register?ac=oj2J7vcgVN9mVkNd0x%2Br%2BI6kjScsE%2FMUnJRS2rKf7as%3D&lang=en
*These links are affiliate links . If you use this link you can support the channel because I will receive a commission form the company. You do not have any disadvantages.
►Contact
Website: https://trustfultrading.com/
Telegram: https://t.me/trustfultrading
►Chapters
00:00 Intro
00:13 EA logic
01:10 Create new EA
02:04 Inputs
07:10 Global variables
08:43 Include CTrade class
09:50 Check user input
14:57 Set magicnumber
15:33 Create RSI handle
18:40 Release indicator handle
19:18 Get current tick
20:35 Get indicator values
25:20 Count open positions function
33:19 Normalize price function
35:53 Close positions function
41:20 Count open positions
42:00 Open buy position
49:50 Open sell position
51:58 Visual test
54:30 Backtests
55:43 Outro
►Risk instruction
Trading in derivative products such as futures, options, CFD's, forex and certificates contains significant risk. These products are not suitable for every investor. Investors could potentially lose all or more than the original investment. If anything, only money equal to personal risk capital should be used and can be lost without jeopardizing financial security or lifestyle. Partially or fully automated trading programs can be used to assist the trader only. Past performance is not an indication of future results. Our trading systems have been developed to the best of our knowledge and belief. Despite careful programming, errors may still exist. We do not assume any liability for errors in the programming of the trading systems. You use the trading systems on your own responsibility. You are responsible if losses occur due to the trading systems.
Total risk notice: https://trustfultrading.com/risk-notice/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Code a simple RSI EA in mql5 | MT5 Programming», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.