- Credits
- 0
Hello,
I have unfortunately a small problem with the EA below.
I am new to writing EA's.
I think the Expert Advisor has a lot of potentials. I would like to have it trade on verified and proven zones, unfortunately, I have not been able to successfully rewrite the code yet.
I would like to rewrite the EA so that it only executes an order after the zone has exited again. The price must enter the zone and only after exiting the zone again execute an order below or above the zone. See example photos. and I have added the file also
Example photo 4, the price is in the zone but does not break out again downwards but upwards away.
Also, I wanted to include a trailing stop loss, but it only half worked...
Thank you and have a nice day
I have unfortunately a small problem with the EA below.

I am new to writing EA's.
I think the Expert Advisor has a lot of potentials. I would like to have it trade on verified and proven zones, unfortunately, I have not been able to successfully rewrite the code yet.
I would like to rewrite the EA so that it only executes an order after the zone has exited again. The price must enter the zone and only after exiting the zone again execute an order below or above the zone. See example photos. and I have added the file also
Example photo 4, the price is in the zone but does not break out again downwards but upwards away.
Also, I wanted to include a trailing stop loss, but it only half worked...

Thank you and have a nice day