NW:=ROC(DAYOFWEEK()><REF(DAYOFWEEK(),-1),1,$)<0;
x1t:=LastValue(ValueWhen(1,NW=-1,Cum(1)));
WH:=ValueWhen(1,Nw,Ref(HighestSince(1,Nw,H),-1));
WL:=ValueWhen(1,Nw,Ref(LowestSince(1,Nw,L),-1));
WCL:=ValueWhen(1,Nw,Ref(C,-1));
BC:=(WH+WL)/2 ;
Pivot :=(WH+WL+WCL)/3;
TC: = ( Pivot-BC ) + Pivot;
LastValue(BC);LastValue(Pivot);LastValue(TC)
şeklinde deneyebilirsiniz