OPEN-SOURCE SCRIPT

Thedu BO c2

136
rsi_color = rsi_value > 70 ? color.red : rsi_value < 30 ? color.lime : color.white
tb.cell(0, row, 'RSI(' + str.tostring(chu_ky_rsi) + ')', text_color = color.gray, text_size = size.tiny)
tb.cell(1, row, str.tostring(rsi_value, '#.##'), text_color = rsi_color, text_size = size.small)
row += 1

// ADX
adx_color = adx_value > 25 ? color.lime : adx_value > 20 ? color.yellow : color.gray
tb.cell(0, row, 'ADX(' + str.tostring(chu_ky_adx) + ')', text_color = color.gray, text_size = size.tiny)
tb.cell(1, row, str.tostring(adx_value, '#.##'), text_color = adx_color, text_size = size.small)

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.