通达信把握逃顶赚钱才是硬道理副图指标公式

合集下载

通达信波段抄底逃顶指标公式

通达信波段抄底逃顶指标公式

通达信波段抄底逃顶指标公式【最新版】目录1.通达信波段抄底逃顶指标公式概述2.通达信波段抄底逃顶指标公式的组成3.通达信波段抄底逃顶指标公式的应用4.通达信波段抄底逃顶指标公式的优缺点正文一、通达信波段抄底逃顶指标公式概述通达信波段抄底逃顶指标公式是一种用于股票市场中的技术指标,旨在帮助投资者识别股票价格的底部和顶部,从而实现抄底和逃顶的操作。

该指标公式基于历史股价数据,通过一定的计算和分析方法,为投资者提供参考信息。

二、通达信波段抄底逃顶指标公式的组成通达信波段抄底逃顶指标公式主要由以下几个部分组成:1.操盘线:操盘线是一种基于收盘价的技术指标,用于判断股票价格的趋势。

操盘线的计算公式为:ma(close, 9),其中 close 表示收盘价,9 表示操盘线的周期。

2.今小昨和今小前:这两个指标用于判断股票价格是否处于下跌趋势。

今小昨的计算公式为:if(c < ref(o, 1), 1, 0),其中 c 表示当前收盘价,ref(o, 1) 表示前一日的开盘价;今小前的计算公式为:if(c < ref(o,2), 1, 0),其中 ref(o, 2) 表示前两日的开盘价。

3.波段指标:波段指标是一种基于收盘价和最低价的技术指标,用于判断股票价格的底部和顶部。

波段指标的计算公式为:(close - llv(low, 60)) / (hhv(high, 60) - llv(low, 60)) * 100,其中 close 表示收盘价,low 表示最低价,high 表示最高价,llv 表示最低价的最低值,hhv 表示最高价的最高值。

4.抄底逃顶线:抄底逃顶线是一种基于波段指标的技术指标,用于识别股票价格的底部和顶部。

抄底逃顶线的计算公式为:sma(波段指标,5,1)。

三、通达信波段抄底逃顶指标公式的应用通达信波段抄底逃顶指标公式的应用主要包括以下几个方面:1.判断股票价格的趋势:通过观察操盘线的变化,投资者可以判断股票价格是处于上升趋势、下降趋势还是盘整状态。

通达信超级抄底逃顶大全副图指标

通达信超级抄底逃顶大全副图指标

