Merhabalar,
Aşağıdaki şekilde deneyebilirsiniz,
OTO TRENDİ YUKARI KIRANLAR
Pe:=opt1; n:=opt2;
Y1:=LastValue(Cum(1)-n)-Pe+1<= Cum(1);
Z:=LastValue(LinearReg(ref(C,-n),Pe));
Y:=LastValue(Cum(1)-n)-Cum(1);
U:=Z-(LastValue(LinRegSlope(ref(C,-n),Pe))*Y);
ust:= LastValue(highestsince(1,y1=0,-y1*(ref(c,-n)-u)));
alt:=LastValue(highestsince(1,y1=0,-y1*(u-ref(c,-n))));
cross(C,-y1*(u+ust))
OTO TRENDİ AŞAĞI KIRANLAR
Pe:=opt1; n:=opt2;
Y1:=LastValue(Cum(1)-n)-Pe+1<= Cum(1);
Z:=LastValue(LinearReg(ref(C,-n),Pe));
Y:=LastValue(Cum(1)-n)-Cum(1);
U:=Z-(LastValue(LinRegSlope(ref(C,-n),Pe))*Y);
ust:= LastValue(highestsince(1,y1=0,-y1*(ref(c,-n)-u)));
alt:=LastValue(highestsince(1,y1=0,-y1*(u-ref(c,-n))));
cross((-y1*(u-alt)),C)
iyi çalışmalar