var linecolor = color.white if hullma > hullma[1] and close > hullma
linecolor := color.green else if (hullma > hullma[1] and close < hullma) or (hullma < hullma[1] and close > hullma) linecolor := color.orange else linecolor := color.red
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.