variable bars back |
Post Reply |
Author | |
maximo
BullCharts Guru Joined: 02 Sep 2006 Location: Australia Posts: 232 |
Post Options
Quote Reply
Topic: variable bars back Posted: 23 Jun 2018 at 2:07am |
This shows the highest volume in the period as a ratio.
Times the result by 100 to show it as a percentage. (V/hist(V,1))*100 BVS has a volume spike ratio of 30 times which would be 3000%. n := input("time periods",60,10); if(HHV(V,60) > hist(HHV(V,60),1), V/hist(V,1), 0); |
|
stefanols
Newbie Joined: 29 Jul 2010 Location: Sweden Posts: 8 |
Post Options Quote Reply Posted: 10 Jun 2018 at 1:58am |
Hi,
Hope someone can assist if this is possible. I am trying to determine hight volume 60 bars back and then calculate the percent move that specific day from the day before. Below you find the code I am trying to work with. It says constant integrar fault. Best regards Stefan n := input("time periods",60,10); res:=(Hhvbars(V,n)); res1:= res-1; (hist(close,res1)-hist(close,res))/ hist(close,res1); |
|
Post Reply |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |