Loading…

Forex PA Adaptive MACD Indicator

From the Old Kings archive: Forex PA Adaptive MACD Indicator, an indicator for MetaTrader 4. Judging by its name, it is built around MACD (moving average convergence / divergence). In the code it works with ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 31 settings, for example Time Frame (default PERIOD_CURRENT), For Symbol and Fast Cycles (default 1.5). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 2 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 PA Adaptive MACD Indicator

Forex PA Adaptive MACD Indicator is an indicator for MetaTrader 4 based on 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 31 settings, such as Time frame, For symbol and Fast cycles. MQL source code included.

Files in the download: installation manual.txt, PA_adaptive_MACD.ex4, PA_adaptive_MACD.mq4.

Settings

SettingDefaultWhat it does
Time framePERIOD_CURRENTTime frame to use
For symbolSymbol to use (empty for current symbol)
Fast cycles1.5Fast phase accumulation cycles
Fast filter1.0Fast phase accumulation filter
Slow cycles3.0Slow phase accumulation cycles
Slow filter1.0Slow phase accumulation filter
Applied pricepr_closePrice to use
Fl period35Levels period
Fl up90Upper level %
Fl down10Lower level %
Fl typelev_quanLevels type
Color oncc_onSlopeColor on
Arrows visiblefalseDisplay arrows?
Arrows on firstfalseArrows on first bar (mtf mode)?
Arrows show break outtrueShow breakout arrow?s
Arrows show retracetrueShow retrace arrows?
Arrows identifierpa macd arrowsArros unique ID
Arrows upper gap0.5Upper gap for arrows
Arrows lower gap0.5Lower gap for arrows
Arrows up colorclrLimeGreenUp arrow color
Arrows dn colorclrRedDown arrow color
Arrows up code241Up arrow code
Arrows dn code242Down arrow code
Alerts onfalseTurn alert on?
Alerts on currentfalseAlerts on still opened bar?
Alerts messagetrueAlerts should display a message?
Alerts soundfalseAlerts should play a sound?
Alerts notifyfalseAlerts should send a notification?
Alerts emailfalseAlerts should send an email?
Sound filealert2.wavAlerts sound file
InterpolatetrueInterpolate in multi time frame mode

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 · Multi-Timeframe (MTF) · ATR · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria