Files
atm-curs-dl/gen/strategii/mp2_iesire.svg
Claude Agent 84f933bcfa svg_candles: cautarea nivelurilor, scoasa in functie comuna; 11 generatoare reparate
Unsprezece generatoare nu mai rulau deloc la HEAD: cautau <line x1="24", iar
svg_candles scrie x1="24.0" de cand are Level.i0. Un generator mort inseamna
ca diagrama nu mai poate fi regenerata, si nimeni n-ar fi aflat pana cand ar
fi incercat cineva, peste luni.

Cele 11 copii ale aceluiasi regex au disparut: y_niveluri() si offset_render()
se agata acum de semnatura liniei de Level (stroke-width + dasharray), nu de
x-ul ei. Caz nou in selftest, cu Level(i0=) si panou de volum - combinatia la
care varianta veche fie crapa, fie prindea tacut linia de zero a volumului.

41 de SVG-uri regenerate, toate identice cu cele comise dupa normalizarea
x1=24 -> x1=24.0, deci niciun desen n-a sarit. Verificarea asta a prins o
regresie reala: la buy_doji_transe substitutia lasase scaderea veche pe randul
urmator, offsetul se scadea de doua ori si desenul urca 92 px.

Inca doua generatoare moarte din aceeasi familie, gasite pe drum
(intrarea_cazul_lui, intrarea_doua_variante): desenau peste grafic citind
ch._y() fara offset. Nu crapau zgomotos - produceau suprapuneri la 22 px.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ThN7ixZrowca8aTGrK1MUJ
2026-10-02 06:12:32 +00:00

52 lines
4.6 KiB
XML

<svg viewBox="0 0 720 387" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;font:12px sans-serif">
<polyline points="250.0,183.5 282.0,183.5 282.0,143.5 314.0,143.5 314.0,119.8 346.0,119.8 346.0,106.2 378.0,106.2 410.0,106.2 410.0,94.2 442.0,94.2 474.0,94.2" fill="none" stroke="#b06000" stroke-width="1.8"/>
<line x1="218.0" y1="181.8" x2="218.0" y2="243.0" stroke="#b06000" stroke-width="1.4" stroke-dasharray="3 3"/>
<text x="224.0" y="212.4" fill="#b06000" style="font-weight:bold">stopul urcă la break-even</text>
<text x="24" y="54" fill="#333" style="font-weight:bold">Pasul 6 — o jumătate la țintă fixă, cealaltă pe trail</text>
<line x1="24.0" y1="141.0" x2="706" y2="141.0" stroke="#188a3e" stroke-width="1.5" stroke-dasharray="2 3"/>
<text x="30.0" y="135.0" fill="#188a3e">TP1 598.00 = intrarea + 1R</text>
<line x1="24.0" y1="181.8" x2="706" y2="181.8" stroke="#b06000" stroke-width="1.5" stroke-dasharray="1 3"/>
<text x="30.0" y="175.8" fill="#b06000">595.60 = 60 % din drum</text>
<line x1="24.0" y1="243.0" x2="706" y2="243.0" stroke="#333" stroke-width="1.5" stroke-dasharray="4 3"/>
<text x="30.0" y="237.0" fill="#333">intrarea 592.00</text>
<line x1="24.0" y1="345.0" x2="706" y2="345.0" stroke="#c00" stroke-width="1.5" stroke-dasharray="6 3"/>
<text x="692" y="339.0" fill="#c00" text-anchor="end">stopul inițial 586.00</text>
<line x1="58.0" y1="299.2" x2="58.0" y2="334.8" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="50.5" y="304.2" width="15" height="25.5" fill="#c00"/>
<line x1="90.0" y1="324.7" x2="90.0" y2="345.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="82.5" y="329.8" width="15" height="10.2" fill="#c00"/>
<line x1="122.0" y1="326.4" x2="122.0" y2="343.4" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="114.5" y="331.5" width="15" height="8.5" fill="#188a3e"/>
<line x1="154.0" y1="236.2" x2="154.0" y2="336.5" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="146.5" y="243.0" width="15" height="88.4" fill="#188a3e"/>
<line x1="186.0" y1="213.3" x2="186.0" y2="249.8" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="178.5" y="219.2" width="15" height="23.8" fill="#188a3e"/>
<line x1="218.0" y1="170.8" x2="218.0" y2="226.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="210.5" y="176.8" width="15" height="42.5" fill="#188a3e"/>
<line x1="250.0" y1="131.7" x2="250.0" y2="183.5" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="242.5" y="137.6" width="15" height="39.1" fill="#188a3e"/>
<line x1="282.0" y1="107.9" x2="282.0" y2="143.6" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="274.5" y="113.8" width="15" height="23.8" fill="#188a3e"/>
<line x1="314.0" y1="80.7" x2="314.0" y2="119.8" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="306.5" y="86.6" width="15" height="27.2" fill="#188a3e"/>
<line x1="346.0" y1="80.7" x2="346.0" y2="106.2" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="338.5" y="86.6" width="15" height="13.6" fill="#c00"/>
<line x1="378.0" y1="62.0" x2="378.0" y2="106.2" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="370.5" y="68.0" width="15" height="32.3" fill="#188a3e"/>
<line x1="410.0" y1="62.0" x2="410.0" y2="94.3" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="402.5" y="68.0" width="15" height="20.4" fill="#c00"/>
<line x1="442.0" y1="82.4" x2="442.0" y2="116.4" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="434.5" y="88.3" width="15" height="22.1" fill="#c00"/>
<line x1="474.0" y1="104.5" x2="474.0" y2="131.7" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="466.5" y="110.5" width="15" height="15.3" fill="#c00"/>
<line x1="140.0" y1="103.0" x2="242.4" y2="134.7" stroke="#188a3e" stroke-width="1.8"/>
<polygon points="250.0,137.0 241.2,138.5 243.5,130.9" fill="#188a3e"/>
<text x="140.0" y="84.0" fill="#188a3e" text-anchor="middle" style="font-weight:bold">poziția 1 (jumătate) iese la 598.00</text>
<text x="140.0" y="98.0" fill="#188a3e" text-anchor="middle" style="font-weight:bold">exact cât riscai: 1:1, fără discuție</text>
<line x1="368.0" y1="268.0" x2="438.4" y2="127.6" stroke="#b06000" stroke-width="1.8"/>
<polygon points="442.0,120.4 442.0,129.3 434.8,125.8" fill="#b06000"/>
<text x="368.0" y="282.0" fill="#b06000" text-anchor="middle" style="font-weight:bold">poziția 2 iese la 599.80</text>
<text x="368.0" y="296.0" fill="#b06000" text-anchor="middle" style="font-weight:bold">prima ÎNCHIDERE sub linia de trail (600.75),</text>
<text x="368.0" y="310.0" fill="#b06000" text-anchor="middle" style="font-weight:bold">nu primul fitil care o atinge = +1.30R</text>
<text x="24" y="375" fill="#555">Linia portocalie = bull trail: low-ul ultimei bare cu maxim nou. Rezultat: +1R pe o jumătate, +1.30R pe cealaltă.</text>
</svg>