STICKLINE((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLOSE,3.5,0),COLORYELLOW;
STICKLINE((REF(C,1)-C)*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLOSE,3.5,0),COLORGREEN;
半年开盘价:REF(O,BARSLAST(MOD(MONTH,6)=0)-1),COLORLIMAGENTA,LINETHICK1;
DRAWTEXT(ISLASTBAR,半年开盘价,'半年开盘价'),COLORRED ;