通达信捉主力挖坑选股指标公式

合集下载

通达信黄金坑及选股指标公式

通达信黄金坑及选股指标公式

通达信黄金坑及选股指标公式{ 使用说明:1、对长期走牛或长期阴跌的个股无效。

2、必须等待看底和黄金坑出现方可买进。

3、粘合星的起点高于70无效。

若从低位向上连续,可作为追涨使用,一直追到顶部。

4、买时看三条线向下发散到出现黄金坑,买后若三条线一直向上呈发散状,则一直持股。

} RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;长线:SMA(RSV3,5,1),COLORYELLOW;看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0;黄金坑:STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF;看顶:STICKLINE(中线>80,80,中线,6,0),COLORFFF000;DRAWICON(CROSS(长线,15),中线,1);DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨');DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'千载难逢');粘合星:DRAWTEXT(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,'*');中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));底:DRAWTEXT(CROSS(中线2,-90) AND (长线<中线AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线<20),长线,'底'),COLORFF00FF;IF(COUNT(CROSS(中线2,-90),12)=3,30,5);IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100);{选股公式:VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VARA:=MA(VAR2,2);VARB:=BARSLAST(CROSS(-10,VARA)=1);VARC:=BARSLAST(CROSS(VARA,10)=1);VARD:=VARA<-10 AND VARB>3;VARE:=VARA>10 AND VARC>3;黄金坑:=IF(VARD,VARA,0);黄金:=REF(黄金坑,1)<0;黄金坑选股:黄金 AND 黄金坑=0;}。

通达信抓妖主图指标公式

通达信抓妖主图指标公式

通达信抓妖主图指标公式N1:=STRCAT(CON2STR(YEAR,0),' 年 ');Y1:=STRCAT(CON2STR(MONTH,0),' 月 ');R:=STRCAT(CON2STR(DAY,0),' 日 ');SJ:=STRCAT(STRCAT(N1,Y1), R);DRAWTEXT_FIX(C>0,0.8,0.28,0,SJ),COLORYELLOW;MA5:MA(C,5);MA8:MA(C,8);MA10:MA(C,10);MA20:MA(C,20);MA30:MA(C,30);MA60:MA(C,60);MA120:MA(C,120);MA250:MA(C,250);{成交量卖点}VAR6:=REF(CLOSE,1);VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;STICKLINE(CROSS(84,VAR7),CLOSE,OPEN,2.8,0),COLORGREE N;卖出:=CROSS(84,VAR7);DRAWTEXT(卖出,H*1.001,''),COLORGREEN;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;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;何氏抄底:=REF(J,1)<10 AND REF(MACD,1)<REF(MACD,2) AND MACD>REF(MACD,1) AND MACD<0 ANDCCI>REF(CCI,1) AND (REF(CCI,2)<-100 OR REF(CCI,3)<-100);{DRAWTEXT(何氏抄底,L*0.999,'↖波段买'),COLORYELLOW;}STICKLINE(何氏抄底,CLOSE,OPEN,3.2,0),COLORYELLOW;{何氏妖股}月DIF:="MACD.DIF#MONTH";月DEA:="MACD.DEA#MONTH",;周DIF:="MACD.DIF#WEEK";周DEA:="MACD.DEA#WEEK",;日DIF:="MACD.DIF";日DEA:="MACD.DEA";日金叉:=CROSS(日DIF,日DEA);周金叉:=CROSS(周DIF,周DEA);月金叉:=CROSS(月DIF,月DEA);金叉共振:=IF(CROSS(周DIF,周DEA),MACD+0.1,0),COLORWHITE,LINETHICK2;共振:=IF((日DIF>日DEA AND 周DIF>周DEA AND 月金叉) OR ( 周DIF>周DEA AND 月DIF>月DEA AND 日金叉) AND C/REF(C,1)>1.08OR (月DIF>月DEA AND 日DIF>日DEA AND 周金叉) OR (日金叉AND 周金叉AND 月金叉),MACD+0.2,0),COLORF00FF0,LINETHICK3;STICKLINE(金叉共振AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,3.2,0),COLOR0077FF;STICKLINE(金叉共振AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,2.5,0),COLOR0099FF;STICKLINE(金叉共振ANDC/REF(C,1)>1.05,O,REF(C,1)*1.05,1.9,0),COLOR00BBFF;STICKLINE(金叉共振AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,1.2,0),COLOR00DDFF;STICKLINE(金叉共振AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,0.3,0),COLOR00FFFF;STICKLINE(共振AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,3,0),COLOR000099;STICKLINE(共振AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,2.2,0),COLOR0000CC;STICKLINE(共振AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,1.5,0),COLOR0000FF;STICKLINE(共振AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,0.5,0),COLORCC66FF;STICKLINE(共振AND C/REF(C,1)>1.08,REF(C,1)*1.05,C,0.5,0),COLORYELLOW;DRAWTEXT(共振AND C/REF(C,1)>1.08,REF(C,1)*1.058,'↖起爆捉妖'),COLORYELLOW;DRAWTEXT(金叉共振AND C/REF(C,1)>1.05,REF(C,1)*1.028,'↖妖股初现'),COLORRED;每股净资产:FINANCE(34),NODRAW,COLORRED;每股公积金:FINANCE(18),NODRAW,COLORGREEN;未分配利润:FINANCE(32),NODRAW,COLORMAGENTA;{题材数据}DRAWTEXT_FIX(ISLASTBAR,0,0,0,CODE),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,STKNAME),COLORMAGE NTA;DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,HYBLOCK),COLORCYAN;DRAWTEXT_FIX(ISLASTBAR,0.3,0,0,DYBLOCK),COLORYELLO W;DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,GNBLOCK),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,FGBLOCK),COLORWHITE;{现价游标}现价:=CONST(C),COLORCYAN,DOTLINE;DRAWTEXT_FIX(1,0.6,0.02,0,'【名称】'),COLORGREEN;DRAWTEXT_FIX(1,0.675,0.02,0,STKNAME),COLORYELLOW;DRAWTEXT_FIX(1,0.6,0.07,0,'【代码】'),COLORGREEN;DRAWTEXT_FIX(1,0.675,0.07,0,CODE),COLOR0080FF;DRAWTEXT_FIX(1,0.6,0.12,0,'【现价】'),COLORGREEN;DRAWNUMBER_FIX(1,0.675,0.12,0,现价),COLORCYAN;DRAWTEXT_FIX(1,0.6,0.17,0,'【均价】'),COLORGREEN;DRAWNUMBER_FIX(1,0.675,0.17,0,DYNAINFO(11)),COLORW HITE;。

