WO:=O#WEEK;WC:=C#WEEK;WH:=H#WEEK;WL:=L#WEEK;T:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1));T1:=OSS(BACKSET(T=0,2),0.5);YO:=O#MONTH;YC:=C#MONTH;YH:=H#MONTH;YL:=L#MONTH;YT:=BARSLAST(MONTH!=REF(MONTH,1));YT1:=CROSS(BACKSET(YT=0,2),0.5);A0:=MOD(MONTH,3);JD:=BARSLAST(CROSS(A0,0.5));JT:=BARSLAST(JD
[=JO AND JT>0 AND JT1=0 ),JH,JH,8,0),COLORRED;STICKLINE(IF(ISLASTBAR,JT1=1,JC>=JO AND JT>0
]