StrategyCoder History

← Examples

Parabolic SAR Experimental

Other platform v5/v6 → Cuprel · converter door 0.1.0 · converted · 11 lines out

Source (Other platform v5/v6)
//@version=5
indicator("Parabolic SAR", overlay=true)
start = input.float(0.02, "Start")
inc = input.float(0.02, "Increment")
maxv = input.float(0.2, "Maximum")
plot(ta.sar(start, inc, maxv), "SAR", style=plot.style_circles)
Converted (Cuprel)
// converted by cuprel-convert 0.1.0 from a source written for another charting platform (format v5); original notices above unchanged

indicator "Parabolic SAR"
    edition = 1
    display = price

input start: float = 0.02, "Start"
input inc: float = 0.02, "Increment"
input maxv: float = 0.2, "Maximum"
plot(tech.sar(start, inc, max = maxv), "SAR", style = circles)
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