TT:=(2*CLOSE+OPEN+HIGH+LOW);主导动能:TT/EMA(TT,4)-1;FF:=(主导动能*500)+50;STICKLINE(FF,50,FF,3.2,0),COLOR33CFDD;STICKLINE(FF,50,FF,2.8,0),COLOR33DFDD;STICKLINE(FF,50,FF,2,0),COLOR33EFDD;STICKLINE(FF,50,FF,1,0),COLOR33FFDD;STICKLINE(FF<50,50,FF,3.2,0),COLOR00CC00;STICKLINE(FF<50,50,FF,2.8,0),COLOR00DD00;STICKLINE(FF<50,50,FF,2,0),COLOR00EE00;STICKLINE(FF<50,50,FF,1,0),COLOR00FF00;STICKLINE(FF>REF(FF,1)AND FF<50,50,FF,3.2,0),COLORFF9900;STICKLINE(FF>REF(FF,1)AND FF<50,50,FF,2.8,0),COLORFFAA00;STICKLINE(FF>REF(FF,1)AND FF<50,50,FF,2,0),COLORFFBB00;STICKLINE(FF>REF(FF,1)AND FF<50,50,FF,1,0),COLORFFCC00;STICKLINE(FF>REF(FF,1)AND FF>50,50,FF,3.2,0),COLOR0000CC;STICKLINE(FF>REF(FF,1)AND FF>50,50,FF,2.8,0),COLOR0000DD;STICKLINE(FF>REF(FF,1)AND FF>50,50,FF,2,0),COLOR0000EE;STICKLINE(FF>REF(FF,1)AND FF>50,50,FF,1,0),COLOR0000FF;{黑马一号}AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22;起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;黑马一号:IF(起爆,40,0);{黑马启动}AC1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));AC2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),AC1);金线王:=EMA(AC2,200)*1.118;条件:=(C-REF(C,1))/REF(C,1)*100>8;黑马启动:IF(CROSS(C,金线王) AND 条件,39,0);{黑马必抓}AA05:=MA(C,5);AA30:=MA(C,30);MA05:=MA(C,5);MA10:=MA(C,13);MAC30:=MA(C,34);速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);五日乖离率:=(C-AA05)/AA05*100;三拾日乖离率:=(C-MAC30)/MAC30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;黑马必抓:IF(FILTER(MR,10),38,0);{拉升}LS:=C/REF(C,1)>1.048 AND C=H ANDBETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));拉升:IF(FILTER(LS,28),37,0);{粉量}VOLUME := VOL;MAVOL1 := MA(VOLUME,5);MAVOL2 := MA(VOLUME,34);MAVOL3 := MA(VOLUME,135);XG := IF(CROSS(0.6,((((1 / VOL) * 3000) > 0.01) AND (KDJ.J < 0)) AND (I < -100)),VOLUME * 5,0);XGG := XG > 0;ABC := (VOL >= (REF(V,1) * 1.91)) AND (C > (REF(C,1) * 1.01));ABC1 := VOL < REF(LLV(VOL,13),1);ABC2 := VOL < REF(LLV(VOL,55),1);ABC3 := ((ABS(VOL - REF(VOL,1))) / REF(VOL,1)) <= 0.05;ABB1:= STICKLINE(ABC1,0,V,1,0);BBB1:= STICKLINE(ABC2,0,V,1,0);绿量:= (ABB1 = 1) AND (COUNT(OPEN < CLOSE,1));粉量:= BBB1 = 1;地量: IF((XGG AND 绿量) OR (XGG AND 粉量),36,0);{趋势线}趋势: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),COLORWHITE;IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED;IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORGREEN;{长期趋势金叉}P1:=5;P2:=4;VARRA:=LLV(LOW,P1);VARRB:=HHV(HIGH,P1);涨停动力线:=EMA((CLOSE-VARRA)/(VARRB-VARRA)*100,P2);涨停趋势线:=EMA(0.667*REF(涨停动力线,1)+0.333*涨停动力线,2);金叉:=CROSS(涨停动力线,涨停趋势线);钻石:IF(金叉AND 趋势<25,15,0);{与主力共生死}价量:=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);主线:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25);快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25);买入111:=快线>REF(快线,1) AND REF(快线,1)=0 AND REF(快线,2)=0 AND C>REF(O,1); 买入222:=快线>REF(快线,1) AND REF(快线,1)=0 AND REF(快线,1)<REF(快线,2) AND REF(快线,2)<40;卖出111:=快线<REF(快线,1) AND REF(快线,1)=100 AND REF(快线,2)<=100;快买:IF(买入111 OR 买入222,20,0);快卖:IF(卖出111,85,100);{超级支撑压力}短压:=HHV(LOW,20);中线:=MA(CLOSE,3);短期底部:=(LLV(HIGH,30) * 0.93);短期支撑:=LLV(CLOSE,13),COLOR6803C7;中期大底:=LLV(LOW,30);长期底部:=LLV(HIGH,30);MA30:=LLV(HIGH,30);短期底部二:=SMA(CLOSE,2,1);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);{//标注}上:=(SMA(LOW,5,2) * 0.96);AA1:=((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03));AA2:=FILTER(((((LOW <= MA30) AND (CLOSE > MA30)) AND (CLOSE > OPEN)) AND (短期底部二<= MA30)),8);超级组合1:IF(AA1 ,30,0);超级组合2:IF(AA2 ,30,0);{股价准备启动}VAR11:=3;VAR21:=(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)); 准备启动:IF(CROSS(VAR21,VAR11) ,55,0);{★底}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;TJ2:=IF((MB1),20,0),LINETHICK1,COLORRED;星底:IF(CROSS(MW,M1) AND M1<20 ,34,0);{反弹}A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;A6:=COUNT(A5,20)=1;反弹:=IF(A6 AND A5 ,33,0);{当心反弹}A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;K:=SMA(A,2,1);Q:=A*1.03;反弹1: IF(CROSS(Q,15) AND K>REF(K,1),32,0) AND 趋势>REF(趋势,1),LINETHICK2,COLOR95FFCC;{反弹}VAR110:=(HIGH+LOW+OPEN+2*CLOSE)/5;VAR120:=REF(VAR110,1);VAR130:=SMA(MAX(VAR110-VAR120,0),10,1)/SMA(ABS(VAR110-VAR120),10,1)*100; 底部不远:=IF(COUNT(VAR130<=14,2),30,0),COLORMAGENTA,LINETHICK2;反弹2:IF(CROSS(VAR130,底部不远) AND VOL>1.5*MA(VOL,5),31,0);{黄金反弹}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV,3,1),COLORWHITE;D1:=SMA(K1,3,1),COLORYELLOW ;BIAS1:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;A11:=CROSS(K1,D1) AND CROSS(K1,D1)<16 AND BIAS1<-6;黄金反弹:IF(A11 AND 金叉,29,0),COLORFF00FF;AB1:=C-REF(C,1);AB2:=100*EMA(EMA(AB1,6),6)/EMA(EMA(ABS(AB1),6),6);买进1:=(LLV(AB2,2)=LLV(AB2,7) AND COUNT(AB2<0,2) AND CROSS(AB2,MA(AB2,2))); 买进:IF(买进1,10,0);A7:=REF(C,1)-C;A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);卖出1:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)));卖出:IF(卖出1,90,100);{低吸}VARJ1:=LLV(LOW,21);VARJ2:=HHV(HIGH,21);AKJ1:=EMA((((CLOSE - VARJ1) / (VARJ2 - VARJ1)) * 100),5);AKJ:=EMA((((CLOSE - VARJ1) / (VARJ2 - VARJ1)) * 50),13);低吸:IF(CROSS(AKJ1,AKJ),28,0);{买卖点}MVAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);MVAR2:=REF(MVAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR3:=REF(MVAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR4:=REF(MVAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR5:=REF(MVAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR6:=REF(MVAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR7:=REF(MVAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR8:=REF(MVAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR9:=REF(MVAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVARA:=REF(MVAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVARB:=REF(MVARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVARC:=REF(MVARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);MVARE:=REF(MVARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVARF:=REF(MVARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR10:=REF(MVARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR11:=REF(MVAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR12:=REF(MVAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR13:=REF(MVAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR14:=REF(MVAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR15:=REF(MVAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR16:=REF(MVAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR17:=REF(MVAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); MVAR18:=REF(MVAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); MVAR19:=REF(MVARD OR MVARE OR MVARF OR MVAR10 OR MVAR11 OR MVAR12 OR MVAR13 OR MVAR14 OR MVAR15 OR MVAR16 OR MVAR17 OR MVAR18,1) AND MVAR1; MVAR1A:=REF(MVAR1 OR MVAR2 OR MVAR3 OR MVAR4 OR MVAR5 OR MVAR6 OR MVAR7 OR MVAR8 OR MVAR9 OR MVARA OR MVARB OR MVARC,1) AND MVARD;买:IF(FILTER(MVAR19=1,5) AND 金叉,15,0);逃:IF(FILTER(MVAR1A=1,5),90,100);{绝底介入}RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB2:=(RSV1/2+22)*1;资量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金/资量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯< (0)) AND ZXNH),COLORRED;底部:IF(黄金AND RSV<VARB2-2 ,50,0),COLORRED,LINETHICK2;{极品底}极品底A:=(MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04;极品底:IF(极品底A AND CROSS(趋势,REF(趋势,1)),35,0) ,LINETHICK2,COLORFF00FF; {底部买多}V1:=MA(C,3)=HHV(MA(C,3),7);V2:=MA(C,3)>MA(C,5);V3:=MA(V,5)>MA(V,10)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;LC20:=REF(CLOSE,1);RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;底部买多:IF(CROSS(RSI20,11)*1,55,0),COLORRED;{J抄底}BOLL20:=MA(CLOSE,20);LB20:=BOLL20-2*STD(CLOSE,20);BOLL10:=MA(CLOSE,10);LB10:=BOLL10-2*STD(CLOSE,10);J1:=IF(3*K1-2*D1>100,100,3*K1-2*D1);J抄底:IF(CROSS(J1,0) AND (COUNT(L<LB10,3)>0 ORCOUNT(L<LB20,3)>0),26,0),COLOR00FFFF;{黄金坑}VAR88:=MA(CLOSE,27);VAR98:=(CLOSE-VAR88)/VAR88*100;VARA8:=MA(VAR98,2);VARB8:=BARSLAST(CROSS(-10,VARA8)=1);VARC8:=BARSLAST(CROSS(VARA8,10)=1);VARD8:=VARA8<-10 AND VARB8>3;VARE8:=VARA8>10 AND VARC8>3;黄金坑: IF(VARD8,VARA8,0),LINESTICK ,LINETHICK2, COLORYELLOW;{仙人指路}皇榜公布:=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);仙人指路:IF(CROSS(皇榜公布,2),70,0), COLORRED;{发现牛股}MA1:=MA(C,5);MA2:=MA(C,10);MV1:=MA(V,5);MV2:=MA(V,10);AA:=CROSS(C,MA1) AND CROSS(C,MA2);BB:=CROSS(V,MV1) AND CROSS(V,MV2);发现牛股:IF(AA AND BB,61,0), COLORRED;{超级底部买进}VARK21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SM A((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);买底:IF(CROSS(VARK21,8),85,0),COLORRED;{发现庄}VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21);VAR3:=EMA(HHV(HIGH,90),21);VAR4:=EMA(LLV(LOW,500),21);VAR5:=EMA(LLV(LOW,250),21);VAR6:=EMA(LLV(LOW,90),21);VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.5 58)/6,21);VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/ 6,21);VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,2 1);VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);VARB:=REF(LOW,1);VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);VARE:=LLV(LOW,30);VARF:=HHV(VARD,30);VAR10:=IF(MA(CLOSE,58),1,0);SS:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;现庄:=(REF(SS,2)<REF(SS,1)AND SS>REF(SS,1))*SS;庄现:IF(现庄,60,0),COLORYELLOW,LINETHICK2;{CCI}N1:=84;TYP:=(HIGH+LOW+CLOSE)/3;CCI:EMA((TYP-MA(TYP,N1))/(0.1*AVEDEV(TYP,N1)),5)+30,COLORYELLOW;。

[通达信]通达信超级顶底优化指标公式(副图源码)

[通达信]通达信超级顶底优化指标公式(副图源码)

[通达信]通达信超级顶底优化指标公式(副图源码)VARV:=(2*C+H+L)/4;VARU:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);B1:=EMA(B,5);STICKLINE(B-B1>0,B,B1,8,1),COLORRED;STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;STICKLINE(低吸,70,0,4,0),COLORWHITE;VAR7:=EMA(AMOUNT/VOL/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;STICKLINE(FILTER(VARB,6),65,0,4,0),COLORFF00FF;坚决买进:IF(FILTER(VARB,6),65,0),COLORFF00FF,POINTDOT;VARF:=(2*CLOSE+HIGH+LOW)/4;VA4:=LLV(LOW,34);VA5:=HHV(HIGH,34);VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 ANDCOUNT(VA6>VA7,3) ANDREF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0,4,0),COLORYELLOW;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(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*R EF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);波段买入:IF(CROSS(D1,K1),55,0),COLOR0099FF,POINTDOT;STICKLINE(CROSS(D1,K1),55,0,4,0),COLOR0099FF;多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);天线:=78.89;STICKLINE(CROSS(天线,多方趋势),90,95,6,0),COLOR00FF00;STICKLINE(B>0 AND B-B1>=0,79,80,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,79,80,6,0),COLOR00FF00;STICKLINE(B>0 AND B-B1>=0,49,50,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,49,50,6,0),COLORFF8899;STICKLINE(B>0 AND B-B1>=0,19,20,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,19,20,6,0),COLOR00FF00;STICKLINE(B-B1>0,B,B1,8,1),COLORRED;STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量'),COLOR00FFFF;STICKLINE(地量>0,0,30,2,0),COLOR008888;STICKLINE(地量>0,0,30,1.5,0),COLOR00AAAA;STICKLINE(地量>0,0,30,0.8,0),COLOR00DDDD;STICKLINE(地量>0,0,30,0.3,0),COLOR00FFFF;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VARR1),10,15);VAR10:=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);VAR11:=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);VAR12:=VAR10<REF(VAR11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(VAR12 AND COUNT(VAR12,30)=1,40,'有大资金进场迹象,关注!');。

