OPEN-SOURCE SCRIPT

Myx.Mir_ MACD.V2 ][ c/w Hist.Color & Label

2 878
Moving average convergence divergence ( MACD ) is commonly and widely used for Technical Analysis .

// Basis- based on default setting
macdLine, signalLine, histLine = default setting


with additional "cosmetic/ Makeup"
1) for 4R1G set up Trader. Histogram color as follows:-
a) if Hist => 0 = Hist > Hist ? color.green : na, Hist < Hist ? color.red : na
b) if Hist <= 0 = Hist < Hist ? color.green : na, Hist > Hist ? color.red : na

2) crossover MACD Line, SignalLine- with label "EN" / "EX"


Do not follow the signal blindly. Trader's should be able to identify the trend whether there is uptrend, sideways and downtrend.
Entry and/or Exit are based on Trader's risk appetite.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.