greenDay = close >= close[1]
redDay = close< close[1]
highVolume = highest(volume, 10)

Redvolume= iff(redDay,volume,0)
Greenvolume= iff(greenDay,volume,0)
TopGreenV= highest(Greenvolume, 10)
TopRedV=highest(Redvolume, 10)


pocketPivot = volume > TopRedV


pocketPivotDay =pocketPivot and greenDay

plotshape(pocketPivotDay? 1:na,style=shape.triangleup, location=location.belowbar, color=aqua, size=size.small)
Technical Indicators

Thông báo miễn trừ trách nhiệm