Help on this EA

 

The attached EA opens the new order in the same direction immediately after the stop loss or target point is reached. It should wait for the new

correct entry signal. I don't know the code that can prevent this.

This EA has been created by Expert Advisor Builder.

Files:
wpr_ea.mq4  10 kb
 
adria:
The attached EA opens the new order in the same direction immediately after the stop loss or target point is reached. It should wait for the new

correct entry signal. I don't know the code that can prevent this.

This EA has been created by Expert Advisor Builder.

Did you try to set EachTickModeto false?

 

help on this EA

I am sorry, I uploaded the wrong EA. I need a help on this attached the EA.

The attached EA opens the new order in the same direction immediately after the stop loss or target point is reached. It should wait for the new

correct entry signal. I don't know the code that can prevent this.

This EA is profitable on GBPUSD at 4 hour timeframe.

Files:
 

Adria,

Do you have the indicator that goes with this system?

Thanks.

 

This is the indicator I use.

Files:
asctrend.mq4  4 kb
 

Maybe this is what you are looking for?

by the way, where did you get the base EA that you modified? It looks very similar to an EA that I had written a while back.

Thanks.

Files:
 

In this attached EA I only changed the places of "1" and "0" for the buy and sell signals.

The EA is set to give the best result by testing through the last three

months.

Files: