主图(潜龙于渊)
{均线按个人习惯颜色显示}
NOTEXT年线:MA(C,250),COLOR3B2712;
NOTEXT六十线:EMA(C,60),COLOR1C124D;
NOTEXT二十:EMA(CLOSE,20),COLOR2080FF;
NOTEXT十三线:EMA(C,10),COLORYELLOW;
NOTEXT五日线:EMA(C,5),COLORWHITE;
涨停:=(C-REF(C,1))/REF(C,1);
STICKLINE(涨停>0.0989 AND 涨停<0.1998,IF(O=C,O*1.01,O),IF(O=C,O*1.015,C),3,0),COLOR2103A5;
STICKLINE(涨停>=0.1998,IF(O=C,O*1.01,O),IF(O=C,O*1.015,C),3,0),COLORWHITE;
{年涨停}
二十涨停:=CODELIKE(300) OR CODELIKE(301) OR CODELIKE(688);
十涨停:=NOT(二十涨停);
涨停A:=(C-REF(C,1))/REF(C,1);
涨停成功:=二十涨停 AND 涨停A>=0.1998;
涨停成功B:=十涨停 AND 涨停A>=0.0989;
年涨停数:FLOOR(SUM(涨停成功 OR 涨停成功B,YEAR)),NODRAW,COLOR2080FF;
N:=14;
NK:=250;MK:=150;
TMA1:=C/MA(C,60)*100<70;
TMA2:=C/MA(C,40)*100<80;
TMA3:=H>L*1.052;
TMA4:=TMA3 AND COUNT(TMA3,5)>1;
TMA5:=(C=L AND H=L);
TMA6:=TMA4 AND (TMA2 OR TMA1) AND NOT(TMA5);
TMA7:=C>O AND EXIST(TMA6,10) AND EMA(C,5)>REF(EMA(C,5),1);
TMA8:=TMA6 AND NOT(EXIST(TMA7,10)),NODRAW;
NOTEXT9B:=MAX(DMA(C,V/(3*CAPITAL)),DMA(C,V/CAPITAL));
NOTEXT9:=IF(PERIOD>=5,NOTEXT9B,DRAWNULL),DOTLINE,COLOR6C6C6C;
TVAR60:=FILTER(TMA7,15);
M天高点价:=HHV(C,NK),NODRAW;
高点天数:=BARSLAST(C=M天高点价),NODRAW;
M天低点价:=LLV(C,NK),NODRAW;
低点天数:=BARSLAST(C=M天低点价),NODRAW;
高峰涨幅%:=IF(低点天数>高点天数,(M天高点价-M天低点价)*100/M天低点价,0),NODRAW;
当前涨幅%:=(C-M天低点价)*100/M天低点价,NODRAW;
峰后防御期:=IF(低点天数>高点天数 AND 高峰涨幅%>70,高点天数<MK,0),COLORRED,NODRAW;
过峰过滤:=IF(峰后防御期 AND MA(C,60)<REF(MA(C,60),1) AND MIN(MA(C,5),MA(C,20))<NOTEXT9,EXIST(TVAR60,50),1);
{均线粘合过滤}{下方树柱引用:}
MA5:=EMA(C,5);
MA20:=EMA(C,10);
MA60:=EMA(C,20);
高线:=MAX(MA5,MAX(MA20,MA60));
低线:=MIN(MA5,MIN(MA20,MA60));
{钻石引用:}
均线间距:(高线-低线)*100/MIN(EMA(C,60),低线),NODRAW,COLOR2080FF;
间距控制:=IF(峰后防御期,均线间距<3,均线间距<5),NODRAW;
{钻石引用,柱子引用:}
站上均线:=C>高线;
粘合且站上:FLOOR(间距控制 AND 站上均线),NODRAW,COLORYELLOW;
{红钻}
VAR1:=EMA(SLOPE(1,2)+C,3);
VAR2:=EMA(SLOPE(1,2)+C,50);{50是可以设置成为参数的,但是很少去调,索性设置成默认值拉到}
VAR3:=CROSS(VAR1,VAR2) AND CLOSE/REF(CLOSE,1)>1.03;
VAR4:=EMA(C,20),COLORFF8080;
VAR5:=EMA(C,60),COLORFFFF00;
VAR6:=EMA(C,80),COLORFF00FF;
VAR7:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
VAR8:=VAR4>VAR5 AND VAR5>VAR6 AND VAR4>REF(VAR4,1);
VAR9:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,VAR7),VAR7);
VAR10:=H=HHV(H,VAR7);
VAR11:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
VAR12:=VAR8 AND VAR9 AND VAR10;
VAR13:=VAR8 AND VAR9 AND VAR10 AND VAR11;
VAR14:=VAR12 AND VAR13;
VAR16:=REF(CLOSE,1);
VAR17:=SMA(MAX(CLOSE-VAR16,0),6,1)/SMA(ABS(CLOSE-VAR16),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
VAR18:=CROSS(85,VAR17);
VAR34:=EXIST((VAR14 OR VAR18),60);
红钻条件:=VAR3 AND VAR34<>1 AND EMA(C,60)>REF(EMA(C,60),1) AND 过峰过滤;
DRAWICON(红钻条件,H*1.03,25);{红钻}{■}
{蓝钻}
VAR37:=MA(CLOSE,12);{12是可以设置成为参数的,但是很少去调,索性设置成默认值拉到}
VAR38:=VAR37+2*STD(CLOSE,10),COLORYELLOW;{10是可以设置成为参数的,但是很少去调,索性设置成默认值拉到}
VAR39:=MA(C,14),COLORCYAN;
VAR40:=CROSS(C,VAR38) AND (C-REF(C,1))*1000/REF(C,1)>70;
蓝钻条件:=VAR40 AND 过峰过滤;{不能加上粘合且站上条件}
DRAWICON(蓝钻条件,H*1.05,24);{蓝钻}{■}
DRAWTEXT ((蓝钻条件 OR 红钻条件) AND 粘合且站上,H*1.05,'←低粘'),COLORMAGENTA;
VAR60:=MA(CLOSE,10),COLORYELLOW;
MA54:=MA(CLOSE,54);
VAB1:=IF(NAMELIKE('S') OR NAMELIKE('*'), 5, 10);
VAR61:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
VAR62:=FILTER(VAR61,10);
VAR63:=BARSLAST(VAR62);
VAR64:=REF(HIGH,VAR63+2);
VAR65:=REF(HIGH,VAR63+1);
VAR66:=REF(HIGH,VAR63);
VAR67:=MAX(VAR64,VAR65);
VAR68:=MAX(VAR67,VAR66);
VAR69:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
VAR70:=VAR63<150;
VAR71:=(OPEN-VAR68)/VAR68*100<30;
VAR72:=(CLOSE-LLV(LOW,VAR63))/LLV(LOW,VAR63)*100<50;
VAR73:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
VAR74:=VOL/MA(VOL,5)<3.5;
VAR75:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
VAR76:=VAR69 AND VAR70 AND VAR71 AND VAR72 AND VAR73 AND VAR74 AND VAR75;
VAR77:=FILTER(VAR76,15);
VAB2:=REF(C,1);
VAR78:=(((CLOSE-MA54)/MA54)<0.1);
VAR79:=(((CLOSE-VAR60)/VAR60)<0.3);
VAR80:=(((VAR78=1) AND (VAR79=1))*0.2);
VAR81:=((((VAR80=0) AND (REF(VAR80,1)=0.2)) AND (REF((COUNT((VAR80=0.2),10)=10),1)=1))*-0.1);
VAR82:=VAR81=-0.1;
VAR83:=(VAR77 OR VAR82);
VAR84:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
VAR85:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股:=VAR83 AND C/REF(C,1)>1.095 AND VAR85 AND VAR84,NODRAW;
DRAWTEXT(妖股,L,'—妖'),COLORYELLOW;{妖股L,劲L*0.96,共振L*0.98,突破筹码L*0.98}
VAR87:=((CLOSE/REF(CLOSE,1))>=1.099);
VAR88:=(VOL/REF(VOL,1));
VAP1:=IF((C-VAB2)*100/VAB2>=(VAB1-0.01*100/VAB2) AND C=H,1,0);
龙头:=IF((((CLOSE/REF(CLOSE,1))>=1.07)AND (VAR88<1)),1,0),NODRAW;
DRAWTEXT((龙头=1),L,'龙'),COLOR00FFFF;
VAR89:=(HIGH+LOW+CLOSE)/3;
VAP2:=BARSLAST(VAP1);
VAR90:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VAR91:=IF(CAPITAL=0,VAR90*(VAR89-MIN(CLOSE,OPEN)),VAR90*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
VAR92:=IF(CAPITAL=0,VAR90*(MIN(OPEN,CLOSE)-LOW),VAR90*IF(HIGH=LOW,1,(VAR89-MIN(CLOSE,OPEN))));
VAR93:=IF(CAPITAL=0,VAR90*(HIGH-MAX(OPEN,CLOSE)),VAR90*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
VAR94:=IF(CAPITAL=0,VAR90*(MAX(CLOSE,OPEN)-VAR89),VAR90*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-VAR89)));
VAR95:=((VAR91+VAR92)-(VAR93+VAR94))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
VAR96:=SMA(IF(C>=REF(C,1),VAR95,-VAR95/100),2,1);
VAR97:=SMA(VAR96*120/FROMOPEN*5,2,1);
VAR98:=SMA(VAR97,5,1);
VAR99:=SMA(VAR98,5,1);
VAR100:=CURRBARSCOUNT=1 AND C<REF(C,1);
VAR101:=REF(VAR96,1)-VAR100;
VAR102:=(VAR96*1.01-REF(VAR96,1));
VAR103:=(REF(VAR96*1.01,1)-REF(VAR96,2));
VAR104:=VAR102>3*ABS(VAR103);
VAR105:=EMA(VAR96,15);
VAR106:=COST(85);
VAR107:=COST(15);
VAR108:=VAR106-VAR107;
VAR109:=(VAR106+VAR107)/2;
VAR110:=VAR108/VAR109*100<30,LINETHICK0;
VAR111:=IF(VAR110,8,0),NODRAW,COLORWHITE;{■8}
VAR112:=HHV(HIGH,250);
VAR113:=LLV(LOW,250);
VAR114:=VAR112-VAR113;
VAR115:=(VAR109-VAR113);
VAR116:=VAR109<(VAR114*04+VAR113),LINETHICK0;
VAR117:=C/REF(C,1)>1.04;
VAR118:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
VAR119:=VAR118>=75 AND C>0 AND CLOSE>OPEN;
VAR120:=VAR119 AND VAR116 AND VAR115 AND WINNER(C)>=0.90 AND VAR117,NODRAW;
VAR121:=WINNER(C)>=0.90,COLORRED;
VAR148:=LLV(LOW,21);
VAR149:=HHV(HIGH,21);
VAR137:=EMA((((CLOSE - VAR148) / (VAR149 - VAR148)) * 100),5);
VAR138:=EMA((((CLOSE - VAR148) / (VAR149 - VAR148)) * 50),13);
DRAWTEXT(FILTER(WINNER(C)>=0.90,30) AND VAR120=0,L*0.98,'突'),COLORGREEN;
DRAWTEXT(FILTER(VAR120,30),L*0.98,'突!!'),COLORGREEN;
突破:=IF(VAR120,10,IF(VAR121,9,0)),NODRAW,COLORWHITE;
选股强:=(蓝钻条件 AND 妖股 AND 突破) OR (蓝钻条件 AND 龙头 AND 突破),COLORMAGENTA;
选股:=(蓝钻条件 AND 妖股) OR (妖股 AND 突破) OR (蓝钻条件 AND 龙头) OR (蓝钻条件 AND 突破),COLORWHITE;
DRAWICON(选股,H*1.07,29);
DRAWICON(选股强,H*1.07,30);
DRAWICON(选股强,H*1.03,25);
前买:=蓝钻条件 OR 红钻条件;
前买天数:=BARSLAST(前买);
前卖:=VAR14 OR VAR18;
前买无卖:=EXIST(前卖<>0,前买天数),NODRAW,COLORWHITE;
DRAWTEXT(VAR14,HIGH*1.025,'卖'),COLORGREEN;
DRAWTEXT(VAR18,HIGH*1.01,'减'),COLOR0078FF;
VAR48:=REF(CLOSE,1);
VAR49:=((SMA(MAX((CLOSE - VAR48),0),5,1) / SMA(ABS((CLOSE - VAR48)),5,1)) * 100);
VAR50:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
VAR51:=SMA(VAR50,3,1);
VAR52:=SMA(VAR51,3,1);
VAR53:=(((VAR52/2) + 40)*1.1);
VAR139:=CROSS(VAR137,VAR138);
VAR140:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR141:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR140>0),91,0);
落袋为安:=CROSS(SMA(VAR53,3,1),VAR49),NODRAW,COLORWHITE;
落袋个数:=SUM(落袋为安,前买天数),NODRAW,COLORWHITE;
DRAWTEXT(前买无卖 AND 落袋个数 AND REF(落袋个数,1)=0,H*1.01,'卖'),COLOR1A0083;
VAR123:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
VAR124:=REF(CLOSE,1);
VAR135:=C-REF(C,1);
VAR136:=100*EMA(EMA(VAR135,6),6)/EMA(EMA(ABS(VAR135),6),6);
卖:=IF(HHV(VAR136,2)=HHV(VAR136,7) AND COUNT(VAR136>50,2) AND CROSS(MA(VAR136,2),VAR136),1,0);
DRAWTEXT(FILTER(卖=1,1),HIGH*1.01,'__卖'),COLOR0078FF;
副图一(金蝉出洞)
YX:=C<O;
ZGJ:=HHV(H,0);
ZD:=LLV(L,60);
DWTS:=YX AND COUNT(YX,0)=4;
TS:=BARSLAST(DWTS);
SJ:=INTPART(TS/6);
ZQ:=BARSLASTCOUNT(SJ=REF(SJ,1))=5;
TJ11:=(DWTS OR ZQ) AND TS>=0;
FB:=C=ZTPRICE(REF(C,1),0.1);
MB:=H=ZTPRICE(REF(C,1),0.1) AND C<H;
FB20:=C=ZTPRICE(REF(C,1),0.2);
CMB:=H=ZTPRICE(REF(C,1),0.2) AND C<H;
STICKLINE(FB,C,O,2,0),COLORYELLOW;
STICKLINE(MB,C,O,2,0),COLORMAGENTA;
STICKLINE(FB20,C,O,2,0),COLORRED;
STICKLINE(CMB,C,O,2,0),COLORWHITE;
ZDJ:=C=LLV(C,60);
DW:=BARSLAST(ZDJ),NODRAW,COLORRED;
CD60:=CONST(REF(C,DW)),COLORGREEN;
TJ:=BETWEEN(DW,1,60) AND C/REF(C,1)>1.043;
拐点:=TJ AND COUNT(TJ,DW)=1;
STICKLINE(拐点, ZGJ,ZD,0.3,1);
GDTS:=BARSLAST(拐点),NODRAW,COLORRED;
拐点价:=CONST(REF(C,GDTS)),COLORRED;
LJD:=C=LLV(C,GDTS);
LJTS:=BARSLAST(LJD);
MD:=LJTS=1 AND C>REF(C,LJTS) AND H>L;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
M1:=COUNT(MD,GDTS)=1;
D1:=BARSLAST(M1 AND MD);
M2:=COUNT(MD,GDTS)=2;
D2:=BARSLAST(M2 AND MD);
M3:=COUNT(MD,GDTS)=3;
D3:=BARSLAST(M3 AND MD);
M4:=COUNT(MD,GDTS)>3;
C1:=REF(C,D1);
C2:=REF(C,D2);
C3:=REF(C,D3);
G1:=MAX(C1,C2);
G2:=MAX(G1,C3);
GJ1:=IF(M1,C1,0);
GJ2:=IF(M2,G1,0);
GJ3:=IF(M3,G2,0);
GJ:=GJ1 + GJ2 + GJ3;
地平线:CONST(GJ),COLORMAGENTA;
JCCD:=C>=地平线 AND C/REF(C,1)>1.043;
CDTJ:=COUNT(JCCD,GDTS)=1 AND JCCD ;
DRAWTEXT(CDTJ,1.03*H,'金蝉出洞'),COLORYELLOW;
DRAWTEXT(BARSLASTCOUNT(M4)=1,0.97*L,'挖洞捕蝉'),COLORWHITE;
DRAWICON(CDTJ,0.99*L,29);
DRAWICON(BARSLASTCOUNT(M4)=1,L,9);
CDTS:=BARSLAST(CDTJ);
FXJ:=CONST(REF(C,CDTS));
FXX:=IF(M4 OR CDTS>GDTS,0,FXJ);
起飞线:CONST(FXX),COLORGREEN;
副图二(妖股起爆)
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA40:=MA(CLOSE,40);
MA60:=MA(CLOSE,60);
MA80:=MA(CLOSE,80);
MA90:=MA(CLOSE,90);
MA100:=MA(CLOSE,100);
MA120:=MA(CLOSE,120);
MA200:=MA(CLOSE,200);
MA250:=MA(CLOSE,250);
MA360:=MA(CLOSE,360);
TJ1:=(MA20>=MA90 OR EMA(C,20)>=MA90 OR MA(CLOSE,12)>MA(CLOSE,26)) AND (((C/REF(C,1)-1)*100>=8.5 AND H/C<1.015 AND V>1.8*REF(V,1))) AND C/LLV(C,10)<1.3 AND C/HHV(H,30)>=0.9;
TJ2:=(MA20>=MA90 OR EMA(C,20)>=MA90 OR (MA(CLOSE,12)>MA(CLOSE,26) AND V>1.8*REF(V,1))) AND ((C/REF(C,1)-1)*100>=9.5 AND H=C) AND ((MA20>=REF(MA20,1) AND MA10>=REF(MA10,1) AND MA5>=REF(MA5,1)) AND V>1.5*REF(V,1)) AND C/LLV(C,10)<1.3 AND C/HHV(H,30)>=0.9;
XA:=(TJ1 OR TJ2) AND COUNT((TJ1 OR TJ2),BARSLAST(CROSS(MA20,MA5)))<=1;
DRAWTEXT(XA,50,'-------起爆点'),COLORMAGENTA;
STICKLINE(XA,40,20,3.5,0),COLORA8A8A8;
STICKLINE(XA,50,49,1.7,0),COLORA8A8A8;
STICKLINE(XA,49,48,1.9,0),COLORA8A8A8;
STICKLINE(XA,48,47,2.1,0),COLORA8A8A8;
STICKLINE(XA,47,46,2.3,0),COLORA8A8A8;
STICKLINE(XA,46,45,2.5,0),COLORA8A8A8;
STICKLINE(XA,45,44,2.7,0),COLORA8A8A8;
STICKLINE(XA,44,43,2.9,0),COLORA8A8A8;
STICKLINE(XA,43,42,3.1,0),COLORA8A8A8;
STICKLINE(XA,42,41,3.3,0),COLORA8A8A8;
STICKLINE(XA,41,40,3.5,0),COLORA8A8A8;
STICKLINE(XA,101,96,0.1,0),COLORWHITE;
STICKLINE(XA,96,92,0.3,0),COLORWHITE;
STICKLINE(XA,92,88,0.6,0),COLORWHITE;
STICKLINE(XA,88,84,0.9,0),COLORWHITE;
STICKLINE(XA,84,80,1.2,0),COLORWHITE;
STICKLINE(XA,80,50,1.4,0),COLORWHITE;
STICKLINE(XA,74,70,0.6,0),COLORRED;
STICKLINE(XA,65,64,1.5,0),COLORBLUE;
STICKLINE(XA,51,49,1.5,0),COLORBLUE;
STICKLINE(XA,49,25,1.5,0),COLORWHITE;
STICKLINE(XA,25,20,1.3,0),COLORRED;
STICKLINE(XA,20,13,1,0),COLORRED;
STICKLINE(XA,13,7,0.7,0),COLORRED;
STICKLINE(XA,7,1,0.3,0),COLORRED;
STICKLINE(XA,1,(-7),0.1,0),COLORRED;
STICKLINE(XA,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(XA,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(XA,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(XA,60,55,0.5,0),COLORRED;
STICKLINE((TJ1 OR TJ2) AND COUNT((TJ1 OR TJ2),BARSLAST(CROSS(MA20,MA5)))<=1 ,80,100,1,0),COLORRED;
斩妖刀(选股器)
A1:=(C-REF(C,1))/REF(C,1)*100;
AB:=REF(A1,2)<0 AND REF(C<O,2);
A3:=REF(A1,1)>=3;
斩妖刀:CROSS(C,MA(C,55)) AND A1>=3 AND A3 ;
miui.uk免费
@dfdsdf 那里是原创出处,这里是保存记录留存的。用微信小程序可以直接看到,也不是收费的😄