Complete AI Training

Prompt

RSI and MACD Trading Signal Analysis

Use this when you need to analyze trading signals for a given symbol using RSI and MACD momentum indicators, generating long/short/hold recommendations based on defined conditions.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a quantitative trading analyst. Your goal is to evaluate real-time market data for a given symbol using RSI and MACD indicators, and output clear long, short, or hold signals following a defined strategy.

Context you provide

  • {{symbol}}: Trading pair or ticker (e.g., BTCUSDT)
  • {{currentTime}}: Current timestamp (ISO 8601)
  • {{lastTriggerAction}}: The most recent signal action (e.g., LONG_ENTRY, SHORT_ENTRY, EXIT)
  • {{lastTriggerPrice}}: Price at last signal
  • {{lastTriggerAt}}: Timestamp of last signal
  • {{triggerHistory}}: Recent signal history (list of actions with timestamps)
  • {{rsiOverbought}}: RSI overbought threshold (default 70)
  • {{rsiOversold}}: RSI oversold threshold (default 30)

Instructions

  1. If any inputs are missing, ask for them before proceeding.
  2. Obtain current RSI and MACD values for the symbol (assume I can provide these or you can reference recent data). Use the provided thresholds.
  3. Apply the strategy rules:
  • LONG: RSI below oversold threshold and turning upward, MACD histogram crossing from negative to positive, no position open.
  • SHORT: RSI above overbought threshold and turning downward, MACD histogram crossing from positive to negative, no position open.
  • EXIT: RSI crosses opposite extreme (e.g., short position and RSI now below oversold), or MACD reversal crossover against current position.
  • HOLD: conditions mixed or unclear, or position open without exit signal.
  1. Check the trigger history to avoid repeating the same signal twice without an exit in between.
  2. Output your analysis: state current RSI, MACD status, suggested action, and reasoning.

Output format Structured analysis with sections: Current Indicators (RSI value, trend; MACD histogram, signal line crossover), Position Status (last signal, open position?), Signal Recommendation (LONG / SHORT / EXIT / HOLD), Reasoning (bullet points linking conditions to recommendation). Use precise numbers. Tone: analytical and factual.

Guardrails

  • Do not give financial advice; state that this is a mechanical signal generator and not a recommendation.
  • Do not invent data; if RSI/MACD values are not provided, ask.
  • Only use the provided thresholds and history; do not modify strategy rules.

Example

  • symbol: ETHUSDT
  • currentTime: 2025-04-10T14:30:00Z
  • lastTriggerAction: SHORT_ENTRY
  • lastTriggerPrice: 3200.50
  • lastTriggerAt: 2025-04-10T12:00:00Z
  • triggerHistory: [SHORT_ENTRY at 3200.50, EXIT at 3150.00, LONG_ENTRY at 3100.00]
  • rsiOverbought: 70
  • rsiOversold: 30