通达信 庄家专用指标公式

通达信 庄家专用指标公式

通达信庄家专用指标公式通达信的庄家专用指标公式是一类用于判断股票庄家操盘意图的指标公式。

下面是几个常用的庄家专用指标公式以及其解释说明:1. 操盘提前量(ADTM)操盘提前量是股价波动的先行指标,用于衡量庄家操盘的力度,公式如下:ADTM = (H+L)/2 - C其中,H为当日最高价,L为当日最低价,C为当日收盘价。

当ADTM值大于0时,表示庄家有较大的操盘意图,股价可能上涨;当ADTM值小于0时,表示庄家有较大的出货意图,股价可能下跌。

2. 庄家操盘力度指数(ARD)庄家操盘力度指数是用于衡量庄家操盘的力度和意图,公式如下:ARD = (V1 - V2)/(V1 + V2)其中,V1为买盘成交量,V2为卖盘成交量。

当ARD值接近1时,表示庄家力度较大,股价可能上涨;当ARD值接近-1时,表示庄家力度较大,股价可能下跌。

3. 操盘热度指数(BSI)操盘热度指数是用于衡量庄家操盘的热度和氛围,公式如下:BSI = (ADV - DDV)/(ADV + DDV)其中,ADV为上涨成交量之和,DDV为下跌成交量之和。

当BSI值接近1时,表示操盘热度较高,股价可能上涨;当BSI值接近-1时,表示操盘热度较高,股价可能下跌。

4. 主力资金流向指标(CMF)主力资金流向指标是用于观察庄家资金流动情况,公式如下:CMF = SUM((H+L)/2 - C)(H-L))/(SUM(H-L)V)其中,H为当日最高价,L为当日最低价,C为当日收盘价,V为交易量。

CMF值越高,表示主力资金流入越大,股价可能上涨;CMF值越低,表示主力资金流出越大,股价可能下跌。

注意:以上公式仅为示例,具体应用时还需结合其他指标和实时市场情况进行综合分析。

5. 动力指标(DMI)动力指标用于判断庄家的动力和动能,公式如下:高点动力线(ADX)= (高点动力线+低点动力线)/2 * 100低点动力线(DI)= (高点动力线-低点动力线)/(高点动力线+低点动力线)* 100当高点动力线上升,低点动力线下降且高点动力线大于25,表示庄家操盘力度较大,股价可能上涨。

通达信捉牛密码选股指标公式

通达信捉牛密码选股指标公式

通达信捉牛密码选股指标公式AA1:=REF(CLOSE,2)/REF(CLOSE,1)>=1.04;AA61:=EMA(EMA(EMA(CLOSE,12),12),12);AA62:=(AA61-REF(AA61,1))/REF(AA61,1)*100;AA63:=MA(AA62,9);AA64:=AA62>AA63;AA65:=CLOSE/REF(CLOSE,1)>1.09;AA66:=CLOSE=HIGH;AA67:=REF(AA65,1) AND REF(AA66,1);AA68:=COUNT(AA67,4)>0;AA70:=(3*CLOSE+LOW+OPEN+HIGH)/6;AA71:=(20*AA70+19*REF(AA70,1)+18*REF(AA70,2)+17*REF (AA70,3)+16*REF(AA70,4)+15*REF(AA70,5)+14*REF(AA70,6)+13 *REF(AA70,7)+12*REF(AA70,8)+11*REF(AA70,9)+10*REF(AA70,1 0)+9*REF(AA70,11)+8*REF(AA70,12)+7*REF(AA70,13)+6*REF(AA 70,14)+5*REF(AA70,15)+4*REF(AA70,16)+3*REF(AA70,17)+2*RE F(AA70,18)+REF(AA70,20))/210;AA72:=MA(AA71,6);AA73:=AA71>AA72;AA74:=CLOSE>1.02*REF(CLOSE,1);AA75:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);AA77:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(AA75))+REF(C LOSE,BARSLAST(AA75)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(AA75))+REF(CLOSE,BARSLAST(A A75)+1))/2;AA78:=BARSLAST(AA75)<=7 AND AA74 AND AA77 AND COUNT(AA74,BARSLAST(AA75))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(AA75))=1;AA80:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;AA81:=CROSS(CLOSE,AA80) AND AA80>REF(AA80,1);AA82:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;AA83:=CROSS(CLOSE,AA82) AND AA82>REF(AA82,1);AA84:=AA81 AND AA83 AND AA78 AND AA73 AND AA64;AA85:=AA68 AND AA78 AND AA73 AND AA64;AA86:=AA84 OR AA85;AA87:=REF(CLOSE>OPEN AND REF(HIGH=CLOSE,1) AND OPEN>REF(CLOSE,1),1) OR (OPEN<REF(CLOSE,1) AND REF(CLOSE<OPEN,1) AND CLOSE/REF(CLOSE,1)<0.97 AND LOW/REF(CLOSE,1)<0.927) OR (LOW/REF(CLOSE,1)<1.008 AND CLOSE/REF(CLOSE,1)<1.0199 AND CLOSE/OPEN<0.955 AND OPEN/CLOSE<1.13 AND REF(HIGH=CLOSE,1)) OR (REF(CLOSE<OPEN,1) AND (CLOSE<REF(LOW,2) OR CLOSE/REF(CLOSE,2)<0.945) AND CLOSE/REF(CLOSE,2)<0.965) AND CLOSE/LOW<1.051 AND NOT(HIGH=LOW);AA88:=REF(REF(CLOSE/REF(CLOSE,4)>=1.13,3) OR REF(CLOSE/REF(CLOSE,3)>=1.1,1) OR REF(CLOSE/REF(CLOSE,4)>=1.073,2) OR REF(CLOSE/REF(CLOSE,1)>=1.089,1) OR CLOSE/REF(CLOSE,2)>=1.089 OR CLOSE/REF(CLOSE,4)>=1.073 AND COUNT(CLOSE>=OPEN,4)>=1,1);AA89:=CLOSE/REF(CLOSE,1)<0.955 OR CLOSE/REF(CLOSE,1)<0.963 AND REF(CLOSE<OPEN,1) OR CLOSE/REF(CLOSE,1)<0.965 AND REF(CLOSE<OPEN,1) OR CLOSE<REF((CLOSE+OPEN)/2,2) OR CLOSE/REF(CLOSE,1)<0.966 AND CLOSE<REF(OPEN,1) AND LOW<REF(LOW,1);AA90:=AA87 OR AA88 OR AA89;AA91:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);AA92:=CLOSE>1.02*REF(CLOSE,1);AA93:=AA91 AND AA90;AA94:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(AA93))+REF(C LOSE,BARSLAST(AA93)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(AA93))+REF(CLOSE,BARSLAST(A A93)+1))/2;AA95:=BARSLAST(AA93)<=7 AND AA92 AND AA94 AND COUNT(AA92,BARSLAST(AA93))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(AA93))=1;捉牛:AA95 AND AA87=0 AND AA86=0 AND AA1;。

