当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:波段天机界点,神算子,短线爆发

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

波段天机界点:

集暴涨买点决策 和 短线背离操盘界点 于一身。
 
N:=12;
MA5:MA(C,5);
MA6:=MA(C,6);
MA10:MA(C,10);
MA20:MA(C,20);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
A2:=REF(MA20,1);
J1:=(MA20-A2)/A2*100;
MJ1:=MA(J1,3);
MA30:MA(C,30);
MA55:MA(C,60);
MA120:MA(C,120);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
乖离2:=(MA20-MA30)/MA30*100;
VAR1:=IF(BETWEEN(乖离2,-2,5),2,0);
MAX1:=MAX(MA20,MA30);
MAX2:=MAX(MAX1,MA55);
MIN7:=MIN(MA20,MA30);
MIN2:=MIN(MIN7,MA55);
K1:=(MAX2/MIN2-1)*100;
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;
STICKLINE(BU,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;
VAR2:=IF(K1<=8,1,0);
上火车轨:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA20-MA30>REF((MA20-MA30),1);
STICKLINE(上火车轨,MA20,MA30,0,0),COLORRED;
主力:EMA(CLOSE,10),COLORRED;
散户:EMA(CLOSE,5),COLORWHITE;
神枪手:=DRAWTEXT(FILTER(上火车轨 AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",
1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND
( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5),L*0.98,'←神枪手');
神枪手选股:=FILTER(上火车轨 AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",
1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND
( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5);
绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2;
界点:MA(CLOSE,20),COLORMAGENTA;
短线暴涨:DRAWTEXT(FILTER( (VAR1 OR VAR2) AND MA10>REF(MA10,1) AND COUNT(MA30>REF(MA30,
1),3)=3 AND MA30>MA55 AND COUNT(CROSS(MA5,MA30),3) AND J1>MJ1 AND MA(V,5)>MA(V,
60) AND MA(V,60)>REF(MA(V,60),1),5),MA55*0.99,'短线暴涨'),COLORRED;
DRAWTEXT(CROSS("KDJ.K"(5,2,3),"KDJ.D"(5,2,3)) AND "KDJ.D"(5,2,
3)<30 AND J1>MJ1 AND MA55>REF(MA55,1) AND COUNT(J1<1,3)>=1,L*0.995,'←买入'),COLORYELLOW;
DRAWTEXT(CROSS("KDJ.D"(5,2,3),"KDJ.K"(5,2,3)) AND "KDJ.D"(5,2,
3)>65 AND J1<MJ1 AND COUNT(J1>1,3)>=1,H*1.005,'←卖出'),COLORGREEN;
DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,
6)>60 AND "KDJ.J"(45,15,15)>90,H*1.03,'←顶'),COLORRED;
DRAWTEXT(CROSS(MA5,MA6) AND "KDJ.K"(5,3,3)>=50 AND "KDJ.J"(5,
3,3)<31 ,L*0.92,'←再买'),COLORMAGENTA;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLOR0000FF;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'买点');
DRAWTEXT((XL3 > 0),(LOW - 0.2),'绝对底部');
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
X9:=FILTER(X8,4);
DRAWTEXT((B1 = 1),(LOW - 0.6),'跟进'),COLORYELLOW;
DRAWTEXT((B2 = 1),(LOW - 0.6),'加码'),COLORFFAAFF;
WWW58188COM:=(C-EMA(C,21))/EMA(C,21)*100;
DRAWTEXT(X9,(HIGH * 1.02),'出货'),COLOR9000F5;
STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW;




神算子:

