Forex CCI Contrarian Method Swing Trading Strategy
This Old Kings indicator for MetaTrader 4 is called Forex CCI Contrarian Method Swing Trading Strategy. As the name suggests, the idea behind it is the Commodity Channel Index (CCI). In the code it works with moving averages, CCI and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 32 settings, for example CCIPeriod (default 20), level (default 100.0) and Color Up (default Lime). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 4 indicator files 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 · v1.0 · Free
About Forex CCI Contrarian Method Swing Trading Strategy
Forex CCI Contrarian Method Swing Trading Strategy is an indicator for MetaTrader 4 based on Moving Average, CCI and ATR. It draws buy and sell arrows on the chart, can alert you with a pop-up, sound, email or push message and can show data from another timeframe (MTF). It has 32 settings, such as Cci period, Level and Color up. MQL source code included.
Files in the download: CCI Contrarian Trading System.tpl, CCI_NUF_v4 mod~.ex4, CCI_NUF_v4 mod~.mq4, installation manual.txt, SAP - Jurik CCI mtf.ex4, SAP - Jurik CCI mtf.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Cci period | 20 | Period or timeframe used by the calculation |
| Level | 100.0 | |
| Color up | Lime | Colour on the chart |
| Color dn | Red | Colour on the chart |
| Color neutral up | DodgerBlue | Colour on the chart |
| Color neutral dn | Orange | Colour on the chart |
| Hist width | 3 | |
| Sep0 | ||
| Ahi0 | ******* Alert settings: | |
| Signal candle | 1 | |
| Popup alerts | TRUE | Turn this alert on or off |
| Email alerts | FALSE | Turn this alert on or off |
| Push notification alerts | FALSE | Turn this alert on or off |
| Sound alerts | FALSE | Turn this alert on or off |
| Sound file long | alert.wav | Turn this alert on or off |
| Sound file short | alert2.wav | Turn this alert on or off |
| Time frame | current time frame | Period or timeframe used by the calculation |
| Cci period | 6 | Period or timeframe used by the calculation |
| Cci price | PRICE_TYPICAL | |
| Over sold | -100 | |
| Over bought | 100 | |
| Smooth length | 5 | |
| Smooth phase | 100 | |
| Over sold color | DeepSkyBlue | Colour on the chart |
| Over bought color | DeepSkyBlue | Colour on the chart |
| Show arrows | true | |
| Show arrows zone enter | false | |
| Show arrows zone exit | true | |
| Arrows identifier | cci arrows | |
| Arrows up color | DeepSkyBlue | Colour on the chart |
| Arrows dn color | Goldenrod | Colour on the chart |
| Interpolate | true |
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 · Alerts · Multi-Timeframe (MTF) · Moving Average · ATR · MT4 Indicator · MQL4 Source Code