Enable/disable algo trading on high spread.

 

Hello, 

I have an MT5 EA that works really well until spreads widen.

The EA is a free EA that i have optimized really well on XAUUSD and the spread is what makes or breaks its performance.

It has no spread filter and i don't have access to the source code.

I believe the options i have are 


-Somehow get the ea to invalidate a trade with high spread or

-Some ability to enable/disable algo trading on high spread.


are there any other ways i can do this?

Or are there any existing API that can do this? I'm no coder either

[Deleted]  
You can search CodeBase. Also there are codes available if you search Forum or do a google search.
 
jcforex91:

Hello, 

I have an MT5 EA that works really well until spreads widen.

The EA is a free EA that i have optimized really well on XAUUSD and the spread is what makes or breaks its performance.

It has no spread filter and i don't have access to the source code.

I believe the options i have are 


-Somehow get the ea to invalidate a trade with high spread or

-Some ability to enable/disable algo trading on high spread.


are there any other ways i can do this?

Or are there any existing API that can do this? I'm no coder either

The only way out will be to get a new Ea that works on this strategy "if you know it", ask a developer/coder to code it and include a spread filter according to your liking, conversely you can look at codebase, maybe you can find something there.