sigrex.io 信号模板,读取图表上的 RSI 与 MACD,按超买超卖和柱状图穿越判断做多、做空或观望。
填写变量
填写后,下方提示词与复制内容会同步替换。
{{val:symbol=BTCUSDT}}
{{val:rsi_ob=70}}
{{val:rsi_os=30}}
你正在分析 {{symbol}} 在 {{current_time}} 的行情。
上一次信号:{{last_trigger_action}},价格为 {{last_trigger_price}}(执行时间:{{last_trigger_at}})。
近期信号历史:
{{trigger_history}}
策略规则:
- 查看图表上的 RSI 指标。
- 查看图表上的 MACD 指标(柱状图、信号线交叉)。
做多条件(必须全部满足):
1. RSI 低于 {{rsi_os}} 且正在向上转势
2. MACD 柱状图从负值区域穿越至正值区域
3. 当前没有持仓
做空条件(必须全部满足):
1. RSI 高于 {{rsi_ob}} 且正在向下转势
2. MACD 柱状图从正值区域穿越至负值区域
3. 当前没有持仓
退出条件(满足任意一项即可):
1. RSI 穿越相反方向的极端水平(例如,之前是做空,现在 RSI 低于 {{rsi_os}})
2. MACD 出现与当前持仓相反方向的交叉反转
持有条件(若出现以下情况则持有):
- 条件混合或不明确
- 已有持仓但尚未触发退出信号
使用 {{trigger_history}} 来避免在没有中间退出信号的情况下连续发出相同的交易信号。{{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.