BU SİSTEM KIVANÇ ÖZBİLGİÇ TARAFINDAN HAZIRLANAN SÜPERTREND VE BBW STRATEJİSİDİR.
BUNU AL, SAT, AÇIĞA SAT VE AÇIK POZİSYONU KAPAT ŞEKLİNDE MATRIKSIQ DİLİNDE YAZABİLİRMİYİZ.
TEŞEKKÜRLER
AL:
period:=OPT1;
coeff:=OPT2;
AP:=(H+L)/2;
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))));
BBW:=(bbandtop(c,20,s,3)-bbandbot(c,20,s,3))/mov(c,20,s);
vALUE1:= 0.1*(cci(13)/4);
vALUE2:= Mov(vALUE1,21,w);
IFISH:=(Exp(2*vALUE2)-1)/(Exp(2*vALUE2)+1);
IFISH>-0.5 and C>ST AND BBW>opt3
SAT:
period:=OPT1;
coeff:=OPT2;
AP:=(H+L)/2;
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))));
BBW:=(bbandtop(c,20,s,3)-bbandbot(c,20,s,3))/mov(c,20,s);
vALUE1:= 0.1*(cci(13)/4);
vALUE2:= Mov(vALUE1,21,w);
IFISH:=(Exp(2*vALUE2)-1)/(Exp(2*vALUE2)+1);
IFISH<0.5 and C<ST and BBW>opt3