Loading…

MACD Technical Indicator

MACD Technical Indicator — a MetaTrader 4 and 5 indicator kept in the Old Kings collection. Judging by its name, it is built around MACD (moving average convergence / divergence). Its source code uses divergence checks, MACD, RSI and the Stochastic oscillator. It draws arrows on the chart and can send alerts. It has 40 settings, for example Fast MAPeriod (default 12), Slow MAPeriod (default 26) and Signal MAPeriod (default 9). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 9 indicator files with source code (.mq4/.mq5) 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 & MT5 · v1.0 · Free

About MACD Technical Indicator

MACD Technical Indicator is an indicator for MetaTrader 4 and MetaTrader 5 based on Divergence, MACD, RSI and Stochastic. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 40 settings, such as Fast ma period, Slow ma period and Signal ma period. MQL source code included.

Files in the download: MACD Technical Indicator\2line_MACD.mq4, MACD Technical Indicator\2line_MACD_DL.mq5, MACD Technical Indicator\MACD_2_Colour_HISTOGRAM.mq4, MACD Technical Indicator\MACD_AllcoloredMM2_4.mq4, MACD Technical Indicator\MACD_ColorHist_Alert_LA5.mq4, MACD Technical Indicator\MACD_Crossover_Alert.ex4, MACD Technical Indicator\MACD_Crossover_Arrow_Alert.mq4, MACD Technical Indicator\MACD_custom.mq4 ….

Settings

SettingDefaultWhat it does
Fast ma period12Period or timeframe used by the calculation
Slow ma period26Period or timeframe used by the calculation
Signal ma period9Period or timeframe used by the calculation
Fast ema12Fast EMA period // New
Slow ema26Slow EMA period
Signal sma9Signal SMA period
Applied pricePRICE_CLOSEApplied price
Fast ema8
Slow ema17
Signal sma9
_MACD settings
Signal ema9
Price typePRICE_CLOSE
Show histotrue
Show osmafalse
Osma multiplier2How much the lot size grows after a loss
Show linestrueif falce - osma autoscale
Rsi period14Period or timeframe used by the calculation
Mom period14Period or timeframe used by the calculation
Cci period10Period or timeframe used by the calculation
Sto k period14Period or timeframe used by the calculation
Sto d period3Period or timeframe used by the calculation
Sto sl period3Period or timeframe used by the calculation
Sto price field0
Sto main ma mode0
Sto sig ma mode0
Base ma period1Period or timeframe used by the calculation
Base ma mode0
Macd type0
Sto price field0Low/High 1Close/Close
__alerts
Alerts ontrueTurn this alert on or off
Mac dalertstrueTurn this alert on or off
Os m aalertstrueTurn this alert on or off
Alerts messagetrueTurn this alert on or off
Alerts soundtrueTurn this alert on or off
Alerts emailfalseTurn this alert on or off
Soundfilenews.wav"alert2.wav"
Sound ontrueTurn this alert on or off
Email onfalseTurn this alert on or off

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: MACD · Buy/Sell Arrows · Alerts · Divergence · RSI · Stochastic · MT4 Indicator · MT5 Indicator · MQL4 Source Code · MQL5 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria