Trailing stop loss in mql5 | MT5 programming

trustfultrading
trustfultrading
13.6 هزار بار بازدید - 2 سال پیش - Alpha MT5 programming course:
Alpha MT5 programming course: https://trustfultrading.com/alpha/
Beta MT5 programming course: https://trustfultrading.com/beta/
MasterEA: https://www.mql5.com/en/market/produc...
SpreadRecorder: https://www.mql5.com/en/market/produc...
DataEditor: https://www.mql5.com/de/market/produc...

Today I will show you how to code a trailing stop loss in mql5. You can use the same function to add a trailing stop loss to any other Expert Advisor for Metatrader 5.

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 join my discord server or write me on telegram.

►Broker
*Recommended  broker: https://www.darwinex.com/register?ac=...
►VPS
*VPS: https://www.awin1.com/awclick.php?gid...
*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/
Discord server: Discord: discord
Telegram:  https://t.me/trustfultrading

►Chapters
00:00 Intro
00:14 Basic trailing stop loss
01:10 Create new EA
01:45 New input variable
03:06 Update stop loss function
20:55 Call update stop loss function
21:40 Test trailing stop loss
24:31 Optimization
26:31 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/
2 سال پیش در تاریخ 1401/10/10 منتشر شده است.
13,689 بـار بازدید شده
... بیشتر