Join our fan page
- Views:
- 5269
- Rating:
- Published:
- 2017.05.29 14:17
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
When a position is closed (exit from the market, reversal or a close by operation), a sound is played.
A sound alert is selected from the standard terminal package:
version "1.002":
Added new parameter notification t send push-notifications to mobile terminals based on the MetaQuotes IDs specified in the options window, in its "Notifications" tab.
This option is disabled by default (false).
The format of notifications is approximately the following:
deal #127811212 sell 0.01 EURUSD, profit: 0.08 USD
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18082
![CloseOrdersBySymbolByType](https://c.mql5.com/i/code/script.png)
The script deletes all orders of the type specified in settings, on the current symbol.
![CloseAllOrders](https://c.mql5.com/i/code/script.png)
The script deletes all pending orders on all symbols at a time.
![CandleDifference](https://c.mql5.com/i/code/indicator.png)
The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.
![CandleDifference_Obj](https://c.mql5.com/i/code/indicator.png)
The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.