Join our fan page
- Views:
- 3510
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A simple oscillator based on the values of the Chaikin Oscillator, Commodity Channel Index and iMomentum indicators and implemented as a two-colored histogram.
Indicator calculation formula:
kwan = MA(iChaikin[bar] * iCCI[bar] / iMomentum[bar])
The growth of a financial asset is usually accompanied by the indicator growth and the light-blue color of the histogram. An asset is considered falling if the indicator falls and the histogram is red and pink. The optimal time to perform a trade is when the color of the histogram bars changes.
The indicator uses the SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The classes were described in detail in the Averaging Price Series for Intermediate Calculations Without Using Additional Buffers article.

Fig.1. Indicator KWAN_CCC
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20608
KWAN_RDP_HTF
The KWAN_NRP indicator with the possibility to change the indicator timeframe in input parameters.
KWAN_RDP
A simple oscillator based on the values of the iDemarker, iMFI and iMomentum indicators and implemented as a two-colored histogram.
KWAN_CCC_HTF
The KWAN_CCC indicator with the possibility to change the indicator timeframe in input parameters.
VR---Moving
An Expert Advisor based on indicator iMA (Moving Average, MA) and implemented as a class.