Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3179
Rating:
(17)
Published:
2016.02.16 15:24
Updated:
2023.03.29 13:46
\MQL5\Include\
xenvelopes2.mq5 (9.25 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Two Envelopes channels, based on one moving average with different deviation values, drawn as a cloud. The first channel is painted in a pale gray color, the top of the second channel, extending beyond the first channel, is painted in a pale green color, and the bottom of the second channel, also extending beyond the first channel, is painted in a pale pink color.

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Figure 1. The XEnvelopes2 Indicator

Figure 1. The XEnvelopes2 Indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14750

XEnvelopes_HTF XEnvelopes_HTF

The XEnvelopes with the timeframe selection option available in the input parameters.

XEnvelopes XEnvelopes

The classic Envelopes indicator which uses the algorithms of universal averaging and fills the channel with a colored background.

XEnvelopes2_HTF XEnvelopes2_HTF

The XEnvelopes2 indicator with the timeframe selection option available in input parameters.

XEnvelopes3 XEnvelopes3

Three Envelopes channels, based on one moving average with different deviation values, drawn as a cloud.