通达信公式主力进场选股指标

通达信公式主力进场选股指标

通达信公式主力进场选股指标{主力}大资金进场红:0,COLORRED;{主力}主力资金进场黄:0,COLORYELLOW;{主力}主力金洗盘蓝:0,COLORBLUE;{主力}主力资金出场绿:0,COLORGREEN;ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=ZZLKP-ZZLJJ;AA:=EMA(ZJLRQD,3);BB:=EMA(AA,5);CC:=AA-BB;STICKLINE(CC<REF(CC,2),CC,0,1.5,1),COLORGREEN;STICKLINE(CC>REF(CC,2),CC,0,1.5,1), COLORRED;大资金出场:IF(CROSS(AA,BB),5,0),STICK,LINETHICK4,COLORMAGENTA;大资金洗盘:IF(CROSS(BB,AA),-5,0),STICK,LINETHICK3,COLORLIBLUE;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),5);大资金进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,0 ),COLORRED;洗盘:STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,0),COLORGREEN;{绿} 主力进场阳:STICKLINE(VAR5>REF(VAR5,1) AND C>O,0,VAR5,2,0 ),COLORYELLOW;洗盘阴:STICKLINE(VAR5<REF(VAR5,1) AND C<O,0,VAR5,2,0),COLORBLUE;MA3:=MA(CLOSE,M3);MA5:=MA(CLOSE,M5);均启:CROSS(MA3,MA5)STICK;DRAWTEXT(均启,H*0.1,'均线启动'),COLORWHITE;反:DRAWTEXT(CROSS(AA,BB)AND AA<-3,20,'反'),COLORRED;。

通达信超级黄金坑指标公式

通达信超级黄金坑指标公式

通达信超级黄金坑指标公式RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,中跳,17,6,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,MAX(长跳,MAX(短跳,中跳)),28,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,80,中跳,3,0),COLORFFF000;DRAWICON(CROSS(长跳,17),中跳,1);{ 股旁网_最新股票指标公式}DRAWTEXT(LONGCROSS(中跳,28,17),28,'追涨');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),28,'跑道起跳');短中长粘合:DRAWTEXT(ABS(中跳-长跳)<2 AND 中跳>REF(中跳,1),中跳,'**'),COLORBLUE;中跳1:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50));底:DRAWTEXT(CROSS(中跳1,-90) AND (长跳<中跳AND 长跳>REF(长跳,1)OR 短跳<28 AND 中跳<28 AND 长跳<28),长跳,'底'),COLORFF00FF;IF(COUNT(CROSS(中跳1,-90),12)=3,40,6);。

通达信CCI精绝黄金坑副图公式源码,不加密,通达信,副图公式,股票指标公式分享平台

通达信CCI精绝黄金坑副图公式源码,不加密,通达信,副图公式,股票指标公式分享平台

通达信CCI精绝黄金坑副图公式源码,不加密,通达信,副图公式,股票指标公式分享平台图片:指标:VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0), 13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,56),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);A:IF(VAR8>REF(VAR8,1),VAR8,0),COLOR10FFFF,STICK;B:IF(VAR8<REF(VAR8,1),VAR8*1.5,0),COLORFFF810,STICK;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1) <REF(XL1,2);STICKLINE(XL3,0,VAR8*3,4,0),COLOR006EFF;指标1:=REF(LOW,1);指标2:=SMA(ABS(LOW-指标1),3,1)/SMA(MAX(LOW-指标1, 0),3,1)*15;指标3:=EMA(IF(CLOSE*1.2,指标2*10,指标2/10),3);指标4:=LLV(LOW,38);指标5:=HHV(指标3,38);指标6:=IF(LLV(LOW,90),1,0);指标7:=EMA(IF(LOW<=指标4,(指标3+指标5*2)/2,0),3)/618*指标6;指标8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;指标9:=SMA(指标8,13,8);吸筹1:STICKLINE(指标7,0,指标7,6,0),COLOR0000FF;吸筹2:STICKLINE(指标7,0,指标7,5,0),COLOR6600FF;吸筹3:STICKLINE(指标7,0,指标7,4,0),COLORBB00FF;吸筹4:STICKLINE(指标7,0,指标7,3,0),COLORFF00FF;吸筹5:STICKLINE(指标7,0,指标7,2,0),COLORFF33FF;吸筹6:STICKLINE(指标7,0,指标7,1,0),COLORFF66FF;吸筹7:STICKLINE(指标7,0,指标7,0,0),COLORFF99FF;R8:=MA(CLOSE,27);R9:=(CLOSE-R8)/R8*100;RA:=MA(R9,2);RB:=BARSLAST(CROSS(-10,RA)=1);RD:=RA<-10 AND RB>3;黄金坑:IF(RD,-6,0),COLORYELLOW,LINETHICK2;RR81:=MA(CLOSE,5);RR91:=(CLOSE-RR81)/RR81*100;RRD1:=CROSS(MA(RR91,2),5);零轴:IF(RRD1,0.5,0),COLORFF69B4,LINETHICK2;RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;超跌:IF(MA(RR9,2)<-20 AND BARSLAST(CROSS(-10,MA(RR9, 2))=1)>3 AND CROSS(MA(RR9,2)-REF(MA(RR9,2),1),0),-6,0);。

