How can i create a alarm (sound) for my stoploss

 

How can i create a alarm (sound) for my stoploss

 
Documentation on MQL5: Common Functions / PlaySound
Documentation on MQL5: Common Functions / PlaySound
  • www.mql5.com
Common Functions / PlaySound - Documentation on MQL5
 
mr_s1987:

How can i create a alarm (sound) for my stoploss

Are you asking MT5 alert (https://www.metatrader5.com/en/trading-platform/alerts) or mql5 alert code (https://www.mql5.com/en/docs/common/alert) ?

By the way, since MT5 is position based trading, (MT4 is ticket based trading), as SL and TP, you better use pending orders with opposite type against opened position. There were plenty topics in forum that SL and TP was not executed in MT5.

For example, if you have opened buy, you can use sell limit as TP and sell stop as SL for that opened buy.

Trade Alerts in the MetaTrader 5 Forex Platform
  • www.metatrader5.com
Alerts in MetaTrader 5 can make currency and share trading on the financial market more flexible and mobile. Set up the Alert and stop monitor the stock chart or forex chart every second waiting for some trade events.