同花顺WSQ主图源码
-
相关简介:MA5:MA(CLOSE,5),coloryellow,LINETHICK2; MA55:MA(CLOSE,55),colorred,LINETHICK2; MA21:MA(CLOSE,21),colorgreen,LINETHICK2; ZT:=(C/REF(C,1)-1)*100,NODRAW; {STICKLINE(1,MA5,MA21,0,0),coloryellow;} STICKLINE(ZT=9.97,O,C,2,0),colormagenta; STICKLINE(ZT=-9.9
-
文章来源:股海网作者:股海网发布时间:2015-04-14浏览次数:
MA5:MA(CLOSE,5),coloryellow,LINETHICK2;
MA55:MA(CLOSE,55),colorred,LINETHICK2;
MA21:MA(CLOSE,21),colorgreen,LINETHICK2;
ZT:=(C/REF(C,1)-1)*100,NODRAW;
{STICKLINE(1,MA5,MA21,0,0),coloryellow;}
STICKLINE(ZT>=9.97,O,C,2,0),colormagenta;
STICKLINE(ZT<=-9.97,O,C,2,0),colorblue;
TY:=H;TY1:=L;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY1,10)=LLV(TY1,2*10+1),10),10+1),10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK4;
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK4;