Add prompt: [sigrex.io] Full Kitchen Sink
This commit is contained in:
+55
@@ -125833,3 +125833,58 @@ HOLD if sentiment and technicals disagree, or no clear signal.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>[sigrex.io] Full Kitchen Sink</strong></summary>
|
||||
|
||||
## [sigrex.io] Full Kitchen Sink
|
||||
|
||||
Contributed by [@0x7s0lt1](https://github.com/0x7s0lt1)
|
||||
|
||||
```md
|
||||
{{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}}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
+43
@@ -104218,3 +104218,46 @@ EXIT when:
|
||||
- OR sentiment flips against current position direction
|
||||
|
||||
HOLD if sentiment and technicals disagree, or no clear signal.",FALSE,TEXT,0x7s0lt1
|
||||
[sigrex.io] Full Kitchen Sink,"{{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}}",FALSE,TEXT,0x7s0lt1
|
||||
|
||||
|
Can't render this file because it is too large.
|
Reference in New Issue
Block a user