Relative Strength Index (RSI) Experimental
Other platform v5/v6 → Cuprel · converter door 0.1.0 · converted · 10 lines out
Source (Other platform v5/v6)
//@version=5
indicator("Relative Strength Index")
len = input.int(14, "Length", minval=1)
plot(ta.rsi(close, len), "RSI")
hline(70, "Overbought")
hline(30, "Oversold")
Converted (Cuprel)
// converted by cuprel-convert 0.1.0 from a source written for another charting platform (format v5); original notices above unchanged
indicator "Relative Strength Index"
edition = 1
input len: int = 14, "Length", min = 1
plot(tech.rsi(close, len), "RSI")
level(70, "Overbought")
level(30, "Oversold")
Experimental means: the converter reads a thin, tested slice, adds warnings, and says no when it is unsure. Run the converted program on your own data before relying on it.
Open in the converter Other platform v5/v6 → Cuprel route All examples