@sigrex
Этот промпт анализирует криптовалюту ${symbol} с помощью индикаторов RSI и MACD. Он определяет точки входа и выхода из сделок на основе заданных условий. Пользователи могут настроить уровни перекупленности и перепроданности RSI под свою стратегию.
{{val:symbol=BTCUSDT}}
{{val:rsi_ob=70}}
{{val:rsi_os=30}}
You are analyzing {{symbol}} at {{current_time}}.
Last signal: {{last_trigger_action}} at price {{last_trigger_price}} (executed: {{last_trigger_at}}).
Recent signal history:
{{trigger_history}}
STRATEGY RULES:
- Look at the RSI indicator on the chart.
- Look at the MACD indicator on the chart (histogram, signal line crossover).
LONG conditions (all must be met):
1. RSI is below {{rsi_os}} and turning upward
2. MACD histogram is crossing from negative to positive
3. No position is currently open
SHORT conditions (all must be met):
1. RSI is above {{rsi_ob}} and turning downward
2. MACD histogram is crossing from positive to negative
3. No position is currently open
EXIT conditions (any is enough):
1. RSI crosses the opposite extreme (e.g., was SHORT, RSI now below {{rsi_os}})
2. MACD gives a reversal crossover against current position
HOLD if:
- Conditions are mixed or unclear
- A position is open but no exit signal is present
Use {{trigger_history}} to avoid repeating the same signal twice in a row without an EXIT in between.Этот промпт использует индекс страха и жадности как фильтр настроений для подачи торговых сигналов по криптовалютам. Он определяет правила входа и выхода из позиций на основе рыночных настроений и технических индикаторов, таких как RSI и MACD. Настройте параметры, такие как торговый символ и пороги RSI, под свою стратегию.
{{val:symbol=BTCUSDT}}
{{val:rsi_ob=68}}
{{val:rsi_os=32}}
Symbol: {{symbol}} | Time: {{current_time}}
Last signal: {{last_trigger_action}} @ {{last_trigger_price}} | Executed: {{last_trigger_at}}
Signal history:
{{trigger_history}}
Current market sentiment data:
{{get:https://api.alternative.me/fng/?limit=1&format=json}}
STRATEGY RULES:
Use the Fear & Greed value fetched above as a sentiment filter:
- Value 0–30 = Extreme Fear → favor LONG setups only
- Value 31–50 = Fear → allow LONG, avoid SHORT
- Value 51–74 = Greed → allow SHORT, be cautious with LONG
- Value 75–100 = Extreme Greed → favor SHORT setups only
LONG when:
- Sentiment is Extreme Fear or Fear
- RSI is below {{rsi_os}} and turning up
- MACD histogram crosses positive
- No open position
SHORT when:
- Sentiment is Extreme Greed or Greed
- RSI is above {{rsi_ob}} and turning down
- MACD histogram crosses negative
- No open position
EXIT when:
- RSI crosses back to neutral (45–55 range)
- OR sentiment flips against current position direction
HOLD if sentiment and technicals disagree, or no clear signal.Этот промпт — комплексный генератор торговых сигналов, использующий сентимент-анализ и технические индикаторы. Он получает индекс страха и жадности для определения рыночных настроений и использует RSI и MACD для технического подтверждения. Логика стратегии включает смещение по настроениям, техническое подтверждение, проверку позиций и правила принятия решений, обеспечивая дисциплинированный подход к торговле.
{{val:symbol=SOLUSDT}}
{{val:rsi_ob=70}}
{{val:rsi_os=30}}
{{val:max_repeat=3}}
Symbol: {{symbol}} | Time: {{current_time}}
Last signal: {{last_trigger_action}} @ {{last_trigger_price}} | Executed: {{last_trigger_at}}
Full signal history:
{{trigger_history}}
{{comment: External sentiment — Fear & Greed}}
Fear & Greed Index:
{{get:https://api.alternative.me/fng/?limit=1&format=json}}
{{comment: Strategy master config in Toon format}}
Master config:
{{toon:{"name":"full_strategy","symbol":"SOLUSDT","bias_source":"fear_greed","technicals":["RSI","MACD"],"rsi":{"overbought":70,"oversold":30},"macd":{"signal":"histogram_cross"},"position_rules":{"max_open":1,"allow_same_direction_repeat":false},"safety":{"max_consecutive_non_exit":3}}}}
STRATEGY LOGIC:
Step 1 — Sentiment Bias (from Fear & Greed fetch):
- 0–30: Favor LONG only
- 31–50: Lean LONG, allow neutral
- 51–74: Lean SHORT, allow neutral
- 75–100: Favor SHORT only
Step 2 — Technical Confirmation (from chart):
- LONG confirmed: RSI < {{rsi_os}} turning up + MACD positive cross
- SHORT confirmed: RSI > {{rsi_ob}} turning down + MACD negative cross
Step 3 — Position Check (from trigger_history):
- If last action was LONG or SHORT → must EXIT before new entry
- If {{trigger_history}} shows {{max_repeat}} or more signals without EXIT → HOLD
Step 4 — Decision:
- Sentiment and technicals agree → take signal
- Sentiment and technicals disagree → HOLD
- Open position with exit signal → EXIT
- Open position without exit signal → HOLD
- No position and no clear signal → HOLD
{{comment: max_repeat val used above as a safety cap on consecutive non-exit signals}}