Merhabalar,
Aşağıdaki şekilde deneyiniz,
Dw:=IF(DayOfWeek()<>Ref(DayOfWeek(),-1),1,0);
Wt:=If(Dw=1,(Ref(HighestSince (1,Dw=1,H),-1)+ Ref(LowestSince (1,Dw=1,L),-1) +Ref(C,-1))/3,0);
Wh:=If(Dw=1,Ref(HighestSince (1,Dw=1,H),-1),0);
WI:=IF(Dw=1,Ref(LowestSince (1,Dw=1,L),-1),0);
Wr:=ValueWhen(1,Wh>0,Wh)-ValueWhen(1,WI>0,WI);
DwP:=ValueWhen(1,Wt>0,Wt);
RR1:=DwP+(Wr*.5);
RR2:=DwP+(Wr*.618);
SR1:=DwP-(Wr*.5);
SR2:=DwP-(Wr*.618);
RR1;
RR2;
SR1;
SR2
iyi çalışmalar