src = market_data_source()
rsi_val = rsi(period=14)(src.c)
oversold = rsi_val < 30
overbought = rsi_val > 70

# String literals in ternary expressions
label1 = "Oversold" if oversold else "Normal"
label2 = "Overbought" if overbought else ""
label3 = "Active" if (oversold or overbought) else "Inactive"

# Direct string assignment
status = "Trading"
