MCPcopy Create free account
hub / github.com/TreborNamor/TradingView-Machine-Learning-GUI / barssince

Function barssince

strategy/indicators.py:267–276  ·  view source on GitHub ↗

Count bars since *condition* was last True (vectorised, no Python loop).

(condition: pd.Series | list[bool] | np.ndarray)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

generate_signalsMethod · 0.85
generate_signalsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected