dimanche 28 août 2016

Highest high in the last 500 bars

I want to put an arrow on top of the bar that has the highest high in the last 500 bars. only one bar should be marked. The below code returns many bars.
Code:

PlotShapes( shapeDownTriangle*IIf(HHVBars(High,500)==0, 1, 0 ), colorGreen, 0, H, -30 );


Highest high in the last 500 bars

Aucun commentaire:

Enregistrer un commentaire