Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

On_Screen_MACD - indicator for MetaTrader 5

Views:
6388
Rating:
(15)
Published:
2019.01.02 14:29
Updated:
2019.01.28 07:19
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The On screen MACD indicator is drawn on the main price chart. Slow ЕМА is used as the zero line.

It has four adjustable parameters:

  • Fast EMA period
  • Slow EMA period
  • Signal period - signal line calculation period
  • Applied price - price used for calculation

Calculations:

MACD = EMA(Applied price, Fast EMA period)
Zero = EMA(Applied price, Slow EMA period)
Signal = Zero + SMA(RAW, Signal period)
Histogram = Zero + MACD - Signal

where:

RAW = MACD - Zero


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23005

Mean_Reversion Mean_Reversion

Indicator Mean reversion

JSmooth_MA JSmooth_MA

Indicator JSmooth MA

Wilder_ATR Wilder_ATR

Indicator Wilder ATR

WSI WSI

Indicator WSI