震幅:(H-L)/REF(C,1)*100,NODRAW,COLORRED;
中盘股:FINANCE(7)<800000000 AND FINANCE(7)>=400000000,COLORGREEN,NODRAW;
小盘股:FINANCE(7)<400000000,COLORWHITE,NODRAW;
盘小绩优:FINANCE(7)<1000000000 AND DYNAINFO(39)>0 AND DYNAINFO(39)<=28,COLOR9933FF,NODRAW;
换手率:V/CAPITAL*100 NODRAW;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12));
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VUR0:=(((((2 * OPEN) + HIGH) + LOW) + (3 * CLOSE)) / 7);
VUR1:=(CAPITAL * VUR0);
VUR2:=(SMA(AMOUNT,10,1) / 1000);
VUR3:=MA((CLOSE * 3),5);
VUR4:=VUR2*C*3/VUR3*1/10;
VUR5:=VUR2*O*3/VUR3*1/10;
VUR6:=VUR2*H*3/VUR3*1/10;
VUR7:=VUR2*L*3/VUR3*1/10;
VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;
VUR9:=EMA(DMA(EMA(VUR4,2),(SUM(vol,1) * VUR8)),2);
VURA:=EMA((VUR1 - VUR9),1);
VU1:=IF((VURA > REF(VURA,1)),((VURA-REF(VURA,1))/100),0);{*15/1000}
VU2:=IF((VURA < REF(VURA,1)),((VURA-REF(VURA,1))/100),0);
VU3:=SUM(VU1,15);
VU4:=EMA(VU3,10);
VU5:=REF(VU4,1);
VU6:=EMA(CLOSE,13);
VU7:=(VU6 < REF(VU6,1));
VU8:=(VU7 AND (VU4 > VU5));
VU9:=(SUM(VU2,21) * (0 - 1));
VUA:=EMA(EMA(VU9,5),8);
VUB:=REF(VUA,1);
VUC:=EMA(CLOSE,3);
VUD:=(VUC > REF(VUC,1));
VUE:=(VUC < REF(VUC,1));
VUF:=((VU4 > VU5) AND VUD);
VUG:=((VU4 > VU5) AND VUE);
VUH:=((VU6 > REF(VU6,1)) AND (VUA > VUB));
VUN:=IF(VU8,VUR0,0);
VUK:=IF(VUH,((VUR0 + HIGH) / 2),0);
买线:VU5/10000,,COLORDB70DB;
进价:=VUN,POINTDOT,COLORFE10D2;
卖线:VUB/10000,,COLORLIGREEN;
出价:=VUK,POINTDOT,COLORGREEN;
偏离:100*Abs(买线-卖线)/买线,NODRAW;
STICKLINE(偏离<45 AND 买线>卖线,买线,卖线,0.21,0),,COLORRED;
STICKLINE(偏离<25 AND 买线<卖线,买线,卖线,0.21,0),,COLORYELLOW;
拉抬:STICKLINE(VUF AND 买线>卖线,VU5/10000,(VU4 * 1.1/10000),1,1),,COLOR1010F0;
变盘:STICKLINE(VUG AND 买线>卖线,VU5/10000,(VU4 * 1.1/10000),1,0),,COLORB4B410;
出货:STICKLINE(VUH ,VUB/10000,(VUA * 1.2/10000),1,1),,COLORGREEN;
吸筹:STICKLINE(VU8 AND 买线>卖线,VU5/10000,(VU4 * 1.3/10000),1,0),,COLORFE10D2;
庄家克星:=VOL*(C+L+H)/3;
十字死光:=SUM(庄家克星,8)/SUM(VOL,8);
NOTEXT1:IF(C>=十字死光 AND 买线>卖线,VU5/10000,DRAWNULL),LINETHICK3,COLORYELLOW;
庄家:=crOSS(C,十字死光);
DRAWICON(庄家 AND 买线>卖线,VU5/10000,23);
{有庄潜伏}
VAR118:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR118-REF(VAR118,1))/REF(VAR118,1)*1000;
财:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
神:=EMA(财,3);
JJ:=DYNAINFO(11);
BTJ11:=(C-JJ)/JJ<=-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(财,神) AND 财<-0.3;
庄:= BTJ11 AND BTJ2 AND BTJ3;
{强庄}
AAA:=(3*C+H+L+O)/6;
短线:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
中线:=(LLV(短线,2)+LLV(短线,4)+LLV(短线,6))/3;
VURB:=EMA(VUR1-VUR9,1);
VURC:=REF(VURB,1);
VURE:=(VURB-VURC)*15;
VURG:=(VURC-VURB)*(-1);
VURH:=IF(VURB>VURC,VURE/1000,0);
强庄控盘:=(买线>卖线 OR 买线>=REF(买线,1)) AND ((短线>中线 AND REF(短线,1)=REF(中线,1) AND VURH>0 AND CLOSE>OPEN) AND (FILTER(庄,55) OR FILTER(庄,13)));
DRAWTEXT(强庄控盘,VU5/10000,'强庄控盘'),COLORWHITE;
DRAWICON(强庄控盘 ,VU5/10000,24);
{突破}
wr1:=(HHV(HIGH,10)-LLV(LOW,10))/LLV(LOW,10);
WR2:=REF(WR1,1)<=0.3;
WR3:=BARSCOUNT(C)>10;
WR4:=C>=HHV(HIGH,10);
突破:=FILTER(WR2 AND WR3 AND WR4,4);
DRAWTEXT(突破 AND VU4*1.1>买线 AND VU4*1.1>卖线 AND 偏离<70,VU4*1.1/10000,'突破'),COLORGREEN;
DRAWTEXT(突破 AND VU4*1.1>买线 AND VU4*1.1>卖线 AND 偏离<25,5+VU4*1/10000,'必买'),COLORYELLOW;
{1指.能量线}
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
{2指.rsi}
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK0;
{3指.kdj}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1,LINETHICK0;
{4指.W&R}
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
{5指.cci}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
五指A:=WMA((能量线+RSI+J-威廉WR+CCI)/5,5);
五指B:=WMA((能量线+RSI+J-威廉WR+CCI)/5,13);
IF(五指A>REF(五指A,1) AND 买线>REF(买线,1),买线,DRAWNULL),COLOR0000FF,LINETHICK2;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
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:=资金流量>0;
IF((五指A>REF(五指A,1) AND 买线>REF(买线,1) AND 资金流量>=0) AND 买线>卖线,卖线,DRAWNULL),COLOR0000FF,LINETHICK2;
周K:=MA("kdJ.K#WEEK"(9,3,3) ,5);
DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
DRAWICON((五指A>REF(五指A,1) AND 买线>REF(买线,1) AND 周K>=REF(周K,1) AND DIF60>=DEA60 AND 资金流量>=0)AND 偏离<45 ,卖线,25);
DRAWICON((买线>REF(买线,1) AND 周K>=REF(周K,1) AND DIF60>=DEA60 AND C>=十字死光)AND 偏离<45,卖线,25);
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q8:=HHVBARS(HIGH, 50);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
跨越:=EMA(Q3, 3),COLORRED;
VARK12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线:=SMA(VARK12,3,1),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(跨越,机构做空能量线) AND (买线>卖线 OR (五指A>REF(五指A,1) AND 买线>REF(买线,1)))AND 偏离<80,卖线*1.25,'强势区域'),COLORRED,LINETHICK1;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力进:IF(V4-5>=0,V4-5,0)/10,COLORFF00FF;