Hello guys, help me please, what mt4 script Should looks like if i need this option for expert:
MaxSpread=30
Step for spread=10
So if spread is going more then 40 or below 20 - ea stop trading
Thanks in advance
- I need help with coding an EA for mt4
- Spread filter for EA
- Please fix this indicator or EA
Like this maybe?
int spread=SymbolInfoInteger(_Symbol,SYMBOL_SPREAD); if(MathAbs(spread-MaxSpread)<=SpreadStep) OpenTrade();
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register