通达信指标公式源码 支撑压力和加仓逃顶指标 副图源码

通达信指标公式源码 支撑压力和加仓逃顶指标 副图源码

该指标为通达信指标,实线为近期最大量对应收盘价所画横线,为支撑或压力,原理是成交密集区;虚线根据三天法则画的横线,三天站稳不破为支撑压力;曲线也是支撑压力,为轨道线。

底背离加仓,顶背离逃顶。

很有实用价值,也很准。

一般大的支撑压力看日线,小的看60分钟线N250:=250;PT250:=CONST(HHVBARS(V,N250));T250:IF(CURRBARSCOUNT<=N250,CONST(IF(PT250=0,C,REF(C,PT250))),DR AWNULL),COLOR990000,LINETHICK2;IF(CURRBARSCOUNT=PT250+1,T250*1.01,DRAWNULL),CIRCLEDOT,COLORY ELLOW,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=N250,T250,'250'),COLOR990000;N120:=120;PT120:=CONST(HHVBARS(V,N120));T120:IF(CURRBARSCOUNT<=N120,CONST(IF(PT120=0,C,REF(C,PT120))),DR AWNULL),COLORAAAA00,LINETHICK2;IF(CURRBARSCOUNT=PT120+1,T120,DRAWNULL),CIRCLEDOT,COLORYELLO W,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=N120,T120,'120'),COLORAAAA00;N60:=60;PT60:=CONST(HHVBARS(V,N60));T60:IF(CURRBARSCOUNT<=N60,CONST(IF(PT60=0,C,REF(C,PT60))),DRAWN ULL),COLOR00BB00,LINETHICK2;IF(CURRBARSCOUNT=PT60+1,T60,DRAWNULL),CIRCLEDOT,COLORYELLOW, LINETHICK1;DRAWTEXT(CURRBARSCOUNT=N60,T60,'60'),COLOR00BB00;N30:=30;PT30:=CONST(HHVBARS(V,N30));T30:IF(CURRBARSCOUNT<=N30,CONST(IF(PT30=0,C,REF(C,PT30))),DRAWN ULL),COLOR0000CC,LINETHICK2;IF(CURRBARSCOUNT=PT30+1,T30,DRAWNULL)CIRCLEDOT,COLORYELLOW,L INETHICK1;DRAWTEXT(CURRBARSCOUNT=N30,T30,'30'),COLOR0000CC;N20:=20;PT20:=CONST(HHVBARS(V,N20));T20:IF(CURRBARSCOUNT<=N20,CONST(IF(PT20=0,C,REF(C,PT20))),DRAWN ULL),COLORDD00DD,LINETHICK2;IF(CURRBARSCOUNT=PT20+1,T20,DRAWNULL),CIRCLEDOT,COLORYELLOW, LINETHICK1;DRAWTEXT(CURRBARSCOUNT=N20,T20,'20'),COLORDD00DD;N10:=10;PT10:=CONST(HHVBARS(V,N10));T10:IF(CURRBARSCOUNT<=N10,CONST(IF(PT10=0,C,REF(C,PT10))),DRAWN ULL),COLOR00EEEE,LINETHICK2;IF(CURRBARSCOUNT=PT10+1,T10,DRAWNULL)CIRCLEDOT,COLORYELLOW,L INETHICK1;DRAWTEXT(CURRBARSCOUNT=N10,T10,'10'),COLOR00EEEE;N5:=5;PT5:=CONST(HHVBARS(V,N5));T5:IF(CURRBARSCOUNT<=N5,CONST(IF(PT5=0,C,REF(C,PT5))),DRAWNULL) ,COLORFFFFFF,LINETHICK2;IF(CURRBARSCOUNT=PT5+1,T5,DRAWNULL),CIRCLEDOT,COLORYELLOW,LI NETHICK1;DRAWTEXT(CURRBARSCOUNT=N5,T5,'5'),COLORFFFFFF;DRAWKLINE(H,O,L,C);VAR3:=(C+H+O+L)/4;买入:=XMA(VAR3,32)*(1-100/1000);低吸线:买入,COLORFF937F,LINETHICK2;卖出:=XMA(VAR3,20)*(1+80/1000);高抛线:卖出,COLORWHITE,LINETHICK2;{买:CROSS(买入,LOW),NODRAW;卖:CROSS(HIGH,卖出),NODRAW;}MA1:=MA(VAR3,3);DRAWICON(CROSS(买入,LOW),LOW*0.95,11);DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);G:=5;AAB:=REF(H,G)=HHV(H,2*G+1); AAB1:=REF(L,G)=LLV(L,2*G+1);QYB:=BACKSET(AAB,G+1); QYB1:=BACKSET(AAB1,G+1);CCB:=FILTER(QYB,G) AND H=HHV(H,G+1); CCB1:=FILTER(QYB1,G) ANDL=LLV(L,G+1);DDDB:=BARSLAST(CCB); DDB1:=BARSLAST(CCB1);GDTSB:=IF(CCB,CURRBARSCOUNT,0);DDTSB:=IF(CCB1,CURRBARSCOUNT,0);DINGBUTSB:=IF(DDDB,REF(GDTSB,DDDB),GDTSB);DDTSB1:=IF(DDB1,REF(DDTSB,DDB1),DDTSB);GDCSB1:=CONST(DINGBUTSB); DDCSB1:=CONST(DDTSB1);GDCS13:=CONST(REF(HIGH,GDCSB1-1));DDCS13:=CONST(REF(L,DDCSB1-1));DINGBUTSB1:=REF(DINGBUTSB,DDDB+1); DDTSB2:=REF(DDTSB1,DDB1+1); GDCSB2:=CONST(DINGBUTSB1); DDCSB2:=CONST(DDTSB2);GDCS23:=CONST(REF(HIGH,DINGBUTSB1-1));DDCS23:=CONST(REF(L,DDTSB2-1));XG1:=BACKSET(ISLASTBAR,GDCSB1); XD1:=BACKSET(ISLASTBAR,DDCSB1); XG2:=BACKSET(ISLASTBAR,DINGBUTSB1);XD2:=BACKSET(ISLASTBAR,DDTSB2);XDD:=IF(DDCS13<=DDCS23,XD1,XD2);M:=INTPART(3*G/5);AAAA:=REF(H,M)=HHV(H,2*M+1);QYY:=BACKSET(AAAA,M+1);CCC:=FILTER(QYY,M) AND H=HHV(H,M+1);DDDD:=BARSLAST(CCC),NODRAW;GDTSS:=IF(CCC,CURRBARSCOUNT,0);DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS);GDCS11:=CONST(DINGBUTSS);DINGBUTS11:=REF(DINGBUTSS,DDDD+1);GDCS22:=CONST(DINGBUTS11);AA11:=REF(L,M)=LLV(L,2*M+1);QY11:=BACKSET(AA11,M+1);CC11:=FILTER(QY11,M) AND L=LLV(L,M+1);DD11:=BARSLAST(CC11);DDTSS:=IF(CC11,CURRBARSCOUNT,0);DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS);DDCS11:=CONST(DDTS11);DDTS22:=REF(DDTS11,DD11+1);DDCS22:=CONST(DDTS22);HH1:= REF(H,GDCSB1-1),NODRAW;HH2:= REF(H,GDCSB2-1),NODRAW;HH11:= REF(H,GDCS11-1),NODRAW;HH22:= REF(H,GDCS22-1),NODRAW;GHH1:=MAX(MAX(REF(H,GDCSB1-1),REF(H,GDCSB2-1)),MAX(REF(H,GDCS11 -1),REF(H,GDCS22-1))),NODRAW;DLL1:=MIN(MIN(REF(L,DDCSB1-1),REF(L,DDCSB2-1)),MIN(REF(L,DDCS11-1) ,REF(L,DDCS22-1))),NODRAW;GHH:=MAX(GHH1,HHV(H,10));DLL:=MIN(DLL1,LLV(L,10));DX1:=(REF(H,GDCSB1-1)-REF(H,GDCSB2-1))/(GDCSB2-GDCSB1),NODRAW; DX2:=(REF(H,GDCS11-1)-REF(H,GDCS22-1))/(GDCS22-GDCS11),NODRAW; GGAA:=DX1>0 AND(REF(H,(GDCSB1-1))+DX1*GDCSB1)>GHH*1.05,NODRAW;GGAB:=DX1<0 AND(REF(H,(GDCSB1-1))+DX1*GDCSB1)<DLL*0.95,NODRAW;DDX1:=IF(GGAA OR GGAB,0,1),NODRAW;GGBA:=DX2>0 AND(REF(H,(GDCS11-1))+DX2*GDCS11)>GHH*1.05,NODRAW;GGBB:=DX2<0 AND(REF(H,(GDCS11-1))+DX2*GDCS11)<DLL*0.95,NODRAW;DDDX1:=IF(GGBA OR GGBB,0,1),NODRAW;LX1:=(REF(L,DDCSB1-1)-REF(L,DDCSB2-1))/(DDCSB2-DDCSB1),NODRAW;LX2:=(REF(L,DDCS11-1)-REF(L,DDCS22-1))/(DDCS22-DDCS11),NODRAW; DDAA:=LX1<0 AND (REF(L,(DDCSB1-1))+LX1*DDCSB1)<DLL*0.95,NODRAW; DDAB:=LX1>0 AND (REF(L,(DDCSB1-1))+LX1*DDCSB1)>GHH*1.05,NODRAW; LLX1:=IF(DDAA OR DDAB,0,1);DDBA:=LX2<0 AND (REF(L,(DDCS11-1))+LX2*DDCS11)<DLL*0.95,NODRAW; DDBB:=LX2>0 AND (REF(L,(DDCS11-1))+LX2*DDCS11)>GHH*1.05,NODRAW; LLLX1:=IF(DDBA OR DDBB,0,1),NODRAW;高压力:DRAWLINE(CURRBARSCOUNT=GDCSB2,H,CURRBARSCOUNT=GDCSB1,H, DDX1),COLORABFF46,LINETHICK1;低支撑:DRAWLINE(CURRBARSCOUNT=DDCSB2,L,CURRBARSCOUNT=DDCSB1,L,L LX1),COLORABFF46,LINETHICK1;DRAWLINE(CURRBARSCOUNT=GDCS22 ,H,CURRBARSCOUNT=GDCS11,H,DD DX1),COLORRED,LINETHICK1;DRAWLINE(CURRBARSCOUNT=DDCS22 ,L,CURRBARSCOUNT=DDCS11,L,LLL X1),COLORRED,LINETHICK1;{涨停标注}STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DEA,DIFF),1));A2:=BARSLAST(REF(CROSS(DIFF,DEA),1));VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-2 0;HONGJU:=IF(VAR1>0,VAR1,0);GAOPAO:=CROSS(DIFF,DEA) AND HONGJU>=40;DRAWICON(GAOPAO,HIGH*1.01,6);DRAWTEXT(GAOPAO,HIGH*1.02,'顶背'),COLORGREEN;LLVV:=LLV(LOW,5);DIXI:=CROSS(DEA,DIFF) AND REF(DEA,A1+1)>0 AND DEA<0; DRAWICON(DIXI,LOW*0.90,38);DRAWTEXT(DIXI,LOW*0.90,'波段低吸'),COLORYELLOW;MA20:=MA(CLOSE,20);M0:=MA(CLOSE,5);M10:=MA(CLOSE,12);M1:=MA(CLOSE,20);M30:=MA(CLOSE,30);M2:=MA(CLOSE,60);M3:=MA(CLOSE,240);M4:=MA(CLOSE,120);M41:=MA(CLOSE,41);TJ2:=MA(CLOSE,3)<M2;VAR2:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR2,13)-EMA(VAR2,73);SD:=EMA(SK,2);短线:=CROSS(SK,SD) AND SK<0.05 AND (VOL/MA(VOL,5)>2 ORCLOSE/REF(CLOSE,1)>0.035 AND CLOSE>EMA(CLOSE,17)); {STICKLINE(短线,HIGH,LOW,0.5,0),COLORFFFF00;STICKLINE(短线,OPEN,CLOSE,10,1),LINETHICK2,COLORFFFF00;}CY:=BARSLAST(短线);MACD双底:=REF(LOW,A2+1)<CLOSE AND CROSS(DIFF,DEA);介入:=COUNT(短线,4)=1 AND COUNT(MACD双底,1)=1 ANDCLOSE/MA(CLOSE,56)*1000>980 AND CLOSE>OPEN AND VOL>=MA(VOL,5) AND DIFF>=-0.1;DRAWTEXT(介入,LOW*0.92,'起涨点'),COLORRED;DRAWICON(介入,LOW*0.92,1);反向顶背:=REF(CLOSE,A2+1)>CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);逃顶:=CROSS(SD,SK) AND SK>0.2 AND VOL/MA(VOL,5)<2;逃顶成立:=COUNT(逃顶,4)=1 AND COUNT(反向顶背,1)=1;DRAWICON(逃顶成立,HIGH*1.01,15);DRAWTEXT(逃顶成立,HIGH*1.01,'逃顶'),COLORGREEN;N1G:=CLOSE/REF(CLOSE,1)>=1.097 AND HIGH=CLOSE ANDNOT(OPEN=HIGH);A1G:=BARSLAST(N1G);A2G:=LLV(LOW,A1G-1)>REF(LOW,A1G) AND CLOSE/REF(OPEN,A1G)>1 AND CLOSE/REF(OPEN,A1G)<=1.04;XGGG:=FILTER(A2G,3) AND A1G>=4 AND A1G<=20;DRAWICON(XGGG,LOW*0.96,41);DRAWTEXT(XGGG,LOW*0.96,'涨停秘笈'),COLORYELLOW;XPP1:=CROSS(DEA,DIFF) AND CLOSE>MA20 AND MA20>REF(MA20,1) AND DIFF>REF(DIFF,A2+1);DRAWICON(XPP1,LOW*0.96,3);DRAWTEXT(XPP1,LOW*0.96,'强势洗盘'),COLORWHITE;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORWHITE; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLORA6E500;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力:= REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VA R2222)),0.5,1),COLOREA91B5,LINETHICK3;支撑3:= REF(LOW,BARSLAST(VAR4444));STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR 4444)),0.5,1),COLOR00B4FF,LINETHICK3;PH:=TROUGHBARS(2,5,1);LL:=HHV(H,PH);TJ1:=LL=HIGH AND LL<REF(LL,1);{//=1}支撑:IF(BARSLAST(TJ1),REF(LOW,BARSLAST(TJ1)),DRAWNULL),COLORFF55BB;DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLORFF55BB;多:=EMA(C,3);空:=EMA(C,5);均衡:=EMA(空,5);VARF1:=COUNT(CROSS(多,均衡),2)=1;VARF2:=COUNT(CROSS(空,均衡),2)=1;ZAI:=FILTER(VARF1 AND VARF2,2);DRAWTEXT(ZAI,均衡,'主升↑'),COLORYELLOW;。

通达信指标公式源码超级组合顶底副图,抄底逃顶不是梦,适合做波段或者趋势交易。

通达信指标公式源码超级组合顶底副图,抄底逃顶不是梦,适合做波段或者趋势交易。

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;。

通达信成功率很好的抄底逃顶指标公式编程思路破译

通达信成功率很好的抄底逃顶指标公式编程思路破译

通达信成功率很好的抄底逃顶指标公式编程思路破译编程思路破译N赋值:5N1赋值:21抄底逃顶公式赋值:4*(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100的5日[1日权重]移动平均-3*(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100的5日[1日权重]移动平均的3.2日[1日权重]移动平均,画黄色,线宽为1指标公式赋值:8,画绿色,线宽为0输出通达信: 如果抄底逃顶公式上穿指标公式,返回60,否则返回0,线宽为2,画淡蓝色当满足条件通达信时,在85位置书写文字,画黄色,画淡蓝色SSDD1赋值: 如果抄底逃顶公式<=8,返回50,否则返回0,画青色,线宽为2输出SSDD2: 20,线宽为2,画淡洋红色GGRRRO5赋值:27日内最低价的最低值GGRRRO6赋值:34日内最高价的最高值GGRRRO7赋值:(收盘价-GGRRRO5)/(GGRRRO6-GGRRRO5)*4的4日指数移动平均*25SSDD3赋值: 如果(GGRRRO7<10),返回100,否则返回118 ,COLOR00CCFF,线宽为1CD1赋值:(9日内最高价的最高值-收盘价)/(9日内最高价的最高值-9日内最低价的最低值)-0.7CD2赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)CD3赋值:CD2的3日[1日权重]移动平均的3日[1日权重]移动平均CD4赋值:(CD3-CD1的9日[1日权重]移动平均)-0.5CD5赋值:如果CD4>0.00,返回CD4,否则返回0.00CD6赋值:1日前的CD5GGRRR81赋值:收盘价的9日简单移动平均,画红色SSDD5赋值:如果CD6-CD5,返回CD6,否则返回CD5,线宽为3,画黄色SSDD6赋值:CD6上穿CD5,STICK,画黄色抄底逃顶公式A赋值:(9日内最高价的最高值-收盘价)/(9日内最高价的最高值-9日内最低价的最低值)*100-70指标公式A赋值:抄底逃顶公式A的9日[1日权重]移动平均+100 GGRRR3A赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100GGRRR4A赋值:GGRRR3A的3日[1日权重]移动平均GGRRR5A赋值:GGRRR4A的3日[1日权重]移动平均+100GGRRR6A赋值:GGRRR5A-指标公式AGGRAA赋值:如果GGRRR6A>N1,返回GGRRR6A-N1,否则返回0,画淡红色输出SSDD7:如果GGRAA上穿0.01,返回72,否则返回0,STICK,画黄色,线宽为9当满足条件SSDD7>0时,在72位置画24号图标XG赋值:GGRAA上穿0.01LC赋值:1日前的收盘价RSI赋值:收盘价-LC和0的较大值的6日[1日权重]移动平均/收盘价-LC的绝对值的6日[1日权重]移动平均*100E赋值:83上穿RSIRSV赋值:(收盘价-7日内最低价的最低值)/(7日内最高价的最高值-7日内最低价的最低值)*100输出SSDD8:RSV的3日[1日权重]移动平均,线宽为2,画红色输出SSDD9:SSDD8的3日[1日权重]移动平均,线宽为3,画黄色当满足条件1日前的GGRAA<GGRAA时,在GGRAA和1日前的GGRAA位置之间画柱状线,宽度为3,0不为0则画空心柱.,画淡洋红色当满足条件1日前的GGRAA>GGRAA时,在GGRAA和1日前的GGRAA位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFFCCCC注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。

通达信筹码研判顶底副图公式

通达信筹码研判顶底副图公式

通达信筹码研判顶底副图公式通达信筹码研判顶底副图公式DRAWGBK(C&gt;0, RGB(0,0,00),RGB(0,0,0),0,'1',0);锁定因子:MA(LFS,1),COLORWHITE;换手:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)), 3), COLORRED,LINETHICK2;非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,3 4)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1;收盘价获利比例:WINNER(C)*100,LINETHICK0;V ARF:=TROUGHBARS( 3,15,1)&lt;4;DRAWTEXT( FILTER(V ARF=1,5),主流资金*0.90,'★底'),COLORYELLOW;明天见底:FILTER(V ARF=1,5) ,COLORFF00FF,LINETHICK0;主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW;散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8 0,3),NODRAW;散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;市场总量:MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;散户警戒:=EMA(散户套牢比率,89),NODRAW;主力警戒:=EMA(主力控盘比率,89),NODRAW;{散户坑}STICKLINE(REF(散户套牢比率,1)&gt;90 AND 散户套牢比率&lt;90,30,0,1,0),COLOR0000FF;{筹码总量}筹码总量:IF(市场总量&gt;REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;DRAWRECT REL(0,60,240,950,RGB(80,00,100));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0,'■主力筹码估算:'),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.10,0,' %'),COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.10,0,主力筹码估算),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0 .01,0.20,0,'■主力控盘比率:'),COLORYELLOW;'),COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.20,0,主力控盘比率),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0 .01,0.30,0,'■散户套牢比率:'),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.30,0,' %'),COLORFFCC99;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.30,0,散户套牢比率),COLORRED;DRAWTEXT_FIX(收盘价获利比例&gt;=0,0.0,1-0.61,0,STRCAT(' ■收盘价获利比:',CON2STR(收盘价获利比例,2))),COLORLIGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0,'■锁定因子:锁定筹码和解锁筹码的相对速度'),COLORFFCC99;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0,' 不直接监测锁定筹码多少,但可监测筹码。

