Files
trading_bot_v3/TECHNICAL_ANALYSIS_BASICS.md
mindesbunister 1a7bdb4109 feat: implement comprehensive Technical Analysis fundamentals
- Add TECHNICAL_ANALYSIS_BASICS.md with complete indicator explanations
- Add TA_QUICK_REFERENCE.md for quick lookup
- Enhance AI analysis prompts with TA principles integration
- Improve JSON response structure with dedicated analysis sections
- Add cross-layout consensus analysis for higher confidence signals
- Include timeframe-specific risk assessment and position sizing
- Add educational content for RSI, MACD, EMAs, Stochastic RSI, VWAP, OBV
- Implement layout-specific analysis (AI vs DIY layouts)
- Add momentum, trend, and volume analysis separation
- Update README with TA documentation references
- Create implementation summary and test files
2025-07-18 11:45:58 +02:00

8.6 KiB

Technical Analysis Basics - Indicator Guide

This guide explains how to read and interpret the technical indicators used in the AI-Powered Trading Bot Dashboard.

📊 Overview of Indicators by Layout

AI Layout Indicators:

  • RSI (Relative Strength Index) - Top panel
  • EMAs (Exponential Moving Averages) - On main chart
  • MACD (Moving Average Convergence Divergence) - Bottom panel
  • ATR Bands - On main chart
  • SVP (Session Volume Profile) - On main chart

DIY Layout Indicators:

  • Stochastic RSI - Top panel
  • VWAP (Volume Weighted Average Price) - On main chart
  • OBV (On-Balance Volume) - Bottom panel
  • Smart Money Concepts - On main chart

🔍 AI Layout Indicators

1. RSI (Relative Strength Index)

Location: Top panel Purpose: Measures momentum and identifies overbought/oversold conditions

How to Read RSI:

  • Range: 0-100
  • Key Levels:
    • Above 70 = OVERBOUGHT (potential sell signal)
    • Below 30 = OVERSOLD (potential buy signal)
    • 50 = Neutral midpoint

RSI Signals:

  • Bullish Divergence: Price makes lower lows while RSI makes higher lows
  • Bearish Divergence: Price makes higher highs while RSI makes lower highs
  • Overbought Exit: RSI above 70 suggests potential reversal
  • Oversold Entry: RSI below 30 suggests potential bounce

Trading Applications:

🟢 BUY Signal: RSI crosses above 30 from oversold territory
🔴 SELL Signal: RSI crosses below 70 from overbought territory
⚠️ WARNING: RSI above 80 or below 20 = extreme conditions

2. EMAs (Exponential Moving Averages)

Location: Main chart Purpose: Identify trend direction and dynamic support/resistance

EMA Periods Used:

  • EMA 9 (Yellow) - Short-term trend
  • EMA 20 (Orange) - Medium-term trend
  • EMA 50 (Blue) - Intermediate trend
  • EMA 200 (Red) - Long-term trend

How to Read EMAs:

  • Price Above EMAs: Bullish trend
  • Price Below EMAs: Bearish trend
  • EMA Stack Order:
    • Bullish: 9 > 20 > 50 > 200
    • Bearish: 9 < 20 < 50 < 200

EMA Signals:

  • Golden Cross: Shorter EMA crosses above longer EMA (bullish)
  • Death Cross: Shorter EMA crosses below longer EMA (bearish)
  • Dynamic Support: EMAs act as support in uptrends
  • Dynamic Resistance: EMAs act as resistance in downtrends

Trading Applications:

🟢 BUY Signal: Price bounces off EMA 20 in uptrend
🔴 SELL Signal: Price breaks below EMA 20 in downtrend
📊 TREND: EMA stack order determines overall trend direction

3. MACD (Moving Average Convergence Divergence)

Location: Bottom panel Purpose: Identify momentum changes and trend reversals

MACD Components:

  • MACD Line (Blue/Fast): 12 EMA - 26 EMA
  • Signal Line (Red/Slow): 9 EMA of MACD line
  • Histogram: Difference between MACD and Signal lines
  • Zero Line: Centerline reference

How to Read MACD:

  • Above Zero Line: Bullish momentum
  • Below Zero Line: Bearish momentum
  • Histogram Color:
    • Green bars = Increasing bullish momentum
    • Red bars = Increasing bearish momentum

MACD Signals:

  • Bullish Crossover: MACD line crosses ABOVE signal line
  • Bearish Crossover: MACD line crosses BELOW signal line
  • Divergence: MACD direction differs from price direction
  • Zero Line Cross: MACD crossing zero line confirms trend change

Trading Applications:

🟢 BUY Signal: MACD line crosses above signal line + green histogram
🔴 SELL Signal: MACD line crosses below signal line + red histogram
⚡ MOMENTUM: Histogram size shows strength of momentum

4. ATR Bands

Location: Main chart Purpose: Measure volatility and identify support/resistance zones

