Idea by: raposter.
MQL5 code by: Vladimir Karputov.
The program uses the overbought (OB) and oversold (OS) zones, for which it generates trading signals for selling or buying. OB and OS are determined on M15, H1, and H4. To demonstrate the program, the EURUSD M15 chart was chosen.
The program has to triggers to show the comparison of alternative methods to determine OB/OS.
As you can see from the two Strategy Tester reports attached below, trigger No. 2 (by the Bollinger Bands method) shows good results for the testing period of over 11 years and is superior to trigger No. 1. Moreover, trigger No.2 works more evenly and shows much lower dispersion of the results than trigger No. 1 on M15 over 11 years.


MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/20705
EMAVFS_channel
A channel using a non-smooth and steady approximation error, in which the exponential moving average with a variable smoothing factor is used as the midline.
EMAVFS_HTF
Indicator EMAVFS with the timeframe selection option available in input parameters.