Files
atm-curs-dl/gen/strategii/intrarea_cazul_lui.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

94 lines
8.4 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<svg viewBox="0 0 640 514" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;font:12px sans-serif">
<text x="24" y="48" fill="#333" style="font-weight:bold">Exemplu construit (fără ticker) — 15 min, suport weekly</text>
<line x1="24.0" y1="110.0" x2="626" y2="110.0" stroke="#1a5fb4" stroke-width="1.5" stroke-dasharray="4 3"/>
<text x="30.0" y="104.0" fill="#1a5fb4">TP1 104.30 (1:1)</text>
<line x1="24.0" y1="242.0" x2="626" y2="242.0" stroke="#188a3e" stroke-width="1.5" stroke-dasharray="4 3"/>
<text x="612" y="236.0" fill="#188a3e" text-anchor="end">intrare la close 102.10</text>
<line x1="24.0" y1="296.0" x2="626" y2="296.0" stroke="#b06000" stroke-width="1.5" stroke-dasharray="2 3"/>
<text x="612" y="290.0" fill="#b06000" text-anchor="end">1/2 = 101.20 (B s-ar fi umplut aici)</text>
<line x1="24.0" y1="368.0" x2="626" y2="368.0" stroke="#777" stroke-width="1.5" stroke-dasharray="4 3"/>
<text x="30.0" y="362.0" fill="#777">suport weekly 100.00</text>
<line x1="24.0" y1="374.0" x2="626" y2="374.0" stroke="#c00" stroke-width="1.5" stroke-dasharray="4 3"/>
<polyline points="108.0,164.0 124.0,173.6 140.0,184.4 156.0,200.0 172.0,215.6 188.0,233.6 204.0,257.6 220.0,280.4 236.0,302.6 252.0,321.8 268.0,313.4 284.0,318.2 300.0,313.4 316.0,299.6 332.0,280.4 348.0,274.4 364.0,246.8 380.0,227.6 396.0,208.4 412.0,188.0 428.0,178.4 444.0,166.4 460.0,148.4 476.0,137.6 492.0,125.6 508.0,107.6 524.0,98.0 540.0,88.4 556.0,75.2 572.0,70.4" fill="none" stroke="#8a3ea8" stroke-width="1.5"/>
<polyline points="188.0,198.8 204.0,215.6 220.0,232.4 236.0,251.3 252.0,268.7 268.0,273.5 284.0,287.9 300.0,296.9 316.0,301.1 332.0,301.1 348.0,293.9 364.0,282.5 380.0,270.5 396.0,254.0 412.0,234.2 428.0,226.4 444.0,206.6 460.0,188.0 476.0,173.0 492.0,156.8 508.0,143.0 524.0,132.2 540.0,118.4 556.0,106.4 572.0,98.0" fill="none" stroke="#2a8a8a" stroke-width="1.5" stroke-dasharray="5 3"/>
<line x1="44.0" y1="120.8" x2="44.0" y2="146.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="39.0" y="128.0" width="10" height="12.0" fill="#c00"/>
<line x1="60.0" y1="132.8" x2="60.0" y2="164.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="55.0" y="140.0" width="10" height="18.0" fill="#c00"/>
<line x1="76.0" y1="144.8" x2="76.0" y2="164.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="71.0" y="152.0" width="10" height="6.0" fill="#188a3e"/>
<line x1="92.0" y1="144.8" x2="92.0" y2="182.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="87.0" y="152.0" width="10" height="24.0" fill="#c00"/>
<line x1="108.0" y1="168.8" x2="108.0" y2="200.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="103.0" y="176.0" width="10" height="18.0" fill="#c00"/>
<line x1="124.0" y1="180.8" x2="124.0" y2="200.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="119.0" y="188.0" width="10" height="6.0" fill="#188a3e"/>
<line x1="140.0" y1="180.8" x2="140.0" y2="218.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="135.0" y="188.0" width="10" height="24.0" fill="#c00"/>
<line x1="156.0" y1="204.8" x2="156.0" y2="236.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="151.0" y="212.0" width="10" height="18.0" fill="#c00"/>
<line x1="172.0" y1="222.8" x2="172.0" y2="260.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="167.0" y="230.0" width="10" height="24.0" fill="#c00"/>
<line x1="188.0" y1="246.8" x2="188.0" y2="290.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="183.0" y="254.0" width="10" height="30.0" fill="#c00"/>
<line x1="204.0" y1="278.0" x2="204.0" y2="320.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="199.0" y="284.0" width="10" height="24.0" fill="#c00"/>
<line x1="220.0" y1="302.0" x2="220.0" y2="344.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="215.0" y="308.0" width="10" height="18.0" fill="#c00"/>
<line x1="236.0" y1="320.0" x2="236.0" y2="374.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="231.0" y="326.0" width="10" height="15.0" fill="#c00"/>
<line x1="252.0" y1="335.0" x2="252.0" y2="362.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="247.0" y="341.0" width="10" height="9.0" fill="#c00"/>
<line x1="268.0" y1="233.0" x2="268.0" y2="356.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="263.0" y="242.0" width="10" height="108.0" fill="#188a3e"/>
<line x1="284.0" y1="236.0" x2="284.0" y2="338.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="279.0" y="242.0" width="10" height="90.0" fill="#c00"/>
<line x1="300.0" y1="294.8" x2="300.0" y2="338.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="295.0" y="302.0" width="10" height="30.0" fill="#188a3e"/>
<line x1="316.0" y1="264.8" x2="316.0" y2="308.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="311.0" y="272.0" width="10" height="30.0" fill="#188a3e"/>
<line x1="332.0" y1="246.8" x2="332.0" y2="278.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="327.0" y="254.0" width="10" height="18.0" fill="#188a3e"/>
<line x1="348.0" y1="204.8" x2="348.0" y2="260.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="343.0" y="212.0" width="10" height="42.0" fill="#188a3e"/>
<line x1="364.0" y1="186.8" x2="364.0" y2="218.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="359.0" y="194.0" width="10" height="18.0" fill="#188a3e"/>
<line x1="380.0" y1="186.8" x2="380.0" y2="212.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="375.0" y="194.0" width="10" height="12.0" fill="#c00"/>
<line x1="396.0" y1="168.8" x2="396.0" y2="212.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="391.0" y="176.0" width="10" height="30.0" fill="#188a3e"/>
<line x1="412.0" y1="144.8" x2="412.0" y2="182.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="407.0" y="152.0" width="10" height="24.0" fill="#188a3e"/>
<line x1="428.0" y1="144.8" x2="428.0" y2="170.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="423.0" y="152.0" width="10" height="12.0" fill="#c00"/>
<line x1="444.0" y1="126.8" x2="444.0" y2="170.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="439.0" y="134.0" width="10" height="30.0" fill="#188a3e"/>
<line x1="460.0" y1="108.8" x2="460.0" y2="140.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="455.0" y="116.0" width="10" height="18.0" fill="#188a3e"/>
<line x1="476.0" y1="108.8" x2="476.0" y2="128.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="471.0" y="116.0" width="10" height="6.0" fill="#c00"/>
<line x1="492.0" y1="84.8" x2="492.0" y2="128.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="487.0" y="92.0" width="10" height="30.0" fill="#188a3e"/>
<line x1="508.0" y1="66.8" x2="508.0" y2="98.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="503.0" y="74.0" width="10" height="18.0" fill="#188a3e"/>
<line x1="524.0" y1="66.8" x2="524.0" y2="92.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="519.0" y="74.0" width="10" height="12.0" fill="#c00"/>
<line x1="540.0" y1="62.0" x2="540.0" y2="92.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="535.0" y="68.0" width="10" height="18.0" fill="#188a3e"/>
<line x1="556.0" y1="56.0" x2="556.0" y2="74.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="551.0" y="56.0" width="10" height="12.0" fill="#188a3e"/>
<line x1="572.0" y1="56.0" x2="572.0" y2="74.0" stroke="#1a1a1a" stroke-width="1.2"/>
<rect x="567.0" y="56.0" width="10" height="12.0" fill="#c00"/>
<text x="268.0" y="203.0" fill="#188a3e" text-anchor="middle" style="font-weight:bold">▲ buy momentum</text>
<text x="568.0" y="46.0" fill="#777" text-anchor="end" style="font-weight:bold">vârf 105.20 = +1.41R</text>
<text x="279" y="356.0" fill="#c00" style="font-weight:bold">▲ roșie mare: −0.68R flotant</text>
<text x="352" y="170.0" fill="#b06000" text-anchor="end" style="font-weight:bold">ieși aici: 102.60 = +0.23R</text>
<line x1="348.0" y1="174.0" x2="348.0" y2="201.8" stroke="#b06000" stroke-width="1"/>
<text x="30" y="389.0" fill="#c00">SL 99.90 (low 4 candele)</text>
<text x="24" y="68.0" fill="#555"><tspan fill="#8a3ea8">── SMA 5</tspan> / <tspan fill="#2a8a8a">- - SMA 10</tspan> ilustrative</text>
<text x="24" y="434.0" fill="#555">Exemplu construit, fără ticker. Prețurile, mediile mobile și ieșirea sunt</text>
<text x="24" y="451.0" fill="#555">ilustrative; secvența (verde mare → roșie mare → trend) e cea descrisă de user.</text>
<text x="24" y="468.0" fill="#555">Varianta B (ordin la 1/2 = 101.20, risc 1.30, TP1 102.50) e aritmetică pe</text>
<text x="24" y="485.0" fill="#555">aceleași cifre, nu un trade din curs. 1/3 din corp = 101.50.</text>
<text x="24" y="502.0" fill="#555">Close-ul roșiei (100.60): sub ambele MA (SMA 5 = 100.83, SMA 10 = 101.34).</text>
</svg>