通达信选股公式1

通达信选股公式1

通达信选股公式11、通达信选股公式{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)<="" p="">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) ANDCROSS(""(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 30 N 12 32 27 D 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 ANDDATE>940101 AND (CLOSE>OPEN OR CLOSE AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)REF(CLOSE,2) OR REF(OPEN,2)REF(CLOSE,3) OR REF (OPEN,3)<="" bdsfid="94" p="">(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)REF(CLOSE,5) OR REF(OPEN,5)<ref(close,5));< bdsfid="97" p=""></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)<="" bdsfid="101" p="">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;< bdsfid="113" p=""></k*100;<>VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<="" bdsfid="115" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)<="" and="" bdsfid="120" p="">REF(OPEN,5) REF(CLOSE,6) OR REF(OPEN,6)REF (CLOSE,7) OR REF(OPEN,7)<ref(close,7));< bdsfid="125" p=""></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<="" bdsfid="134" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<ref(open,1));< bdsfid="137" p=""></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<="" bdsfid="145" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)<="" and="" bdsfid="150" p="">REF(OPEN,5) REF(CLOSE,6) OR REF(OPEN,6)<ref(close,6))< bdsfid="154" p=""></ref(close,6))<>AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<ref(close,7));< bdsfid="156" p=""></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 (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(clo se="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);</p" bdsfid="165">。

通达信选股最全公式

通达信选股最全公式

1、通达信选股公式{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("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) AND CROSS("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;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.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)>-0.07 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)/2.8/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)>1.8 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<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 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)>-0.05 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)>-0.05 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) AND OPEN/REF(CLOSE,1)>0.96 ;(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)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};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.9;倍量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、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;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 T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 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) AND VOL/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("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) AND CROSS("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;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓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;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)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(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)AND 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)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;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点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。

通达信黄金坑抄大底指标公式

通达信黄金坑抄大底指标公式

