Input accepted by AlertManager.add / OHLCVChart.addAlert. Only price is required; condition defaults to 'crossing', the alert starts active, and an id is generated when one is not supplied.
AlertManager.add
OHLCVChart.addAlert
price
condition
'crossing'
Optional
Trigger semantics. Default: 'crossing'.
Supply a stable id (e.g. when restoring persisted state); else generated.
Optional human-readable note.
Price level the alert watches.
Input accepted by
AlertManager.add/OHLCVChart.addAlert. Onlypriceis required;conditiondefaults to'crossing', the alert starts active, and an id is generated when one is not supplied.