Forum

Safe close position

Hi, I really need a help with closing positions close to StopLoss. It sometimes happens that I decide to close a position one or two ticks before SL is reached. I send a request for instant order in a direction opposite to open position. Because of the fact that such action takes a while it can

OnTrade() details

Hi, I am looking for a reliable way to know why OnTrade() is called: 1. How do I know (for particular call of OnTrade()) what list is changed (orders, deals, etc)? 2. How do I know which entry was added, removed or updated? Is it possible to add an additional API that can be called from

MetaTrader 5 and VS 9

I get a message "A debugger has been found running in your system. Please, unload it from memory and restart your program." when trying to debug using VS9 a DLL called from EA. With MT4 I was able to debug my DLL using VS9. With MT5 I always get a message "A debugger has been found running in your