talib.crossover
Flags the bar on which source1 crosses above source2. Crosses the other way are ignored.
talib.crossover(series float source1, series float source2) → series bool| Parameter | Type | Required | Description |
|---|---|---|---|
source1 | series float | yes | The series doing the crossing. |
source2 | series float | yes | The series being crossed. |
Returns series bool — A series bool, true on the upward crossing bar.
indicator("Close crosses above the open")
plotshape(talib.crossover(close, open), title = "Cross up")See also talib.alma · talib.atr · talib.barssince
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.