Volume Bias Index

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

Volume Bias Index

Postby logicgate » Sun Dec 30, 2018 7:00 am

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}
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 39 guests