barCrossesPrice
Documentation / @elitechart/core / barCrossesPrice
Defined in: alerts/alert-types.ts:40
Returns true if bar's price range contains threshold — the alert
crossed during this bar. Inclusive on both sides.
Parameters
bar
threshold
number
Returns
boolean