5MSM VISHNU Indicator for Trending Markets originally written by patrick1994.
It was originally based on the MACD 12-26 and the 50 bar EMA .
The macd hist is color coded with green as buy and sell as red.
I added an option to use a couple of lower lag ema's (See line 13 - ema_signal).
5MSM VISHNU with MACD Indicator for Trending Markets
Originally written by Trading Rush
Note that the user may choose lower lags to compute the MACD signals
added lower lag ema functions - see lines 21 to 30
added plot for the MACD signal 'hist' - computed in lines 36 to 41
The extra MACD line was added for clarity for the placement of the buy sell signals.