Selamlar Herkese,
Daha önce Kıvanç Bey'in video'sunda yayınladığı ATR bazlı olan indikator'un matriks için olanını paylaştı. Malesef kendim matriks iq'ya çeviremedim. Bunun matriks iq da kullanabilmem için desteklerinizi rica ediyorum. Teşekkürler...
Matriks Prime indikatorü: https://destek.matriksdata.com/?qa=blob&qa_blobid=12002435736341360718
INDIKATOR STOP FORMÜLÜ:
period:=input("period",1,500,5);
coeff:=input("coeff",1,20,3.5);
AP:=C;
OFFSET:=coeff*ATRe(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);
ATRStop:=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))));
ATRStop
Explorer Kodları:
AL FORMÜLÜ
period:=5;
coeff:=3.5;
AP:=C;
OFFSET:=coeff*ATRe(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);
ATRStop:=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(C,ATRStop)
SAT FORMÜLÜ
period:=5;
coeff:=3.5;
AP:=C;
OFFSET:=coeff*ATRe(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);
ATRStop:=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(ATRStop,C)