umoz
0
All posts from umoz
  umoz in umoz,

Индикаторы Вильямся для Метасток

_Alligator"

{Alligator Green Balance Line - Lip }
{5 bar smoothed average offset 3 bars }
Green:=Ref(Wilders(MP(),5),-3);
{Alligator Red Balance Line - Teeth}
{8 bar smoothed average offset 5 bars}
Red:=Ref(Wilders(MP(),8),-5);
{Alligator Blue Balance Line - Jaw }
{13 bar smoothed average offset 8 bars }
Blue:=Ref(Wilders(MP(),13),-8);
Green;
Red;
Blue

индикатор "_Chaos AO"

X:=OscP(5,34,S,%);
If(X > Ref(X,-1),X,0);
If(X < Ref(X,-1),X,0);

индикатор "_Chaos AC"

X:=OscP(5,34,S,%);
B:= X - Mov(X,5,S);
If(B > Ref(B,-1),B,0);
If(B < Ref(B,-1),B,0);

индикатор "_Chaos Fractal"

{ Chaos Fractal (simple version +1=Up, -1=Dn) }
High1 := Ref(HIGH,-2);
High2 := Ref(HIGH,-1);
High3 := Ref(HIGH,0);
High4 := Ref(HIGH,1);
High5 := Ref(HIGH,2);
Low1 := Ref(LOW,-2);
Low2 := Ref(LOW,-1);
Low3 := Ref(LOW,0);
Low4 := Ref(LOW,1);
Low5 := Ref(LOW,2);
Fractal := If((High3 > High1) AND (High3 > High2) AND (High3 >= High4)AND (High3 > High5), +1,0);
Fractal := If((Low3 < Low1) AND (Low3 < Low2) AND (Low3 <= Low4) AND (Low3 < Low5),If(Fractal > 0, 0, -1), Fractal);
FD:=If(Fractal=-1 ,Low3, PREVIOUS );
FU:=If(Fractal=1 ,High3, PREVIOUS );
FractalDOWN:=If(FU=0 OR FD=0 , L, FD);
FractalUP:=If(FU=0 OR FD=0 , H, FU);
FractalDOWN;
FractalUP