MA10:=MA(CLOSE,10),COLORYELLOW,LINETHICK0;
MA54:=MA(CLOSE,54),COLORFFCCCC,LINETHICK0;
PL1:=(((CLOSE - MA54) / MA54) 0.1);PL2:=(((CLOSE - MA10) / MA10) 0.3);
偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);
平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
突破:IF(平台突破,1,0),STICK;
DRAWTEXT(突破,0.95,' 突破'),COLOR80FFFF;
EMA13:=EMA(C,13),COLORWHITE;
EMA21:=EMA(C,21),COLORYELLOW;
N1:=3;N2:=5;N3:=9;N4:=13;N5:=21;N6:=34;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
A1:=DIFF
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K0:=SMA(RSV1,N1,1);
D0:=SMA(K0,N1,1);
A2:=K0
LC0:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC0,0),N2,1))/(SMA(ABS(CLOSE-LC0),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC0,0),N4,1))/(SMA(ABS(CLOSE-LC0),N4,1))*100;
A3:=RSI1 RSI2;
RSV0:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV0,N1,1);
LWR2:=SMA(LWR1,N1,1);
A4:=LWR1 LWR2;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
A5:=CLOSE
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
A6:=MMS
BIAS:=(C-MA(C,N2))/MA(C,N2);
DIF:=(BIAS-REF(BIAS,16));
DBCD:=SMA(DIF,76,1);
MM1:=MA(DBCD,5);
A7:=DBCD
持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE
-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,COLORRED;
支撑:=LLV(持股,3),LINETHICK0,COLOR00FFFF;
下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0;
转向:=CROSS(持股,下跌){ AND 下跌
MA1:=MA(持股,5);
向下:=CROSS(MA1,持股) AND MA1
A8:=持股
MT:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MT,N3),N3)/EMA(EMA(ABS(MT),N3),N3);
MAZL:=MA(ZLGJ,5);
A9:=ZLGJ MAZL;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE OPEN,QJJ*(HIGH-LOW),IF(CLOSE OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF
(CLOSE OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
HSL:=(XVL/20)/1.15;
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX,LINETHICK0,COLOR0000FF;
A10:=资金流量
指导线:=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10),LINETHICK0,COLORFFFF00;
跟庄操作:IF(指导线 6 ,2.38,1),LINETHICK1,COLOR118DFD;
倍量柱:(VOL/REF(VOL,1) 2 AND COUNT(CLOSE OPEN,1)) OR (LOW REF(HIGH,1) AND COUNT(OPEN CLOSE,1) AND VOL/REF(VOL,1) 2),COLORA4A4FF,STICK;
DRAWTEXT(倍量柱,0.55,' BL'),COLORA4A4FF;
地量柱:LLV(VOL,100)=VOL,STICK,COLORFFB76F;
DRAWTEXT(地量柱,0.5,' DL'),COLOR00FF00;
倍缩量:VOL/REF(VOL,1) 0.5,STICK,COLOR00FF00;
DRAWTEXT(倍缩量,0.2,' SL'),COLOR00FF00;
DRAWICON(倍缩量 0,倍缩量,2);
价涨量缩:COUNT(C REF(C,1),2)=2 AND COUNT(VOL REF(VOL,1),2)=2,STICK,COLORGREEN;
放量柱:IF(LOW REF(HIGH,1) AND COUNT(OPEN CLOSE,1),0.5,0),STICK,COLORFF2693;
DRAWTEXT(放量柱,0.2,' FL'),COLORFF2693;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL 2*REF(VOL,1) AND CLOSE HJZ2 AND C
黄金柱:=FILTER(HJZ3,5),STICK,COLORYELLOW;
综价:=(3*C+O)/4;
综价均3:=WMA(综价,3);
短升:=综价均3 REF(综价均3,1);
买升:短升 AND COUNT(短升,2)=1,STICK;
DRAWICON(买升 0,买升,1);
DRAWTEXT(买升,0.5,' 短升'),COLORFFFFFF;
N:=18;
M1:=3;
M2:=3;
RSV:=(CLOSE - LLV(LOW,N))/(HHV(HIGH,N) - LLV(LOW,N))*100;
K:=EMA(RSV,M1);
D:=EMA(K,M2);
J:=(3*K-2*D);
KDJ1:=REF(COUNT(J REF(J,1),5) =3,1) AND REF(J,1)
KDJ2:=J REF(J,1);
VAR22:=REF(LOW,1);
VAR33:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;
VAR44:=EMA(IF(CLOSE*1.3,VAR33*10,VAR33/10),3);
VAR55:=LLV(LOW,13);
VAR66:=HHV(VAR44,13);
VAR77:=IF(MA(CLOSE,34),1,0);
VAR888:=EMA(IF(LOW =VAR55,(VAR44+VAR66*2)/2,0),3)/618*VAR77;
VAR999:=IF(VAR888 100,100,VAR888);
吸筹:=VAR999,LINETHICK1,COLORCD7F32 ;
吸筹下:=吸筹 REF(吸筹,1);
趋势线:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFF6666,LINETHICK2;
趋势线上:=趋势线 REF(趋势线,1);
金钻:吸筹下 AND 趋势线上 AND CROSS(趋势线,吸筹)COLOR00FFFF,STICK;
DRAWICON(金钻 0,金钻,26);
DRAWTEXT(金钻,0.5,'升浪'),COLOR00FFFF;
止跌:=(REF(EVERY(C O,2),1) AND C
MTM0:=C-REF(C,1);
D0X:=100*EMA(EMA(MTM0,6),6)/EMA(EMA(ABS(MTM0),6),6);
买:=LLV(D0X,2)=LLV(D0X,7) AND COUNT(D0X 0,2) AND CROSS(D0X,MA(D0X,2));
止跌买:止跌 AND 买,STICK,COLORFFFFFF;
DRAWTEXT(止跌买,0.1,' ZD'),COLORFFFFFF;
DRAWICON(止跌买 0,止跌,11),COLOR00FFFF;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
底:短期 20 AND 长期 70,STICK,COLORFFFFFF;
DRAWTEXT(底,0.1,'DZ买'),COLOR00FFFF;
DRAWICON(底 0,底,5),COLORFF00FF;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
卖:CROSS(CROSS(三日最高,C),0.6),STICK,COLOR575700;
DRAWICON(卖 0,卖,35);
AL:=(C+L+H)/3;
AO:=SMA(AL,6.18,1)-SMA(AL,16.18,1);
BBD:=(AO-SMA(AO,3.82,1))*100;
BBDA:=SMA(BBD,6.18,2);
RSV3:=BBD;
RSV4:=BBDA;
SV1:=BARSLAST(REF(CROSS(RSV3,RSV4),1));
SV1A:=REF(CLOSE,SV1+1) CLOSE AND RSV3 REF(RSV3,SV1+1) AND
CROSS(RSV3,RSV4);
底背离:SV1A,STICK,COLORFF00FF;
DRAWTEXT(底背离,0.1,'底背离'),COLOR00FFFF;
DRAWICON(底背离 0,底背离,5),COLORFF00FF;
AA1:=AMOUNT/V;
BB1:=L AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100
DD1:=L MA(C,5)*0.921;
EE1:=V MA(V,5)*1.5;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2) REF(VAR02,1) AND VAR02 REF(VAR02,1);
VAR05:=COUNT(VAR03,7) 0 AND VAR04;
绝对底部:=IF(VAR05 AND COUNT(VAR05,3),1,0),COLORRED,LINETHICK2;
铁树开花:IF(BB1 AND CC1 AND DD1 AND EE1 AND 绝对底部,1,0),COLORYELLOW,,STICK;
DRAWICON(铁树开花 0,铁树开花,23);
DRAWTEXT(铁树开花,0.5,'底部'),COLOR00FFFF;