Two indicators that mark the negotiated volume per bar or candle.
TAC Volume – precio: Total volume negotiated on the price.
REM Bloque Volume
REM TAC Volume - precio | indicator
REM 08.12.2017
REM RB @ www.tiburonesdealetacorta.com
REM Sharing www.tiburonesdealetacorta.com
cuerpo = (close - open)
vol=volume
barraVerde = cuerpo > 0
barraroja = cuerpo < 0
PresionAlcista = barraVerde * Vol
PresionBajista = barraRoja * Vol
if PresionAlcista <> 0 then
DRAWTEXT("#PresionAlcista#", barindex, low-0.01, Dialog, bold, 12) COLOURED(0,200,0)
else
DRAWTEXT("#Presionbajista#", barindex, high+0.01, Dialog, bold, 12) COLOURED(200,0,0)
endif
Return
TAC Volume – preciov2: decimal volume in the form of an indicator
REM Bloque Volume
REM TAC Volume precioV2 | indicator
REM 08.12.2017
REM RB @ www.tiburonesdealetacorta.com
REM Sharing www.tiburonesdealetacorta.com
hi = 5
Mi = 7
cuerpo = (close - open)
vol=volume
barraVerde = cuerpo > 0
barraroja = cuerpo < 0
PresionAlcista = barraVerde * Vol / 1000000
PresionBajista = barraRoja * Vol / 1000000
if PresionAlcista <> 0 then
DrawText("#PresionAlcista#",barindex,6,SansSerif,bold,10)coloured(0,200,0)
else
DrawText("#Presionbajista#",barindex,6,SansSerif,bold,10)coloured(200,0,0)
endif
Return hi coloured (102,102,102) as "Line HI" , mi coloured(102,102,102) as "Line low"