日周

WO:=O#WEEK; WC:=C#WEEK; WH:=H#WEEK; WL:=L#WEEK; T:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1)); T1:=CROSS(BACKSET(T=0,2),0.5); STICKLINE(IF(ISLASTBAR,T1=1,WC>=WO AND T>0 AND T1=0 ),WO,WO,8,-1),COLORRED; STICKLINE(IF(ISLASTBAR,T1=1,WC>=WO AND T>0 AND T1=0 ),WC,WC,8,-1),COLORRED; STICKLINE(WC>=WO AND (T=0 OR T1=1 OR ISLASTBAR),WO,WC,0,-1),COLORRED; STICKLINE(WC>=WO AND (T=2 OR T1=2 OR ISLASTBAR),WH,WL,0,-1),COLORRED; STICKLINE(IF(ISLASTBAR,T1=1,WC<WO AND T>0 AND T1=0),WO,WO,8,-1),COLORLIBLUE; STICKLINE(IF(ISLASTBAR,T1=1,WC<WO AND T>0 AND T1=0),WC,WC,8,-1),COLORLIBLUE; STICKLINE(WC<WO AND (T=0 OR T1=1 OR ISLASTBAR),WO,WC,0,-1),COLORLIBLUE; STICKLINE(WC<WO AND (T=2 OR T1=2 OR ISLASTBAR),WH,WL,0,-1),COLORLIBLUE;

(0)

相关推荐