X_1:=EMA(CLOSE,12*4*4)-EMA(CLOSE,26*4*4);
X_2:=EMA(X_1,9*4*4);
X_3:=2*(X_1-X_2);
X_4:=EMA(CLOSE,12*4)-EMA(CLOSE,26*4);
X_5:=EMA(X_4,9*4);
X_6:=2*(X_4-X_5);
X_7:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_8:=EMA(X_7,9);
X_9:=2*(X_7-X_8);
X_10:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_11:=EMA(X_10,9);
X_12:=2*(X_10-X_11);
X_13:=HHVBARS(X_12,BArslAST(X_12<0)+1);
X_14:=crOSS(BacKSET(CROSS(0,X_12),REF(X_13,1)+2),0.5);
X_15:=CROSS(BACKSET(CROSS(0,X_12) OR (ISLASTBAR AND X_12>0),REF(X_13,1)+2),0.5);
前高线:DRAWLINE(X_14,X_12,REF(X_14,1),REF(X_12,1),1),COLORMAGENTA;
X_16:=REF(X_12/2,BARSLAST(X_12=HHV(X_12,120)));
macd250:REF(X_12/2,BARSLAST(X_12=HHV(X_12,250))),COLORYELLOW,LINETHICK2;
X_17:=NOT(REF(X_16,1)=X_16);
STICKLINE(X_12>=MACD250,MACD250,X_12,2,0),COLORMAGENTA;
STICKLINE(X_12>=MACD250 AND X_12>REF(X_12,1),X_12,0,1,0),COLORYELLOW;
X_18:=NOT(REF(X_16,1)=REF(MACD250,1)) AND X_16=MACD250;
X_19:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_20:=EMA(X_19,9);
X_21:=CLOSE>INTPART(REF(CLOSE,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND CLOSE=HIGH;
X_22:=X_19>(-0.2) AND X_19<0.35 AND X_21 AND REF(X_21,1)<1 AND COUNT(X_10>=(-0.01),5)=5;
DRAWTEXT(X_22,MACD250*1.3,4),COLORRED;
STICKLINE(X_3>REF(X_3,1),MACD250,0,5,0),COLORLIMAGENTA;
STICKLINE(X_3<REF(X_3,1),MACD250,0,5,0),COLORLIGREEN;
DRAWBAND(EMA(X_6,10),RGB(0,0,180),X_6,RGB(255,255,0));
STICKLINE(X_12>0 AND X_12>REF(X_12,1),0,X_12,1,0),COLORYELLOW;
STICKLINE(X_12>0 AND X_12<REF(X_12,1),0,X_12,1,0),COLORLIBLUE;
STICKLINE(X_12<0,0,X_12,1,0),COLORGREEN;
STICKLINE(X_12>=MACD250,MACD250,X_12,2,0),COLORMAGENTA;
日MACD1:X_12,COLORYELLOW,LINETHICK4;
MACD2501:REF(X_12/2,BARSLAST(X_12=HHV(X_12,250))),NODRAW,COLORYELLOW,LINETHICK3;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)