When I thought there were no more volume based indis to be coded lol. If you could compile the MT4 version, it would be great.
Volume bias index
[Target=Percent; author=Book, Leon]
Pds:=input("Volume Periods", 34, 1, 250);
Smoothing:=input("Smoothing", 1, 1, 55);
Trigger:=input("Trigger Line", 1, 1, 55);
Value2:=input("Over Bought", 70, 51, 99);
Value3:=input("Over Sold", 30, 1, 49);
Value4:=input("Upper Neutral Zone", 55, 50, 99);
Value5:=input("Lower Neutral Zone", 45, 1, 50);
Up:=(Sum(If(Close>=Ref(Close,-1),Volume,0),pds))/pds;
Down:=(Sum(If(Ref(Close,-1)>=Close,Volume,0),pds))/pds;
Bias:=100-(100/(1+(Up/Down)));
Index:= Ma(Bias,Smoothing,E);
Trigg:=Ma(Ma(Bias, Smoothing, E), Trigger, E);
[Color=Black;Linestyle=Solid]
Index;
[Color=Blue;Linestyle=dash]
Trigg;
[Color=Light Slate Gray;Linestyle=Dotted]
value3; value2;
[name=1st Zone1]
Value5;
[name=2nd Zone2]
value4;
[name=Bullish Zone; linestyle=Fill;color=light Slate Gray]
Value2; Value4;
[name=Neutral Zone; linestyle=Fill;color=White]
value5; Value4;
[name=Bullish Zone; linestyle=Fill;color=Dark Grey]
Value3; Value5;
{Copyright Leon Wilson, 2005}