Define entry styles: trend/reversal x 3 patterns, plus messy other.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-17 22:54:19 +08:00
parent ae1b91fcc5
commit bc50f300ba
4 changed files with 139 additions and 8 deletions
+22 -4
View File
@@ -27,11 +27,29 @@
<div class="form-row">
<label>入场形式</label>
<select name="entry_style">
{% set styles = ['', 'M15关键位+M1强吞没', '回撤接力', '突破延续', '逆势试错', '其它'] %}
{% for s in styles %}
<option value="{{ s }}" {% if trade.entry_style==s %}selected{% endif %}>{{ s or '(未选)' }}</option>
{% endfor %}
<option value="" {% if not trade.entry_style %}selected{% endif %}>(未选)</option>
<optgroup label="顺势">
{% for p in entry_patterns %}
{% set s = '顺势 · ' ~ p %}
<option value="{{ s }}" {% if trade.entry_style==s %}selected{% endif %}>{{ p }}</option>
{% endfor %}
</optgroup>
<optgroup label="反转">
{% for p in entry_patterns %}
{% set s = '反转 · ' ~ p %}
<option value="{{ s }}" {% if trade.entry_style==s %}selected{% endif %}>{{ p }}</option>
{% endfor %}
</optgroup>
<optgroup label="其他">
<option value="其他 · 乱作" {% if trade.entry_style=='其他 · 乱作' %}selected{% endif %}>乱作</option>
</optgroup>
{% if trade.entry_style and trade.entry_style not in entry_styles %}
<optgroup label="历史标注">
<option value="{{ trade.entry_style }}" selected>{{ trade.entry_style }}(旧)</option>
</optgroup>
{% endif %}
</select>
<p class="muted" style="margin:8px 0 0">顺势/反转均含:窄幅区间突破、宽幅区间假突破、波段高低点假突破;对不上的选「乱作」。</p>
</div>
<div class="form-row">
<label>复盘备注</label>