Rsi And Cci Divergence V1
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Rsi And Cci Divergence V1. As the name suggests, the idea behind it is the RSI oscillator (overbought / oversold zones), the Commodity Channel Index (CCI) and divergence between price and an oscillator. The file name marks it as version 1. In the code it works with MACD, RSI, moving averages and Bollinger Bands. It moves the stop behind price and can size trades from your risk. It has 17 settings, for example Exit (default false), Increase Factor (default 0.001) and CCI (default 14). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA 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.
Expert advisor · MT4 · v1 · Free
About Rsi And Cci Divergence V1
Rsi And Cci Divergence V1 is an expert advisor (trading robot) for MetaTrader 4 based on MACD, RSI, Moving Average and Bollinger Bands. It moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 17 settings, such as Exit, Increase factor and CCI. MQL source code included.
Files in the download: RSI & CCI Divergence V1.mq4, Best Trading Systems.url.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Exit | false | Enable Exit strategy |
| Increase factor | 0.001 | IncreaseFactor |
| CCI | 14 | CCI |
| RSI | 14 | RSI |
| Candles to retrace | 10 | Num.Of Candles For Divergence |
| Lots | 0.01 | Lots size |
| Trailing stop | 40 | TrailingStop |
| Stop loss | 20 | Stop Loss |
| Magic number | 1234 | MagicNumber |
| Take profit | 50 | TakeProfit |
| Fast ma | 6 | FastMA |
| Slow ma | 85 | SlowMA |
| Mom sell | 0.3 | Momentum_Sell |
| Mom buy | 0.3 | Momentum_Buy |
| Use equity stop | true | Use Equity Stop |
| Total equity risk | 1.0 | Total Equity Risk |
| Max trades | 10 | Maximum number of open trades |
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 → Experts.
- 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 expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: RSI · CCI · Divergence · Trailing Stop & Break-even · Risk & Lot Size · MACD · Moving Average · Bollinger Bands · MT4 Expert Advisor · MQL4 Source Code