Forex Dtosc Contrarian Martingala Trading Strategy
This Old Kings indicator for MetaTrader 4 is called Forex Dtosc Contrarian Martingala Trading Strategy. In the code it works with RSI, moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 25 settings, for example MA Period (default 4), MA Sampling Period (default 4) and MA Method (default 1). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 7 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 Dtosc Contrarian Martingala Trading Strategy
Forex Dtosc Contrarian Martingala Trading Strategy is an indicator for MetaTrader 4 based on RSI, Moving Average 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 25 settings, such as Ma period, Ma sampling period and Ma method. MQL source code included.
Files in the download: !X-UK.MA.4.ex4, !X-UK.MA.4.mq4, !X-UK.NMA.4.ex4, !X-UK.NMA.4.mq4, !X-UK.SIGNAL.LINE.ex4, #DTosc & arrows - smoothed & alerts.ex4, #DTosc & arrows - smoothed & alerts.mq4, Contrarian with NNMA.tpl ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Ma period | 4 | Period or timeframe used by the calculation |
| Ma sampling period | 4 | Sampling period should be less than 1/4 of MA_Period |
| Ma method | 1 | 0 - SMA, 1 - EMA, 2 - SMMA, 3 - LWMA |
| Ma applied price | 0 | 0 - PRICE_CLOSE, 1 - PRICE_OPEN, 2 - PRICE_HIGH, 3 - PRICE_LOW, 4 - PRICE_MEDIAN, 5 - PRICE_TYPICAL, |
| Time frame | Current time frame | Period or timeframe used by the calculation |
| Period rsi | 13 | Number of bars in the calculation |
| Period stoch | 5 | 8 |
| Period sk | 5 | Number of bars in the calculation |
| Period sd | 5 | 3 |
| Ma mode | 0 | |
| Smooth period | 5 | Period or timeframe used by the calculation |
| Smooth phase | 0 | |
| Smooth double | true | |
| Show arrows on100 0 | false | true; |
| Interpolate | true | |
| Show arrows | true | |
| Use signal line for100 0 | false | |
| Arrows identifier | dtosc arrows | |
| Arrows up color | Lime | Blue; |
| Arrows dn color | Red | Colour on the chart |
| Alerts on | false | Turn this alert on or off |
| Alerts on current | true | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
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: Buy/Sell Arrows · Alerts · Multi-Timeframe (MTF) · RSI · Moving Average · ATR · MT4 Indicator · MQL4 Source Code