Join our fan page
XHullTrend_Digit_System - indicator for MetaTrader 5
- Views:
- 4334
- Rating:
- Published:
- 2018.10.25 18:32
- Updated:
- 2023.03.29 13:48
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator implements a breakout system using the XHullTrend_Digit indicator cloud.
When the price exits the cloud, the candle changes its color to the one corresponding to the trend direction: blue for rise and pink-red for its fall. Bright colors denote coincidence of trend direction and direction of a candlestick. Dark colors correspond to the situation when the direction of a candlestick is opposite to trend. Candles closed inside the cloud are colored in accordance with the previous trend.
The indicator uses the SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The detailed description of the classes is available in the article Averaging Price Series for Intermediate Calculations Without Using Additional Buffers.
Fig. 1. XHullTrend_Digit_System
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22197