Alert at Order Closing – indicator MetaTrader 4
Description: The indicator alerts at order closing, and reports about its profit. //+——————————————————————+ //| AlertCloseOrder.mq4 | //| Copyright © 2010, Vladimir Hlystov | //| | //+——————————————————————+ #property copyright “Copyright © 2010, Vladimir Hlystov” #property link “” #property indicator_chart_window int Orders; //+——————————————————————+ int start() { if (Orders>OrdersTotal()) AlertOrder(); Orders=OrdersTotal(); return(0); } //+——————————————————————+ void AlertOrder() { … Read more