Hi!
You can find answer in HedgeHog EA. In that EA on close You can find:
if(OrderType()==OP_BUY){
OrderClose(OrderTicket(),OrderLots(),Bid,3,Red);
PlaySound("expert.wav");
GlobalVariableSet("Closed",1);
Sleep(10000);
}
if(OrderType()==OP_SELL){
OrderClose(OrderTicket(),OrderLots(),Ask,3,Red);
PlaySound("expert.wav");
GlobalVariableSet("Closed",2);
Sleep(10000);
henryb

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi all, hows the forex treating yous?? good i hope
is there an ea out there that can sound an alarm = when an order is closed, when a market order is opened,
im learning a new heding system that is supposed to be full prof, and after reading up on it seems very promising, need an alarm system for it though so i know when one side of the hedge has been closed etc so i can hear it round the house, anyone that can sends me the ea can have a copy of the script that shows the hedging system, its a well known system that the authors claim has left them no losses to date!!!