How to Read ATR Bands:

  • Upper Band: Potential resistance level
  • Lower Band: Potential support level
  • Band Width: Indicates market volatility
  • Price Position: Shows relative price strength

ATR Signals:

  • Band Squeeze: Low volatility, potential breakout coming
  • Band Expansion: High volatility, strong moves occurring
  • Band Touch: Price touching bands often signals reversal

🎯 DIY Layout Indicators

1. Stochastic RSI

Location: Top panel Purpose: More sensitive momentum oscillator than regular RSI

How to Read Stochastic RSI:

  • %K Line: Fast line (more reactive)
  • %D Line: Slow line (smoothed %K)
  • Key Levels:
    • Above 80 = OVERBOUGHT
    • Below 20 = OVERSOLD
    • 50 = Neutral midpoint

Stochastic RSI Signals:

  • Bullish Cross: %K crosses above %D in oversold territory
  • Bearish Cross: %K crosses below %D in overbought territory
  • Extreme Readings: Above 90 or below 10 = very strong signal

Trading Applications:

🟢 BUY Signal: %K crosses above %D below 20 level
🔴 SELL Signal: %K crosses below %D above 80 level
⚡ STRENGTH: More sensitive than regular RSI

2. VWAP (Volume Weighted Average Price)

Location: Main chart (thick line) Purpose: Shows average price weighted by volume

How to Read VWAP:

  • Price Above VWAP: Bullish sentiment
  • Price Below VWAP: Bearish sentiment
  • VWAP as Support: Price bounces off VWAP in uptrend
  • VWAP as Resistance: Price rejects from VWAP in downtrend

VWAP Signals:

  • VWAP Reclaim: Price moves back above VWAP after being below
  • VWAP Rejection: Price fails to break through VWAP
  • VWAP Deviation: Large distance from VWAP suggests mean reversion

Trading Applications:

🟢 BUY Signal: Price reclaims VWAP with volume
🔴 SELL Signal: Price breaks below VWAP with volume
📊 FAIR VALUE: VWAP represents fair value for the session

3. OBV (On-Balance Volume)

Location: Bottom panel Purpose: Measures volume flow to confirm price movements

How to Read OBV:

  • Rising OBV: Volume supporting price moves up
  • Falling OBV: Volume supporting price moves down
  • OBV Divergence: OBV direction differs from price direction

OBV Signals:

  • Bullish Divergence: Price falls while OBV rises
  • Bearish Divergence: Price rises while OBV falls
  • Volume Confirmation: OBV confirms price breakouts

Trading Applications:

🟢 BUY Signal: OBV making new highs with price
🔴 SELL Signal: OBV diverging negatively from price
📊 VOLUME: OBV confirms the strength of price moves

4. Smart Money Concepts

Location: Main chart Purpose: Identify institutional supply/demand zones

How to Read Smart Money Concepts:

  • Supply Zones: Areas where institutions sold (resistance)
  • Demand Zones: Areas where institutions bought (support)
  • Market Structure: Higher highs/lows or lower highs/lows
  • Liquidity Zones: Areas with high volume activity

Smart Money Signals:

  • Zone Retest: Price returns to test supply/demand zones
  • Zone Break: Price breaks through significant zones
  • Structure Break: Change in market structure pattern

📈 Multi-Layout Analysis Strategy

Cross-Layout Confirmation:

  1. AI Layout: Provides momentum and trend analysis
  2. DIY Layout: Provides volume and institutional flow analysis
  3. Consensus: When both layouts align, confidence increases
  4. Divergence: When layouts conflict, exercise caution

Risk Management Based on Indicators:

  • Lower Timeframes (5m-15m): Use tight stops, higher leverage
  • Higher Timeframes (4H+): Use wider stops, lower leverage
  • Volatility Adjustment: Use ATR bands for stop placement

Entry Confirmation Checklist:

✅ RSI/Stoch RSI in appropriate zone
✅ MACD showing momentum alignment
✅ EMAs supporting trend direction
✅ VWAP position confirming bias
✅ OBV confirming volume flow
✅ Smart Money zones respecting levels

🚨 Common Mistakes to Avoid

  1. Over-reliance on Single Indicator: Always use multiple confirmations
  2. Ignoring Volume: Price moves without volume are often false signals
  3. Fighting the Trend: Don't trade against strong trending markets
  4. Ignoring Timeframes: Higher timeframes override lower timeframes
  5. No Risk Management: Always use stop losses and position sizing

🎯 Best Practices

  1. Wait for Confirmation: Don't jump on first signal
  2. Use Multiple Timeframes: Check higher timeframes for context
  3. Respect Key Levels: Support/resistance levels are critical
  4. Monitor Volume: Volume confirms price movements
  5. Practice Risk Management: Never risk more than you can afford to lose

This guide provides the foundation for understanding the technical indicators used in the AI-Powered Trading Bot Dashboard. Remember that no indicator is perfect, and combining multiple indicators with proper risk management is key to successful trading.