{
  "prompt_metadata": {
    "prompt_id": "Technical_Analysis_Stock_Report_v1",
    "prompt_version": "1.0",
    "creation_date": "YYYY-MM-DD",
    "description": "A prompt to generate a technical analysis report for a specific stock, focusing on chart patterns, indicators, and potential price movements.",
    "author": "Jules - AI Software Engineer"
  },
  "report_specifications": {
    "report_title": "Technical Analysis Report: [Company Name] ([Ticker])",
    "company_name": "[Specify Company Name]",
    "stock_ticker": "[Specify Stock Ticker]",
    "analysis_date": "[Specify Date of Analysis, e.g., YYYY-MM-DD]",
    "timeframes_analyzed": "[Specify timeframes, e.g., 'Daily and Weekly charts', '1-hour, 4-hour, Daily']",
    "target_audience": "Traders, Technical Analysts, Active Investors",
    "output_format": "Markdown with structured sections. Encourage inclusion of (placeholder or actual, if system can generate) chart images or descriptions of chart setups.",
    "tone_and_style": "Objective, analytical, focused on technical signals, clearly identifying potential support/resistance and trend direction. Avoid definitive predictions; use probabilistic language."
  },
  "core_analysis_areas": [
    {
      "section_id": "executive_summary_technical_outlook",
      "section_title": "Executive Summary & Technical Outlook",
      "instructions": "Provide a concise overview of the current technical posture of the stock, key support/resistance levels, and overall trend assessment.",
      "key_considerations": [
        "Stock ticker and current price (as of analysis date/time).",
        "Overall trend (e.g., Uptrend, Downtrend, Sideways/Consolidating) across primary timeframes.",
        "Key identified support and resistance levels.",
        "Summary of key technical indicators' signals (e.g., bullish, bearish, neutral).",
        "Brief outlook: potential short-term direction based on current setup (e.g., 'bias bullish above [level]', 'risk of further downside below [level]')."
      ]
    },
    {
      "section_id": "price_chart_analysis",
      "section_title": "Price Chart Analysis ([Timeframes Analyzed])",
      "instructions": "Analyze price action, chart patterns, and trendlines on the specified timeframes. If system can generate/display charts, reference them here.",
      "key_considerations": [
        "Trend identification: primary trend, secondary trends, counter-trends. Use of trendlines, channels.",
        "Key Support Levels: identification and strength (e.g., historical price action, Fibonacci retracements, moving averages).",
        "Key Resistance Levels: identification and strength.",
        "Chart Patterns: identification of common patterns (e.g., Head and Shoulders, Triangles, Flags, Double Tops/Bottoms) and their implications.",
        "Candlestick Patterns: identification of significant candlestick formations (e.g., Doji, Engulfing, Hammer) at key levels.",
        "Volume Analysis: relationship between price action and trading volume, volume spikes, accumulation/distribution."
      ]
    },
    {
      "section_id": "technical_indicator_analysis",
      "section_title": "Technical Indicator Analysis",
      "instructions": "Analyze signals from various technical indicators.",
      "sub_sections": [
        {
          "sub_section_id": "moving_averages",
          "title": "Moving Averages (MAs)",
          "key_considerations": [
            "Common MAs used (e.g., 20-period, 50-period, 200-period SMA or EMA).",
            "Signals from MA crossovers (e.g., Golden Cross, Death Cross).",
            "MAs acting as dynamic support/resistance.",
            "Price relationship to key MAs."
          ]
        },
        {
          "sub_section_id": "oscillators_momentum_indicators",
          "title": "Oscillators & Momentum Indicators",
          "key_considerations": [
            "Relative Strength Index (RSI): overbought/oversold conditions, bullish/bearish divergences.",
            "Moving Average Convergence Divergence (MACD): crossovers, histogram analysis, divergences.",
            "Stochastic Oscillator: overbought/oversold conditions, crossovers.",
            "Other relevant momentum indicators (e.g., CCI, Williams %R)."
          ]
        },
        {
          "sub_section_id": "volatility_indicators",
          "title": "Volatility Indicators (Optional)",
          "key_considerations": [
            "Bollinger Bands: price interaction with bands (bounces, breakouts), band width (volatility).",
            "Average True Range (ATR): measure of market volatility."
          ]
        }
      ]
    },
    {
      "section_id": "fibonacci_analysis",
      "section_title": "Fibonacci Analysis (Optional)",
      "instructions": "Apply Fibonacci retracement and extension levels if relevant price swings are identified.",
      "key_considerations": [
        "Identification of significant swing highs and lows for retracement analysis.",
        "Key Fibonacci retracement levels (e.g., 38.2%, 50%, 61.8%) acting as potential support/resistance.",
        "Fibonacci extension levels as potential price targets."
      ]
    },
    {
      "section_id": "synthesis_and_trade_setups",
      "section_title": "Synthesis and Potential Trade Setups (Illustrative)",
      "instructions": "Combine the analysis from price action, patterns, and indicators to identify potential bullish or bearish scenarios and illustrative trade setups. THIS IS NOT TRADING ADVICE.",
      "key_considerations": [
        "Confluence of signals: multiple indicators or patterns pointing to the same conclusion.",
        "Bullish Scenario: conditions that would support a move higher, potential entry levels, price targets, and stop-loss considerations.",
        "Bearish Scenario: conditions that would support a move lower, potential entry levels (for shorting), price targets, and stop-loss considerations.",
        "Neutral/Range-bound Scenario: if applicable, conditions suggesting continued consolidation.",
        "Clearly state that these are hypothetical setups for analytical purposes only."
      ]
    },
    {
      "section_id": "key_levels_to_watch",
      "section_title": "Key Levels to Watch",
      "instructions": "Summarize the most critical price levels for traders to monitor.",
      "key_considerations": [
        "Immediate Support Level(s).",
        "Immediate Resistance Level(s).",
        "Next major support levels if current support breaks.",
        "Next major resistance levels if current resistance breaks.",
        "Levels that would invalidate the current primary technical outlook."
      ]
    },
    {
      "section_id": "risk_management_considerations",
      "section_title": "Risk Management Considerations (General)",
      "instructions": "Provide general reminders about risk management in trading.",
      "key_considerations": [
        "Importance of using stop-loss orders.",
        "Position sizing relative to account risk.",
        "Understanding that technical analysis is not foolproof and losses are possible."
      ]
    },
    {
      "section_id": "disclaimer",
      "section_title": "Disclaimer",
      "instructions": "Include a standard disclaimer.",
      "key_considerations": [
        "This report is for informational and educational purposes only.",
        "It does not constitute financial or investment advice.",
        "Past performance is not indicative of future results.",
        "Consult with a qualified financial advisor before making any investment decisions."
      ]
    }
  ],
  "data_requirements": [
    "Historical price and volume data for the stock (OHLCV - Open, High, Low, Close, Volume) for the specified timeframes.",
    "Charting software or libraries capable of displaying charts and calculating technical indicators (if the AI is to generate visual or highly detailed descriptions).",
    "Access to real-time or near real-time price data for current price reference."
  ],
  "expert_guidance_notes": [
    "Emphasize objectivity. The report should describe what the charts and indicators are showing, not what the analyst hopes they show.",
    "Use clear and concise language. Avoid overly complex jargon where simpler terms suffice, or explain jargon briefly.",
    "If the AI can generate or annotate charts, this would greatly enhance the report. Otherwise, descriptions of chart setups should be as clear as possible.",
    "Always frame potential outcomes in probabilistic terms (e.g., 'could suggest,' 'may indicate,' 'potential for').",
    "The 'Trade Setups' section must be handled with extreme care and clearly labeled as illustrative and not as direct advice."
  ]
}
