diff --git a/strategy_templates/key_monitor_panel.html b/strategy_templates/key_monitor_panel.html index 9a66c6f..1128ee1 100644 --- a/strategy_templates/key_monitor_panel.html +++ b/strategy_templates/key_monitor_panel.html @@ -30,16 +30,15 @@ .key-row-collapse.key-history-failed .key-row-collapse-summary{color:#e8cfc8} .key-row-collapse.key-history-failed .key-history-brief,.key-row-collapse.key-history-failed .key-history-outcome-badge{color:#e8a090;background:rgba(232,160,144,.1);border:1px solid rgba(232,160,144,.28)} .key-rule-table-wrap{overflow-x:auto;margin:0 -2px} -.key-rule-table{width:100%;min-width:720px;border-collapse:collapse;font-size:.72rem;line-height:1.45} -.key-rule-table th,.key-rule-table td{border:1px solid #2a3348;padding:7px 9px;vertical-align:top;text-align:left} -.key-rule-table th{background:rgba(0,0,0,.28);color:#9ab;font-weight:600;white-space:nowrap} +.key-rule-table{width:100%;min-width:620px;border-collapse:collapse;font-size:.6rem;line-height:1.3} +.key-rule-table th,.key-rule-table td{border:1px solid #2a3348;padding:4px 6px;vertical-align:top;text-align:left} +.key-rule-table th{background:rgba(0,0,0,.28);color:#9ab;font-weight:600;white-space:nowrap;font-size:.58rem} .key-rule-table td{color:#c5cde0} -.key-rule-table .key-rule-type{color:#fff;font-weight:600;line-height:1.35} -.key-rule-table .key-rule-sub{color:#8fc8ff;font-size:.66rem;font-weight:500} -.key-rule-list{margin:0;padding-left:1.15em} -.key-rule-list li{margin:3px 0} -.key-rule-foot{margin:8px 0 0;font-size:.68rem;color:#8892b0;line-height:1.4} -.key-rule-foot code{font-size:.66rem;color:#8fc8ff} +.key-rule-table .key-rule-type{color:#fff;font-weight:600;line-height:1.25;white-space:nowrap} +.key-rule-table .key-rule-sub{color:#8fc8ff;font-size:.54rem;font-weight:500} +.key-rule-cell{word-break:break-word} +.key-rule-foot{margin:6px 0 0;font-size:.56rem;color:#8892b0;line-height:1.35} +.key-rule-foot code{font-size:.54rem;color:#8fc8ff} {% macro key_direction_label(k) -%} diff --git a/strategy_templates/key_monitor_rule_tips.html b/strategy_templates/key_monitor_rule_tips.html index 537b4ed..b1da036 100644 --- a/strategy_templates/key_monitor_rule_tips.html +++ b/strategy_templates/key_monitor_rule_tips.html @@ -3,138 +3,43 @@
| 监控类型 | -方向与填写 | -触发 / 门控条件 | +类型 | +填写 | +门控 | 止盈止损 | -执行方式 | +执行 | |
|---|---|---|---|---|---|---|---|---|---|
| 箱体突破 收敛突破 |
-
-
|
-
-
|
-
-
|
-
-
|
+方向必选;填 H/L 方案:标准 / 1R·1.5H / 趋势 可勾移动保本 |
+{{ r.tf }} 两根闭合 K({{ r.breakout_bar }}/{{ r.confirm_bar }}) 突破 >{{ r.amp_min_pct }}%;确认在箱外 量 >前{{ r.vol_ma_bars }}均×{{ r.vol_ratio_min }} 成交 Top{{ r.vol_rank_max }};RR >{{ r.min_rr }} |
+标准:SL 极值外{{ r.stop_outside_pct }}%,TP=E±H 1R:SL=E∓H,TP=E∓1.5H 趋势:SL 极值外{{ r.trend_stop_outside_pct }}%,TP 自填 |
+门控过→市价开仓→下单监控 满仓不可再加 |
|
| 斐波回调 0.618 / 0.786 |
-
-
|
-
-
|
-
-
|
-
-
|
+方向 + H/L 波段 系统算 E/SL/TP |
+多:E=H−rΔ,SL=L,TP=H 空:E=L+rΔ,SL=H,TP=L RR >{{ r.min_rr }};先触 TP 侧失效 |
+公式固定 SL/TP 成交后挂所 |
+挂限价等成交 成交→下单监控 |
|
| 假突破 BTC / ETH |
-
-
|
-
-
|
-
-
|
-
-
|
+空填高点 / 多填低点 同币仅 1 条 |
+外侧 {{ r.fb_offset_pct }}% 限价 SL {{ r.fb_sl_pct }}%;RR {{ r.fb_rr }} 有效 {{ r.fb_valid_hours }}h |
+自动 E/SL/TP 可保本 |
+即挂限价 成交/过期→历史 |
|
| 关键阻力位 关键支撑位 |
-
-
|
-
-
|
-
-
|
-
-
|
+阻力 / 支撑 | +双向;填上/下沿 | +{{ r.tf }} 收盘破上沿或下沿 上沿优先 |
+无(仅提醒) | +微信 ≤{{ r.alert_max }} 次 间隔 ≥{{ r.alert_interval_min }} 分 |
参数来自本实例 .env(如 KEY_BREAKOUT_AMP_MIN_PCT、KEY_AUTO_MIN_PLANNED_RR 等);修改后须重启实例生效。
阈值来自 .env,修改后重启实例。