通达信黄金坑抄大底指标公式N:=14;MM:=6;RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;RRA:=MA(RR9,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;黄金坑:IF(RRD,-35,0),COLORYELLOW,LINETHICK3;DRAWICON(RRD,-20,1);VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VAR3:=MA(VAR2,2);VAR4:=BARSLAST(CROSS(-10,VAR3)=1);VAR5:=VAR3<-10 AND VAR4>3;贪嘴乐: IF(VAR3>REF(VAR3,1) AND VAR5 AND VAR3<-15,60,0),LINETHICK3,LINESTICK,COLORFFA2AF;DRAWICON(贪嘴乐>=1.6,35,1);VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;DRAWTEXT(黄金坑 AND PS1,105,'B'),COLORRED;STICKLINE(黄金坑 AND PS1,40,0,2,0),COLORYELLOW;VAR15:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH ANDBETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));买入XG:IF(FILTER(VAR15,28),70,0)LINETHICK2,COLORLIMAGENTA;获利1个点:=REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10A:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10A:=((ATAN((AA10A - REF(AA10A,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR6:=MA(VAR5,3);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)));VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; 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 ((VAR20AND 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.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;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);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=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)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;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)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;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)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线*VAB3;财主抓板:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW,COLORYELLOW;STICKLINE(财主抓板,5,10,1,0),COLORRED;STICKLINE(财主抓板,10,15,1,0),COLORBLUE;STICKLINE(财主抓板,15,20,1,0),COLORRED;STICKLINE(财主抓板,20,25,1,0),COLORBLUE;STICKLINE(财主抓板,25,30,1,0),COLORMAGENTA;STICKLINE(财主抓板,30,35,1,0),COLORBROWN;STICKLINE(财主抓板,35,40,1,0),COLORMAGENTA;STICKLINE(财主抓板,40,45,1,0),COLORYELLOW;STICKLINE(财主抓板,45,50,1,0),COLORLIRED;STICKLINE(财主抓板,50,55,1,0),COLORYELLOW;STICKLINE(财主抓板,55,60,1,0),COLORMAGENTA;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);{DMI指标}{N:2,90,14;MM:2,90,6;}HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);多头线: DMP*100/MTR,COLORCYAN,LINETHICK2;空头线:= DMM*100/MTR,COLORGREEN,LINETHICK2;趋势:= EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;强弱:30,COLORWHITE,DOTLINE,LINETHICK1;BOLL:=MA(CLOSE,20);UB:=BOLL+2*STD(CLOSE,20);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025)AND((HIGH)/(CLOSE)<1.03) AND ((CLOSE)>(UB)) AND (多头线-空头线)>5 AND 多头线>20 AND (趋势>REF(趋势,1)) AND (多头线>REF(多头线,1)) AND (VAR3AA>0),91,0);XG:=(FILTER((VAR4AA>90),21)),COLORYELLOW;{DRAWTEXT(XG,85,'DMI'),COLOR00C5FF;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.3,0),COLORMAGENTA;}VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2Z:=SUMBARS(VOL,CAPITAL);VAR3Z:=HHV(VAR1Z,VAR2Z);VAR4Z:=LLV(VAR1Z,VAR2Z);VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z*60,VAR6Z*60);VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9Z:=EMA(VAR8Z,7);VARAZ:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARBZ:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;大底: IF(VARAZ+VARBZ<7 AND CROSS(VAR8Z,VAR9Z) AND VAR9Z<-18 AND VAR9Z<VARBZ AND 黄金坑AND 贪嘴乐,110,0),COLORRED,LINETHICK3;GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;B:=BARSLAST(CROSS(GJTJ4,GJTJ2));DD:=GJTJ3;E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;F:=GJTJ2;B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;VAR0004:="KDJ.K#WEEK"(9,3,3);VAR0005:="KDJ.D#WEEK"(9,3,3);周:=CROSS(VAR0004,VAR0005);周金坑KDJ:=IF(A AND B AND E AND F AND 周,50,0)COLORWHITE,LINETHICK1;KKM:="KDJ.K#MONTH";KDM:="KDJ.D#MONTH";月:=CROSS(KKM,KDM);去停牌:=DYNAINFO(8)>0;去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));金坑K月:IF(A AND B AND DD AND E AND F AND 去停牌 AND 去ST AND 月,90,0)COLORWHITE,LINETHICK3;VARO1:=HHV(HIGH,9)-LLV(LOW,9);VARO2:=HHV(HIGH,9)-CLOSE;VARO3:=CLOSE-LLV(LOW,9);VARO4:=VARO2/VARO1*100-70;VARO5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VARO6:=(2*CLOSE+HIGH+LOW)/4;VARO7:=SMA(VARO3/VARO1*100,3,1);VARO8:=LLV(LOW,34);VARO9:=SMA(VARO7,3,1)-SMA(VARO4,9,1);VARO11:=HHV(HIGH,34);VARO12:=EMA((VARO6-VARO8)/(VARO11-VARO8)*100,13);VARO13:=EMA(0.667*REF(VARO12,1)+0.333*VARO12,2);生命线:=EMA(VARO13,5),COLORYELLOW;太平洋XG:=IF(CROSS(VARO12,VARO13) AND VARO12>VARO13,25,0)COLORYELLOW;VAR0002:="KDJ.K#DAY"(9,3,3);VAR0003:="KDJ.D#DAY"(9,3,3);VAR0006:="KDJ.K#MONTH"(9,3,3);VAR0007:="KDJ.D#MONTH"(9,3,3);日金叉:=IF(CROSS(VAR0002,VAR0003),40,0)LINESTICK,COLORGREEN;VAR15H:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));XG88:=IF(FILTER(VAR15H,28),35,0)LINETHICK1,COLORWHIT E;VAR2G:=REF(LOW,1);VAR3G:=SMA(ABS(LOW-VAR2G),3,1)/SMA(MAX(LOW-VAR2G,0),3,1)*100;VAR4G:=EMA(IF(CLOSE*1.3,VAR3G*10,VAR3G/10),3);VAR5G:=LLV(LOW,30);VAR6G:=HHV(VAR4G,30);VAR7G:=IF(MA(CLOSE,58),1,0);VAR8G:=EMA(IF(LOW<=VAR5G,(VAR4G+VAR6G*2)/2,0),3)/6 18*VAR7G;VAR9G:=IF(VAR8G>100,100,VAR8G);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线L:=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), ,COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);CS8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;DDFX8:=(SMA(CS8,3,1)-50)*2;DCS8:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;C8:=(SMA(DCS8,3,1)-50)*2;差值8:=DDFX8-C8;出手就赢:=IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0) AND 差值8>REF(差值8,1);VAR15G:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));买入O:=IF(FILTER(VAR15G,28),25,0)LINETHICK2,COLORMAGENTA;底部买赢:IF(出手就赢 AND 底部吸筹指标 AND 波段鬼 AND 买入XG,100,0)LINETHICK3,COLORBROWN;赢XG:IF(太平洋XG AND 日金叉 AND XG88 AND 买入O AND 出手就赢,50,0)LINETHICK3,COLORLIRED;{ZF:=(CLOSE/REF(CLOSE,1)-1)*100;TA:=ZF>=5 AND CLOSE>OPEN;TB:=RANGE(CLOSE,REF(LOW,1),REF(CLOSE,1)) AND OPEN>CLOSE;TC:=REF(TA,1) AND TB;TD:=BARSLAST(TC);TE:=ZF>=1.5 AND CLOSE>OPEN AND RANGE(REF(OPEN,TD),REF(CLOSE,1),CLOSE);TF:=EVERY(CLOSE>=REF(LOW,TD+1),TD);封印:=TE AND TF;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;跳空高开:=REF(C,1)<REF(O,1) AND O>REF(C,1) ANDC>=REF(C,1)*1.02;封印G:IF(封印AND 跳空高开AND 底部预警,40,0)COLORFFA2AF,LINETHICK3;}量比:=V/REF(MA(V,1),1);多方力度:=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);空方力度:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));红钻石:=C/REF(C,1)>1.03 AND 量比>1.1 AND CROSS(多方力度,空方力度);DRAWICON(红钻石,L*0.98,25);VAR1I:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;VAR2I:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;VAR3I:=(C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100;VAR4I:=DMA(SMA((VAR1I+VAR2I+VAR3I)/3,2,1),3);K:SMA(VAR4I,2,1),COLORRED,LINETHICK1;M:SMA(K,2,1),COLORFFFFFF;DRAWICON(CROSS(K,M),K-1,1);DRAWICON(CROSS(M,K),M-1,2);红买青卖:30,COLOR0000FF,LINETHICK1;红买: IF(K>M,30,DRAWNULL),COLOR0000FF,LINETHICK1;青卖: IF(K<M,30,DRAWNULL),COLOR00FF00,LINETHICK1;{底部来临:}VAR2P:=CLOSE*VOL;VAR3P:=EMA((MA(VAR2P,3)/MA(VOL,3)+MA(VAR2P,5)/MA( VOL,5)+MA(VAR2P,13)/MA(VOL,13)+MA(VAR2P,21)/MA(VOL,21) )/4,1);VAR4P:=1*VAR3P;VAR5P:=VAR3P*0.92;VAR6P:=EMA(CLOSE,34);VAR7P:=MA(VAR6P*1.12,5);VAR8P:=MA(VAR6P*0.82,5);VAR9P:=CLOSE<VAR8P;VARAP:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VO L,5)/100)<(-0.4);XX:=VARAP AND CLOSE<VAR8P;VAR10P:=REF(CLOSE,1);VAR14P:=SMA(MAX(CLOSE-VAR10P,0),12,1)/SMA(ABS(CLOSE-VAR10P),12,1)*100;CC:=CROSS(VAR14P,20);底部来临:IF(XX AND CC,100,0)COLORYELLOW,LINETHICK2;。

