bolsatrilera

Weis Wave Volume

Category: Indicators By: bolsatrilera Created: October 17, 2017, 10:33 AM
October 17, 2017, 10:33 AM
Indicators
4 Comments
Weis Wave Volume

Adaptation for Prorealtime V10.3 of the Weis Wave Volume indicator created by Lazy Bear for the Tradingview platform.

This indicator takes the volume and organizes it in waves, highlighting the inflection points as well as the supply / demand.


Adaptación para Prorealtime V10.3 del indicador Weis Wave Volume creado por Lazy Bear para la plataforma Tradingview.

Este indicador toma el volumen y lo organiza en ondas , destacando los puntos de inflexión así como la oferta/demanda.

REM WEIS WAVE VOLUME
// @author LazyBear
// List of all indicators Lazy Bear: https://www.tradingview.com/v/4IneGo8h/
//adaptación para Prorealtime por bolsatrilera


trendDetectionLength=2

if close>close[1] then
 mov=1
elsif close<close[1] then
 mov=-1
else
 mov=0
endif

if mov <>0 and mov <> mov[1] then
 trend=mov
else
 trend=trend[0]
endif

rising=abs(close-close[1])>abs(close-close[trendDetectionLength])
falling=abs(close-close[1]<abs(close-close[trendDetectionLength]))

if rising or falling then
 isTrending= rising or falling
endif

if trend <> wave[1] and isTrending then
 wave=trend
else
 wave=wave[0]
endif

if wave=wave[1] then
 vol=vol[0]+volume
else
 vol=volume
endif

if wave=1 then
 up=vol
else
 up=0
endif

if 0 then
 if wave=1 then
  dn=0
 endif
endif

if wave=-1 then
 dn=-vol
else
 dn=vol
endif

if wave=1 then
 dn=0
else
 dn=vol
endif

return up coloured (0,128,0)style(histogram)as "up",dn coloured(255,0,0)style(histogram)as "dn"

Download
Filename: Weis-Wave-Volume.itf
Downloads: 325
bolsatrilera
bolsatrilera Master
Currently debugging life, so my bio is on hold. Check back after the next commit for an update.
Author’s Profile

Comments

arran
7 years ago
#

i can't seem to get this indicator to work on forex pairs. it works great on indices etc. Any ideas what I'm doing wrong

Nicolas
7 years ago
#

Indicator needs Volume, and there are no volumes with forex pairs with IG.

julien1978
8 years ago
#

changing the trendDetectionLength setting does not seem to have any effect on the wave calculation!?

papero76
9 years ago
#

great idea

ProRealCode ProRealCode
Loading...