Cumulated Volume Velocity

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Cumulated Volume Velocity

Postby isamegrelo » Wed Aug 15, 2018 1:58 pm

Code:

if(barindex>10) then
sRange = (high-low)

if(high<high[1] AND low<low[1]) then
CumVolVel = CumVolVel[1]-sRange*Volume
elsif(high>high[1] AND low>low[1]) then
CumVolVel = CumVolVel[1]+sRange*Volume
else
CumVolVel = CumVolVel[1]
endif
endif

avg = exponentialaverage[p](CumVolVel)

RETURN CumVolVel coloured(255,0,0) as "Cumulated volume", avg coloured(0,0,255) as "signal line"
isamegrelo
FXCodeBase: Initiate
 
Posts: 114
Joined: Mon May 29, 2017 3:36 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Google [Bot] and 16 guests