Rank: Newbie
Groups: Registered, Registered Users Joined: 7/4/2006(UTC) Posts: 5
|
dear all
i m absolutely new to metastock. i tried putting the same formula for starters on my metastock but it gives me an error saying this dll file does not exist in msx...or something like that.
also pl help me by telling me how to use metastock expert advisors / indicator builders etc...in short how to use metastock to its best.
infy
henry1224 wrote:here are the two signals for the above expert
Long exit
factor:=2;
offset:=0;
HD:=ExtFml("PowerPivots.TDataCreate",1, factor);
LD:=ExtFml("PowerPivots.TDataCreate",2, factor);
A3:=
{Alligator Blue Balance Line - Jaw}
{13 bar smoothed average offset 8 bars}
Ref(Wilders((HD+LD)/2,13),-8);
A2:=
{Alligator Red Balance Line - Teeth}
{8 bar smoothed average offset 5 bars}
Ref(Wilders((HD+LD)/2,8),-5);
A1:=
{Alligator Green Balance Line - Lip}
{5 bar smoothed average offset 3 bars}
Ref(Wilders((HD+LD)/2,5),-3);
UCloud:=Max(A1,Max(A2,A3));
LCloud:=Min(A1,Min(A2,A3));
UCloud:=ExtFml("PowerPivots.TDataLocalize", UCloud, factor, offset);
A3:=ExtFml("PowerPivots.TDataLocalize", A3, factor, offset);
A2:=ExtFml("PowerPivots.TDataLocalize", A2, factor, offset);
A1:=ExtFml("PowerPivots.TDataLocalize", A1, factor, offset);
LCloud:=ExtFml("PowerPivots.TDataLocalize", LCloud, factor, offset);
Z:=If(C>Ucloud,1,If(C<LCloud,-1,0));
Z=0 and ref(Z,-1)=1
short exit
factor:=2;
offset:=0;
HD:=ExtFml("PowerPivots.TDataCreate",1, factor);
LD:=ExtFml("PowerPivots.TDataCreate",2, factor);
A3:=
{Alligator Blue Balance Line - Jaw}
{13 bar smoothed average offset 8 bars}
Ref(Wilders((HD+LD)/2,13),-8);
A2:=
{Alligator Red Balance Line - Teeth}
{8 bar smoothed average offset 5 bars}
Ref(Wilders((HD+LD)/2,8),-5);
A1:=
{Alligator Green Balance Line - Lip}
{5 bar smoothed average offset 3 bars}
Ref(Wilders((HD+LD)/2,5),-3);
UCloud:=Max(A1,Max(A2,A3));
LCloud:=Min(A1,Min(A2,A3));
UCloud:=ExtFml("PowerPivots.TDataLocalize", UCloud, factor, offset);
A3:=ExtFml("PowerPivots.TDataLocalize", A3, factor, offset);
A2:=ExtFml("PowerPivots.TDataLocalize", A2, factor, offset);
A1:=ExtFml("PowerPivots.TDataLocalize", A1, factor, offset);
LCloud:=ExtFml("PowerPivots.TDataLocalize", LCloud, factor, offset);
Z:=If(C>Ucloud,1,If(C<LCloud,-1,0));
Z=0 and ref(Z,-1)=-1
|