float
A number with a fractional part, written 1.5. It has no fields.
Most market data is float: the bar’s prices, its volume and the averaged prices are all float series.
float(const float value) → const floatfloat(input float value) → input floatfloat(series float value) → series floatfloat(simple float value) → simple float| Parameter | Type | Required |
|---|---|---|
value | const float | yes |
Returns const float or input float or series float or simple float
indicator("Volume as a float")
plot(float(volume))See also values and types
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.