{% from "_macros.html" import pat, wlabel, pill, popover %}
{% if sig %} {% if sig.direction == "long" %}{{ pill("LONG · final " + "%.2f"|format(sig.confidence), "bull", dot=true) }} {% else %}{{ pill("SHORT · final " + "%.2f"|format(sig.confidence), "bear", dot=true) }}{% endif %} {% else %}{{ pill("no signal", "muted") }}{% endif %} {% if top %}{{ pat(top.count.pattern) }}{% endif %} {% if sig and sig.wave_label %}{{ wlabel(sig.wave_label) }}{% endif %}
{% if top or sig or last_close %}
Last close
{{ "%.2f"|format(last_close|float) if last_close else "—" }}
Confidence {% call popover("What confidence means", anchor="alpha-blend") %}

Confidence is C1's final score after the coherence multiplier. Above 0.7 is rare; the median across signals is around 0.45.

{% endcall %}
{{ "%.2f"|format(sig.confidence) if sig else "—" }}
R:R {% call popover("How R:R is computed", anchor="trade-plan") %}

Reward:risk = (target − entry) ÷ (entry − stop). Targets use fib_extension by default; switch to fixed_R in Settings to use a multiple of the entry-to-stop distance instead.

{% endcall %}
{{ "%.2f"|format(sig.rr) if sig else "—" }}
{% endif %}