Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

XССI_Candle_Vol - indicator for MetaTrader 5

Views:
2854
Rating:
(13)
Published:
2018.10.25 16:10
Updated:
2023.03.29 13:48
\MQL5\Include\
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

CCI_Candle_Vol indicator with additional averaging of the resulting candles. A similar averaging is applied to dynamic overbought/oversold levels as well.

//+-----------------------------------------+
//|  INDICATOR INPUT PARAMETERS             |
//+-----------------------------------------+
input uint                CCIPeriod=14;             // indicator period
input ENUM_APPLIED_VOLUME VolumeType=VOLUME_TICK;   // volume 
input int                 HighLevel=+50;            // overbought level
input int                 LowLevel=-50;             // oversold level
input uint                Gap=10;                   // unconsidered gap in points
input Smooth_Method       MA_SMethod=MODE_T3;       // Averaging method
input uint                MA_Length=12;             // Smoothing depth                    
input int                 MA_Phase=15;              // parameter of the first smoothing,
//---- for JJMA within the range of -100 ... +100, it influences the quality of the transition process;
//---- for VIDIA it is a CMO period, for AMA it is a slow average period
input int                 Shift=0;                  // Horizontal indicator shift in bars

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. XССI_Candle_Vol

Fig. 1. XССI_Candle_Vol

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21922

XRSI_Candle_Vol XRSI_Candle_Vol

RSI_Candle_Vol indicator with additional averaging of the resulting candles

FlatTrend FlatTrend

Flat/trend indicator.

XCCI_Histogram_Vol_Direct XCCI_Histogram_Vol_Direct

XCCI_Histogram_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

RenkoChart RenkoChart

Renko charts on custom symbols