Pair Difference
Pair Difference is an indicator for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages. It has 21 settings, for example Neutral Period (default 48), Max Period (default 960) and MAPeriod (default 12). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. 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 · v1.0 · Free
About Pair Difference
Pair Difference is an indicator for MetaTrader 4 based on Moving Average. It has 21 settings, such as Neutral period, Max period and Ma period. MQL source code included.
Files in the download: PairDifference.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Neutral period | 48 | Period or timeframe used by the calculation |
| Max period | 960 | Period or timeframe used by the calculation |
| Ma period | 12 | Period or timeframe used by the calculation |
| Ma method | MODE_EMA | |
| Ma price | PRICE_CLOSE | |
| Pair1 | EURUSD | |
| Inverted1 | false | |
| Pair2 | ||
| Inverted2 | false | |
| Pair3 | ||
| Inverted3 | false | |
| Pair4 | ||
| Inverted4 | false | |
| Pair5 | ||
| Inverted5 | false | |
| Pair6 | ||
| Inverted6 | false | |
| Pair7 | ||
| Inverted7 | false | |
| Pair8 | ||
| Inverted8 | false |
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: Moving Average · MT4 Indicator · MQL4 Source Code