Join our fan page
XChannel - indicator for MetaTrader 5
- Views:
- 5703
- Rating:
- Published:
- 2014.03.11 13:59
- Updated:
- 2023.03.29 13:47
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
Gep
A channel build on the values of two moving averages of High and Low, drawn as a cloud.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the 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".
Originally this indicator has been written in MQL4 and was first published in the Code Base on 18.10.2007.
Figure 1. The XChannel indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/2103
The indicator changes the bar color to the color of the current trend calculated based on the TDI-2 custom indicator.
DEMA_RLHA system of three Moving Averages.
The ROC indicator smoothed by Laguerre filter drawn as a color histogram.
ImpulseA one period momentum averaged by the SMA algorithm.