Merhabalar,
Aşağıdaki şekilde bir dener incelersiniz,
1. SuperTrended Moving Averagesin yeşil bandı önce t3 kesmesi gerekmekte şeklinde bir exprorer formülü
Length:=100;
Period:=10;
Coeff:=0.5;
AP:=mov(c,Length,e);
OFFSET:=coeff*ATR(period);
STR:=AP+OFFSET;
STS:=AP-OFFSET;
FUB:=IF(STR<PREV OR REF(C,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(C,-1)<PREV,STS,PREV);
ST:=IF(PREV=REF(FUB,-1) AND C<FUB,FUB,IF(PREV=REF(FUB,-1) AND C>FUB,FLB,IF(PREV=REF(FLB,-1) AND C>FLB,FLB,IF(PREV=REF(FLB,-1) AND C<FLB,FUB,FUB))));
periods:=8;
a:=0.7;
e1:= Mov((H+L+2*C)/4,periods,E);
e2:= Mov(e1,periods,E);
e3:= Mov(e2,periods,E);
e4:= Mov(e3,periods,E);
e5:= Mov(e4,periods,E);
e6:= Mov(e5,periods,E);
c1:= -a*a*a;
c2:= 3*a*a+3*a*a*a;
c3:= -6*a*a-3*a-3*a*a*a;
c4:= 1+3*a+a*a*a+3*a*a;
T3:= c1*e6+c2*e5+c3*e4+c4*e3;
CROSS(ST,T3)
2. formülde ise STMA yeşil çizgisi ilk önce T3 ve sonra alpha trendi yukarı kesmesınden olusan bir explorer formülü
Length:=100;
Period:=10;
Coeff:=0.5;
AP:=mov(c,Length,e);
OFFSET:=coeff*ATR(period);
STR:=AP+OFFSET;
STS:=AP-OFFSET;
FUB:=IF(STR<PREV OR REF(C,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(C,-1)<PREV,STS,PREV);
ST:=IF(PREV=REF(FUB,-1) AND C<FUB,FUB,IF(PREV=REF(FUB,-1) AND C>FUB,FLB,IF(PREV=REF(FLB,-1) AND C>FLB,FLB,IF(PREV=REF(FLB,-1) AND C<FLB,FUB,FUB))));
coeff2:=1;
AP2:=14;
momentum:=1;
mom:=if(momentum=1,MFI(AP2),RSI(AP2));
upT:=L-ATR(AP2)*coeff2;
downT:=H+ATR(AP2)*coeff2;
AlphaTrend:=If(mom>=50,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
ST>AlphaTrend AND CROSS(ST,T3)
1.şart STMA yesil bant HighAndLowOTT mavi bantını yukarı kesmesi durumu
Length:=100;
Period:=10;
Coeff:=0.5;
AP:=mov(c,Length,e);
OFFSET:=coeff*ATR(period);
STR:=AP+OFFSET;
STS:=AP-OFFSET;
FUB:=IF(STR<PREV OR REF(C,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(C,-1)<PREV,STS,PREV);
ST:=IF(PREV=REF(FUB,-1) AND C<FUB,FUB,IF(PREV=REF(FUB,-1) AND C>FUB,FLB,IF(PREV=REF(FLB,-1) AND C>FLB,FLB,IF(PREV=REF(FLB,-1) AND C<FLB,FUB,FUB))));
CROSS(ST,OTT(HHV(H,10),2,0.6))
2.şart ise STMA yesil bant hem HighAndLowOTT ve alpha trendi yukaru kesmesi
Length:=100;
Period:=10;
Coeff:=0.5;
AP:=mov(c,Length,e);
OFFSET:=coeff*ATR(period);
STR:=AP+OFFSET;
STS:=AP-OFFSET;
FUB:=IF(STR<PREV OR REF(C,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(C,-1)<PREV,STS,PREV);
ST:=IF(PREV=REF(FUB,-1) AND C<FUB,FUB,IF(PREV=REF(FUB,-1) AND C>FUB,FLB,IF(PREV=REF(FLB,-1) AND C>FLB,FLB,IF(PREV=REF(FLB,-1) AND C<FLB,FUB,FUB))));
coeff2:=1;
AP2:=14;
momentum:=1;
mom:=if(momentum=1,MFI(AP2),RSI(AP2));
upT:=L-ATR(AP2)*coeff2;
downT:=H+ATR(AP2)*coeff2;
AlphaTrend:=If(mom>=50,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
CROSS(ST,OTT(HHV(H,10),2,0.6)) AND CROSS(ST,AlphaTrend)
İyi Çalışmalar