MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20),LINETHICK3,colorgreen;
DRAWICON(ISLASTBAR,C,41);
IF(MA20>REF(MA20,1),MA20,DRAWNULL),LINETHICK3,colorred;
叉:=10*MA10-REF(C,9)+2*REF(C,4)-10*MA5;
金叉1:=crOSS(MA5,MA10);
金叉2:=CROSS(MA5,MA20);
金叉3:=CROSS(MA10,MA20);
死叉1:=CROSS(MA10,MA5);
死叉2:=CROSS(MA20,MA5);
死叉3:=CROSS(MA20,MA10);
DRAWTEXT(金叉1,CONST(MA5),’1′),colorred;
DRAWTEXT(金叉2,CONST(MA5),’2′),colorred;
DRAWTEXT(金叉3,CONST(MA5),’3′),colorred;
DRAWTEXT(死叉1,CONST(MA5),’1′),colorgreen;
DRAWTEXT(死叉2,CONST(MA5),’2′),colorgreen;
DRAWTEXT(死叉3,CONST(MA5),’3′),colorgreen;
DRAWICON(CURRBARSCOUNT=20+1,C/0.92,40);
DRAWICON(CURRBARSCOUNT=10+1,C/0.92,40);
DRAWICON(CURRBARSCOUNT=5+1,C/0.92,40);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)