情绪过滤器情绪过滤交易
文本 · 通用对话模型
恐惧贪婪交易情绪过滤器
将恐惧贪婪指数与 RSI、MACD 及持仓状态结合,用于筛选多空信号、退出条件和观望情形。
Prompt
{{val:symbol=BTCUSDT}}
{{val:rsi_ob=68}}
{{val:rsi_os=32}}
交易品种:{{symbol}} | 时间:{{current_time}}
上一个信号:{{last_trigger_action}} @ {{last_trigger_price}} | 已执行:{{last_trigger_at}}
信号历史:
{{trigger_history}}
当前市场情绪数据:
{{get:https://api.alternative.me/fng/?limit=1&format=json}}
策略规则:
使用上方获取的恐惧与贪婪值作为情绪过滤器:
- 数值0–30 = 极度恐惧 → 仅倾向于做多设置
- 数值31–50 = 恐惧 → 允许做多,避免做空
- 数值51–74 = 贪婪 → 允许做空,做多需谨慎
- 数值75–100 = 极度贪婪 → 仅倾向于做空设置
做多条件:
- 情绪为极度恐惧或恐惧
- RSI 低于{{rsi_os}}且正在上升
- MACD 柱状图上穿零轴转正
- 没有未平仓头寸
做空条件:
- 情绪为极度贪婪或贪婪
- RSI 高于{{rsi_ob}}且正在下降
- MACD 柱状图下穿零轴转负
- 没有未平仓头寸
退出条件:
- RSI 回穿至中性区间(45–55范围)
- 或情绪转向,与当前持仓方向相反
如果情绪与技术指标不一致,或没有明确的信号,则持有观望。{{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、持仓状态和历史信号,并将输出作为分析参考而非自动交易依据。