增加关键位人工输入
This commit is contained in:
@@ -104,6 +104,52 @@
|
||||
<div id="funnelMatrix" class="matrix-grid"></div>
|
||||
</section>
|
||||
|
||||
<section class="matrix-panel matrix-panel-chrome" id="keyMonitorPanel">
|
||||
<div class="matrix-panel-head matrix-panel-head-row">
|
||||
<h2>// 关键位突破监控</h2>
|
||||
<span class="matrix-chip matrix-dim">人工录入 · 5m 门控</span>
|
||||
</div>
|
||||
<p class="matrix-hint">GEMMA 漏斗仅供参考;在此录入上/下沿。箱体突破与收敛突破均支持「标准突破」或「趋势突破」(无 1.5H 方案)。</p>
|
||||
<p id="keyMonitorRule" class="matrix-hint matrix-dim">// 规则加载中…</p>
|
||||
<div class="matrix-form-row matrix-form-row-wrap">
|
||||
<input id="keySymbolInput" class="matrix-input" type="text" placeholder="BTC 或 BTC/USDT" style="min-width:7rem" />
|
||||
<select id="keyMonitorTypeInput" class="matrix-input">
|
||||
<option value="箱体突破">箱体突破</option>
|
||||
<option value="收敛突破">收敛突破</option>
|
||||
</select>
|
||||
<select id="keyDirectionInput" class="matrix-input">
|
||||
<option value="">方向</option>
|
||||
<option value="long">做多</option>
|
||||
<option value="short">做空</option>
|
||||
</select>
|
||||
<input id="keyUpperInput" class="matrix-input" type="number" step="any" placeholder="上沿/阻力" style="min-width:6rem" />
|
||||
<input id="keyLowerInput" class="matrix-input" type="number" step="any" placeholder="下沿/支撑" style="min-width:6rem" />
|
||||
<select id="keySlTpModeInput" class="matrix-input" title="止盈止损方案">
|
||||
<option value="standard">标准突破</option>
|
||||
<option value="trend_manual">趋势突破</option>
|
||||
</select>
|
||||
<input id="keyManualTpInput" class="matrix-input" type="number" step="any" placeholder="趋势止盈价" style="min-width:6rem;display:none" />
|
||||
<label class="matrix-hint" style="display:inline-flex;align-items:center;gap:4px">
|
||||
<input id="keyBreakevenInput" type="checkbox" /> 移动保本
|
||||
</label>
|
||||
<button type="button" id="keyAddBtn" class="matrix-btn matrix-btn-pulse">添加监控</button>
|
||||
</div>
|
||||
<p id="keyMonitorSaveMsg" class="matrix-msg"></p>
|
||||
<div class="matrix-two-col" style="margin-top:12px">
|
||||
<div>
|
||||
<h3 class="matrix-hint" style="margin-bottom:8px">监控中</h3>
|
||||
<div id="keyMonitorActive" class="matrix-list"></div>
|
||||
</div>
|
||||
<div>
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px">
|
||||
<h3 class="matrix-hint" style="margin:0">关键位历史</h3>
|
||||
<a id="keyHistoryExport" class="matrix-btn ghost" href="/export/key_monitor_history.csv?days=30" style="text-decoration:none;font-size:.75rem">导出 CSV</a>
|
||||
</div>
|
||||
<div id="keyMonitorHistory" class="matrix-list"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="matrix-panel matrix-panel-chrome">
|
||||
<div class="matrix-panel-head matrix-panel-head-row">
|
||||
<h2>// 每日晨报 · 昨日复盘</h2>
|
||||
@@ -154,7 +200,7 @@
|
||||
<span class="matrix-chip matrix-dim">仅扫描端维护 · 同一信号广播</span>
|
||||
</div>
|
||||
<p class="matrix-hint">
|
||||
企微突破推送成功后,向列表中<strong>已启用</strong>的执行器 POST <code>/v1/signal</code>(方案 A 止盈止损)。
|
||||
关键位门控通过且计划 RR 达标后,向列表中<strong>已启用</strong>的执行器 POST <code>/v1/signal</code>(单一 SL/TP,与录入方案一致)。
|
||||
各执行器自行配置 Gate API、盈亏比、移动保本等;<strong>不支持执行器反向注册</strong>。
|
||||
修改 webhook 密钥后请同步到各执行器 <code>security.webhook_secret</code>。
|
||||
</p>
|
||||
@@ -183,7 +229,7 @@
|
||||
|
||||
<section class="matrix-panel matrix-panel-chrome">
|
||||
<div class="matrix-panel-head"><h2>// 策略寄存器 · 5m</h2></div>
|
||||
<p class="matrix-hint">横盘 + 5m 收盘上破 + 放量 · 保存后下一轮生效 · 止损缓冲为企微区间A/B共用</p>
|
||||
<p class="matrix-hint">全市场雷达:横盘 + 5m 突破 + 放量 · 仅参考推送 · 正式下单请用「关键位突破监控」</p>
|
||||
<div class="matrix-form-row">
|
||||
<label>横盘时长(h)</label>
|
||||
<input id="rangeHoursInput" type="number" step="0.5" min="1" />
|
||||
@@ -196,7 +242,7 @@
|
||||
<label>突破缓冲(%)</label>
|
||||
<input id="breakoutBufferInput" type="number" step="0.01" min="0" />
|
||||
<label>止损缓冲(%)</label>
|
||||
<input id="stopBufferPctInput" type="number" step="0.05" min="0" max="10" title="企微文案区间A/B共用:突破K极值与箱体边沿外侧缓冲" />
|
||||
<input id="stopBufferPctInput" type="number" step="0.05" min="0" max="10" title="全市场扫描企微参考止损:突破K极值外侧缓冲" />
|
||||
<label>启用推送时间窗(09:00-23:00)</label>
|
||||
<input id="pushTimeWindowEnabledInput" type="checkbox" />
|
||||
<button type="button" id="saveIntradayBtn" class="matrix-btn matrix-btn-pulse">写入寄存器</button>
|
||||
|
||||
Reference in New Issue
Block a user