Buongiorno, qualcuno è così gentile da aiutarmi a costruire l'indicatore in oggetto?

Questo è il codice su cui lavorare e come potete immaginare sono molto distante dalla perfezione!

SET AP = (HIGH + LOW + CLOSE) / 3
SET S1 = (2 * AP) - HIGH
SET R1 = (2 * AP) - LOW
SET S2 = AP - (R1 - S1)
SET R2 = (AP - S1) + R1
SET R3 = R2 + (HIGH - LOW)
SET S3 = S2 - (HIGH - LOW)

SET PLOT1 = AP
SET PLOT2 = S1
SET PLOT3 = R1
SET PLOT4 = S2
SET PLOT5 = R2
SET PLOT6 = R3
SET PLOT7 = S3
Questo è il mio risultato

Clicca sull'immagine per ingrandirla

Nome: pivot.jpg
Visite: 17
Dimensione: 144.8 KB
ID: 12353

Questo invece è il risultato che vorrei ottenere

Clicca sull'immagine per ingrandirla

Nome: pivot_point_graphic1.jpg
Visite: 27
Dimensione: 111.1 KB
ID: 12354