通达信挖洞捕蝉主图副图套装指标公式

通达信挖洞捕蝉主图副图套装指标公式

通达信挖洞捕蝉主图副图套装指标公式指标是做波段、做趋势的利器,分享给大家,值得学习研究通达信挖洞捕副图源码昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-1*FK*3.22;Q3:=昨收-5*FK*3.2;{时间大额设置}TJ:=FILTER(C,239)>0,NODRAW;TJJ:=SUM(TJ,0),NODRAW;TJA:=CONST(TJJ),NODRAW;C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;TTA:=90;KP30:=T<240;KPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;成交额:=AMOUNT,NODRAW;VV2:=SUM(AMOUNT,T),NODRAW;VV3:=VV2/T;SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF (CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000 000,3,IF(CAPITAL<5000000,1.5,1)))))),NODRAW;VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL*10000+0.1))*SS,NODRAW;大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;起算量:大额线*100,COLOR00FFFF,NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);初正:=CONST(SUM(IF(初正1>=大额线AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>=大额线AND T=1,初负1,0),T)),NODRAW;初正2:=CONST(SUM(IF(初正1<大额线AND T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(初负1<大额线AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1<REF(C1,1),-0.9,0.9);T02:=T00+T01,NODRAW;TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交额,0),NODRAW;负V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交额,0),NODRAW;正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;正V:=IF(正V1>=大额线,正V1,0);负V:=IF(负V1>=大额线,负V1,0);正V2:=IF(正V1<大额线,正V1,0);负V2:=IF(负V1<大额线,负V1,0);正总:=初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:=初负+SUM(负V,T),NODRAW,COLOR00FF00;正总2:=初正2+SUM(正V2,T),NODRAW,COLOR0000FF;负总2:=初负2+SUM(负V2,T),NODRAW,COLOR00FF00;大差%:(正总-负总)/(正总+负总)*100,COLOR00FF00,NODRAW;小差%:(正总2-负总2)/(正总2+负总2)*100,COLOR00FF00,NODRAW;JSQ:=IF((Q2+Q3)/2*1.042<RCC,RCC,(Q2+Q3)/2*1.042);DRAWBAND(JSQ,RGB(50,50,50),(Q2+Q3)/2*0.99,DRAWNUL L);Q4:=IF(大差%>=0,JSQ,(Q2+Q3)/2*0.99),NODRAW;Q5:=IF(大差%>=0,(Q2+Q3)/2*0.99,JSQ),NODRAW;DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));STICKLINE(CROSS(大差%,-0.999),(Q2+Q3)/2*0.99,JSQ,10,0),COLOR777777;STICKLINE(CROSS(-0.999,大差%),(Q2+Q3)/2*0.99,JSQ,10,0),COLOR777777;{强弱界定家公式网 .COM}MMA30:=EMA(CLOSE,30)-(Q2+Q3)/2*0.01;强弱界定:=EMA(CLOSE,900)-(Q2+Q3)/2*0.01;DRAWBAND(MMA30,RGB(200,100,0),强弱界定,RGB(0,150,150));DRAWICON(CROSS(MMA30,强弱界定),H,1);{金龙喜舞}日时转换:=IF(PERIOD=5,120,240);QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2-(Q2+Q3)/2*0.01;VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2-(Q2+Q3)/2*0.01;VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2-(Q2+Q3)/2*0.01;VAR3:=(VAR1+VAR2)/2;VAR4:=EMA(VAR3,30);VAR5:=EMA(VAR3,60);VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110 ,30));牵引线:=VAR1,COLORYELLOW;强弱线:=EMA(VAR1,日时转换),POINTDOT,COLORWHITE;趋势关注:=IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;量价关注:=IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;冲击量:=IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;强势区:=IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;止损区:=IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW;DRAWICON(趋势关注=1,EMA(VAR1,60),13);DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE;{分时MACD}DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;{多头MACD}DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEAA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEAA))*20,NODRAW;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;RB:=(Q2+Q3)/2*0.99+2*(Q2-Q3)/4/FDM*多头MACD;STICKLINE(多头MACD>0,RB,(Q2+Q3)/2*0.99,2,1),LINETHICK1,COLOR00AAFF;STICKLINE(多头MACD<0,RB,(Q2+Q3)/2*0.99,2,1),LINETHICK1,COLOR00AA00;{火焰山}EEEE:=(RCC-ZS)/3;FVAR1:=REF(LOW,1);FVAR2:=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX(LOW-FVAR1,0),13,1);FVAR3:=EMA(FVAR2,13);FVAR4:=LLV(LOW,34);FVAR51:=EMA(IF(LOW<=FVAR4,FVAR3,0),3);FVAR5:=IF(FVAR51>20,20,FVAR51);主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVA R5*EEEE,10,0 ),COLORRED;STICKLINE(FVAR5<REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FV AR5*EEEE,5,1),COLORGREEN;{庄迹}FVAR6:=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);FVAR8:=TJA<4 AND COUNT(((FVAR6<REF(FVAR6,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<DYNAINFO(3)*1.02)),30)=1;DRAWTEXT(FVAR8 AND COUNT(FVAR8,30)=1,(Q2+Q3)/2*0.99,'★迹'),COLORFFFFFF;{横盘突破}YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)<0.01;横后上涨:=(CLOSE/DYNAINFO(3))<1.03 AND 短横AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2));上涨:=T>90 AND (FILTER((CROSS(横后上涨,0) AND 量AND T>60 OR (T>60 ANDCLOSE<DYNAINFO(3)*1.03 AND (量1<0.5 OR 量1=1) AND BARSLAST(CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2)))<3AND CROSS(C,MA(HHV(C,TTA),1)))),30));STICKLINE(TJA<4 AND 上涨,(Q2+Q3)/2,(Q2+Q3)/2*1.035,10,0),COLOR0000FF;DRAWTEXT(TJA<4 AND 上涨,(Q2+Q3)/2*1.035,'★横'),COLORRED;{DIF金叉以及KD金叉}JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(TJA<4 AND 二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,10,0),COLORFF00FF;DRAWTEXT(TJA<4 AND 二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((TJA<4 OR TJA=3 AND TJJ>1) AND (CROSS(DIF,DEA) AND (下- REF(下,1)) > 0 AND MACD > REF(MACD,1) AND DIF < 0),(Q2+Q3)/2,(Q2+Q3)/2*1.01,10,0),COLOR0000FF;DRAWTEXT((TJA<4 OR TJA=3 AND TJJ>1) AND (CROSS(DIF,DEA) AND (下- REF(下,1)) > 0 AND MACD > REF(MACD,1) AND DIF < 0),(Q2+Q3)/2*1.03,'DIF金叉'),COLORFFFFFF;RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=(CROSS(K,D) AND K>0 AND 量 AND CLOSE<DYNAINFO(3)*1.03);JCC:=COUNT(CROSS(K,D),BARSLAST(D>=0));K二金:=(CROSS(K,D) AND DEA<0 AND COUNT(JCC=2,21)=1);DRAWTEXT(TJA<4 AND 短买,(Q2+Q3)/2*1.035,'短买'),COLORFFFF00;DRAWTEXT(TJA<4 AND K二金,(Q2+Q3)/2*1.035,'K二金'),COLORFFEE00;{冲高过顶}顶高:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:=IF(CROSS(C,顶高),1,0),COLOR00FF00,POINTDOT,NODRAW;冲高:=IF(FILTER(CROSS(C,顶高*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;DRAWTEXT(过顶,顶高*1.005,'↑'),COLOR00FF00;DRAWTEXT(冲高,顶高*1.005,'☆'),COLOR00FFFF;{盘龙驸凤}RCC11:=IF((RCC*KK+大差%/100)<(Q2+Q3)/2*0.96,(Q2+Q3)/2*0.96-((Q2+Q3)/2*0.96-(RCC*KK+大差%/100))*0.1,IF((RCC*KK+大差%/100)>(Q2+Q3)/2*1.07 AND (Q2+Q3)/2*1.04>=RCC*KK ,(Q2+Q3)/2*1.07+((RCC*KK+大差%/100)-(Q2+Q3)/2*1.04)*0.1,(RCC*KK+大差%/100))),NODRAW;RCC1:=IF(RCC*KK>(Q2+Q3)/2*1.04 AND RCC11>RCC*KK,(RCC11-RCC*KK)*0.2+RCC*KK,RCC11);{RCC1:=(RCC*KK+大差%/100);}盘龙:IF(T>5 AND 正总!=0 AND 负总!=0,RCC1,DRAWNULL),COLOR00FF00,LINETHICK2;RCC22:=IF((RCC*KK+小差%/100)<(Q2+Q3)/2,(Q2+Q3)/2-((Q2+Q3)/2-(RCC*KK+小差%/100))*0.1,IF((RCC*KK+小差%/100)>(Q2+Q3)/2*1.04 AND(Q2+Q3)/2*1.04>=RCC*KK ,(Q2+Q3)/2*1.04+((RCC*KK+小差%/100)-(Q2+Q3)/2*1.04)*0.1,(RCC*KK+小差%/100)));RCC2:=IF(RCC*KK>(Q2+Q3)/2*1.04 AND RCC22>RCC*KK,(RCC22-RCC*KK)*0.2+RCC*KK,RCC22);望喜:IF(T>5 AND 正总1!=0 AND 负总1!=0,RCC2,DRAWNULL),COLORFFFF00,LINETHICK1;STICKLINE(FILTER(C,239)>0,(Q2+Q3)/2*0.99,JSQ,0.5,0),COLO RWHITE;EMA(VAR1,日时转换),POINTDOT,COLORWHITE;通达信挖洞捕蝉主图源码DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;DRAWBAND(MA(CLOSE,60),RGB(200,80,80),MA(CLOSE,120), RGB(0,0,115));DRAWBAND(MA(CLOSE,N1),RGB(100,100,80),MA(CLOSE,N2 ),RGB(0,200,215));MA1:MA(CLOSE,N1),LINETHICK3;MA2:MA(CLOSE,N2),LINETHICK3;MA55:MA(CLOSE,55),LINETHICK2,COLORGREEN;MA24:MA(C,24),LINETHICK2,COLORBLUE;MA360:MA(C,360),LINETHICK2,COLORYELLOW;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);STICKLINE(DIF>REF(DIF,1),MA1,MA2,0.1,1),COLORMAGENT A;STICKLINE(DIF<REF(DIF,1) OR MACD<REF(MACD,1),MA1,MA2,0.1,1),COLORGREEN;PMA:MA(C,N1),COLORWHITE,LINETHICK3;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK3;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINET HICK3;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;STICKLINE(CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(MA1,MA2),C,C,1,1);DRAWICON(MA2>REF(MA2,1),MA2,1);DRAWICON(MA2<REF(MA2,1),MA2,2);。

【指标公式源码下载】通达信主力现形指标公式【量角、价角、买强、防火、卖疯、挖坑、海底】

【指标公式源码下载】通达信主力现形指标公式【量角、价角、买强、防火、卖疯、挖坑、海底】

通达信主力现形指标公式【量角、价角、买强、防火、卖疯、挖坑、海底】MV5:=EMA(V,5);MA5:=EMA(C,5);MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416;MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;量角:IF(MV5角度>30,MV5角度,0),COLOR0000FF,LINETHICK0;价角:IF(MA5角度>0,MA5角度,MA5角度),COLORFFFFFF,LINETHICK2;IF(价角>REF(价角,1) AND 价角>=0,价角,DRAWNULL),COLORRED,LINETHICK2;IF(价角<REF(价角,1) AND 价角>0,价角,DRAWNULL),COLOR00FF00,LINETHICK2; QSXS:=MA5角度>REF(MA5角度,1) AND MV5角度>80;∠45↑: IF(CROSS(MA5角度,30),1,0),COLORFFFFFF,POINTDOT,LINETHICK0;买强:IF(MA5角度>45 AND QSXS,10,0),COLOR00FFFF,POINTDOT,LINETHICK0;防火:IF(MA5角度>70 AND MV5角度>80,20,0),COLORFF00FF,POINTDOT,LINETHICK0;卖疯:IF(MA5角度>80 AND MV5角度>80,30,0),COLOR0000FF,POINTDOT,LINETHICK0; WK:=MA5角度=LLV(MA5角度,3) AND MA5角度-HHV(MA5角度,4)<=0-50;挖坑:IF(WK AND COUNT(买强OR 防火,6),0-30,0),COLOR00FF00;海底:IF(MA5角度<0-75,0-50,0-75),COLORFF8800;{以下设置副图显示方式}STICKLINE(MV5角度>30,MV5角度,30,0.1,0),COLOR0000FF;STICKLINE(买强,0,10,2,0),COLOR00FFFF;STICKLINE(防火,10,20,2,0),COLORFF00FF;STICKLINE(卖疯,20,30,2,0),COLOR0000FF;DRAWTEXT(∠45↑,30, '↑'),COLORFFFFFF;STICKLINE(∠45↑,0-90,30,0.1,0),COLOR00FFFF;30,COLORFFFFFF;{以下设置短线强弱提示}M3:=MA(C,3);M5:=MA(C,5);N1:=BARSLAST(CROSS(M3,M5));N2:=BARSLAST(CROSS(M5,M3));N:=IF(N1<N2,N1+1,0-N2-1);STICKLINE(N>0,0-75,0-75+N*2,2,0),COLOR0000FF;STICKLINE(N<0,0-75,0-75+N*2,2,0),COLORFFFF00;。

通达信股道黄金坑选股指标公式程序源码及编程思路破译和风险提示

通达信股道黄金坑选股指标公式程序源码及编程思路破译和风险提示

通达信股道黄金坑选股指标公式程序源码及编程思路破译和风险提示编程思路破译X_1赋值:成交量(手)的10日简单移动平均X_2赋值:收盘价的20日简单移动平均X_3赋值:(X_1/1日前的X_1-1)*100的反正切*180/3.141593X_4赋值:最近5日一直存在X_3>75X_5赋值:成交量(手)的5日简单移动平均X_6赋值:成交量(手)的10日简单移动平均X_7赋值:(X_5/1日前的X_5-1)*100的反正切*180/3.141593X_8赋值:上次X_4距今天数X_9赋值:X_8<=3X_10赋值:X_8日前的X_5X_11赋值:成交量(手)/1日前的成交量(手)X_12赋值:X_11在X_8日前的13天内第1个最高价到当前周期的周期数X_13赋值:X_5在X_12+5日前的20天内第1个最高价到当前周期的周期数X_14赋值:X_13日前的X_5X_15赋值:X_12日内X_5的最高值/X_14>1.18X_16赋值:X_12日前的X_11>=1.91X_17赋值:X_15 AND X_16 AND X_9X_18赋值:上次X_17距今天数X_19赋值:(2*收盘价+最高价+最低价)/4的5日简单移动平均X_20赋值:X_19*102/100X_21赋值:X_19*(200-102)/100X_22赋值:(2*收盘价+最高价+最低价)/4-收盘价的20日简单移动平均的绝对值/收盘价的20日简单移动平均X_23赋值:以X_22为权重收盘价的动态移动平均X_24赋值:(1+7/100)*X_23X_25赋值:(1-7/100)*X_23X_26赋值:(X_24+X_25)*0.5X_27赋值:(X_25/1日前的X_25-1)*100的反正切*180/3.141593<=15X_28赋值:最近4日存在最高价<X_26 AND 最近2日一直存在X_27X_29赋值:(最高价+最低价+收盘价)/3X_30赋值:(X_29-X_29的14日简单移动平均)/(0.015*X_29的14日平均绝对偏差)X_31赋值:X_30在1日前的20天内第1个最高价到当前周期的周期数X_32赋值:X_31日前的X_30>100X_33赋值:X_30在0日前的X_31天内第1个最低价到当前周期的周期数X_34赋值:X_33日前的X_30<(-100)X_35赋值:X_31>3 AND X_32 AND X_34 AND X_33=1X_36赋值:(收盘价的20日简单移动平均/20日前的收盘价的20日简单移动平均-1)*100的反正切*180/3.141593X_37赋值:收盘价的20日简单移动平均>1日前的收盘价的20日简单移动平均X_38赋值:最近4日一直存在X_36>75 AND 最近X_18日一直存在X_37 AND 最近4日一直存在X_36<88输出XG:X_35 AND X_28 AND X_38风险提示该公式包含未来函数:DHIGH未发现:DOPEN...该公式包含未来函数:DLOW。

通达信精准选股公式

通达信精准选股公式

通达信精准选股公式:条件选股公式源码:年认同价:=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 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);专买老鼠仓{老鼠仓}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、通达信选股公式{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("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) AND CROSS("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;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.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)>-0.07 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)/2.8/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)>1.8 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<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 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)>-0.05 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)>-0.05 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) AND OPEN/REF(CLOSE,1)>0.96 ;(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)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};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.9;倍量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、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;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 T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 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) AND VOL/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("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) AND CROSS("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;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓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;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)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(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)AND 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)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;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点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8* REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK2;IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);DRAWTEXT(FB,L-0.58,'★红牛'),COLORRED;V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,90)*1.01,10);DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.99),'○牛窝'),COLORYELLOW;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,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏'),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF; A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.01,'▼逃顶'),COLORYELLOW;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档