Join our fan page
- Views:
- 2429
- Rating:
- Published:
- 2018.06.16 10:13
- Updated:
- 2023.03.29 13:48
-
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 iDemarker, iMFI and iMomentum indicators and implemented as a two-colored histogram.
Indicator calculation formula:
kwan = MA(100 * iDemarker[bar] * iMFI[bar] / iMomentum[bar])
The growth of a financial asset is usually accompanied by the indicator growth and the aquamarine 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_RDP
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20606
![BSS 1_0](https://c.mql5.com/i/code/expert.png)
An Expert Advisor based on three iMA (Moving Average, MA) indicators.
![Doji Arrows](https://c.mql5.com/i/code/expert.png)
An EA based on the Doji pattern. Position trailing.
![KWAN_RDP_HTF](https://c.mql5.com/i/code/indicator.png)
The KWAN_NRP indicator with the possibility to change the indicator timeframe in input parameters.
![KWAN_CCC](https://c.mql5.com/i/code/indicator.png)
A simple oscillator based on the values of the Chaikin Oscillator, Commodity Channel Index and iMomentum indicators and implemented as a two-colored histogram.