通达信指标公式源码 macd副图指标,逃顶抄底,买卖利器

通达信指标公式源码 macd副图指标,逃顶抄底,买卖利器

RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA1:=EMA(DIFF,9);MACD1:=2*(DIFF-DEA1),COLORSTICK,LINETHICK2;趋势:=MA(MACD,1);DRAWICON(MACD1>REF(MACD1,1) AND 趋势>0 ,趋势,1);低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=(3*K-2*D);DRAWTEXT(二次金叉,DEA*1,'低二叉'),COLORYELLOW;周DIF:="MACD.DIF#WEEK"(12,26,9);周DEA:="MACD.DEA#WEEK"(12,26,9);周MACD:="MACD.MACD#WEEK"(12,26,9);DIF周金叉:=CROSS(周DIF,周DEA);DRAWTEXT(DIF周金叉,0,'周叉'),COLORYELLOW;DRAWTEXT(CROSS(周DEA,周DIF),0,'周死'),COLORGREEN;MACD周金叉:=CROSS(周MACD,周DIF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02; VARR:=EMA(EMA(CLOSE,13),13);控盘:=(VARR-REF(VARR,1))/REF(VARR,1)*1000;A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;刘:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;剑:=EMA(刘,M1);BTJ11:=(C-JJ)/JJ<-0.03;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ3:=CROSS(刘,剑) AND 刘<-0.3;BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:=FILTER(庄,55),COLORWHITE;DRAWTEXT(BTJ811,-0.2,'★有庄'),COLORYELLOW;DRAWTEXT(CROSS(J,-3),DIF,'出击'),COLORWHITE;A1:=BARSLAST(REF(CROSS(EMA(CLOSE,12)-EMA(CLOSE,26),EMA(EMA(CLOSE,12)-EMA( CLOSE,26),9)),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND EMA(CLOSE,12)-EMA(CLOSE,26)>REF(EMA(CLOSE,12)-EMA(CLOSE,26),A1+1) AND CROSS(EMA(CLOSE,12)-EMA(CLOSE,26),EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9));底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORMAGENTA,LINETHICK2;A2:=BARSLAST(REF(CROSS(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9),EMA(CLOSE,12)-E MA(CLOSE,26)),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(EMA(CLOSE,12)-EMA(CLOSE,26),A2+1)>EMA(CLOSE,12)-EMA(CLOSE,26) AND CROSS(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9),EMA(CLOSE,12)-EMA(CLOSE,26));顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;。

通达信8个经典抄底逃顶指标公式

通达信8个经典抄底逃顶指标公式

通达信注意抄底逃顶指标公式来源:Internet,编辑:股旁网,2019-10-05Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=SMA(Var3,3,1);波: Var3;段: Var4;Var6:=CROSS(Var3,Var4) AND Var3<20;DRAWTEXT(FILTER(Var6,10)=1,40,'抄底'),LINETHICK3 ;STICKLINE(FILTER(Var6,10)=1,0,30,10,0),COLORGREEN ;Var7:=CROSS(Var4,Var3) AND Var3>80;STICKLINE(FILTER(Var7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(Var7,5)=1,70,'逃顶'),LINETHICK3 ,COLORYELLOW; Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4; STICKLINE(Var8,85,100,10,0) ;90 ;0;通达信借钱抄底指标公式来源:Internet,编辑:股旁网,2019-09-18VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;波段买入: IF(VARA+VARB<7 AND CROSS(VAR8,VAR9) AND VAR9<-18 AND VAR9<VARB,60,50),COLORYELLOW , ; DRAWICON(波段买入=60,70,1),COLORRED;VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);VAR18:=EMA(VAR17,5);STICKLINE(VAR17>0 AND VAR17-VAR18>=0,79,80,6,0), ,COLORRED ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,79,80,6,1), ,COLOR00FF00 ;STICKLINE(VAR17>0 AND VAR17-VAR18>=0,19,20,6,0),COLORRED, ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,19,20,6,1), ,COLOR00FF00 ;STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ;STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLOR00FF00 ;VAR22:=REF(LOW,1);VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);VAR25:=LLV(LOW,30);VAR26:=HHV(VAR24,30);VAR27:=IF(MA(CLOSE,58),1,0);VAR28:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;VAR29:=IF(VAR28>100,100,VAR28);STICKLINE(VAR29>-150,0,VAR29,3,0), , COLORFF00FF;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;先知: (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;趋势线: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),COLORSTICK;买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$借钱'),COLOR33FFCC,;{目前位置:对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断}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;通达信精确买指标公式来源:Internet,编辑:股旁网,2019-07-16BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:=IF(MA(CLOSE,17)<BB,BB,MA(CLOSE,17));操作线:=分水岭-(EMA(C,3)-分水岭);RR1:=MA(CLOSE,27);RR2:=(CLOSE-RR1)/RR1*100;RRA:=MA(RR2,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;STICKLINE(IF(RRD,-120,0),-120,0,8,0),COLOR33FFFF;黄金坑:IF(RRD,-120,0),COLOR00FF66,COLORLIBLUE,LINETHICK2;TYP := (HIGH + LOW + CLOSE)/3;CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK2; 强势线:100,LINETHICK2;低位线: -100,COLORRED,LINETHICK2;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);VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,20);VAR3:=HHV(HIGH,20);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,3,0),COLORFF00FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,2,0),COLORFF66FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF66CC; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF99FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFFCCFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLOR00FFFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,0.3,0),COLOR66FF33; DRAWTEXT(PS1 AND CROSS(分水岭,操作线),42,'精确买'),COLORYELLOW; RV:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);PS2:=EMA(SMA(RG,3,1),2),COLORFFFFFF;PS3:=SMA(PS2,3,1),COLOR00FFFF;通达信礼花升空指标公式来源:Internet,编辑:股旁网,2019-09-06Var2:=WINNER(CLOSE)*100;Var3:=CLOSE*VOL;Var4:=EMA((MA(Var3,4)/MA(VOL,4)+MA(Var3,6)/MA(VOL,6)+MA(Var3,13)/MA(VOL,13)+MA(Var3,24)/MA(VOL,24))/4,1);Var5:=1*Var4;Var6:=Var4*0.92;Var7:=EMA(CLOSE,34);Var8:=MA(Var7*1.12,5);Var9:=MA(Var7*0.82,5);VarA:=IF(DATE<1331231,1,0);VarB:=(MA(AMOUNT,5)*VarA/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA (VOL,5)/100)<(-0.4)*VarA;VarC:=CLOSE-REF(MA(CLOSE,20),11)<-2;VarD:=EMA(WINNER((LOW+HIGH)/2),10)*100;VarE:=EMA(WINNER(CLOSE),21)*100;VarF:=EMA(WINNER(CLOSE),34)*100;Var10:=STICKLINE(VarD>80,118,120,10,0);Var11:=STICKLINE(VarD>80 AND VarE>80 AND VarF>80,120,122,10,0);STICKLINE(VarE-REF(VarE,1)<0,VarE,0,1,0),color00ff00;STICKLINE(VarE-REF(VarE,1)>0,VarE,0,1,0),colorred;Var12:=SMA(AMOUNT/VOL/100,13,1)*1.15;Var13:=SMA(AMOUNT/VOL/100,13,1)*0.85;Var14:=CLOSE-REF(MA(CLOSE,20),11);彩色火焰: STICKLINE(VarB AND CLOSE<Var9,30,105,3,0),colorred;底:=EMA(EMA(LOW,5),10)*0.86;Var36:=HHV(HIGH,500);Var37:=LLV(LOW,500);Var38:=HHV(HIGH,250);Var39:=LLV(LOW,250);Var3A:=HHV(HIGH,125);Var3B:=LLV(LOW,125);Var3C:=MA((Var36*0.45+Var38*0.5+Var37+Var39+Var3B)/5,35);底线:=Var3C;STICKLINE(CLOSE<Var9 AND VarC AND VarB AND CLOSE<Var13 AND CLOSE<底线AND Var14<-1.5 or CROSS(CLOSE,底),95,30,5,0),colorff00ff;STICKLINE(CLOSE<Var9 AND VarB AND CLOSE<Var13 OR CLOSE<Var9 AND VarC AND VarB ORCLOSE<Var9 AND CLOSE<Var13 OR CLOSE<Var9 AND VarB AND CLOSE<Var13 OR VarB AND CLOSE<底线OR VarB AND VarC AND Var14<-1.5 OR VarB AND CLOSE<Var9 OR VarB AND Var14<-1.5 OR VarCAND CLOSE<Var13 OR CLOSE<底线AND Var14<-1.5 OR CLOSE<Var9 ANDVarC,60,30,1,0),colorffcccc;STICKLINE(VarC AND Var14<-1.5 AND VarD<20,30,50,2,0),coloryellow;STICKLINE(VarC AND CLOSE<底线,40,80,2,0),colorblue;Var17:=REF(CLOSE,1);Var18:=SMA(MAX(CLOSE-Var17,0),6,1)/SMA(ABS(CLOSE-Var17),6,1)*100; Var19:=SMA(MAX(CLOSE-Var17,0),12,1)/SMA(ABS(CLOSE-Var17),12,1)*100; Var1A:=SMA(MAX(CLOSE-Var17,0),24,1)/SMA(ABS(CLOSE-Var17),24,1)*100; LY1A: MA(Var18,2),colorwhite;LY2A: MA(Var19,4),colorff00ff;LY3A: MA(Var1A,6),color00ff00;Var1:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;RSI2:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100; RSI3:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100; BIAS2 :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var1B:=BIAS2;Var1C:=RSI1-REF(RSI1,1);Var1D:=RSI2-REF(RSI2,1);Var1E:=5;Var1F:=-5;MM: IF(CROSS(RSI1,RSI2) AND Var1B<-4,15,0),colorffcc66;MN: IF(CROSS(RSI2,RSI1) AND Var1B>2,100,110),color0099ff;Var20:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var21:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var22:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var23:=IF(Var22<-6 AND Var21<-6 AND Var20<-6,15,0);Var24:=IF(Var21>6 AND Var20>6 AND Var21>6,110,120);13, POINTDOT;80, POINTDOT;通达信跟风高手指标公式来源:Internet,编辑:股旁网,2019-05-21平均持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;大额筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;小额筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;强弱分界:80,COLORYELLOW;趋势线: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);XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);XIAO3:=EMA(XIAO2,10);XIAO4:=LLV(LOW,33);XIAO5:=EMA(IFF(LOW<=XIAO4,XIAO3,0),3);STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,6,0 ),COLOR000055;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,5,0 ),COLOR000077;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,4,0 ),COLOR000099;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR0000BB;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2,0 ),COLOR0000DD;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1,0 ),COLOR0000FF;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,6,0),COLOR005500;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,5,0),COLOR007700;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,4,0),COLOR009900;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR00BB00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2,0),COLOR00DD00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1,0),COLOR00FF00;高手进场:IFF(XIAO5>REF(XIAO5,1),XIAO5,0),NODRAW,COLORRED;调整临界:IFF(XIAO5<REF(XIAO5,1),XIAO5,0),NODRAW,COLORGREEN;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;观望期:=IFF(B6>60,B6-60,0);TAI1:=MA(C,1)/MA(REF(C,13),8)*100;TAI2:=MA(FORCAST(TAI1,21),3);TAI3:=REF(TAI1,1);TAI4:=REF(TAI1,2);邰1:=LLV(LOW,8);邰2:=HHV(HIGH,13);股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);①:IFF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND观望期==0 AND C> REF(C,1),1),44,0),LINETHICK1,COLORCYAN;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;②:IFF(REF(J,1)<0 AND J>0 AND TAI1>=TAI2 AND TAI3> TAI4,34,0),LINETHICK1,COLOR0000FF;③:IFF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;④:IFF(底背离,57,0),LINETHICK1,COLORBROWN;通达信波段擒龙指标公式来源:Internet,编辑:股旁网,2019-01-09VAR2:=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,55),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR8>REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;STICKLINE(VAR11>REF(VAR11,1),0,VAR11,6,1),COLORFFF810;界:0,COLORFFFFFF,LINETHICK1;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,8,0),COLORRED;启动:IF(XL3,0,VAR8*3),COLORRED;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);DRAWTEXT(CROSS(散户,庄家) AND 散户<30,5,'低进'),COLOR00FF00;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,7,'●'),COLORFFFFFF;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,18,'高出'),COLOR00FF00;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,21,'●'),COLOR00FF00;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF; DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;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;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,3,'低进'),COLORFFFF00;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,7,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,6,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,5,'↑'),COLORRED; QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);机会来临:=SMA(QVAR1C,13,8),COLORRED;通达信黄金坑抄大底指标公式来源:Internet,编辑:股旁网,2018-04-03N:=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 AND BETWEEN(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,COLORWHITE;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)/618*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;。

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

