merhaba,
PU için
Pd:=20;
Sd:=2;
B%:=(C-BBANDBOT(C,Pd,s,Sd))/(BBANDTOP(C,Pd,s,Sd)-BBANDBOT(C,Pd,s,Sd));
IND:=B%;
K1:=DataTrend(IND,50,-1,Y,D);
K2:=cum(1)-lastvalue(valuewhen(2.,K1=IND,cum(1)));
K3:=barssince(K1=IND);
if(ref(c,-K3)<ref(c,-K2)*0.98 and K2<>0 and K3<>0 and K3<10 and K2-K3>10 and ref(ind,-k3)>ref(ind,-k2)*1.02,1,0)
NU için
Pd:=20;
Sd:=2;
B%:=(C-BBANDBOT(C,Pd,s,Sd))/(BBANDTOP(C,Pd,s,Sd)-BBANDBOT(C,Pd,s,Sd));
IND:=B%;
K1:=DataTrend(IND,50,-1,D,Y);
K2:=cum(1)-lastvalue(valuewhen(2.,K1=IND,cum(1)));
K3:=barssince(K1=IND);
if(ref(c,-K3)>ref(c,-K2)*1.02 and K2<>0 and K3<>0 and K3<10 and K2-K3>10 and ref(ind,-k3)<ref(ind,-k2)*.98,1,0)
formüllerini deneyebilirsiniz,
bilgilerinize