- Katılım
- 23 Eki 2020
- Mesajlar
- 1,823
Kod:
fri:=DayOfWeek()=5;
new:=ROC(DayOfWeek(),1,$)<0;
next:= fri OR (new AND Ref(fri,-1)=0);
ll:=LowestSince(5,new,L);
hh:=HighestSince(5,new,H);
c1:=Cum(If(fri,(C-ll), If(next,(Ref(C-ll,-1)),0)));
c2:=Cum(If(fri,(hh-ll), If(next,(Ref(hh-ll,-1)),0))); ((c1-ValueWhen(4,next,c1))/ (c2-ValueWhen(4,next,c2)))*100