DRAWGBK(OPEN CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
X_1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
X_2:=(CLOSE-LLV(LOW,5 ))/(HHV(HIGH,5)-LLV(LOW,5))*100;
X_3:=(HIGH+LOW)/2;
X_4:=EMA(X_3,3);
X_5:=IF(CLOSE X_4,VOL,0);
X_6:=IF(CLOSE X_4,VOL,0);
量能:IF(CAPITAL 1,MA(VOL,74),MA(SUM(X_5-X_6,22),3)),NODRAW,COLOR00DDDD;
趋势:IF(CAPITAL 1,EMA(量能,360),EMA(量能,21)),NODRAW,COLOR008800;
X_7:=量能-趋势;
X_8:=SMA(X_1,3,1);
X_9:=SMA(X_8,3,1);
STICKLINE(X_7 0,20,10,5,1),COLORRED;
STICKLINE(X_7 0,100,90,10,1),COLORGREEN;
DRAWICON(CROSS(X_8,X_9) AND X_9 30,2,1);
DRAWICON(CROSS(X_9,X_8) AND X_9 30,97,2);
DRAWBAND(X_9,RGB(0,22,224),X_8,RGB(255,50,50));
X_10:=EMA(SMA(X_2,3,1),2);
X_11:=SMA(X_10,3,1);
DRAWTEXT(CROSS(X_8,X_9) AND CROSS(X_10,X_11),10,14),COLORYELLOW;
X_12:=CROSS(X_8,X_9) AND CROSS(X_10,X_11);
STICKLINE(X_12 0,0,100,2,0),COLOR008888;
STICKLINE(X_12 0,0,100,1.5,0),COLOR00AAAA;
STICKLINE(X_12 0,0,100,0.8,0),COLOR00DDDD;
STICKLINE(X_12 0,0,100,0.3,0),COLORYELLOW;
D_13:=1;{www.9m8.cn 九毛八公式指标网}
D_14:=(2*CLOSE+HIGH+LOW)/4;
D_15:=LLV(LOW,5);
D_16:=HHV(HIGH,4);
D_17:=EMA((D_14-D_15)/(D_16-D_15)*100,4)*D_13;
D_18:=EMA(0.667*REF(D_17,1)+0.333*D_17,2)*D_13;
D_19:=CROSS(D_17,D_18) AND D_17
D_20:=CROSS(D_18,D_17) AND D_17
D_21:=CROSS(D_17,D_18);
D_22:=CROSS(D_18,D_17);
D_23:=CROSS(D_17,D_18) AND REF(D_17,1)
D_24:=CROSS(D_18,D_17) AND REF(D_17,1)
D_25:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
D_26:=SMA(SMA(D_25,3,1),3,1)/28.57;
D_27:=EMA(D_26,5);
D_28:=3*D_26-2*D_27;
D_29:=CROSS(D_28,D_26) AND D_26 2.1 AND CLOSE OPEN;
STICKLINE(D_29,30,0,4,0),COLOR770077;
STICKLINE(D_29,30,0,3,0),COLOR990099;
STICKLINE(D_29,30,0,2,0),COLORBB00BB;
STICKLINE(D_29,30,0,1,0),COLORDD00DD;
STICKLINE(D_29,30,0,0.3,0),COLORMAGENTA;
DRAWTEXT(D_29,36,15),COLORRED;
藏宝图密钥:D_29,NODRAW;
低金叉进:20,COLORMAGENTA;
高死叉出:90,COLORYELLOW;