线A1:=(MA(vol,5)+MA(VOL,10)+MA(VOL,25))/3,COLOR00FF00;线A2:=(MA(VOL,5)+MA(VOL,10)+MA(VOL,20)+MA(VOL,60)+MA(VOL,120))/5,COLOR00FF00;线A3:=(MA(VOL,20)+MA(VOL,60)+MA(VOL,120))/3,COLOR00FF00,LINETHICK2;ZX:2*(线A1-线A2), COLORSTICK;STICKLINE(线A1>线A3,线A1,线A3,0.1,1),COLORFF0080;STICKLINE(线A1<=线A3,线A1,线A3,0.1,1),COLOR22CC33;线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;IF(线A1<线A3,线A3,线A1),COLORRED;线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;IF(线A2<线A3,线A3,线A2),COLORRED;线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK2;IF(线A1<线A3,线A3,线A3),COLORRED,LINETHICK2;DIFF:=EMA(CLOSE,26) – EMA(CLOSE,12);DEA:=EMA(DIFF,9);macd:=(DIFF-DEA), COLORSTICK;MacD金叉:IF(crOSS(DIFF,DEA),MACD-0.02,0),COLORFF00FF,POINTDOT;DRAWTEXT(CROSS(DIFF,DEA),MACD-0.03,’●’),COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;JK金叉:IF(CROSS(J,K),MACD-0.02,0),COLORYELLOW,POINTDOT;DRAWTEXT(CROSS(J,K),MACD-0.03,’●’),COLORYELLOW;上涨缺口:IF(L>REF(H,1),MACD-0.01,0),COLORRED,POINTDOT;DRAWTEXT(L>REF(H,1),REF(H,1),’☆’),COLORRED;

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