N:=9;
M:=4;
A:EMA(BETA(N),5);
B:SMA(BETA(N),M,2);
STICKLINE(A>1.5 AND crOSS(A,B) ,0,4,3,0),COLORYELLOW;
STICKLINE(A>1.5 AND CROSS(A,B),4,6,2,0),COLORWHITE;
STICKLINE(A>1.5 AND CROSS(A,B),6,8,1,0),COLORRED;
DRAWTEXT(A>1.5 AND CROSS(A,B),7.5,’个股变盘’) COLORLIMAGENTA;
STICKLINE(A<1.5 AND CROSS(B,A),0,5,2,0),COLORRED;
DRAWBAND(A,RGB(255,164,164),B,RGB(164,255,255));

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。