Join our fan page
- Views:
- 5785
- Rating:
- Published:
- 2017.05.29 15:52
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.
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.
Fig1. The XMA_KLx5_Cloud indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18168
![XMA_BB_Pivot_HTF](https://c.mql5.com/i/code/indicator.png)
Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.
![Statistics](https://c.mql5.com/i/code/expert.png)
Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.
![XMA_Keltner_Pivot_HTF](https://c.mql5.com/i/code/indicator.png)
Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values of two Keltner channels on one bar of any timeframe of the XMA_KLx5_Cloud indicator.
![Move Trend line](https://c.mql5.com/i/code/script.png)
The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.