Zum Inhalt

Gewichtungslogik und Score-Aggregation

ID: REQ-MI-002 · Service: market-interpretation · Status: 🟢 aktiv · Use Case: UC-MI-003, UC-MI-004, UC-MI-006, UC-MI-007


Die Gesamtaussage wird durch gewichtete Aggregation aller aktiven Indikator-Kategorien berechnet. Trend-Indikatoren wiegen am stärksten, gefolgt von Momentum, gefolgt von Volatilität.


Weighting

Trend

Factor: 3

Indikatoren

  • ema_trend
  • supertrend

Momentum

Factor: 2

Indikatoren

  • rsi
  • macd
  • force_index

Volatility

Factor: 1

Indikatoren

  • bollinger_bands
  • squeeze

Category To Score

Feld Wert
Stark Bullish 100
Bullish 50
Neutral 0
Bearish -50
Stark Bearish -100

Berechnung

Feld Wert
Formula Gesamt-Score = Summe(Indikator-Score * Gewichtungsfaktor) / Summe(Gewichtungsfaktoren der aktiven Indikatoren)
Beispiel Aktive Indikatoren: EMA Trend (bullish, Gewicht 3), RSI (bearish, Gewicht 2), Bollinger Bands (neutral, Gewicht 1) Score = (503 + -502 + 0*1) / (3+2+1) = (150 - 100 + 0) / 6 = 8.3

Score To Category

Feld Wert
Stark Bullish Score >= 60
Bullish Score 20 bis 59
Neutral Score -19 bis 19
Bearish Score -59 bis -20
Stark Bearish Score <= -60

Verhalten

  • Nur aktive (eingeblendete) Indikatoren fließen in die Berechnung ein
  • Neuberechnung erfolgt automatisch bei Toggle eines Indikators
  • Mindestens 1 Indikator muss aktiv sein, sonst wird "Keine Daten" angezeigt

Output Format

Overall Score: float (-100 bis 100)

Overall Category: enum [stark_bullish, bullish, neutral, bearish, stark_bearish]

Active Indicator Count: integer

Weighting Breakdown

Eintrag 1

Feld Wert
Category trend/momentum/volatility

Eintrag 2

Feld Wert
Contribution float

Abnahmekriterien

  • [ ] Score wird korrekt nach Formel berechnet
  • [ ] Nur aktive Indikatoren fließen ein
  • [ ] Score aktualisiert sich bei Indikator-Toggle ohne Seitenneuladen
  • [ ] Score-zu-Kategorie Mapping ist konsistent mit Indikator-Kategorien
  • [ ] Bei keinem aktiven Indikator wird ein klarer Hinweis angezeigt

Changelog

Eintrag 1

Version: 1.0

Changes: Initiale Version