Alert rule are JavaScript snippets that will be evaluated upon value change.
When returning true, the text and background colors will be inverted.
value is the last price (displayed value).
changeDaily is the amount that the last price has changed since yesterday.
changeDailyPercent is the relative price change since yesterday (*100 for percentage change).
volume is daily volume.
high is the daily high.
low is the daily low.
Alerts are only supported in "ticker" mode (ie not candlebars).
Color rule are JavaScript snippets that will be evaluated upon value change.
When returning a non empty color, it will override the default ones.
alert is a boolean indicating whether the alert mode is triggered (ie. the "Alert rule").
value is the last price (displayed value).
changeDaily is the amount that the last price has changed since yesterday.
changeDailyPercent is the relative price change since yesterday (*100 for percentage change).
volume is daily volume.
high is the daily high.
low is the daily low.
Color rules are only supported in "ticker" mode (ie not candlebars).