Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Support and Resistance Trader

The Expert Advisor scans past 500 closing bars and looks for common closing regions as entries. It then uses a simple cross of three moving averages of varied length as a signal for trend development. Once it views a trend developing based on the direction it will search for the closest resistance line and buy or sell when they get as close as 0.005. The strength of the resistance is defined by input: resistance=. This refers to the minimum number of times a bar has closed at the same price level over the past 500 bars. I found the optimal number for EURUSD is 15. This Expert Advisor has been trained for EURUSD, some of the features would need changing considerably to be trained for other pairs.

                                                                                  MetaTrader Experts, Indicators, Scripts and Libraries

22304