00 Cci Div V103
This Old Kings indicator for MetaTrader 4 is called 00 Cci Div V103. Its name points to the Commodity Channel Index (CCI) and divergence between price and an oscillator. The file name marks it as version 103. In the code it works with divergence checks, moving averages, CCI and ATR. It draws arrows on the chart and can read another timeframe. It has 16 settings, for example time Frame (default 0), n Check Bars (default 42) and cci period (default 14). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 1 indicator file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 · v103 · Free
About 00 Cci Div V103
00 Cci Div V103 is an indicator for MetaTrader 4 based on Divergence, Moving Average, CCI and ATR. It draws buy and sell arrows on the chart and can show data from another timeframe (MTF). It has 16 settings, such as Time frame, N check bars and Cci period. MQL source code included.
Files in the download: 00-CciDiv_v103.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | 0 | time frame |
| N check bars | 42 | number of bars to check divergence |
| Cci period | 14 | CCI period |
| T3 period | 4 | T3 smooth period |
| Div mode | MODE_SIGNAL | 0/MODE_MAIN:CCI value 1/MODE_SIGNAL:smoothed value(T3) |
| B show all div | false | show all divergence or above/below leve_hi/lo |
| Level lo | -100 | when bShowAllDiv is true, show divergence only below this level |
| Level hi | 100 | when bShowAllDiv is true, show divergence only above this level |
| Div osc err | 8.0 | allowable error along divergence line (oscilator) |
| Div price err | 0.8 | allowable error along divergence line (PPS), iATR(nCheckBars)*err |
| B check cross | true | check signal cross |
| B alert cross | false | PlaySound() on signal cross |
| B alert div | false | PlaySound() on divergence |
| B draw obj | true | draw lines on chart/window |
| Window | 0 | specify indicator window explicitly, 0: auto |
| N max bars | 2000 | maximum number of bars to calculate, 0: no limit |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: CCI · Buy/Sell Arrows · Divergence · Multi-Timeframe (MTF) · Moving Average · ATR · MT4 Indicator · MQL4 Source Code