Merhabalar,
2 li dip formasyon taramasını bir deneyiniz,
ZG1:=5;
YAKINLIKYUZDESI:=1;
BARSAY:=5;
ZZ:=If(PeakBars(1,H,ZG1)=0,Zig(H,ZG1,%),If(TroughBars(1,L,ZG1)=0,Zig(L,ZG1,%),If((Zig(H,ZG1,%)+Zig(L,ZG1,%))/2>Ref((Zig(H,ZG1,%)+Zig(L,ZG1,%))/2,-1),H,L)));
ZZHL:=Zig(ZZ,ZG1,%);
D1:=valuewhen(1.,ZZHL>REF(ZZHL,-1) AND REF(ZZHL,-1)<REF(ZZHL,-2),REF(L,-1));
D2:=valuewhen(2.,ZZHL>REF(ZZHL,-1) AND REF(ZZHL,-1)<REF(ZZHL,-2),REF(L,-1));
T1:=valuewhen(1.,ZZHL<REF(ZZHL,-1) AND REF(ZZHL,-1)>REF(ZZHL,-2),REF(H,-1));
ABS(D1-D2)*100/D2<=YAKINLIKYUZDESI and barssince(ZZHL>REF(ZZHL,-1) AND REF(ZZHL,-1)<REF(ZZHL,-2))<=BARSAY
iyi çalışmalar