【股票指标公式下载】-【通达信】股海扬帆(抄底介入、抄底)
【股票指标公式下载】-【通达信】股海看量(外盘、内盘、市盈率)
【通达信】股海看量(外盘、内盘、市盈率)-指标公式源码实际V: VOL,LINETHICK0 ;外盘: DYNAINFO(23),LINETHICK0 ;内盘: DYNAINFO(22),LINETHICK0 ;TT:=240/FROMOPEN;比:=TT;昨V:=REF(V,1);预比昨:实际V*TT/昨V,LINETHICK0;市盈率 :DYNAINFO(39) ;换:V/CAPITAL*100,LINETHICK0;百日总:=SUM(V,100);百日换:百日总/CAPITAL*100,LINETHICK0;WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);买卖差:=买盘-卖盘;STICKLINE(C>=O,0,买盘+卖盘,2.8,1),COLORRED;STICKLINE(C<O,0,买盘+卖盘,2.8,1),COLORFFFF00;STICKLINE(买卖差>=0,0,买盘,2.5,0),COLORRED;STICKLINE(买卖差>=0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED;STICKLINE(买卖差>=0,0,卖盘,1.1,0),COLOR998800;STICKLINE(买卖差>=0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00; STICKLINE(买卖差<0,0,买盘,2.5,0),COLORRED;STICKLINE(买卖差<0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED; STICKLINE(买卖差<0,0,卖盘,1.1,0),COLOR998800;STICKLINE(买卖差<0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00; STICKLINE(1,0,MAX(买盘,卖盘),0,0),COLORFFFFFF;进出量:=买卖差;红天3:=COUNT(进出量>0,3)=3;DRAWICON(红天3,-400 ,1);【通达信】股海看量(外盘、内盘、市盈率)-指标公式效果图(文档来源:若水财经社区)。
通达信成功率高的选股指标公式
通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。
通达信指标公式源码 波段抄底
DRAWGBK(O>C,RGB(0,78,188),RGB(255,158,255),0,'01',0); {买卖决策}TYP:=(H+L+C)/3;LC:=REF(C,1);{NO.1}VAR001:=(TYP-MA(TYP,15))/(0.016*AVEDEV(TYP,15));VAR002:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;B001:=IF(CROSS(VAR001,-150),1,0);S001:=IF(CROSS(80,VAR002),1,0);{NO.2}VAR003:=EMA(100*(C-LLV(L,31))/(HHV(H,31)-LLV(L,31)),3)/4; B002:=IF(VAR003<1,1,0);S002:=IF(VAR003>23,1,0);{NO.3}VAR004:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;VAR005:=EMA(VAR004,3);VAR006:=EMA(VAR005,3);VAR007:=(3*VAR005-2*VAR006);VAR008:=REF(COUNT(VAR007<REF(VAR007,1),5)>=3,1) AND REF(VAR007,1)<20;VAR009:=VAR007>REF(VAR007,1);B003:=IF(FILTER(VAR008 AND VAR009,3),1,0);{NO.4}VAR010:=AMOUNT/VOL/1000;VAR011:=(3*H+L+O+2*C)/7;VAR012:=SUM(AMOUNT,13)/VAR010/1000;VAR013:=DMA(VAR011,VOL/VAR012);VAR014:=(CLOSE-VAR013)/VAR013*1000;B004:=IF(CROSS(VAR014,-166),1,0);B005:=IF(CROSS(VAR014,-120),1,0);B006:=IF(CROSS(VAR014,-88),1,0);{NO.5}VAR015:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));VAR016:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));VAR017:=IF(VAR015>=150 AND VAR015<200 AND VAR016>=150 AND VAR016<200,100,0);VAR018:=0-IF(VAR016>=200,200,VAR017)+400;S003:=IF(VAR018=300,1,0);{NO.6}VAR019:=DMA((3*H+L+O+2*C)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/1 000)/1000));B007:=IF(CROSS((C-VAR019)/VAR019*1000,-166),1,0);{NO.7}VAR020:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;VAR021:=SMA(VAR020,2,1);B008:=IF(VAR021<10,1,0);{NO.8}VAR022:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),5)/SUM(IF(TYP<REF(TYP,1), TYP*VOL,0),5);MFI:=IF(CROSS(100-(100/(1+VAR022)),20),1,0);RSI:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;B009:=IF(MFI,1,0);B010:=IF(CROSS(RSI,20),1,0);{NO.9}VAR023:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1 ));VAR024:=REF(C,VAR023+1)>C ANDREF("RSI.RSI1"(6,12,24),VAR023+1)<"RSI.RSI1"(6,12,24) ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));VAR025:=IF(VAR024>0,1,0);B011:=IF(VAR025,1,0);{NO.10}VAR026:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));VAR027:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));VAR028:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR029:=100-ABS(VAR028);VAR030:=IF(BARSCOUNT(C)<13,100,IF(VAR029<88 AND VAR028>0,1,0)); VAR031:=IF(BARSCOUNT(C)<13,-100,0-IF(VAR029<92 AND VAR028<0,1,0)); VAR032:=IF(BARSCOUNT(C)<70,1,IF(VAR027>=200 ANDVAR026>=150,1,0));B012:=IF(VAR031,1,0);S004:=IF(VAR030,1,0);S005:=IF(VAR032,1,0);{NO.11}VAR033:=SMA(MAX(C-LC,0),4.1,1)/SMA(ABS(C-LC),4.1,1)*100;VAR034:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA ((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);B013:=IF(CROSS(VAR033,11)*80,1,0);B014:=IF(CROSS(VAR034,3),1,0);B015:=IF(VAR034<=3,1,0);B016:=IF(VAR034<5,1,0);B017:=IF(VAR034<7,1,0);{NO.12}VAR035:=AMOUNT/VOL;VAR036:=L<VAR035*0.9;VAR037:=(C-LC)/LC*100>1.2;VAR038:=L< MA(C,5)*0.921;VAR039:=VOL< MA(V,5)*1.5;B018:=IF(VAR036 AND VAR037 AND VAR038 AND VAR039,1,0);{NO.13}VAR040:=100-3*(SMA(((C-LLV(L,75))/(HHV(H,75)-LLV(L,75)))*100,20,1))+2 *(SMA(SMA(((C-LLV(L,75))/(HHV(H,75)-LLV(L,75)))*100,20,1),15,1));VAR041:=100-3*(SMA(((O-LLV(L,75))/(HHV(H,75)-LLV(L,75)))*100,20,1))+2 *(SMA(SMA(((O-LLV(L,75))/(HHV(H,75)-LLV(L,75)))*100,20,1),15,1));VAR042:=VAR040<REF(VAR041,1) AND VOL>REF(VOL,1) AND C>LC;VAR043:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VAR044:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR045:=SMA(VAR044,13,8);VAR046:=SMA(VAR043,21,8);VAR047:=SMA(VAR045,13,8);VAR048:=FILTER((COUNT((VAR047-VAR046<(-65)),3)=3),34);VAR049:=MA(C,80)-(MA(C,13))/(3);VAR050:=MA((C-VAR049)/(VAR049),1);VAR051:=(EMA(VAR050,12))*0.69999998;VAR052:=EMA(VAR050,3);VAR053:=IF((LLV(VAR052-VAR051,12)>0),0,(-30));VAR054:=FILTER((COUNT((VAR053<(-20)),3)=3),34);B019:=IF(VAR048,1,0);B020:=IF(VAR054,1,0);{NO.14}VAR055:=C/REF(C,1)>1.045;VAR056:=C/HHV(H,34)<0.7;VAR057:=MAX(FORCAST(COST(24)/L,3),SMA(COST(24)/L,3,1))>1.526 ;VAR058:=VAR055 AND VAR056 AND VAR057;B021:=IF(VAR058,1,0);{NO.15}VAR059:=LLV(L,60);VAR060:=HHV(H,60);VAR061:=EMA((C-VAR059)/(VAR060-VAR059)*100,5);VAR062:=EMA(0.667*REF(VAR061,1)+0.333*VAR061,2);VAR063:=CROSS(VAR062,VAR061) AND VAR061>85;S006:=IF(VAR063,1,0);{NO.16}VAR064:=REF(L,1);VAR065:=SMA(ABS(L-VAR064),13,1)/SMA(MAX(L-VAR064,0),13,1)*4; VAR066:=EMA(VAR065,13);VAR067:=LLV(L,34);VAR068:=EMA(IF(L<=VAR067,VAR066,0),3);B022:=IF(VAR068>REF(VAR068,1),1,0);{NO.17}VAR069:=IF(HHV((MA(C,1)<HHV(MA(TYP,5),10)),5),0,1);VAR070:=IF(LLV((MA(C,1)<LLV(MA(TYP,5),10)),5),1,0);VAR071:=IF(LLV((MA(C,1)<LLV(MA(TYP,5),10)),10),1,0);S007:=IF(VAR069,1,0);B023:=IF(VAR070,1,0);B024:=IF(VAR071,1,0);{NO.18}VAR072:=SUM(MAX(MAX((H-L),ABS((H-LC))),ABS((LOW-LC))),5); VAR073:=H-REF(H,1);VAR074:=REF(L,1)-L;VAR075:=SUM(IF(((VAR073>0)AND(VAR073>VAR074)),VAR073,0),5); VAR076:=SUM(IF(((VAR074>0)AND(VAR074>VAR073)),VAR074,0),5); VAR077:=(VAR075*100)/VAR072;VAR078:=(VAR076*100)/VAR072;VAR079:=MA(((ABS((VAR078-VAR077))/(VAR078+VAR077))*100),3); VAR080:=IF(((VAR079>88)AND(VAR077<5.8)),80,0);B025:=IF(VAR080,1,0);{NO.19}VAR081:=INDEXV*INDEXC;VAR082:=EMA(VAR081,5)/EMA(INDEXV,5);VAR083:=(INDEXC-VAR082)/VAR082*100;VAR084:=VAR083<=-1.5 AND VAR083>-100;VAR085:=SUM(VAR084>0,11)/SUM(VAR084=0,11);VAR086:=VAR085<5 AND VAR085>=0.25;VAR087:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));VAR088:=EMA(VAR087,3);VAR089:=SUM(MAX(0,H-REF(TYP,1)),21)/SUM(MAX(0,REF(TYP,1)-L),21)*100 ;VAR090:=REF(MA(VAR089,3),2.2);VAR091:=CROSS(VAR090,VAR089) AND VAR089>150;VAR092:=IF(VAR086 AND CROSS(VAR087,VAR088),1,0),,COLORRED;VAR093:=IF(VAR091,1,0),,COLORGREEN;S008:=IF(VAR093,1,0);B026:=IF(VAR092,1,0);{NO.20}VAR094:="RSI.RSI1"(3,14,24);VAR095:="RSI.RSI2"(3,14,24);VAR096:=IF((VAR095-VAR094)/VAR094>5,50,0);B027:=IF(VAR096,1,0);{NO.21}VAR097:=REF(L,1);VAR098:=SMA(ABS(L-VAR097),3,1)/SMA(MAX(LOW-VAR097,0),3,1)*100; VAR099:=EMA(IF(C*1.2,VAR098*10,VAR098/10),3);VAR100:=LLV(L,38);VAR101:=HHV(VAR099,38);VAR102:=IF(LLV(L,90),1,0);VAR103:=EMA(IF(L<=VAR100,(VAR099+VAR101*2)/2,0),3)/618*VAR102; VAR104:=VAR103>5;VAR105:=REF((L+O+C+H)/4,1);VAR106:=SMA(ABS(L-VAR105),13,1)/SMA(MAX(L-VAR105,0),10,1);VAR107:=EMA(VAR106,10);VAR108:=LLV(L,33);VAR109:=EMA(IF(L<=VAR108,VAR107,0),3);B028:=IF(COUNT(VAR104,2)=2 AND VAR109>REF(VAR109,1),1,0); {NO.22}VAR110:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;VAR111:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;VAR112:=SMA(VAR111,3,1);VAR113:=SMA(VAR112,3,1);VAR114:=(VAR113/2+40)*1.1;VAR115:=SMA(VAR114,3,1);VAR116:=IF(CROSS(VAR115,VAR110),1,0);VAR117:=IF(CROSS(80,VAR110),1,0);S009:=IF(VAR116,1,0);S010:=IF(VAR117,1,0);{ m}{NO.23}VAR118:=(2*C+H+L)/4;VAR119:=EMA((VAR118-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,6);VAR120:=EMA(0.667*REF(VAR119,1)+0.333*VAR119,4);VAR121:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA ((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);VAR122:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;VAR123:=100*VOL/CAPITAL;VAR124:=IF(IF(COUNT(C<LC,8)/8>0.3 AND COUNT(VAR119>VAR120,3) AND REF(L,1)=LLV(L,120) AND C>O,1,0),52,0);VAR125:=IF(CROSS(VAR121,3),52,0);VAR126:=IF(CROSS(84,VAR122),(-1)*VAR122,0);VAR127:=IF(REF(0.34*VAR123,1)>4 AND REF(0.34*VAR123,1)<4.2,-60,0); B029:=IF(VAR124,1,0);B030:=IF(VAR125,1,0);S011:=IF(VAR126,1,0);S012:=IF(VAR127,1,0);{NO.24}VAR128:=SMA(MAX(C-LC,0),18,1)/SMA(ABS(C-LC),18,1)*100;VAR129:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;S013:=IF(CROSS(68,VAR128),1,0);S014:=IF(CROSS(84,VAR129),1,0);{NO.25}VAR130:=IF(C/O>1.02 AND "BIAS.BIAS3"<-13,1,0);B031:=IF(VAR130,1,0);{NO.26}VAR131:=SUM(MAX(MAX(H-L,ABS(H-LC)),ABS(L-LC)),7);VAR132:=H-REF(H,1);VAR133:=REF(L,1)-L;VAR134:=SUM(IF(VAR132>0 AND VAR132>VAR133,VAR132,0),7);VAR135:=SUM(IF(VAR133>0 AND VAR133>VAR132,VAR133,0),7);VAR136:=VAR134*100/VAR131;VAR137:=VAR135*100/VAR131;VAR138:=MA(ABS(VAR137-VAR136)/(VAR137+VAR136)*100,3);B032:=IF(VAR138>90 AND VAR136=0,1,0);【买点】:B001+B002+B003+B004+B005+B006+B007+B008+B009+B010+B011 +B012+B013+B014+B015+B016+B017+B018+B019+B020+B021+B022+B023+B024+B025+B026+B027+B028+B029+B03 0+B031+B032,COLOR0000FF,NODRAW;【风险】:S001+S002+S003+S004+S005+S006+S007+S008+S009+S010+S011+ S012+S013+S014,COLOR00EE00,NODRAW;STICKLINE(【买点】,0,【买点】*5,0,0),COLORRED;STICKLINE(【风险】,0,【风险】*8,0,0),COLORGREEN;DRAWBAND(【买点】*5,RGB(211,0,0),【风险】*8,RGB(0,155,0)); ZZ:=VAR121>REF(VAR121,1) AND REF(VAR121,1)<12;买点累和:SUM(【买点】,21),COLOR880088,NODRAW;STICKLINE(FILTER(买点累和>50&&ZZ,5),88,0,1.5,1),COLOR0000FF; VV:=SMA(VAR121,5,4);RR:=SUM(CROSS(VAR121,VV),2)>0;FF:=VAR121<REF(VAR121,1) AND REF(VAR121,1)>80;MM:=REF(【买点】,1)>=6 AND 【买点】<REF(【买点】,1);SS:=REF(【风险】,1)>=4 AND 【风险】<REF(【风险】,1); STICKLINE(FILTER(ZZ&&MM,3),0,66,1,0),COLOR00FFFF; STICKLINE(FILTER(RR&&MM,3),0,36,1,0),COLORFF66FF; STICKLINE(SS&&FF,0,66,1,0),COLORFF8800;趋势:VAR121,COLOR00AAFF,LINETHICK1,NODRAW;DRAWBAND(趋势,RGB(255,155,0),VV,RGB(0,0,155));DRAWICON(【风险】>=3,90,2);DRAWICON(【买点】>=6,90,1);DRAWNUMBER(【风险】>=3,100,(【风险】)),COLOR00FF00; DRAWNUMBER(【买点】>=6,100,(【买点】)),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=88,66,'====【买入不涨,逄高离场!】===='),COLOR000000;。
通达信主力指标公式汇总
通达信主力指标公式汇总主力分析的原理如下:1、惯性原理:处于涨势或者跌势的时候,其趋势一般将延续。
2、波浪原理:跌有多深则涨也将会有多高;量足则价升。
3、极静思动:价窄而量缩往往预示着大行情的来临。
4、物极必反:行情发展到极端状态时将朝着它的反向运行。
5、一致性:当长期和短期的趋势都一致时其威力最大。
6、转折交叉:当短期和长期趋势发生矛盾时可能会变盘。
7、成本原理:当买入的成本小于市场成本时风险较小。
B、主力行为1、主力收集:指标在中低位,价量配合好,盘中常有大手笔买单,有间隙放量行为。
2、主力入场:该股处于盘整或者下跌过程中,突然放出巨量上扬,内盘明显大于外盘,换手积极,主力入场明显。
3、主力派发:经常高开走低,上冲乏力,均线时常跌破,价量配合差。
4、主力撤庄:股价暴跌,价量配合极差,外盘远远大于内盘,若成交量放出,属主力撤庄行为。
5、主力拉升:主力吸足筹码之后,开始振仓洗筹,最明显的特征是升跌无量,并量呈逐波缩小之势,当形态发展到均线粘合、多头排列的时候,主力往往会拉升。
C、底部形态分析股票的大幅上扬是从底部开始的,所谓底部当有一个筑底过程,筑底的目的是调整均线或者叫清洗筹码,只有当市场上对该股的抛盘达到了极微的程度,或者因为消息导致市场人士对股市绝望逃命,而又有新生力量介入的时候底部才有可能形成,因此从图表看,一种形态为窄幅缩量,另一种形态则是巨量下跌,底部形成放可产生强大的上升行情。
股1.【通达信】主力潜伏(副图)-指标公式源码N:=14;M:=156;TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);主力潜伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;STICKLINE(主力潜伏中,0,MACD*30,8,0),COLORRED;100,COLOR1C1C1C;0,COLOR1C1C1C;-100,COLOR1C1C1C;-100,STICK,COLOR1C1C1C;2.【通达信】资金监控(主力撤、主力撤、趋势线、准备现金)-指标公式源码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<=0,V4,0),COLORBLUE;主力进: IF(V4>=0,V4,0),COLORFF00FF;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORRED;大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,30,'准备现金'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);STICKLINE(大盘资金进场AND 趋势线<13,0,30,10,0),COLORRED;STICKLINE(大盘资金撤走AND 趋势线>90,0,30,10,0),COLORGREEN;STICKLINE(主力进 AND 趋势线<13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤 AND 趋势线>90,0,40,10,0),COLORBLUE;3.通达信分时买点指标公式【买卖、主力差、散户差】A1:=(DVOL/C)/2,NODRAW;A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);A6:=A2+A3+A4+A5;机买:(A2/A6)*100,LINETHICK2,COLORRED;机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;散买:(A4/A6)*100,LINETHICK0;散卖:(A5/A6)*100,LINETHICK0;主力差:机买-机卖,LINETHICK2,NODRAW;散户差:散买-散卖,LINETHICK0,NODRAW;DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构'),COLORRED;DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○机构'),COLORWHITE;DRAWTEXT(散户差>0 AND REF(散户差,1)<=0,C*0.15,'▲散户'),COLORCYAN;DRAWTEXT(散户差<0 AND REF(散户差,1)>=0,-C*0.15,'△散户'),COLORWHITE;4.通达信主力资金分时指标公式【大盘资金进场、准备现金、见顶清仓】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<=0,V4,0),COLORGREEN;主力进: IF(V4>=0,V4,0);V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EM A(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORYELLOW;大盘资金撤走:IF(VB<=0,VB,0),COLORRED;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,30,'准备现金'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),COLORRED;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);5.【通达信】主力资金流(买量、卖量)-指标公式源码AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量<0,0,进出量,1,0),COLORFF6600;STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;STICKLINE(进出量>0,0,进出量,3,0),COLOR000099;STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;STICKLINE(进出量>0,0,进出量,1.0,0),COLOR0000FF;STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;N:=1;QJ0:=(HIGH+LOW+CLOSE)/3;QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));QJ6:='MACD.DIF'>'MACD.DEA' AND 'MACD.DEA'<0;QJ7:='KDJ.K'>'KDJ.D' AND 'KDJ.D'<30;QJ8:='MACD.DIF'<'MACD.DEA';QJ9:='KDJ.K'<'KDJ.D' AND 'KDJ.K'>80;特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大>大单 AND 大单>小单;量振2:=特大<小单 AND 大单<小单;标振1:=QJ6 AND QJ7;标振2:=QJ8 AND QJ9;A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);STICKLINE(A0,0,A0,1,0),COLOR000044;主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;主力筹码集中度:WINNER(C)*100,COLORRED;6.【通达信】主力资金进入(开始控盘、主力出货、主力吸货)-指标公式源码VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。
通达信指标公式源码超级组合顶底副图,抄底逃顶不是梦,适合做波段或者趋势交易。
VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖,动力线),20),动力线+0.02,2);界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:=动力线,COLORA8A8A8;{希望之星买点}A3:=ABS(REF(C,2)-REF(O,2))/REF(O,2)<0.012;{前天星形}A2:=(REF(O,1)-REF(C,1))/REF(O,1)<0.008;{昨天星形}B1:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));B2:=IF(REF(C,1)<REF(O,1),REF(O,1),REF(C,1));B3:=IF(C>O,O,C);B4:=B1>B2 AND B3>B2 AND REF(C,1)<MA(C,5);A1:=ABS(C-O)/O<0.012;{今天星形}星K:A3 AND A2 AND A1 AND B4;{准备上买点}VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区:=VARO7<10;TJ:=COUNT(建仓区,3);VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);上升:=CROSS(VAR1,8);准备上:(建仓区OR REF(建仓区,0.5)) AND 上升;{出手买点}出手:FILTER((CROSS((EMA(CLOSE,2)-EMA(CLOSE,10)),EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2))AND EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2)<0 AND CROSS(C,MA(C,20))),90);{强势买点}D1:="WR.WR1"<5;D2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<50;D3:=CROSS("MACD.DIF","MACD.DEA");D4:="I">-100 AND "I"<-90;D5:=CROSS("RSI.RSI1","RSI.RSI2")AND "RSI.RSI1"<50;S1:=20;M2:=40;L1:=60;AAA:=CLOSE>OPEN;BBB:=AAA&&CLOSE>MA(CLOSE,S1)&&CLOSE>MA(CLOSE,M2)&&CLOSE>MA(CLOSE,L1); CCC:=BBB&&OPEN<MA(CLOSE,M2)&&OPEN<MA(CLOSE,L1);XG1:=CCC&&(CLOSE-OPEN)>0.0618*CLOSE;AA1:=D1 AND D2;AA2:=D2 AND D3;AA3:=D1 AND D3;XG2:=AA1 OR AA2 OR AA3;强势:IF(XG1 AND XG2,1,0),COLORRED;{底部买点}WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);{好}通道4:= (1-7/100)*MM;VAR4:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR4*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))), ABS(REF(CLOSE,1)-LOW)),14);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底: C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;。
锁定筹码通达信指标公式源码
锁定筹码通达信指标公式源码购买股票并不像到市场买菜那么简单。
只有被机构操作的股票才能有更好的表现,因此分享一个五年来一直使用的指标,帮助你识别真正的主力,让你走上幸福的快车!首先要锁定筹码。
计算公式为A=1.1*C,B=0.9*C,B1=100*(WINNER(A)-WINNER(B)),锁定筹码=100-B1.接下来,计算DIF和DEA,其中DIF=EMA(CLOSE,12)-EMA(CLOSE,26),DEA=EMA(DIF,9)。
如果锁定筹码CROSS(90)且DIF>DEA,则可以考虑卖出。
筹码锁定区可以用STICKLINE函数绘制,其中锁定筹码>65且DIF>DEA时,颜色为黄色;锁定筹码>65且DIF>DEA且CROSS(90)时,颜色为洋红色。
如果需要提醒风险和注意事项,可以使用DRAWTEXT函数。
其次是机构控盘度。
计算公式为VAR1=EMA(EMA(CLOSE,9),9),控盘=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000.使用STICKLINE函数绘制控盘线,颜色为白色。
接下来,可以使用IF函数绘制无庄控盘和开始控盘,其中控盘<0时,颜色为白色;A10=CROSS(控盘,0)时,颜色为黄色。
有庄控盘可以用STICKLINE函数绘制,颜色为红色。
最后是高度控盘。
计算公式为VAR2=100*WINNER(CLOSE*0.95)。
如果VAR2>50且COST(85)0,则可以考虑高度控盘。
可以用STICKLINE函数绘制,颜色为紫色。
通达信准确率90%以上选股公式
专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。
根据本人的实践,使用指标时候要注意几点:1 该指标可以添加到任何一个主图里面去,比如MA均线什么的。
2 出现信号当天买进股票,第二天收阳继续持股,直到出阴为止。
3 第二天出阴考虑卖出,非常适合短线操作!老鼠仓(选股公式)AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;理想选股(选股公式)VAR1:=MA((LOW+HIGH+CLOSE)/3,5);VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR6:=VAR5 AND COUNT(VAR4,2);VAR7:=VAR6 AND NOT(REF(VAR6,1));VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR12 OR VAR13) AND VAR10;买2:=(VAR12 OR VAR13) AND VAR3;买3:=(VAR12 OR VAR13) AND VAR2;买4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10);买5:=(金叉AND VAR3) OR (金叉AND VAR2) OR (金叉AND VAR10);ST:=EXIST(C/REF(C,1)>1.06,50);输出:=(买1 OR 买2 OR 买3 OR 买4 OR 买5 OR VAR7) AND ST;MA5:=MA(C,5),COLORWHITE;X:=(3*C+L+O+H)/6;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*RE F(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK1;AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),CO LORYELLOW;CROSS(MA5,多空线) and CROSS(C,AB) and 输出;点石成金(选股公式)KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);Var1:=CLOSE/MA(CLOSE,40)*100<76;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 ANDCLOSE/REF(CLOSE,1)>=1.02;牛市绝底(选股公式)VAR1:=REF(CLOSE,1);VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100);VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));牛市绝底:VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47;通达信精准选股公式:条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头; 成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头; 收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头; 箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头; 箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);飞弹一号(选股公式)var1:=c/ma(c,40)*100<78;var2:=c/ma(c,60)*100<74;var3:=h>=l*1.051;var4:=var3 and count(var3,5)>=2;xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0and hhv(v/capital,30)<0.8;牛魔无双(选股公式)A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;B4:=EMA(MA(A4,50),5);c4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01AND LLV(B4,50)=LLV(B4,5);d4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;xg:c4 AND d4;火牛神功(选股公式)Var1:=DMA(CLOSE,VOL/SUM(VOL,34));Var2:=DMA(CLOSE,VOL/SUM(VOL,13));Var3:=(CLOSE-Var1)/Var1*100;Var4:=(CLOSE-Var2)/Var2*100;Var4<=-12 AND Var3<=-19 ;跟庄建仓(选股公式)A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;机构建仓区:=(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50));Var7:=LLV(LOW,30);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:=EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618;选股:火焰山>0 AND 机构建仓区>0 AND 趋势>REF(趋势,1) AND REF(趋势,1)<REF(趋势,2);跟庄建仓源码A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=EMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;STICKLINE(趋势>80,趋势,80,5,0);DRAWICON(CROSS(趋势,0),0,1);STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09,6,0),colorFFff00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,3,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),colorcc9900;STICKLINE(趋势<=13 AND Var4>13,0,50,2,0),color0099ff;Var5:=FILTER((趋势<=13 AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90 AND Var4,0,30,3,0),colorgray;Var6:=FILTER((趋势>=90 AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorgray;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,3,2),COLORRED;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00; DRAWICON(CROSS(90,Var9),95,9);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED;Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;Var17:=EMA(Var16,5);波浪峰:Var17,stick,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=MA(趋势线,8);if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,Var2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORff00ff;风险区:IF(趋势>80,趋势,80),colorff00ff;双信号"全仓"选股(选股公式)FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;{以下波浪理论浪底重叠"买底"选股原码}PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;{以下二者结合共同选股}XG:=XG11 OR XG22;W18:EXIST(XG,1);涨停板敢死队(选股公式)Lx1:=(EMA((AMOUNT/10000000),1) /3);Lx2:=(WINNER(C)/0.3);Lx3:=IF(c<0,Lx1,V);Lx4:=IF(c<0,Lx2,V);Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4);量:=Lx5/1000;动量:=(EMA(量,13)*1.5);A01:=IF((量>动量),量,0);A02:=BARSLAST((A01>0));A03:=REF(量,A02);趋势:=IF((量<=A01),量,A03);突破:=IF(((((量=趋势) and (C>REF(C,1))) and (量>REF(量,1))) and(REF(A02,2)>0)),888,0);量价突破:FILTER(突破,5 )*6;通达信选股公式:超级牛魔VAR3:=1;VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VARB:=INTPART(VARA*100)/100;VARC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARD:=INTPART(VARC*100)/100;VARE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARF:=INTPART(VARE*100)/100;短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);中线趋势:=EMA(短线趋势,30);VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=VAR15-VAR14;VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=VAR18-VAR17;VAR1A:=OPEN;VAR1B:=CLOSE;超级牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 ANDVAR1B>=VAR4 AND VAR1B>=VARF AND VAR16>0 AND VAR19>0 ANDVAR3=1,0.5,0);盘中参考VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2 *SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2* SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 关注:VAR27 AND COUNT(VAR27,30)=1;初升介入1V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;V2:=SMA(V1,20,1);V3:=SMA(V2,15,1);V4:=(3*V2+2*V3)/4;V5:= REF(V4,1);RSA:=SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;RSB:=MA(RSA,10);AA:=VOL/REF(VOL,1)>2;BB:=CLOSE/REF(CLOSE,1)>1.07;初升介入:IF(AA AND BB,CROSS(RSA,RSB),DRAWNULL);主力介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(VARA,3,1),COLORYELLOW;VARB:=SMA(K,3,1);J:=3*K-2*VARB,COLORGREEN;主力介入: CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,COLORWHITE;旺狗出击旺狗出击:CROSS(C,MA(CLOSE,55) + 2*STD(CLOSE,55)) AND C>OAND VOL>1.6*REF(VOL,1) AND VOL>=2*MA(VOL,60) ANDEMA(WINNER(C)*70,3)>EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)AND VOL>=1.6*MA(VOL,5) ;五线选股AVR1:=EMA(CLOSE,10);AVR2:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36;AVR3:=MA(CLOSE,9);AVR4:=MA(CLOSE,20);五线选股:IF(CROSS(AVR1,AVR4) AND CROSS(AVR3,AVR4) ANDCROSS(AVR4,AVR2),1,0);狂牛启动1VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股1:BUY>SOLE AND REF(BUY,1)<REF(SOLE,1);狂牛启动2VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股2:CROSS(BUY,SOLE) AND REF(SOLE,1)/REF(BUY,1)<=1.5 AND SOLE<64 AND SCCOUNT=1;狂牛启动3VAR2:=1;VAR3:=REF(HIGH,1)*1.1;VAR4:=HIGH*1.1;VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;VAR6:=REF(LOW,1)*0.9;VAR7:=LOW*0.9;VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;VAR9:=EMA(VAR8,30);VARA:=EMA(VAR5,30);VARB:=VARA-2;VARC:=IF(C<=VAR9,VARB,VARA);VARD:=MA(C,80)-MA(C,10)/17;准备:=STICKLINE(VARC-VARB=0 AND VAR2 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-RE F(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),50,0,5,0);选股3: FILTER(VARC-VARB=0 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA( EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1 ))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);短线通道VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR16:=EMA(VAR15,13);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR1E:=AMOUNT/VOL/100;VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)); VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)); VAR27:=EMA(VAR25,5);VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21)); VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90)); VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4; VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2C:=(VAR2A+VAR2B)/2/1.1;短线:=VAR2C;MID:=MA(短线,26);UPPER:=MID+2*STD(短线,26);LOWER:=MID-2*STD(短线,26);{LCJ2:=IF(短线>MID,MID,短线); }{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); } {DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);MID, , COLORYELLOW;}{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;出手就赢1RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<30;出手就赢2RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<80;套利狐狸VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR2:=REF(HIGH,10)/CLOSE>1.35;V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;乘胜追击1VAR1:=WINNER(CLOSE)-WINNER(OPEN);VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),5,1)/SMA(ABS(CLOSE-VAR2),5,1)*100;VAR4:=CLOSE/MA(CLOSE,3)>=1.05;VAR5:=MA(VOL,8)/MA(VOL,45)>=2.5;VAR6:=WINNER(CLOSE)-WINNER(OPEN);VAR7:=REF(CLOSE,1);VAR8:=SMA(MAX(CLOSE-VAR7,0),5,1)/SMA(ABS(CLOSE-VAR7),5,1)*100;VAR9:=VAR6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(VAR8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07;VARA:=VAR1>=0.4 AND VAR5 AND COUNT(VAR3<20,20)>=1 AND VAR4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1);(VARA OR VAR9);逆势操作1VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) ORREF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1) >0.96 ;(VAR5 OR VARA) ;牛市专利1VAR1:=REF(CLOSE,3)*0.844;VAR2:=REF(CLOSE,13)*0.767;VAR3:=INDEXC;VAR4:=INDEXV;VAR5:=MIN(VAR1,VAR2);VAR6:=100*VOL/CAPITAL;VAR7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;VAR8:=(CLOSE-VAR5)/CLOSE<0.07 AND SUM(VAR6,3)/3<2.345 ANDVAR3>MA(VAR3,450) AND MA(VAR4,61)/MA(VAR4,80)>0.923 ANDCLOSE>MA(CLOSE,190);VAR9:=VAR3>MA(VAR3,450) AND VAR7<-16.5 AND MA(VAR4,61)/MA(VAR4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) ORREF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND VOL/CAPITAL<0.075;(VAR8 OR VAR9);同时金叉DIF:=EMA(CLOSE,9)-EMA(CLOSE,17);DEA:=EMA(DIF,8);MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;选股:CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(RSI1,RSI3);带量突破VAR1:=EMA(COST(80),10);COUNT(CROSS(CLOSE,VAR1),2)>=1 AND VOL/CAPITAL>=0.1;攻击箱顶VAR1:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);BETWEEN(CLOSE,VAR1*1.001,VAR1) AND REF(VAR1,3)=VAR1 ANDVOL>REF(VOL,2);果断介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VAR6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);VAR9:=3*VAR7-2*VAR8;CROSS(VAR9,VAR8) AND COUNT(VAR5<-12 AND VAR5>-14,3)>=1;暴裂旋风VAR1:=ABS(HIGH-LOW);SUM(VAR1,7)/CLOSE>0.5 AND SUM(VAR1,7)/CLOSE<0.8 AND CLOSE>7 AND CLOSE<11;稳赢剑VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=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);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:VAR5;领头羊白色:=SMA(HIGH,21,2)*1.05,;黄色:=SMA(LOW,21,2)*0.95;粉色:=SMA(LOW,5,1);绿色:=SMA(CLOSE,2,1),;波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);领头羊>黄色OR 波段买入>粉色;天星踏浪VARC:=(2*CLOSE+HIGH+LOW)/4;VARD:=LLV(LOW,34);VARE:=HHV(HIGH,34);VARF:=LLV(LOW,13);VAR10:=HHV(HIGH,13);VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);金浪:= VAR11;AA:=EMA(VAR11,7);海浪:= VAR12;IF(CROSS(金浪,AA) AND AA<=25 ,1,0);黑马绝技EMA13:=EMA(C,13);EMA30:=EMA(C,30);EMA60:=EMA(C,60);EMA90:=EMA(C,90);EMA120:=EMA(C,120);EMA250:=EMA(C,250);F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 ANDEMA30-EMA120<330/1000;F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 ANDEMA60-EMA120<330/1000;F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 ANDEMA90-EMA120<330/1000;F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 ANDEMA60-EMA250<420/1000;G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 ANDEMA90-EMA250<420/1000;G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);FF1 OR FF2 OR FF3 OR GG1 OR GG2;黑马起步A1:=VOL=HHV(VOL,120);A2:=CLOSE/OPEN>1.05;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);三底背离DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4 OR M5 OR T3 OR T4;突破指标{一是突破盘整;二是突破前高;三是突破平台}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;拉升在即ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);顶天立地VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:CROSS(趋势,人气) AND (趋势<30);{短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2; };主力进出ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);。
通达信【准备抄底】副图选股指标-抄底指标
通达信【准备抄底】副图选股指标-抄底指标通达信【准备抄底】副图选股指标-抄底指标【副图指标】X_1:=LLV(LOW,55);X_2:=HHV(HIGH,55);X_3:=CLOSE-X_1;X_4:=X_2-X_1;X_5:=X_3/X_4;X_6:=3*SMA(X_5*100,7,1)-2*SMA(X_5*100,7,1);X_7:=REF(DMA(X_6,2),1);X_8:=SMA(X_6,2,1);X_9:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*200*10;X_10:=SMA(X_9,3,1);X_11:=LLV(X_10,3);X_12:=HHV(X_10,3);X_13:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);X_14:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_15:=IF(CLOSE>OPEN,X_14*(HIGH-LOW),IF(CLOSE<OPEN,X_14*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_14*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_14*(HIGH-LOW),0-VOL/2));X_16:=X_15/20/1.15;X_17:=X_16*0.55+REF(X_16,1)*0.33+REF(X_16,2)*0.22;X_18:=EMA(X_17,3);X_19:=EMA(X_18,13)-EMA(X_18,34);X_20:=X_19-EMA(X_19,3);X_21:=IF(X_20>=0,1,0);X_22:=AMOUNT/(100*VOL);X_23:=MA(X_22,40);X_24:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;X_25:=SMA(SMA(X_24,3,1),3,1);X_26:=SMA(X_25,5,1)*15;X_27:=X_9<X_11;X_28:=IF(X_21 OR (X_9>X_11 OR X_9>X_26),1,0);X_29:=X_9<X_26 AND X_28=0;X_30:=X_9>X_26 AND X_9>X_12;X_31:=X_9<X_10 AND X_9>X_26;X_32:=STICKLINE(X_27,30,30-X_24/5,1.5,1);X_33:=STICKLINE(X_28,30,30+X_24/5*0.8,3.3,1);X_34:=3;X_35:=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);X_36:=LLV(LOW,27);X_37:=HHV(HIGH,34);X_38:=EMA((CLOSE-X_36)/(X_37-X_36)*4,4)*25;X_39:=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);X_40:=10;准备抄底:CROSS(X_39,X_40),STICK,COLORRED,LINETHICK5;公:DRAWNULL,COLORCCCCCC;众:DRAWNULL,COLORCCCCCC;号:DRAWNULL,COLORCCCCCC;股市客栈:DRAWNULL,COLORCCCCCC;【选股指标源码】X_1:=LLV(LOW,55);X_2:=HHV(HIGH,55);X_3:=CLOSE-X_1;X_4:=X_2-X_1;X_5:=X_3/X_4;X_6:=3*SMA(X_5*100,7,1)-2*SMA(X_5*100,7,1);X_7:=REF(DMA(X_6,2),1);X_8:=SMA(X_6,2,1);X_9:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*200*10;X_10:=SMA(X_9,3,1);X_11:=LLV(X_10,3);X_12:=HHV(X_10,3);X_13:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);X_14:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_15:=IF(CLOSE>OPEN,X_14*(HIGH-LOW),IF(CLOSE<OPEN,X_14*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_14*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_14*(HIGH-LOW),0-VOL/2));X_16:=X_15/20/1.15;X_17:=X_16*0.55+REF(X_16,1)*0.33+REF(X_16,2)*0.22;X_18:=EMA(X_17,3);X_19:=EMA(X_18,13)-EMA(X_18,34);X_20:=X_19-EMA(X_19,3);X_21:=IF(X_20>=0,1,0);X_22:=AMOUNT/(100*VOL);X_23:=MA(X_22,40);X_24:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;X_25:=SMA(SMA(X_24,3,1),3,1);X_26:=SMA(X_25,5,1)*15;X_27:=X_9<X_11;X_28:=IF(X_21 OR (X_9>X_11 OR X_9>X_26),1,0);X_29:=X_9<X_26 AND X_28=0;X_30:=X_9>X_26 AND X_9>X_12;X_31:=X_9<X_10 AND X_9>X_26;X_32:=STICKLINE(X_27,30,30-X_24/5,1.5,1);X_33:=STICKLINE(X_28,30,30+X_24/5*0.8,3.3,1);X_34:=3;X_35:=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);X_36:=LLV(LOW,27);X_37:=HHV(HIGH,34);X_38:=EMA((CLOSE-X_36)/(X_37-X_36)*4,4)*25;X_39:=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);X_40:=10;准备抄底:CROSS(X_39,X_40);。
【股票指标公式下载】-【通达信】底部全仓出击(底部、短期底部、底部预警)
【通达信】底部全仓出击(底部、短期底部、底部预警)-指标公式源码底部:=-10;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); 短期底部:=LLV(OPEN,30);K:SMA(RSV,3,1);D:SMA(K,3,1);J:((3 * K) - (2 * D));DRAWICON(FILTER(CROSS(K,D)AND K<50,5),0.1,5);AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);IF((K > D),K,DRAWNULL),COLORFF00FF;IF((K < D),K,DRAWNULL),COLORFFFF00;IF((J > D),J,DRAWNULL),LINETHICK2,COLORRED;IF((J < D),J,DRAWNULL),LINETHICK2,COLORGREEN;20,POINTDOT,COLORGREEN;80,POINTDOT,COLORGREEN;VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);底部1:IF((VAR6 < 底部),20,0),COLORFFFF00;STICKLINE((CROSS(J,K) AND (底部1 >= 20)),100,0,2,0),COLORFFFFFF; DRAWICON((CROSS(J,K) AND (底部1 >= 20)),100,1);DRAWTEXT((CROSS(J,K) AND (底部1 >= 20)),98,'--全仓'); STICKLINE((VAR6 <= (0 - 15)),80,4.88,2,0);DRAWTEXT((VAR6 <= (0 - 15)),80,'买'),COLORFFFFFF;STICKLINE((VAR6 <= (0 - 15)),80,60,2,0),COLORRED;VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) > 2.5)); VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) /MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273)); VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1); VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35); VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE < VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) /MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273)); VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58 <= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842E+0.26;VAR5D:=(COST(10) * 0);VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) /MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);猎鹰出击:IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLORRED;VAR68:=0;MACD:(VAR6 * 5),COLORSTICK,LINETHICK2;STICKLINE((CROSS(K,D) AND (BB10 > 1)),70,0,2,0),COLORCC99FF; DRAWTEXT((CROSS(K,D) AND (BB10 > 1)),64,'--短买'),COLORGREEN; DRAWICON((CROSS(K,D) AND (BB10 > 1)),70,0);底部预警:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0),COLOR88B7EA; VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VA61:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VA61 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VA61 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) / 6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VA61 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) / 6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21); VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3); VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30);VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART);底部吸筹:STICKLINE((VAR171 > 0),0,VAR171,1,1),COLORFF00FF; STICKLINE(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,0,3,0),COLORRED;DRAWTEXT(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,'--抄底'),COLORRED;STICKLINE(CROSS(90,J),88,100,2,0),COLORGREEN;DRAWTEXT(CROSS(90,J),108,'。
通达信20个抄底指标公式
通达信20个抄底指标公式250,COLORWHITE,LINETHICK4;{1.高春牛组合90%--信号少}CAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR2:=CLOSE/REF(CLOSE,1)>1.028;CAR3:=MA(CLOSE,10)>CLOSE*1.05;CAR4:=MA(CLOSE,10)<CLOSE*1.1;CAR5:=MA(CLOSE,60)>CLOSE*1.28;金牛:=CAR1 AND CAR2 AND CAR3 AND CAR4 AND CAR5;DIF1:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100);DEA1:=REF(DIF1,1)>13 AND REF(DIF1,1)/DIF1>1.3 AND CLOSE/REF(CLOSE,1)>1.03;KOV:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),28,0);PIC:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),18,0);春笋:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60);VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D02:=VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,30)*100<75;VAR12:=CLOSE/MA(CLOSE,50)*100<78;VAR13:=CLOSE/MA(CLOSE,70)*100<72;VAR14:=HIGH>LOW*1.053;VAR15:=VAR14 AND COUNT(VAR14,5)>2;VAR16:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D4:=VAR15 AND VAR16;高精:=D02 AND COUNT(D4,3)>=1;高春牛组合:金牛 AND 春笋 AND 高精,COLORLIMAGENTA;STICKLINE(高春牛组合,0,210,3,0),COLORLIMAGENTA;DRAWTEXT(高春牛组合,210,'↙高春牛组合90%'),COLORLIMAGENTA;{2明道88%}AAA:=(C-MA(C,90))/MA(C,90)*100;BBB:=(COST(11)-CLOSE)/CLOSE>0.15;明道:CROSS(AAA,-26) AND BBB,COLOR00F5C2;STICKLINE(明道,0,200,3,0),COLOR00F5C2;DRAWTEXT(明道,200,'↙明道88%'),COLOR00F5C2;{3赢一波组合84%}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.040*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;一:=CROSS(0.5,SJ5);C1X:=((MA(C,30)-L)/MA(C,60))*200;M1X:=REF(CLOSE,1);M2X:=SMA(MAX(CLOSE-M1X,0),7,1)/SMA(ABS(CLOSE-M1X),7,1)*100;G1X:=FILTER(REF(M2X,1)<20 AND M2X>REF(M2X,1),5);TUX:=C/MA(C,40)<0.74;TDJX:=(H-L)/REF(C,1)>0.05;YULX:=COUNT(TDJX,5)>1;启动X:=TUX AND TDJX AND YULX;波:=FILTER((G1X AND C1X>20 OR C>REF(C,1)) AND REF(启动X,1),10);ETG1:=CLOSE/MA(CLOSE,30)*100<75;ETG2:=CLOSE/MA(CLOSE,50)*100<78;ETG3:=HIGH>LOW*1.053;ETG4:=ETG3 AND COUNT(ETG3,5)>2;ETG5:=ETG4 AND (ETG1 OR ETG2);ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);ETG7:=(CLOSE-ETG6)/ETG6*100;赢:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)AND ETG7-REF(ETG7,1)>1.76 OR ETG5;赢一波组合:赢 AND 一 AND 波,COLOR2A2AA3;STICKLINE(赢一波组合,0,190,3,0),COLOR2A2AA3;DRAWTEXT(赢一波组合,190,'↙赢一波组合84%'),COLOR2A2AA3;{4率土之滨-85%信号较少}X01:=MA(C,10)/C>1.055;X02:=MA(C,10)/C<1.1;X03:=MA(C,60)/C>1.28;X04:=C/REF(C,1)>1.028;X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3;X06:=O/HHV(C,30)<0.78;X07:=V<MA(V,5) AND MA(V,5)<MA(V,55);X08:=O=LLV(O,30);率土之滨:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08,COLORFFFFAA;STICKLINE(率土之滨,0,180,3,0),COLORFFFFAA;DRAWTEXT(率土之滨,180,'↙率土之滨84%'),COLORFFFFAA;{5钻石底-87%}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20;钻石底:Q1 AND Q2 AND C>REF(C,1)*0.91 AND C<REF(C,1) AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1),COLOR0033FF;STICKLINE(钻石底,0,170,3,0),COLOR0033FF;DRAWTEXT(钻石底,170,'↙☆☆钻石底87%'),COLOR0033FF;{6金牛起步83%}CAR0:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR02:=CLOSE/REF(CLOSE,1)>1.028;CAR03:=MA(CLOSE,10)>CLOSE*1.05;CAR04:=MA(CLOSE,10)<CLOSE*1.1;CAR05:=MA(CLOSE,60)>CLOSE*1.28;金牛起步:CAR0 AND CAR02 AND CAR03 AND CAR04 AND CAR05,COLOR0060FF;STICKLINE(金牛起步,0,160,3,0),COLORWHITE;STICKLINE(金牛起步,0,160,3.2,0),COLOR555555;STICKLINE(金牛起步,0,160,2.6,0),COLOR777777;STICKLINE(金牛起步,0,160,1.9,0),COLOR999999;STICKLINE(金牛起步,0,160,1.1,0),COLORCCCCCC;STICKLINE(金牛起步,0,160,0.3,0),COLORCCDDBB;DRAWTEXT(金牛起步,160,'↙金牛起步83%'),COLOR0060FF;{7超跌选股80%}AAA1:=BARSLASTCOUNT(C>REF(C,4));高A:=( AAA1=1);VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*300+(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100)/6;VAR02:=MA(VAR1,6);VAR03:=(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)>0.3 AND (HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)<0.4;超跌选股:CROSS(VAR1,VAR02) AND VAR1<-8.5 AND VAR03 AND 高A;STICKLINE(超跌选股,0,150,3,0),COLORBD4DB6;DRAWTEXT(超跌选股,150,'↙超跌选股80% '),COLORBD4DB6;{8锤头王-80%}CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;EMA9:=EMA(CLOSE,9);XSLDN:=EMA(EMA9*0.86,5);CD3:=C<=XSLDN;CD4:=REF(C,1)/REF(XSLDN,1)<0.98;锤头王:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4,COLOR9F46B4;STICKLINE(锤头王,0,140,3,0),COLOR9F46B4;DRAWTEXT(锤头王,140,'↙80% '),COLOR9F46B4;{9核心低点-81%}X_01:=O/HHV(C,30)<0.78;X_02:=C/MA(C,50)<0.78;X_03:=O=LLV(O,30);X_04:=C/SMA(C,13,1)-1;X_05:=REF(X_04,1)<-0.13;X_06:=REF(X_04,1)/X_04>1.1582;X_07:=REF(C,1)<=COST(5);X_08:=COUNT(H>L*1.05,5)>2;核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08,COLORLIGREEN;STICKLINE(核心低点,0,130,3,0),COLORLIGREEN;DRAWTEXT(核心低点,130,'↙核心低点81%'),COLORLIGREEN;{10狗头金综75%}BIAS01:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS02:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS03:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;老二:=IF(BIAS02<=-10,1,0);DIF3:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA3:=EMA(DIF3,9);MACD3:=(DIF3-DEA3)*2;爆发:=MACD3<0 AND MACD3>REF(MACD3 ,1) AND REF(MACD3 ,1)<REF(MACD3 ,2)AND REF(MACD3 ,2)<REF(MACD3 ,3)AND REF(MACD3 ,3)<REF(MACD3 ,4);VVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VVAR5:=(VAR2+2*VVAR3+3*VVAR4)/6;VVAR6:=MA(VVAR5,3);大底:=VVAR6<=-10;VVAR11:=CLOSE/MA(CLOSE,20)*100<80;VVAR12:=CLOSE/MA(CLOSE,40)*100<78;VVAR13:=CLOSE/MA(CLOSE,60)*100<72;VVAR14:=HIGH>LOW*1.051;VVAR15:=VVAR14 AND COUNT(VVAR14,5)>1;中底:=VVAR15 AND (VVAR11 OR VVAR12 OR VVAR13);操盘:=EMA((CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);跟风:=EMA((CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);见到曙光:=CROSS(操盘,跟风) AND 操盘 <0 AND 跟风 <0;趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;AAX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-30) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;砸盘:=IF(AAX,500,-30);BBX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-20 AND 趋势线1>-25) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-20,趋势线1),1) AND CROSS(趋势线1,-20));XG:=BBX;WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:=(1-7/100)*MM;VAR84:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR84*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底:=C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;VAR82:=LLV(LOW,10);VAR83:=HHV(HIGH,25);能量:=EMA((CLOSE-VAR82)/(VAR83-VAR82)*4,4);底:=0.2;关注:=0.5;红色箭头:=FILTER(CROSS(能量,关注),20);XXG:=买底 OR 红色箭头;AX:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);BX:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MBX:=SMA((BX-50)*2,3,1)+SMA((AX-50)*2,3,1)/2;狗头金:=MBX<-90;狗头金综: 狗头金AND COUNT(XG,5) AND COUNT(中底,3) AND NOT(COUNT(XXG,1)) AND NOT(COUNT(见到曙光,3)) ANDCOUNT(老二,3) AND 大底 AND 爆发,NODRAW,COLORFF7080;STICKLINE(狗头金综,0,120,3,0),COLORFF7080;DRAWTEXT(狗头金综,120,'↙☆☆狗头金75%'),COLORFF7080;{11高精抄底75%}DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);VAR8:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);VAR9:=MACD<0 AND REF(MACD,1)<REF(MACD,2);VAR10:=VAR7 OR VAR8 OR VAR9;D3:=VAR10;VAR016:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D04:=VAR15 AND VAR16;趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));D5:=BB;SHYY:=D2 AND D3 AND COUNT(D04,3)>=1 AND COUNT(D5,5)>=1;高精抄底:BARSLASTCOUNT(SHYY)=1,COLORE55B35;STICKLINE(高精抄底,0,110,3,0),COLORE55B35;DRAWTEXT(高精抄底,110,'↙高精抄底75%'),COLORE55B35;{12吉祥低吸75%}VARR2:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,5);VARR5:=HHV(HIGH,4);吉:=EMA((VARR2-VARR4)/(VARR5-VARR4)*100,4);祥:=EMA(0.667*REF(吉,1)+0.333*吉,2);获利比:=(WINNER(C*125/100)-WINNER(C))*100<7.5;吉祥低吸:CROSS(吉,祥) AND 吉<30 AND 获利比,COLOR93CB3F;STICKLINE(吉祥低吸,0,100,3,0),COLOR93CB3F;DRAWTEXT(吉祥低吸,100,'↙高精抄底75%'),COLOR93CB3F;{13抄底深套盘76%}深套:WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20AND C/REF(C,1)>1.0138 AND V/REF(V,1)<1,COLOR802391;STICKLINE(深套,0,100,3,0),COLOR802391;DRAWTEXT(深套,100,'↙深套75%'),COLOR802391;{14大红马75%}VARR10:=EMA(WINNER(C)*70,3);VAR20:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);VAR30:=C/MA(C,40)*100<76;VAR40:=C/MA(C,60)*100<74;VAR50:=H>L*1.051;VAR60:=VAR50 AND COUNT(VAR50,5)>1;VAR70:=(WINNER(C*125/100)-WINNER(C))*100<7.5;VAR80:=1;TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20<20 AND VARR10<20 AND VAR70 AND VAR80);DHM:=TZB<0 AND REF(TZB,1)=0;风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);HJ_11:=CLOSE/MA(CLOSE,40);HJ_12:=CLOSE/MA(CLOSE,60)*100<71;大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;大红马:DHM OR 大魔鬼,COLOR3369FF;STICKLINE(大红马,0,90,3,0),COLOR3369FF;DRAWTEXT(大红马,90,'↙大红马75%'),COLOR3369FF;{15逆市买入77%}VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR31:=(CLOSE-VAR31A)/VAR31A*100<-8;VAR32:=(VAR31A-VAR32A)/VAR32A*100<-21;VAR33:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;VAR34:=COUNT(NOT(C=O),8)>=8;逆市买入:VAR31 AND VAR32 AND VAR33 AND VAR34,COLOR588500;STICKLINE(逆市买入,0,80,3,0),COLOR588500;DRAWTEXT(逆市买入,80,'↙逆市买入77%'),COLOR588500;{16短线黑马-76%}VAR1C:=DMA(C,VOL/MA(VOL,4)/4);VAR2C:=DMA(C,VOL/MA(VOL,33)/33);VAR3C:=(C-VAR1C)/VAR1C*100<-11;VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3;VAR5C:=VAR3C AND VAR4C AND COUNT(C<>O,7);VAR6C:=DMA(C,VOL/MA(VOL,3)/3);VAR7C:=DMA(C,VOL/MA(VOL,33)/33);VAR8C:=(C-VAR6C)/VAR6C*100<-5;VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18;VARDC:=VAR8C AND VAR9C AND (O-REF(C,1))/REF(C,1)>-0.05;VAREC:=VARDC AND COUNT(VARDC,2)=1;DXHM:=VAR5C OR VAREC;趋势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1);HMA:=CROSS(趋势,0.15);X_21:=(C-MA(C,25))/MA(C,45)*123;BAME:=CROSS(X_21,(-25)) AND C>REF(C,1);HJ_1:=C/MA(C,40);HJ_2:=C/MA(C,60)*100<71;MOGU:=CROSS(HJ_1,HJ_2);短线黑马:(DXHM AND HMA) OR (BAME AND MOGU),COLORF7A186;STICKLINE(短线黑马,0,70,3,0),COLORF7A186;DRAWTEXT(短线黑马,70,'↙短线黑马77%'),COLORF7A186;{17神剑出鞘-70%}T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;买1:=T2 AND T1;T4:=(C-MA(C,2))/MA(C,2)*100;T5:=INDEXC;T6:=MA(T5,13);T7:=T6>1.050*T5;T8:=(C-REF(C,26))/REF(C,26)*10;T9:=T7;T10:=T8<-2.30;T11:=T4<-2.7;T12:=T9 AND T10 AND T11;T13:=CROSS(0.5,T12);T14:=CROSS(T13,0.5);T15:=BARSLAST(T14=1);T16:=T15<=5 AND C<REF(C,T15);买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28); 底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;SHYY1:=IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标),1,0);神剑出鞘:BARSLASTCOUNT(SHYY)=1,COLORFF0080;STICKLINE(神剑出鞘,0,60,3,0),COLORFF0080;DRAWTEXT(神剑出鞘,60,'↙神剑出鞘70%'),COLORFF0080;{18成功抄底-77%}AA1:=('999999$C'/REF('999999$C',20)-1)*100<-16 AND (C/REF(C,27)-1)*100<-35;A96:=FILTER(AA,3);VBR41:=1;VAR013:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6; VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR013;VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:=VBR59 AND C<VBR1F*VBR41;UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:=C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 AND UAR13<MA(UAR13,13)*1.91 AND 底部将成 AND 下降通道 AND 信号滤 AND 异动;成功抄底:A96 OR F98 OR C95,COLOR62B18A;STICKLINE(成功抄底,0,50,3,0),COLOR62B18A;DRAWTEXT(成功抄底,50,'↙成功抄底77%'),COLOR62B18A;{19MACD选股-77%}MA5:=MA(C,5);MA10:=MA(C,10);MA15:=MA(C,15);MA20:=MA(C,20);MA30:=MA(C,30);MA40:=MA(C,40);MA60:=MA(C,60);DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIF2,9);MACD2:=(DIF2-DEA2)*2;上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));水上金叉:=REF(MACD2,3)=LLV(MACD2,10) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.5,1.8) ANDEVERY(DEA2>=0,50) AND NOT(REF((O<MA20 AND C>MA5),2)) AND NOT(O=L) AND NOT(REF(O=L,2)) AND NOT(O>MA5 AND L<=MA5) AND NOT(REF(H=MA5,3)) AND REF(下影线<5.24,3)AND NOT(REF(C=L,3)) AND V>REF(V,1)*1.51 AND NOT(C<O) AND NOT(REF(CROSS(MA15,MA10),2)) AND NOT(REF(L<MA5 AND O>MA10 AND O>C,1)) AND NOT(REF(CROSS(MA10,MA5),2));水下金叉:=REF(MACD2,3)=LLV(MACD2,11) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND EVERY(DEA2<0,14) AND BETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.8,1.9) AND NOT(CROSS(MA15,MA20)) AND NOT(C=O) AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(CROSS(MA20,MA10)) ANDNOT(H>MA10 AND CROSS(C,MA10)) AND NOT(H>MA20 AND L<MA5) AND NOT(REF(H>MA20 AND L<MA5,1)) AND NOT(REF(CROSS(MA20,MA10),2)) AND 下影线<15.99 AND NOT(REF(CROSS(MA15,MA10),1)) AND NOT(O=L) AND REF(下影线<8.24,2) AND NOT(REF(L<MA5 AND CROSS(C,MA10),1)) AND REF(下影线<5.99,1);金叉:=水上金叉 OR 水下金叉;底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6) AND REF(CROSS(DIF,DEA) AND BETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75) ,3) AND CROSS(MA5,MA10) AND BETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2) AND NOT(O<MA30 AND C>MA30 AND C>MA20) AND NOT(L<MA5 AND L<MA30 AND C>MA5) AND NOT(CROSS(MA15,MA30)) AND NOT(CROSS(MA20,MA30)) ANDC>O AND 下影线<3.27AND 上影线<7.74 AND NOT(H>MA20 AND O<MA15 AND MA20>MA15) AND NOT(CROSS(MA5,MA30) AND CROSS(MA5,MA20) AND CROSS(MA5,MA15)) AND NOT(C>MA40 AND L<MA30 AND MA40>MA30)AND NOT(REF(CROSS(MA10,MA5) AND C>MA60 AND L<MA60,4)) AND NOT(CROSS(MA5,MA30)) AND NOT(CROSS(MA20,MA40)) AND NOT(REF(V>REF(V,1)*2.22,1)) AND NOT(REF(C=O,3))AND NOT(REF(CROSS(MA5,MA15),1)) ;底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);MACD选股:金叉 OR 底1,COLORFF00FF;STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;{20大周期底部73%-满回塘}L40:=MA(C,40);L60:=MA(C,60);VVAR01:=CLOSE/L40*100<78;VVAR02:=CLOSE/L60*100<74;VVAR03:=HIGH>(LOW*1.051);VVAR04:=VAR03 AND COUNT(VAR03,5)>1;VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15AND SUM(VOL/CAPITAL,13)*100<18 ANDVOL/CAPITAL*100<2.5AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04AND (VVAR01 OR VVAR02),1,0);大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;。
通达信精准抄底副图指标公式
M:=-15;P:=-20;VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。
通达信指标公式源码很实用的抄底逃顶指标
很实用的抄底逃顶指标DRAWBAND(MA(CLOSE,60),RGB(80,0,0),MA(CLOSE,120),RGB(0,91,0)); DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)); DRAWKLINE(H,O,L,C);MA5:=MA(CLOSE,5),COLORWHITE;MA10:=MA(CLOSE,10),COLORYELLOW;MA30:=MA(CLOSE,30),COLORMAGENTA;MA60:=MA(CLOSE,60),COLORGREEN;MA120:=MA(CLOSE,120),COLORLIMAGENTA;MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;VOL5:=MA(VOL,5),COLORWHITE;VOL10:=MA(VOL,10),COLORYELLOW;VOL40:=MA(VOL,40),COLORFF00FF ;量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1); DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;芙蓉出水:=BB1 AND CC1,COLOR00FF00;DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,H,C,0.8,0),COLORBLUE;}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨B:=C<REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1140214,1,0);缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;百日低量:=(VOL=LLV(VOL,100))*TIM;倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱OR 高量黄金柱;次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次黄金柱:=次倍量黄金柱OR 次高量黄金柱;准倍量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前倍量柱AND ((三日量缩AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;准高量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前高量柱AND (三日量缩AND 三日价涨C) AND 前三引用不成立;准黄金柱:=准倍量黄金柱OR 准高量黄金柱;倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前倍量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前高量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;将军柱:=倍量将军柱OR 高量将军柱;次倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前倍量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前高量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次将军柱:=次倍量将军柱OR 次高量将军柱;准倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前倍量柱AND 三日价涨C AND 前三引用不成立;准高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前高量柱AND 三日价涨C AND 前三引用不成立;准将军柱:=准倍量将军柱OR 准高量将军柱;BACKSET100:=BACKSET(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱OR 准将军柱,4);FILTER100:=FILTER(BACKSET100,3),NODRAW;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);BACKSET102:=BACKSET(次黄金柱,4);FILTER102:=FILTER(BACKSET102,3);BACKSET103:=BACKSET(准黄金柱,4);FILTER103:=FILTER(BACKSET103,3);BACKSET104:=BACKSET(将军柱,4);FILTER104:=FILTER(BACKSET104,3);BACKSET105:=BACKSET(次将军柱,4);FILTER105:=FILTER(BACKSET105,3);BACKSET106:=BACKSET(准将军柱,4);FILTER106:=FILTER(BACKSET106,3);黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3); 黄金线实体下端:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) ANDMIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3); 黄金线实体上端:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);黄金线实体中间:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));黄金线实体中间1:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDREF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间2:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDREF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间3:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDL=MIN(MIN(L,REF(L,1)),REF(L,2));BACKSET201:=BACKSET(黄金线下影线,4);FILTER201:=FILTER(BACKSET201,3),NODRAW;BACKSET202:=BACKSET(黄金线实体下端,4);FILTER202:=FILTER(BACKSET202,3),NODRAW;BACKSET203:=BACKSET(黄金线上影线,4);FILTER203:=FILTER(BACKSET203,3),NODRAW;BACKSET204:=BACKSET(黄金线实体上端,4);FILTER204:=FILTER(BACKSET204,3),NODRAW;BACKSET205:=BACKSET(黄金线实体中间,4);FILTER205:=FILTER(BACKSET205,3),NODRAW;BACKSET2051:=BACKSET(黄金线实体中间1,4);FILTER2051:=FILTER(BACKSET2051,3),NODRAW;BACKSET2052:=BACKSET(黄金线实体中间2,4);FILTER2052:=FILTER(BACKSET2052,3),NODRAW;BACKSET2053:=BACKSET(黄金线实体中间3,4);FILTER2053:=FILTER(BACKSET2053,3),NODRAW;BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 201));BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 202));BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 203));BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 204));BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 205));BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2051));BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2052));BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2053));最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT20 53);DAY1:=SUMBARS(FILTER100,1),NODRAW;HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NO DRAW;HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),R EF(OPEN,DAY1-1))),0),NODRAW;HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),N ODRAW;HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1), REF(OPEN,DAY1-1))),0),NODRAW;HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL, REF(LOW,DAY1-2))),0),NODRAW;HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL, REF(LOW,DAY1-3))),0),NODRAW;HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL, REF(LOW,DAY1-4))),0),NODRAW;黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,N ODRAW;立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(HIGH,3),1,0)));立桩量三日不破:=BARSLAST(立桩量)=3 ANDREF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW;STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORYELLOW;STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;K1:=SUMBARS(FILTER104,1);STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;K2:=SUMBARS(FILTER101,1);STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;强势5:MA(C,5),LINETHICK1;生命24:MA(C,24),COLORRED,LINETHICK1;DG1:=(CROSS(强势5,生命24));DRAWICON(DG1,生命24,1);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),LOW*0.99,'★∠45'),COLORFFFFFF;涨家数:INDEXADV,NODRAW,COLORLIMAGENTA ;跌家数:INDEXDEC,NODRAW,COLORGREEN;C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORGREEN;。
通达信选股最全公式
通达信选股最全公式-CAL-FENGHAI.-(YICAI)-Company One11、通达信选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS(""(9,3,3),""(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF(""(9,3,3),A2+1)<""(9,3,3) AND CROSS(""(9,3,3),""(9,3,3));A3:=BARSLAST(REF(CROSS(""(6,12,24),""(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF(""(6,12,24),A3+1)<""(6,12,24) AND CROSS(""(6,12,24),""(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*;CC1:=(C-REF(C,1))/REF(C,1)*100> ;DD1:=L< MA(C,5)*;EE1:=VOL< MA(V,5)*;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手{M 15 35 30N 12 32 27D 18 50 42}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)> AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF (OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) ANDOPEN/REF(CLOSE,1)> ;(VAR5 OR VARA) ;5、成交量变异率VR买入WVR :=SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2 ,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*;ABS(VVOL)-昨日VOL>=0;{大于昨日的倍};成交量是昨日的倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*;ABS(VVOL)-昨日VOL>=0;{大于昨日的倍};6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3)and count(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;8、“凹口起柱”理论编写的凹口指标的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!OL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=;T4:=REF(VOL,4)/REF(VOL,3)>=;T3:=REF(VOL,2)/REF(VOL,3)>=;T1:=V/REF(VOL,1)> F(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;21:299、倍量过左峰选股源码--通达信SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) ANDVOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高 AND 倍量;10、{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS(""(9,3,3),""(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF(""(9,3,3),A2+1)<""(9,3,3) AND CROSS(""(9,3,3),""(9,3,3));A3:=BARSLAST(REF(CROSS(""(6,12,24),""(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF(""(6,12,24),A3+1)<""(6,12,24) AND CROSS(""(6,12,24),""(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*;CC1:=(C-REF(C,1))/REF(C,1)*100>;DD1:=L<MA(C,5)*;EE1:=V<MA(V,5)*;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;12、主力进场VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5<REF(VAR5,1) AND NOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1 AND T2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);15、二次翻红DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<;FH5:=FH1 AND FH2 AND MACD<;二次翻红:=(FH3 OR FH4 OR FH5);低买:=CROSS(DIF,DEA) AND DIF<0;加油:=CROSS(DIF,DEA) AND DIF>0;XG:二次翻红 OR 低买 OR 加油;16、均量互换VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL2,MAVOL3);17、成交额均量互换AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)A ND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=;T4:=REF(VOL,4)/REF(VOL,3)>=;T3:=REF(VOL,2)/REF(VOL,3)>=;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V > M1;21、早盘量满--一个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。