MACD MA Price – indicator for MetaTrader 4

0
434

The standard MACD indicator is calculated by formulas:

MACD = EMA(CLOSE, 12) – EMA(CLOSE, 26)
SIGNAL = SMA(MACD, 9),

where main line (MACD) is drawn on the exponential moving average (EMA), a signal line (SIGNAL) on the simple moving average (SMA), and applied price is limited to the closing price (CLOSE).

The proposed indicator MACD MA Price is more elastic in input parameters. It will allow you to use other moving averages and standard spectrum of applied prices. This indicator is prepared based on MACD template.

Taking into account additional input parameters in indicator MACD MA Price, formulas are as follow:

MACD = MACD_MA_method (Applied_price, 12) – MACD_MA_method (Applied_price, 26)
SIGNAL = Signal_MA_method (MACD, 9),

For those who will want in formula (1) have possibility to select separate mode of moving average, an additional modification of the indicator MACD MA Price-2 is prepared:

MACD = MACD_MA_method_1 (Applied_price, 12) – MACD_MA_method_2 (Applied_price, 26)
SIGNAL = Signal_MA_method (MACD, 9),

Input parameters:

MACD_MA_method, MACD_MA_method_1, MACD_MA_method_2 и Signal_MA_method:

  • 0 – Simple moving average,
  • 1 – Exponential moving average,
  • 2 – Smoothed moving average,
  • 3 – Linear weighted moving average.

Applied_price:

  • 0 – close price,
  • 1 – open price,
  • 2 – high price,
  • 3 – low price,
  • 4 – median price, (high+low)/2,
  • 5 – typical price, (high+low+close)/3,
  • 6 – weighted close price, (high+low+close+close)/4.

Recommended MT4/MT5 Brokers

XM Broker

  • Free $50 To Start Trading Instantly! (Withdraw-able Profit)
  • Deposit Bonus up to $5,000
  • Unlimited Loyalty Program
  • Award Winning Forex Broker
  • Additional Exclusive Bonuses Throughout The Year

XM broker

>> Sign Up for XM Broker Account here <<

FBS Broker

  • Trade 100 Bonus: Free $100 to kickstart your trading journey!
  • 100% Deposit Bonus: Double your deposit up to $10,000 and trade with enhanced capital.
  • Leverage up to 1:3000: Maximizing potential profits with one of the highest leverage options available.
  • ‘Best Customer Service Broker Asia’ Award: Recognized excellence in customer support and service.
  • Seasonal Promotions: Enjoy a variety of exclusive bonuses and promotional offers all year round.

fbs broker

>> Sign Up for FBS Broker Account here <<

 

(Free MT4 Indicators Download)

Click here below to download:

MACD MA Price – indicator for MetaTrader 4

LEAVE A REPLY

Please enter your comment!
Please enter your name here