Join our fan page
- Views:
- 2996
- Rating:
- Published:
- 2016.02.16 15:23
- Updated:
- 2023.03.29 13:46
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The XEnvelopes with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires XEnvelopes.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Figure 1. The XEnvelopes_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14743
![XEnvelopes](https://c.mql5.com/i/code/indicator.png)
The classic Envelopes indicator which uses the algorithms of universal averaging and fills the channel with a colored background.
![RJTX_Matches_Smoothed](https://c.mql5.com/i/code/indicator.png)
The indicator helps to determine the beginning and end of trends on the basis of the slope of the "matches" lines and the color of their heads. Each match represents a line between the smoothed open price of a bar and the smoothed close price of the next one.
![XEnvelopes2](https://c.mql5.com/i/code/indicator.png)
Two Envelopes channels, based on one moving average with different deviation values, drawn as a cloud.
![XEnvelopes2_HTF](https://c.mql5.com/i/code/indicator.png)
The XEnvelopes2 indicator with the timeframe selection option available in input parameters.