MERHABA KULLANMIŞ OLDUGUM İNDİKATÖRÜMÜM CROSS FONKSİYONU İLE AL SAT SİSTEMİNE ÇEVİRME ŞANSIMIZ VARMI TEŞEKKÜR EDERİM
VL:=Input("ATR Period",1,50,10); HOPER:=Input("period",1,100,7);
a1:=Mov(H,HOPER,E); a2:=a1-(1.2*atr(VL)); a3:=a1+(1.2*atr(VL));
b1:=If(a1<PREV,a2,if(a2>PREV,a2,PREV)); b2:=If(a1>PREV,a3,if(a3<PREV,a3,PREV));
k1:=Cross(a1,Ref(b2,-1)); k2:=Cross(Ref(b1,-1),a1);
s1:=BarsSince(k1) < BarsSince(k2);
s2:=If(s1=-1,b1,b2);a4:=a1+2*(atr(VL));a5:=a1-2*atr(VL);
a1;s2{;a4;a5}