2016-12-09 10:16:31 今日開盤線:DYNAINFO(4),COLORMAGENTA; 今日最高價:=DYNAINFO(5),COLORBLUE; 今日最低價:DYNAINFO(6),COLORGREEN; 今日均價線:=DYNAINFO(11),COLORYELLOW; CC:=C; TT:=BARSCOUNT(CC); 均價:SUM(V*C,0)/SUM(V,0),COLORGREEN; 均:=MA(CC,TT); 上均線:=均+2*STD(CC,3),COLORMAGENTA; 下均線:=均-2*STD(CC,3),COLORYELLOW; DRAWICON(CROSS(均價,均),均價,1); 漲幅:=CC/REF(C,1)>1.02; 跌幅:=CC/REF(C,1)<0.98; 橫盤:=((HHV(CC,TT)-LLV(CC,TT))/CC)<0.05; YY:=SMA(VOL,30,1); 放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95; 漲跌幅:=漲幅 OR 跌幅; 橫漲1:=漲跌幅=0 AND 橫盤 AND 放量 AND CROSS(均價,均); DRAWTEXT(FILTER(橫漲1,10),均價,'突'),COLORYELLOW; 橫漲2:=漲跌幅=0 AND 橫盤 AND 放量 AND CROSS(C,均價) AND CROSS(C,均); DRAWTEXT(FILTER(橫漲2,10),均價*0.99,'升'),COLORRED;
|