Skip to content

Moving Price (chain) ​

The protocol's moving price used for emissions.

Kind indicator · Drawn on the price pane

Try it ​

On the chart, press / and choose Moving Price (chain) under Chain. To change it, copy the source below into the AlphaScript editor.

Inputs ​

InputTypeDefault
Colorcolor"#F2B544"

Source ​

From packages/alphascript/indicators/movingprice.as.js.

js
indicator({ name: "Moving Price (chain)", shortTitle: "Moving price", overlay: true });
plot(candle.movingPrice, { title: "Moving price", lineStyle: "dashed", color: input.color("Color", "#F2B544", { group: "Style" }) });

AlphaScript language v0.1 · runtime 0.2.0