One-click trading and OrderModify()??

 

Am I being really stupid here, but since activating one-click on my MT4 platform, the OrderModify() function in my EA does not seem to be working?  I know this is not a coding error as the same code has worked for years before.  Also how do i turn one-click off as unchecking to Tools/Options/Trades box does nothing.

 

Thanks 

 
k6pilot:

Am I being really stupid here, but since activating one-click on my MT4 platform, the OrderModify() function in my EA does not seem to be working?  I know this is not a coding error as the same code has worked for years before.  Also how do i turn one-click off as unchecking to Tools/Options/Trades box does nothing.

Your OrderModify() call is probably broken . . .  what happens when you check it's return value and what error is reported by GetLastError() ?

This might help:  What are Function return values ? How do I use them ? 

Reason: