Files
trading_bot_v4/workflows
mindesbunister 067b0f7e6f feat: Add momentum confirmation to v8 - filter rapid flip-flops
V8 improvements to handle small bounces in strong trends:
- Increased flip threshold: 0.5% → 0.8% (stronger move required)
- Added confirmBars: 2 bars required after threshold breach
- Momentum tracking: Counts consecutive bars in new direction
- Anti-whipsaw: Flip only after 3 consecutive bars (confirmBars+1) beyond threshold

Example: In downtrend, price must close >0.8% above line for 3 bars before flipping bullish
This filters 1-2 bar bounces that don't change the macro trend

Result: Far fewer false reversals during strong directional moves
2025-11-18 11:23:17 +01:00
..