通达信把握逃顶赚钱才是硬道理副图指标公式
云间散手狙击点和云间买低的简单介绍:
1,云间散手狙击点信号出,买短线看中线,结合MACD,如绿柱已经变短,且近0轴可大但买入,当DIF上穿DEA 时可全仓,而红柱变短时要及时清仓,守住利润。

而信号出在上升途中,也是进仓机会,但参考小金锁卖出线及时拿钱走人。

如002071在2013年12月4日出信号,进仓,其后一周可逐渐加仓,到2014年2月12日清仓,总涨幅127.39%(13.98--32.29)涨18.09元。

2,云间买低这是选低点信号,结合MACD,买入同狙击点,只是买短看长,买点出后在买点价区域横盘时间越长,后期涨幅更高。

还是以002071为例,2012年11月30号出的信号,价4.82到2013年9月13日价21.34涨幅290.44% 而在2012年11月30日到2013年5月3日期间,股价一直在4.82--5.96间横盘。

所以是买短看长,收益杠杠的。

{公式源码}n:=55;
n1:=13;
m:=13;
WR1:=100-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-L LV(LOW,N));
WR2:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV (LOW,N1));
Aa:=MA(WR2,M);
STICKLINE(CROSS(WR1,50),50,60,3,0),COLORGRAY;
资金:WR1-Aa;
STICKLINE(CROSS(资金,0),0,30,3,0);
0;
60;
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-L
C),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*1 00;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
D:=SMA(CCC,3,1);
逃顶至尊
1:if(CROSS(D,RSI5),50,0),STICK,COLORMAGENTA;
逃顶至尊
2:if(CROSS(80,RSI5),-50,0),STICK,COLORGREEN;。

相关文档
最新文档