Identify the candle that has a higher volume than the previous one
JSParticipant
Senior
Hi,
The condition for the difference in Volume is:
C1=Volume>Volume[1]
The display in the graph can be done in many ways, for example by coloring the candles differently or using arrows or points in a striking color…
In the screenshot the version with coloured dots…
Dist=Average[10](Range)*0.3
C1=Volume>Volume[1]
If C1 and Close>Open then
DrawPoint(BarIndex,High+Dist,3)Coloured("Lime")
ElsIf C1 and Close<Open then
DrawPoint(BarIndex,Low-Dist,3)Coloured("Red")
EndIf
Return