Search This Blog

Sunday

MACD with Histogram - indicator for MetaTrader 5

This forex-indicator modifies the original MACD.mq5 from MetaTrader 5 Indicators/Examples folder.
It presents MACD Main and Signal in Lines Style, and includes the MACD Histogram in visualization.
Periods of EMA Fast, EMA Slow and Signal are freely customizable, as well as applied price.

Input parameters:

input int                InpFastEMA=12;               // Fast EMA period
input int                InpSlowEMA=26;               // Slow EMA period
input int                InpSignalSMA=9;              // Signal SMA period
input ENUM_APPLIED_PRICE InpAppliedPrice=PRICE_CLOSE; // Applied price

Download forex-indicator

Tuesday

MACD with Histogram - indicator for MetaTrader 5

This forex indicator measures the (smoothed) distance in pips between the close and an exponential moving average.
The first input, Period_Average, is the period of the exponential moving average. The forex indicator first computes an array containing the difference between this average and the corresponding close price. Then, it computes an smoothed moving average with period Period_PipsToAv (the second input) of this array.
Here you can show an image with this indicator with parameters 200 and 7, as well as the 200-exponential moving average:

indicator


Download forex-indicator