I hope someone of you can help me sending a code that allows me to control how a specific EA trades.
What I need to do is to manually drive an expert advisor and make it stop tradding when a specific condition meets.
The idea is to manually draw a trend line on MT4, and make the EA stop work if this trend line is broken. For instance:
I draw a down trend line whille the EA is working for SELL ONLY, and the price starts going up and breaks the trend line. At this point I want the EA to stop trading.
I send a sample image
Thank you in advance