StrategyCoder History

← Examples

Simple moving average Experimental

AFL → Cuprel · converter amibroker-afl 0.1.0 · converted · 4 lines out

Source (AFL)
Plot(MA(Close, 20), "MA", 1);
Converted (Cuprel)
indicator("Converted indicator", edition = 1, overlay = false)
let tmp_1 = tech.sma(close, 20)
plot(tmp_1, name = "MA")

Known differences

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 AFL → Cuprel route All examples