可以设为主图或者副图

 
DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'BJ1',0);
N:=120;
K:=BARSLAST(CURRBARSCOUNT=N);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0)),NODRAW;{高点}
DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0)),NODRAW;{低点}
KJ:=GD-DD;{高低点差值=分区高度}
GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);
高区:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLORRED,LINETHICK2,NODRAW;
低区:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,LINETHICK2,NODRAW;
平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;
低:IF(CURRBARSCOUNT<=N/2,DD,DRAWNULL),COLORFFFF00;
高:IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL),COLOR00FFFF;
支撑:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),COLOR00FFFF;
强势: IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL),COLORFF00FF;
突破:IF(CURRBARSCOUNT<=N/2,DD+KJ/2,DRAWNULL),COLOR0000FF;
警示:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),COLOR00FFFF;
压力:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL),COLOR00FF00;
低涨:IF(CURRBARSCOUNT<=N/2,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;
天数:BARSLAST(L=DD),COLORCYAN,NODRAW;
顶点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,CROSSDOT,NODRAW;
低点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,CROSSDOT,NODRAW;
STICKLINE(CCI>=200 AND H>=顶点,O,C,2,0),COLORBLUE;
STICKLINE(CCI<=100 AND L<=低点,O,C,2,0),COLORYELLOW;
DRAWBAND(高区,RGB(0,0,0),平衡,RGB(0,0,0));
DRAWBAND(平衡,RGB(0,0,0),低区,RGB(0,0,0));
DRAWBAND(高,RGB(120,100,0),压力,RGB(0,0,0));
DRAWBAND(压力,RGB(258,58,0),警示,RGB(0,0,0));
DRAWBAND(警示,RGB(128,58,0),突破,RGB(0,0,0));
DRAWBAND(突破,RGB(68,0,0),强势,RGB(0,0,0));
DRAWBAND(强势,RGB(38,0,0),支撑,RGB(0,0,0));
DRAWBAND(支撑,RGB(38,38,38),低,RGB(0,0,0));
STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,0),COLOR408080,NODRAW;
STICKLINE(CURRBARSCOUNT<=N/2,支撑,支撑,2,0),COLOR1E1E1E;
STICKLINE(CURRBARSCOUNT<=N/2,强势,强势,2,0),COLOR1E1E1E;
STICKLINE(CURRBARSCOUNT<=N/2,突破,突破,2,0),COLOR1E1E1E;
STICKLINE(CURRBARSCOUNT<=N/2,警示,警示,2,0),COLOR1E1E1E;
STICKLINE(CURRBARSCOUNT<=N/2,压力,压力,2,0),COLOR1E1E1E;
DRAWTEXT(CURRBARSCOUNT=10,压力,'压力-0.809'),COLOR00FFFF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=10,警示,'警示-0.618'),COLOR00FFFF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=10,突破,'突破-0.500'),COLOR00FFFF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=10,强势,'强势-0.382'),COLOR00FFFF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=10,支撑,'支撑-0.191'),COLOR00FFFF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.09,'【风险区】--高抛避险'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.3,'【警示区】--逢高减仓'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.45,'【突破区】--主力拉升'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.55,'【拉升区】--强势畜锐'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/3,'【关注区】--逢低买入'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/10,'【低吸区】--大胆买入'),COLORFFFFFF;
第一防线:REFDATE(低,DATE),DOTLINE,COLORYELLOW,NODRAW;
第二防线:REFDATE(支撑,DATE),DOTLINE,COLORWHITE,NODRAW;
{今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299;}
DRAWKLINE(H,O,L,C);
AHC1:=CLOSE*VOL;
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
上轨:=1.06*AHC22,COLOR40FF00,LINETHICK1;
下轨:=AHC22*0.94;
{STICKLINE(上轨>下轨,上轨,下轨,5,0),COLOR555555;}
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
启爆:=CROSS(C,上轨) OR CROSS(C,下轨) AND ZT;
DRAWTEXT(启爆,L,'启爆'),COLORCYAN;
STICKLINE(启爆,C,O,3,1),COLORWHITE;
STICKLINE(启爆,C,O,1,0),COLORGREEN;
STICKLINE(C>=O ,HIGH,LOW,0,1 ),COLORRED; 
STICKLINE(C>=O ,OPEN,CLOSE,3.1,0 ),COLOR000033;
STICKLINE(C>=O,OPEN,CLOSE,2.7,0 ),COLOR000066; 
STICKLINE(C>=O ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE(C>=O ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(C>=O ,OPEN,CLOSE,0.9,0 ),COLOR0000FF;
STICKLINE(C>=O ,OPEN,CLOSE,0.3,0 ),COLORCC66FF;
STICKLINE(C<O ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(C<O ,OPEN,CLOSE,3.1,0 ),COLOR990000;
STICKLINE(CLOSE<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000; 
STICKLINE(CLOSE<O ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
STICKLINE(CLOSE<O ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(CLOSE<O ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
STICKLINE(CLOSE<O ,OPEN,CLOSE,0.3,0 ),COLORCYAN;
CC:IF(CURRBARSCOUNT<18,CONST(REF(C,1)),DRAWNULL),COLOR000000,NODRAW;
止赢:1.05*CC,COLORMAGENTA,LINETHICK1;
{顶尖财经 股票学院: http://www.58188.com }
DRAWTEXT(ISLASTBAR,止赢,'止赢'),LINETHICK1;
止损:0.97*CC,COLORYELLOW,LINETHICK1;
DRAWTEXT(ISLASTBAR,止损,'止损'),LINETHICK1;
DRAWNUMBER(ISLASTBAR ,C,C),COLORWHITE;
AAA:=CONST(HHV(H,50));PL5:=HHV(H,45); 
F:=100*(C-REF(C,1))/REF(C,1);
博尔:=IF(C<REF(O,1) AND F<0,1,0);
P1:=博尔;
量化:=IF(C<REF(O,2) AND F<0,1,0);
P2:=量化;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLOR0055FF;
操作30日均线:EMA(C,30),COLORYELLOW,LINETHICK4;
红升:IF(操作30日均线>REF(操作30日均线,1),操作30日均线,DRAWNULL),COLORRED,LINETHICK4;
绿降:IF(操作30日均线<REF(操作30日均线,1),操作30日均线,DRAWNULL),COLOR009300,LINETHICK4;
趋势55日线:EMA(C,55),COLORYELLOW,LINETHICK1,NODRAW;
红升4:IF(趋势55日线>REF(趋势55日线,1),趋势55日线,DRAWNULL),COLOR0080FF,LINETHICK1;
绿降4:IF(趋势55日线<REF(趋势55日线,1),趋势55日线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1;
年线:EMA(C,250),COLORYELLOW,LINETHICK1,NODRAW;
年红升:IF(年线>REF(年线,1),年线,DRAWNULL),COLOR8000FF,LINETHICK1;
年绿降:IF(年线<REF(年线,1),年线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1;




短线爆发:

{公式名称: 短线五色爆发}
VAR1:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));
VAR2:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);
VAR3:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.025 AND CLOSE/REF(CLOSE,1)<1.098;
VAR4:=HIGH-MAX(CLOSE,OPEN)>0.03 AND HIGH-MAX(CLOSE,OPEN)<1;
VAR6:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7;
VAR7:=COUNT(EVERY(CLOSE<REF(CLOSE,1),3),3)=1 OR COUNT(EVERY(CLOSE<REF(CLOSE,1),2),2)=1;
VAR8:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3));
VAR9:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,4)>REF(OPEN,4));
VAR10:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;
VAR11:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(LOW,MA(CLOSE,10)) AND CROSS(LOW,MA(CLOSE,60)) AND CLOSE>MA(CLOSE,20);
VAR12:=CLOSE>MA(CLOSE,5) OR CROSS(CLOSE,MA(CLOSE,5)) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20);
VAR13:=REF(CLOSE,1)/REF(CLOSE,7)<1.05;
VAR14:=OPEN/REF(CLOSE,1)<1.03;
VAR15:=VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR6;
VAR16:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,60)) AND OPEN>=MA(CLOSE,10) AND OPEN>=MA(CLOSE,20) AND VAR6 AND VAR3 AND VAR4;
VAR17:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR CROSS(CLOSE,MA(CLOSE,5));
VAR18:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND OPEN>MA(CLOSE,20);
VAR19:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.095) AND OPEN>MA(CLOSE,60);
VAR20:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.01) AND OPEN>MA(CLOSE,20);
VAR21:=CLOSE/REF(CLOSE,1)>1.04;
VAR22:=VAR17 AND VAR18 AND VAR7 AND VAR19 AND VAR6 AND VAR20 AND VAR21 AND CLOSE>OPEN;
VAR23:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) AND OPEN>MA(CLOSE,60);
VAR24:=REF(CLOSE/REF(CLOSE,1)<1 AND CLOSE/REF(CLOSE,1)>0.93,1);
VAR25:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.04) AND OPEN>MA(CLOSE,20);
VAR26:=CLOSE/REF(CLOSE,1)>=1.097 AND VAR7 AND VAR23 AND VAR24;
VAR27:=REF(CLOSE,1)/REF(CLOSE,2)<=0.9 AND CLOSE/REF(CLOSE,1)>=1.097 AND VAR25;
VAR28:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR29:=CLOSE/REF(CLOSE,1)>1.097;
VAR30:=VAR28 AND VAR29;
VAR31:=VAR26 AND VAR14 OR (VAR27 AND VAR14) OR (VAR30 AND VAR14);
VAR32:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR33:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>0.1 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.07 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.04;
VAR34:=REF(CLOSE,1)<MA(CLOSE,60) AND REF(CLOSE,2)<MA(CLOSE,60) AND REF(CLOSE,3)<MA(CLOSE,60);
VAR35:=VAR32 AND VAR33 AND VAR34 AND CLOSE/REF(CLOSE,1)<1.097;
VAR36:=VAR11 OR VAR12;
VAR37:=HIGH-MAX(CLOSE,OPEN)>0.1 AND HIGH-MAX(CLOSE,OPEN)<3;
VAR39:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.1);
VAR40:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.03);
VAR41:=REF(CLOSE,1)/REF(CLOSE,2)<1.04;
VAR42:=NOT(LOW>REF(HIGH,1));
VAR43:=CLOSE/REF(CLOSE,1)>1.03;
VAR44:=VAR36 AND VAR37 AND VAR39 AND VAR40 AND VAR41 AND VAR42 AND VAR43 AND VAR9 AND VAR10 AND VAR13 AND VAR14;
VAR45:=BETWEEN(LOW,MA(CLOSE,60)*1,MA(CLOSE,60)*1.1) AND OPEN>MA(CLOSE,60);
VAR46:=LOW>REF(HIGH,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.024 AND VAR45 AND VAR8 AND VAR14;
VAR47:=LOW>REF(HIGH,1) AND CROSS(CLOSE,MA(CLOSE,60)) AND CLOSE/REF(CLOSE,1)>1.024 AND CLOSE>OPEN AND VAR8 AND VAR14;
VAR48:=VAR46 OR VAR47;
VAR49:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
VAR50:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>=0.01 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15;
VAR52:=COUNT(CLOSE<OPEN,5)>=3;
VAR53:=CLOSE/REF(CLOSE,1)>=1.027;
VAR54:=VAR49 AND VAR50 AND VAR52 AND VAR53 AND VAR2;
VAR55:=COUNT(CLOSE<OPEN,7)>=4 OR EVERY(CLOSE<REF(CLOSE,1),3);
VAR56:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;
VAR57:=CLOSE/REF(CLOSE,1)>1.03;
VAR58:=CLOSE>MA(CLOSE,60);
VAR59:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) OR CROSS(CLOSE,MA(CLOSE,60));
VAR60:=VAR55 AND VAR56 AND VAR57 AND VAR58 AND VAR59;
VAR61:=CLOSE<MA(CLOSE,60);
VAR62:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));
VAR63:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.1 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;
VAR64:=CLOSE/REF(CLOSE,1)>1.05;
股票学校:=VAR61 AND VAR62 AND VAR63 AND VAR64;
VAR65:=VAR61 AND VAR62 AND VAR63 AND VAR64;
VAR66:=(REF(CLOSE,7)-REF(CLOSE,1))/REF(CLOSE,1)>=0.05;
VAR67:=COUNT(CLOSE<OPEN,7)>=3;
VAR68:=CLOSE/REF(CLOSE,1)>1.05;
VAR69:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;
VAR70:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
VAR71:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));
VAR72:=CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) AND CLOSE<MA(CLOSE,60);
VAR73:=CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,60);
VAR74:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CLOSE>MA(CLOSE,60);
VAR75:=VAR70 OR VAR71 OR VAR72 OR VAR73 OR VAR74;
VAR76:=OPEN=CLOSE AND CLOSE=HIGH AND LOW<CLOSE;
VAR77:=REF(CLOSE,1);
VAR78:=IF(NAMELIKE(1) OR NAMELIKE(2),CLOSE>=VAR77*1.049,CLOSE>=VAR77*1.094) AND LOW=HIGH;
VAR79:=VAR66 AND VAR67 AND VAR68 AND VAR69 AND VAR75 AND NOT(VAR76) AND NOT(VAR78) AND VAR14;
短线爆发:VAR15 OR VAR16 OR VAR22 OR VAR31 OR VAR35 OR VAR44 OR VAR48 OR VAR54 OR VAR60 OR VAR65 OR VAR79,COLORRED,LINETHICK2;
VAR123:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND COUNT(CLOSE>MA(CLOSE,10),4)>=3 AND COUNT(CLOSE/REF(CLOSE,1)>1.05,5)>0 AND VOL>REF(VOL,1)*1 AND HIGH>REF(HIGH,1)*1;
VAR124:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60);
VAR125:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND CROSS(CLOSE,MA(CLOSE,60)) AND CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10));
VAR126:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);
VAR127:=VAR123 AND VAR124 AND VAR126;
VAR128:=VAR123 AND VAR125;
突破:VAR127 OR VAR128,COLORYELLOW;

上一篇:通达信源码:火车头,组合公式 ZW_小妖+BOLL,突破买入

下一篇:通达信公式下载:极品OBV,四量图,主力清洗,阶段寻底