mindesbunister
4b11186d16
Fix: Add timeframe-aware signal quality scoring for 5min charts
PROBLEM:
- Long signal (ADX 15.7, ATR 0.35%) blocked with score 45/100
- Missed major +3% runup, lost -2 on short that didn't flip
- Scoring logic treated all timeframes identically (daily chart thresholds)
ROOT CAUSE:
- ADX < 18 always scored -15 points regardless of timeframe
- 5min charts naturally have lower ADX (12-22 healthy range)
- copilot-instructions mentioned timeframe awareness but wasn't implemented
FIX:
- Add timeframe parameter to RiskCheckRequest interface
- Update scoreSignalQuality() with timeframe-aware ADX thresholds:
* 5min/15min: ADX 12-22 healthy (+5), <12 weak (-15), >22 strong (+15)
* Higher TF: ADX 18-25 healthy (+5), <18 weak (-15), >25 strong (+15)
- Pass timeframe from n8n workflow through check-risk and execute
- Update both Check Risk nodes in Money Machine workflow
IMPACT:
Your blocked signal (ADX 15.7 on 5min) now scores:
- Was: 50 + 5 - 15 + 0 + 0 + 5 = 45 (BLOCKED)
- Now: 50 + 5 + 5 + 0 + 0 + 5 = 65 (PASSES)
This 20-point improvement from timeframe awareness would have caught the runup.
2025-11-10 07:34:21 +01:00
..
2025-11-09 17:59:50 +01:00
2025-11-10 07:34:21 +01:00
2025-11-01 02:41:26 +01:00
2025-11-01 17:00:37 +01:00
2025-11-10 07:34:21 +01:00
2025-11-07 20:40:07 +01:00
2025-10-27 23:38:24 +01:00
2025-10-29 17:34:10 +01:00
2025-10-27 19:58:57 +01:00
2025-10-29 17:34:10 +01:00
2025-11-08 10:59:58 +01:00
2025-11-08 11:05:19 +01:00
2025-10-27 19:20:36 +01:00