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.