OPEN-SOURCE SCRIPT

Panel RSI MACD DMI

5 187
//RSI
//--Default length : 14 [option]
//--RSI > 70[option] : Background is RED
//--RSI < 30[option] : Background is GREEN
//--RSI Between 30 and 70 : Background is BLUE
//MACD
//--Default: 12,26,9 [option]
//--MACD cross above Zero Line / Signal Line[Option] : Background is GREEN
//--MACD cross below Zero Line / Signal Line[Option] : Background is RED
//--Others condition : Background is BLUE
//DMI
//--Default: 14, 14 [option]
//--ADX > 20 : Text is GREEN
//--ADX < 20 : Text is RED
//--DI+ > DI- : Background is BLUE
//--DI- > DI+ : Background is YELLOW

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.