Fast Slow MA RSI MACD EA (TS21)
Fast Slow MA RSI MACD EA (TS21) is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its name points to MACD (moving average convergence / divergence), the RSI oscillator (overbought / oversold zones) and moving averages. Its source code uses MACD and RSI. It raises the lot size after losses (martingale — high risk), moves the stop behind price and has a trading-hours filter. It has 35 settings, for example separator1 (default ---------------- Entry S), Fast EMA (default 5) and Slow EMA (default 13). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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.0 · Free
About Fast Slow MA RSI MACD EA (TS21)
Fast Slow MA RSI MACD EA (TS21) is an expert advisor (trading robot) for MetaTrader 4 based on MACD and RSI. It increases the lot size after a losing trade (martingale), moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 35 settings, such as Separator1, Fast ema and Slow ema. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: FastSlow MA RSI MACD EA (TS21).mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Separator1 | ---------------- Entry Settings | |
| Fast ema | 5 | |
| Slow ema | 13 | |
| Macdsma | 1 | |
| Fast ma period | 8 | Period or timeframe used by the calculation |
| Fast ma method | 1 | |
| Slow ma period | 21 | Period or timeframe used by the calculation |
| Slow ma method | 1 | |
| Rsi period | 21 | Period or timeframe used by the calculation |
| Rsi up level | 50 | |
| Rsi dn level | 50 | |
| Separator2 | ---------------- Lot Management | |
| Lots | 0.01 | Trade size in lots |
| Risk management | false | money management |
| Risk | 10 | risk in percentage |
| Martingale | false | martingale |
| Multiplier | 1.5 | multiplier |
| Min profit | 0 | minimum profit to apply the martingale |
| Separator3 | ---------------- TP SL TS BE | |
| Stop loss | 0 | stop loss |
| Take profit | 0 | take profit |
| Trailing stop | 0 | trailing stop |
| Break even | 0 | breakeven |
| Separator4 | ---------------- Extras | |
| Reverse | false | |
| Add positions | false | positions cumulated |
| Max orders | 100 | maximum number of orders |
| Ma filter | false | moving average filter |
| Ma period | 200 | Period or timeframe used by the calculation |
| Ma method | 1 | |
| Ma price | 0 | |
| Time filter | false | time filter |
| Start hour | 8 | Hour when trading starts (server time) |
| End hour | 21 | Hour when trading stops (server time) |
| Magic | 0 | Magic number that tells this EA's orders apart |
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: MACD · RSI · Moving Average · Martingale · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code