Line drawing instead of a circle

Good morning, in this code that I have I want to draw a line exactly where the price crossed the Parabolic SAR, but it’s only letting me draw a circle. Sometimes it does let me draw a line, but not at the same level as the circle, which is where I want the line. Best regards. `_SECTION_BEGIN("PE Rebasado Exacto Corregido");
// --- PARÁMETROS ---
sarStep = 0.02;
sarMax = 0.2;

// --- LÓGICA DE TENDENCIA (SAR) ---
psar = SAR(sarStep, sarMax);
C1 = C > psar;
C2 = C < psar;

// Detectamos el cruce exacto
reversal = (C1 AND NOT Ref(C1, -1)) OR (C2 AND NOT Ref(C2, -1));

// CAPTURA DEL PUNTO EXACTO (Esto es lo que usa tu PlotShapes)
valorRuptura = ValueWhen(reversal, Ref(psar, -1));
barraRuptura = ValueWhen(reversal, BarIndex());

// Tu punto de referencia original
PlotShapes(IIf(reversal, shapeSmallCircle, shapeNone), colorBlack, 0, valorRuptura);

_SECTION_END();`

Is this again AI slop?
The code draws a circle because that is precise what you asked AB to do by callin PlotShapes with small circle as argument.

The shapes that you can draw with PlotShapes are listed in the guide

Also you don’t say what line you want to draw. Unlike apoint, or a circle, a line has 4 coordinates. X, y for the beginning and x, y for the end.

You don’t say what you want.

Yes, that’s why I’m learning to program, and sometimes I use AI when I find myself without a solution. I’ve already tried drawing the line instead of the circle in the code I sent you, but the line is always drawn above the circle and I feel incapable of fixing it. I want to draw a line where the price crosses the Parabolic SAR, and for it to accumulate and stay fixed at that point until the price crosses the PSAR again. I don’t know if you could help me.
Best regards.

SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", colorDefault, styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 

acc = Param("Acceleration", 0.02, 0, 1, 0.001 );
accm = Param("Max. acceleration", 0.2, 0, 1, 0.001 );
Plot( s = SAR( acc, accm ), _DEFAULT_NAME(), colorRed, styleNoLine | styleDots );

Up = ValueWhen(Close > s, Close);
Dn = ValueWhen(Close < s, Close);
line = iif( Close > s, Dn, Up);

Plot( line, "line", colorBlue);