Appearance
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
| Input | Type | Default |
|---|---|---|
| Color | color | "#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" }) });