SHCM8:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP8:=ZLCM8/(ZLCM8+SHCM8)*100;
ZZLJJ8:=EMA(ZZLKP8,89);
ZJLRQD8:=ZZLKP8-ZZLJJ8;
AA:=EMA(ZJLRQD8,3);
BB:=EMA(AA,5);
CC:=AA-BB;
STICKLINE(CC<REF(CC,2),CC*2,0,8.5,1), COLORGREEN;
STICKLINE(CC>REF(CC,2),CC*2,0,8.5,1), COLORRED;
主资进:IF(CROSS(AA,BB),5,0),LINETHICK1,COLORFF00FF;
主资出:IF(CROSS(BB,AA),-3,0),LINETHICK1,COLOR00FF00;
DRAWICON(主资进>0,5,1);
DRAWICON(主资出<0,-4,2),NODRAW;
VAR1K:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2K:=SMA(ABS(LOW-VAR1K),13,1)/SMA(MAX(LOW-VAR1K,0),10,1);
VAR3K:=EMA(VAR2K,10);
VAR4K:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4K,VAR3K,0),5);
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;
KX:=(R+R1)/2;
ZJ1:=AMOUNT/VOL/100;
ZJ3:=SUM(AMOUNT,35)/ZJ1/100;
ZJ4:=DMA(KX,VOL/ZJ3);
ZJ:=100*(KX-ZJ4)/ZJ4;
上轨:(MA(ZJ,20)+STDP(ZJ,20)),COLORYELLOW,NODRAW;
下轨:(MA(ZJ,20)-STDP(ZJ,20)),COLORGREEN,NODRAW;
强轨:(MA(ZJ,20)+1.7*STDP(ZJ,20)),COLORRED,NODRAW;
弱轨:(MA(ZJ,20)-1.7*STDP(ZJ,20)),COLORCYAN,NODRAW;
标准线:ZJ,COLORWHITE,LINETHICK2;
强弱线:(上轨+下轨)/2,COLORYELLOW,NODRAW;
CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/20,COLORYELLOW,LINETHICK2,NODRAW;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLORMAGENTA,LINETHICK2;
WR1:(100*(HHV(R1,42)-KX)/(HHV(R1,42)-LLV(R,42)))/20*5-10,COLORBLUE,LINETHICK2;
做空:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLOR00BB00,LINETHICK,NODRAW;
A:(0),COLORYELLOW;B:(5),COLOR6600FF;
PJJ1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
JJ1:=REF(EMA(PJJ1,3),1);
QJJ1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
XVL1:=(IF((CLOSE > OPEN),(QJJ1 * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ1 * (HIGH - LOW))),(0 - (VOL / 2)))));
ZLL1:=(VOL / CAPITAL);
HSL1A:=IF((ZLL1 > 10),10,ZLL1);
HSL8:=((XVL1 / 20) / 1.15);
攻击流量1:=(((HSL8 * 0.55) + (REF(HSL8,1) * 0.33)) + (REF(HSL8,2) * 0.22));
GJJ1:=EMA(攻击流量1,8);
LLJX1:=EMA(攻击流量1,3);
资金流入:=IF((HSL8*0.4+LLJX1)>0,(HSL8*0.4+LLJX1),DRAWNULL),COLORRED,NODRAW;
资金流出:=IF((HSL8*0.4+LLJX1)<0,(HSL8*0.4+LLJX1),DRAWNULL),COLOR00FF00,NODRAW;
资金进出:=(HSL8*0.4+LLJX1),LINETHICK0,NODRAW;
万元:=AMOUNT/10000,VOLSTICK,COLORFF00FF,NODRAW;
黄柱初出蓝:=REF(资金流出,1)<0 AND 资金流入>30 AND C>O AND C>REF(C,1) AND C>MA(C,3);
X19:=(3*C+2*L+O+H)/7;
多空线:=(20*X19+19*REF(X19,1)+18*REF(X19,2)+17*REF(X19,3)+16*REF(X19,4)+15*REF(X19,5)+14*REF(X19,6)+13*REF(X19,7)+12*REF(X19,8)+11*REF(X19,9)+10*REF(X19,10)+9*REF(X19,11)+8*REF(X19,12)+7*REF(X19,13)+6*REF(X19,14)+5*REF(X19,15)+4*REF(X19,16)+3*REF(X19,17)+2*REF(X19,18)+REF(X19,20))/210;
长黄柱:= 资金流入>300 AND CROSS(C,多空线);
DRAWTEXT(黄柱初出蓝,下轨-0.2,'★'),COLORYELLOW;
DRAWTEXT(长黄柱 ,下轨-0.6,'★'),COLORWHITE;