input uint Digit=2; //number of digits to round to
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".
Fig. 1. XHullTrend_Digit
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/22014
The Expert Advisor based on iBullsPower (Bulls Power) and iBearsPower (Bears Power) indicators.DeMarker_Histogram_Vol_HTF
DeMarker_Histogram_Vol indicator with the timeframe selection option available in input parameters