【通达信免费源码】黄金坑操大底指标 副图 波段 短线 买卖点 抄
2022-04-11未知 编 辑:掌上指标
VARF1:=TROUGHBARS(3,15,1)<4;
潜龙:=EMA((CLOSE-MA((2CLOSE+HIGH+LOW)/4,30))/MA((2CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
{0,COLORRED;}
STICKLINE(FILTER(VARF1=1,3) AND 潜龙<-10,130,0,4,1),COLORFF00FF;
STICKLINE(FILTER(VARF1=1,3),130,0,1,0),COLORGREEN;
DRAWTEXT(FILTER(VARF1=1,3),120,'龙头'),COLORRED ;
STICKLINE(潜龙<-10,0,潜龙,0,0),COLORYELLOW;
STICKLINE(潜龙>10,0,潜龙,0,0),COLORRED;
{神仙8脚}
VAR2M:=TROUGHBARS(3,15,1)<10;
VAR3M:=PEAKBARS(3,15,1)<10;
VAR4M:=IF(VAR2M=1,50,0);
VAR5M:=IF(VAR3M=1,50,0);
底部A:=IF(VAR4M=50,10,0);
多头能量:0,COLORWHITE,LINETHICK2;
买入:IF(底部A=10 AND REF(底部A,1)=10 AND REF(底部A,2)=0,135,0),COLOR0000CC,LINETHICK3;
买入延迟线:=底部A,LINETHICK1 ,COLORWHITE;
UEJ1:=5SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1);
UEJ2:=3SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1);
UEJ3:=SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);
IDG:=UEJ1-UEJ2-UEJ3;
UFF:=AMA(IDG,0.2);
XG888:=CROSS(IDG,5),NODRAW;
底部买入:IF(XG888 AND 买入,90,0),COLORF0A2FA,LINETHICK2;
DRAWTEXT(XG888 AND 买入,90,'底'),COLORWHITE ;
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
B:=BARSLAST(CROSS(GJTJ4,GJTJ2));
DD:=GJTJ3;
E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
F:=GJTJ2;
B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;
KKM:="KDJ.K#MONTH";
KDM:="KDJ.D#MONTH";
月:=CROSS(KKM,KDM);
去停牌:=DYNAINFO(8)>0;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
金坑K月:IF(A AND B AND DD AND E AND F AND 去停牌 AND 去ST AND 月,90,0)COLORWHITE,LINETHICK3;
{底部来临:}
VAR2P:=CLOSE*VOL;
VAR3P:=EMA((MA(VAR2P,3)/MA(VOL,3)+MA(VAR2P,5)/MA(VOL,5)+MA(VAR2P,13)/MA(VOL,13)+MA(VAR2P,21)/MA(VOL,21))/4,1);
VAR4P:=1*VAR3P;
VAR5P:=VAR3P*0.92;
VAR6P:=EMA(CLOSE,34);
VAR7P:=MA(VAR6P*1.12,5);
VAR8P:=MA(VAR6P*0.82,5);
VAR9P:=CLOSE<VAR8P;
VARAP:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4);
XX:=VARAP AND CLOSE<VAR8P;
VAR10P:=REF(CLOSE,1);
VAR14P:=SMA(MAX(CLOSE-VAR10P,0),12,1)/SMA(ABS(CLOSE-VAR10P),12,1)*100;
CC:=CROSS(VAR14P,20);
底部来临:IF(XX AND CC,100,0)COLORYELLOW,LINETHICK2;
TT:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6);
TT1:=IF((MINUTE=5),TT48,IF((MINUTE=15),TT16,IF((MINUTE=30),TT8,IF((MINUTE=60),TT4,TT))));
TT2:=IF(VOL=0,MA(CLOSE,TT1),((SUM(AMOUNT,TT1)/SUM(VOL,TT1))/100));
TT3:=MA(C,5)>REF(MA(C,5),1) AND REF(C>O OR C<O,69) AND H/C<1.02 AND REF(C>O OR C<O,158);
TT4:=REF(MA(C,5)<REF(MA(C,5),1),1) AND REF(C>O OR C<O,164) AND REF(C>O OR C<O,14);
TT5:=C>O AND REF(C>O,1) AND REF(C<O,2) AND REF(O/C>1.02,2) AND REF(O/C<1.08,46);
TT6:=IF(CROSS(CLOSE,REF(TT2,1)),REF(TT2,1),0);
TT7:=HHV((TT6>0),(BARSLAST(IF(CROSS(REF(TT2,1),CLOSE),REF(TT2,1),0)>0)+1));
TT8:=TT7>REF(TT7,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
波拐:IF((TT3 AND TT4 AND TT5 AND TT8),160,0),COLORRED,LINETHICK3;
除业绩后退股:=FINANCE(30)>=REF(FINANCE(30),130);
D0:=除业绩后退股;
D2:=IF(NAMELIKE('S'),0,1);
D3:=IF(NAMELIKE('*'),0,1);
D4:=DYNAINFO(17)>0;
去除大盘股:=CAPITAL/1000000<20;
去高价:=C<=60;
去掉:=D0 AND D2 AND D3 AND D4 AND 去除大盘股 AND 去高价 AND NOT(C>=REF(C,1)*1.097 AND C=O AND H=L);
AAJ:=C=HHV(C,30);
BBJ:=BARSLAST(FILTER(CROSS(0.8,AAJ),2))+1;
高点J:=REF(C,BBJ);
价突破:=IF(CROSS(C,REF(高点J,1)),3,0);
AA:=V=HHV(V,30);
BB:=BARSLAST(FILTER(CROSS(0.8,AA),2))+1;
高点L:=REF(V,BB);
量突破:=IF(CROSS(V,REF(高点L,1)),2,0);
选股突破:IF(CROSS((100-100(HHV(HIGH,18)-CLOSE)/(HHV(HIGH,18)-LLV(LOW,18))),99) AND (价突破 OR 量突破) AND 去掉,160,0)COLORFFA2AF,LINETHICK3;
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,30);
M5:=MA(C,60);
XG1:=REF(C,1)<REF(C,2)*1.01 OR REF(C,1)<=REF(C,2)+0.05;
选股NB :IF(XG1 AND (CROSS(M1,M2) OR CROSS(REF(M1,1),REF(M2,1))) AND M2>M3 AND M3>M4 AND M4>M5 AND MA(V,5)>MA(V,10) AND CROSS(MACD.DIF,MACD.DEA) AND MACD.DIF<0.2 ,120,0)COLORRED;
N10:=2,100,10;
M10:=2,100,5;
VAR1K:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
B0:=SMA(VAR1K,N10,1);
VAR2K:=SMA(B0,M10,1);
绝处逢升:=IF(CROSS(B0,VAR2K) AND B0<50,50,0);
顶:=85;
中:=50;
底:=20;
VAR1H:=HHV(HIGH,9)-LLV(LOW,9);
VAR2H:=HHV(HIGH,9)-CLOSE;
VAR3H:=CLOSE-LLV(LOW,9);
VAR4H:=VAR2H/VAR1H*100-70;
VAR5H:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6H:=(2*CLOSE+HIGH+LOW)/4;
VAR7H:=SMA(VAR3H/VAR1H*100,3,1);
VAR8H:=LLV(LOW,34);
VAR9H:=SMA(VAR7H,3,1)-SMA(VAR4H,9,1);
VARAH:=IF(VAR9H>100,VAR9H-100,0);
VARBH:=HHV(HIGH,34);
AAH:= VARAH*2;
BBH:= EMA((VAR6H-VAR8H)/(VARBH-VAR8H)*100,13);
VARC:=EMA(0.667REF(BB,1)+0.333BB,2);
CCH:=SMA(VAR5H,20,1),COLORRED;
CC1:=SMA(CCH,5,1),COLORGREEN;
{出击:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0),COLORRED;}
绝处逢升XG:IF(CROSS(B0,VAR2K) AND B0<50 AND (CROSS(CCH,CC1) AND (CC1 < 顶)),150,0)COLORLIBLUE,LINETHICK2;
VAR15:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2FORCAST(VOL,12),2.1FORCAST(VOL,12));
买入XG:IF(FILTER(VAR15,28),80,0)LINETHICK2,COLORGREEN;
LS:=C/REF(C,1)>1.01 AND C=H AND BETWEEN(FORCAST(V,4),0.2FORCAST(V,12),2.1FORCAST(V,12));
升:FILTER(LS,130),NODRAW;
DRAWICON(升,120,25);
X_1:=120;
X_2:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2FORCAST(VOL,12),2.1FORCAST(VOL,12));
Z升:IF(CLOSE>REF(HHV(HIGH,X_1),1) AND FILTER(X_2,28),150,0),COLORCYAN,LINETHICK1;
{抄底黄金坑附图}
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
黄金坑:IF(RRD,-35,0),COLORYELLOW,LINETHICK3;
DRAWICON(RRD,-25,1);
VAR1:=MA(CLOSE,27);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=MA(VAR2,2);
VAR4:=BARSLAST(CROSS(-10,VAR3)=1);
VAR5:=VAR3<-10 AND VAR4>3;
贪嘴乐: IF(VAR3>REF(VAR3,1) AND VAR5 AND VAR3<-15,80,0),LINETHICK3,LINESTICK,COLORFFA2AF;
DRAWICON(贪嘴乐>=1.6,55,1);
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3VAR300-2VAR400;
PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
DRAWTEXT(黄金坑 AND PS1,105,'B'),COLORRED;
STICKLINE(黄金坑 AND PS1,80,0,1,0),COLORYELLOW;
VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2Z:=SUMBARS(VOL,CAPITAL);
VAR3Z:=HHV(VAR1Z,VAR2Z);
VAR4Z:=LLV(VAR1Z,VAR2Z);
VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);
VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);
VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z60,VAR6Z60);
VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR9Z:=EMA(VAR8Z,7);
VARAZ:=(WINNER(120CLOSE/100)-WINNER(100CLOSE/100))*100;
VARBZ:=(-100)(WINNER(120CLOSE/100)-WINNER(100*CLOSE/100))+5;
大底: IF(VARAZ+VARBZ<7 AND CROSS(VAR8Z,VAR9Z) AND VAR9Z<-18 AND VAR9Z<VARBZ AND 黄金坑 AND 贪嘴乐,120,0),COLORRED,LINETHICK3;
VAR1I:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;
VAR2I:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;
VAR3I:=(C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100;
VAR4I:=DMA(SMA((VAR1I+VAR2I+VAR3I)/3,2,1),3);
K0:SMA(VAR4I,2,1),COLORRED,LINETHICK1;
M0:SMA(K0,2,1),COLORFFFFFF;
DRAWICON(CROSS(K0,M0),K0-1,1);
DRAWICON(CROSS(M0,K0),M0-1,2);
红买青卖:38,COLOR0000FF,LINETHICK2;
红买: IF(K0>M0,38,DRAWNULL),COLOR0000FF,LINETHICK1;
青卖: IF(K0<M0,38,DRAWNULL),COLOR00FF00,LINETHICK1;
DF:=3;
N1:=12;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,DF,1);
D:=SMA(K,DF,1);
KK:=SMA(RSV,DF,1);
DD1:=SMA(K,DF,1);
N:=KK+DD1;
关注:STICKLINE(N<40,N,38,1,0),COLORRED;
风险:STICKLINE(N>165,N,165,1,0),COLORGREEN;
GWGD:=N<REF(N,1) AND REF(N,1)>=160 AND REF(N,1)>=REF(N,2);
HL:165,COLOR007700,LINETHICK1;
操盘B:N,COLORFF00FF,LINETHICK1;
买:DRAWICON(CROSS(N,38),36,1),COLORRED;
卖:DRAWICON(CROSS(165,N),165,2),COLORGREEN;
AA1:=(C+O+L+H)/4;{以下含未来,不喜删除}
BB1:=REF(CLOSE,AA1);
获利:=SMA(MAX(CLOSE-BB1,0),2,1)/SMA(ABS(CLOSE-BB1),2,1)*100;
DZ1:=获利>REF(获利,1) AND 获利>89;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI1:=EMA(EMA(EMA(CCI,2),2),2);
CCI2:=EMA(EMA(EMA(CCI,3),2),2);
DZ2:=CCI1>100;
T:=CLOSE1.0+LOW0.0+HIGH*0.0;
SL:=(T/REF(T,1)-1)*1000;
快:=XMA(XMA(XMA(SL,3),3),3);
慢:=XMA(XMA(XMA(SL,5),5),5);
X:=快-慢;
增速1:=X;
WWW:=REF(增速1,1)<0;
DZ4:=增速1>3 AND WWW;
选股:=DZ1 AND DZ2 AND DZ4;
STICKLINE(选股,40,150,2,0),COLORYELLOW;
DRAWTEXT(选股,120,'*暴张'),COLORRED;{金前瞻豪版};
短趋势:=((3SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1)-2SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1)-50)*1.032+50),COLORRED;
VARA2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VARA3:=LLV(LOW,34);
VAR4A:=HHV(HIGH,34);
长趋势:=EMA((VARA2-VARA3)/(VAR4A-VARA3)*100,13),COLOR00FF00;
判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)100,4)/10000))))5;
VAR5A:=CROSS(短趋势,长趋势)AND 长趋势<25;
底部Q:STICKLINE(短趋势<10 AND 判断底>0,0,-20,3,1)COLORGREEN;
DRAWICON(VAR5 AND 判断底>0,-10,1);
{财神买点M;1,100,1.04;N;1,100,60;}
MA13Q:=MA(C,13);
MA34Q:=MA(C,34);
MA55Q:=MA(C,55);
YY1:=O<MA13Q AND C>MA13Q;
YY2:=O<MA34Q AND C>MA34Q;
YY3:=O<MA55Q AND C>MA55Q;
YY4:=C/O>=M;
YY5:=V>HHV(H,10);
YY6:=MA13Q>=REF(MA13Q,1);
AQ:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;
STICKLINE(AQ,0,100,0.5,0),COLOR0000EE;
DRAWICON(AQ,160,1);
STICKLINE(AQ,0,60,1.5,0),COLORWHITE;
DRAWICON(AQ,130,25);
STICKLINE(AQ,0,40,2.5,0),COLORFF00EE;
DRAWICON(AQ,100,9);
STICKLINE(AQ,0,20,3.5,0),COLORYELLOW;
DRAWBMP(AQ,N1,'01');
DDYZ:=360;
S:=1;
CYY:=REF(HHV(H,DDYZ),S);
NYY:=REF(LLV(L,DDYZ),S);
HH1:=CYY-(CYY-NYY)*0.969;
LLVL:=REFDATE(HH1,DATE);
DDZYZ:=REFDATE(NYY,DATE);
BZZ:=BETWEEN(L,LLVL,DDZYZ+0.106) OR C<=DDZYZ ;
V1:=COUNT(BZZ,4);
V2:=(O-REF(C,1))/REF(C,1);
V3:=V2>=0.011;
爆富XG:IF(FILTER(V3 AND V1,15),100,0),COLORYELLOW,LINETHICK2;
爆富:DRAWTEXT(FILTER(V3 AND V1,15),100,'爆富'),COLORRED;
趋势:=3SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1)-2SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1);
见底:=10;
短期底部:IF(CROSS(趋势,见底),20,0)COLORYELLOW,LINETHICK2;
{筹码锁定}
VAR2C:=1/WINNER(CLOSE);
VAR3C:=MA(CLOSE,13);
VAR4C:=100-ABS((CLOSE-VAR3C)/VAR3C*100);
VAR5C:=LLV(LOW,75);
VAR6C:=HHV(HIGH,75);
VAR7C:=(VAR6C-VAR5C)/100;
VAR8C:=SMA((CLOSE-VAR5C)/VAR7C,20,1);
VAR9C:=SMA((OPEN-VAR5C)/VAR7C,20,1);
VARA4:=3VAR8C-2SMA(VAR8C,15,1);
VARB4:=3VAR9C-2SMA(VAR9C,15,1);
VARC4:=100-VARB4;
锁定筹码:= MA(WINNER(CLOSE0.95)100,3),COLORRED;
新庄建仓:= (100-IF(VAR2C>5,IF(VAR2C<100,VAR2C,VAR4C-10),0)),COLORYELLOW;
{STICKLINE(1,新庄建仓,100,0.1,0),COLORYELLOW;
STICKLINE(1,锁定筹码,0,0.1,0),COLORRED;}
VARD:=锁定筹码>VAR4C;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARFVOL+VARE(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15D:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15D<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
中轴线:=(IF(VAR23>=200 AND VAR22>=150,15,IF(VAR23<=-200 AND VAR22<=-150,-15,VAR25))+50),CROSSDOT,LINETHICK1,COLORGREEN;
有钱赚:=(VAR20,0,80,2,0),COLORRED;
我走啦:=(VARD,VAR4,锁定筹码,2,0),COLORFFF516;
STICKLINE(VAR20,0,60,0.8,0),LINETHICK1,COLORWHITE;
{STICKLINE(VARD,VAR4,锁定筹码,0.8,0),LINETHICK1,COLORFFF516;}
DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,60,'有钱不赚是傻蛋!'),COLORRED;
{DRAWTEXT(CROSS(VARD,0.5) AND COUNT(VARD=1,10)=1,70,'赚钱我走啦!'),COLORYELLOW;};
X_7:=CLOSE/REF(CLOSE,3)>=1.1;
X_8:=BACKSET(X_7,2);
红量选股:STICKLINE(X_8 AND COUNT(X_8,2)=1,50,0,3,0),COLORLIRED;
STICKLINE(X_8 AND COUNT(X_8,2)=1,40,0,2,1),COLORWHITE;
TJ:=DYNAINFO(4)>0
AND HHV(HIGH,10)/LLV(LOW,10)<1.25
AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)
AND CLOSE>OPEN
AND CLOSE>=HHV(HIGH,10);
放量突破:=IF(TJ,1,0);
STICKLINE(放量突破=1 ,0,57,5,0),COLORRED;
STICKLINE(放量突破=1 ,0,52,3,1),COLORYELLOW;
真阳或假阴:=C>O OR C>REF(C,1);
收阳:= REF(真阳或假阴,3);
倍数:=1.9;
倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
VOL1:=VOL*0.7;
STICKLINE(倍量, 0,20,1.5,0),COLORYELLOW;
STICKLINE(倍量, 0,35,0.5,0),COLORRED;
倍量1:=REF(倍量,3);
三日不破:= LLV(C,3)>=REF(L,3);
倍量将军柱:倍量1 AND 三日不破 AND 收阳;
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
DWN:=BBIBOLL-6*STD(BBIBOLL,11);
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/3)/1.15;
攻击:=((HSL0.55+(REF(HSL,1)0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
B1A:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL);
B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL);
B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL);
B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL);
B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL);
B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL);
B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);
B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL);
B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL);
B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL);
XG:=B1A AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9
AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;
DRAWICON(XG,-5,34);
WR2:EMA(-(HHV(HIGH,89)-CLOSE)10/(HHV(HIGH,89)-LLV(LOW,89))10,5)+60,COLORBLUE,LINETHICK1;
IF(WR2>REF(WR2,1),WR2,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(WR2>REF(WR2,1) AND REF(WR2,1)<REF(WR2,2),WR2,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
N4:=5;
VAR1Q:4SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))100,5,1)-
3SMA(SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2Q:8,COLORGREEN,LINETHICK0;
上升在即:= IF(CROSS(VAR1Q,VAR2Q),40,0),STICK,COLORYELLOW,LINETHICK8;
STICKLINE(上升在即,0,-20,1,0),COLORRED;
专吸庄血:= IF(VAR1Q<=8,-10,0),STICK,COLORWHITE,LINETHICK4;
DRAWTEXT(CROSS(VAR1Q,VAR2Q),-20,'买'),COLORRED;
V11:=3SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))150,5,1)-2SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))150,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*250;
准备买入:=STICKLINE(趋势线<11,趋势线,11,1,0),COLORYELLOW;
AAP:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<50;
BB0P:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<50;
BB1P:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);
BB2P:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);
BB3P:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);
BB4P:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);
BB5P:=REF(趋势线,1)<0 AND CROSS(趋势线,0);
BBP:=BB1P=1 OR BB2P=1 OR BB3P=1 OR BB4P=1 OR BB5P=1;
下单买入:STICKLINE(BBP=1 AND C<50,0,-35,0.6,0),COLORLIGREEN;
DRAWICON(BBP=1 AND C<50,-55,34);
DRAWTEXT(BB0P,160,'★买'),COLORRED;
DRAWTEXT(AAP,16,'准备买入'),COLORYELLOW;