- Katılım
- 23 Eki 2020
- Mesajlar
- 1,802
Indicator
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D
Expert
Long
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=-1
Short
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=1
Symbols
Long Entry
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=-1 and Ref(D,-1)>-1
Short Entry
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=1 and Ref(D,-1)<1
kaynak;
MetaStock.com Forum
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D
Expert
Long
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=-1
Short
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=1
Symbols
Long Entry
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=-1 and Ref(D,-1)>-1
Short Entry
K1:=Stdev(CMO(C,13),13);
K2:=Stdev(CMO(C,21),21);
K3:=Stdev(CMO(C,34),34);
Pk:=((K1*CMO(C,13))+(K2*CMO(C,21))+(K3*CMO(C,34)))/(K1+K2+K3);
Per1:=30;
MN:=Mov(Pk,Per1,S);
SD:=Stdev(Pk,Per1);
Val1:=If(MN+(1.33*SD)>2.08,MN+(1.33*SD),2.08);
Val2:=If(MN-(1.33*SD)<-1.92,MN-(1.33*SD),-1.92);
LN:=If(Ref(Pk,-1)>=0 AND Pk>0,Val1,If(Ref(Pk,-1)<=0 AND Pk<0,Val2,0));
a:=Cross(PK,Ln) AND Ref(Pk,-1)<-10;
b:=Cross(LN,PK) AND Ref(PK,-1)>10;
D:=If(BarsSince(A)<BarsSince(B),1,If(BarsSince(A)>BarsSince(B),-1,0));
D=1 and Ref(D,-1)<1
kaynak;
MetaStock.com Forum