Join our fan page
- Views:
- 6196
- 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

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.

Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.

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.

The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.