DIFF:=(EMA(CLOSE,12) – EMA(CLOSE,26));
 DEA:=EMA(DIFF,2);
 MACD:=(2 * (DIFF – DEA));
 A1:=(REFX((DIFF > DEA),1) AND (DIFF < DEA));
 A3:=(REFX((DIFF < DEA),1) AND (DIFF > DEA));
 STICKLINE((DIFF > DEA),HIGH,LOW,0.1,0),colorFF;
 STICKLINE((DIFF > DEA),CLOSE,HIGH,8,0),colorFF;
 STICKLINE((DIFF < DEA),HIGH,LOW,0.1,0),colorFF00;
 STICKLINE((DIFF < DEA),CLOSE,HIGH,8,0),colorFF00;
 STICKLINE((A1 = 1),HIGH,LOW,0.1,0),colorFFFF;
 STICKLINE((A1 = 1),CLOSE,HIGH,8,0),colorFFFF;
 STICKLINE((A3 = 1),HIGH,LOW,0.1,0),colorFFFF;
 STICKLINE((A3 = 1),CLOSE,HIGH,8,0),colorFFFF;
 a:=(LOW+HIGH+CLOSE)/3;
 b2:EMA(A,2),COLORWHITE;
 b4:EMA(A,4),COLORWHITE;
 b6:EMA(A,6),COLORWHITE;
 b8:EMA(A,8),COLORWHITE;
 b10:EMA(A,10),COLORWHITE;
 b12:EMA(A,12),COLORWHITE;
 b14:EMA(A,14),COLORWHITE;
 b16:=EMA(A,16);
 b18:=EMA(A,18);
 b20:=EMA(A,20);
 b23:=EMA(A,23);
 b26:=EMA(A,26);
 b29:=EMA(A,29);
 b32:=EMA(A,32);
 b36:=EMA(A,36);
 b40:=EMA(A,40);
 b44:=EMA(A,44);
 b48:=EMA(A,48);
 b52:=EMA(A,52);
 b56:=EMA(A,56);
 b60:=EMA(A,60);
 b64:=EMA(A,64);
 b68:=EMA(A,68);
 c4:HHV(B4,59),COLORRED;
 c6:HHV(B6,61),COLORRED;
 c8:HHV(B8,63),COLORRED;
 c10:HHV(B10,65),COLORRED;
 c12:HHV(B12,67),COLORRED;
 c14:HHV(B14,69),COLORRED;
 d2:LLV(B2,10),COLORLIGHTGREEN;
 d4:LLV(B4,12),COLORGREEN;
 d6:LLV(B6,14),COLORGREEN;
 d8:LLV(B8,16),COLORGREEN;
 d10:LLV(B10,18),COLORGREEN;
 d12:LLV(B12,20),COLORGREEN;
 d14:LLV(B14,22),COLORGREEN;
 e2:LLV(B2,57),COLORCYAN;
 e4:LLV(B4,59),COLORBLUE;
 e6:LLV(B6,61),COLORBLUE;
 e8:LLV(B8,63),COLORBLUE;
 e10:LLV(B10,65),COLORBLUE;
 e12:LLV(B12,67),COLORBLUE;
 e14:LLV(B14,69),COLORBLUE;


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