Stanislav Hetalo / Publications
Forum
Problem with pending orders deletion
Hi all, My goal is to write a simple EA that cancels pending buy stops or sell stops whenever current price moves past original stop price. The EA - code attached below - works flawlessly for test sell stops (commented code for test sell stop). Yet, for test buy stops, the EA cancels pending order