string
A piece of text, written between double quotes: "length".
Titles, messages and instrument details are strings. The str namespace holds the functions that work on them. No fields.
string(const string value) → const stringstring(input string value) → input stringstring(series string value) → series stringstring(simple string value) → simple string| Parameter | Type | Required |
|---|---|---|
value | const string | yes |
Returns const string or input string or series string or simple string
indicator("String conversion")
alert(string("breakout"))
plot(close)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.