input
Eleven functions, one per kind of setting the reader can change from the chart: bool, colour, float, int, price, session, source, string, text area, time and timeframe.
A value that came from one of these carries the input form — you never write that qualifier, the call produces it.
input(const bool defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → input boolinput(const color defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → input colorinput(const float defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → input floatinput(const int defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → input intinput(const string defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → input stringinput(series float defval, const string title, const string tooltip, const string inline, const string group, const bool confirm) → series float| Parameter | Type | Required |
|---|---|---|
defval | const bool | yes |
title | const string | no |
tooltip | const string | no |
inline | const string | no |
group | const string | no |
confirm | const bool | no |
Returns input bool or input color or input float or input int or input string or series float
indicator("Level from the reader")
plot(input(100.0, "Level"))See also inputs
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.