![]() |
Better Volume Code |
Post Reply ![]() |
Page <123 |
Author | |
maximo ![]() BullCharts Guru ![]() ![]() Joined: 02 Sep 2006 Location: Australia Posts: 232 |
![]() ![]() ![]() ![]() |
Ah I must be getting old... every line should end with a semicolon; and I forgot to add them, so just add it to the end of the line and it should accept :)
Edited by maximo - 17 Feb 2009 at 2:43pm |
|
![]() |
|
maximo ![]() BullCharts Guru ![]() ![]() Joined: 02 Sep 2006 Location: Australia Posts: 232 |
![]() ![]() ![]() ![]() |
Here's a Volume indicator I created to view Volume breakouts.
features:
When blue line crosses the purple line the 5 day average volume is above the 50 day average volume.
Green Volume bars indicate a 10 day high of volume.
Red short bars indicate that Volume bar is 600% or greater.
Parameters can be changed to suit.
{ Volume Breakouts - Max } [Description ="Apply averages 21 and 150sma onto price."]p1:= input("Volume average small",5,1);p2:= input("Volume average large",50,1);p3:= input("Volume Bar Highest in period",10,1);p4:= input("Volume Bar Spike increase%",600,1);vp:=(( V-ref(V,-1))/ref(V,-1))*100 > p4;[linestyle =Grounded Bar; Color=coral]If (Volume <= hist(HHV(V,p3),1),V*0.5,undefined);{ 10 day Volume breakouts are green bars } [Color =lime green]If (Volume > hist(HHV(V,p3),1),V*0.5,undefined);{ 600% Volume increase are short red bars } [Color =red; width=2]If (vp,1,undefined);[linestyle =solid; width=1; color=blue]ma (Volume,p1,E);[color =Medium Orchid]ma (Volume,p2,E);Edited by maximo - 03 Sep 2009 at 4:35pm |
|
![]() |
Post Reply ![]() |
Page <123 |
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 |