5个通达信组合实战公式
通达信技术指标公式大全
通达信技术指标公式大全本文档汇总了通达信软件中常用的技术指标公式,供参考使用。
1. 移动平均线指标公式- 简称:MA简称:MA- 公式:MA(CLOSE, N)公式:MA(CLOSE, N)- 说明:计算收盘价CLOSE在N周期内的移动平均线。
说明:计算收盘价CLOSE在N周期内的移动平均线。
2. 相对强弱指标公式- 简称:RSI简称:RSI- 公式:RSI(CLOSE, N)公式:RSI(CLOSE, N)- 说明:计算收盘价CLOSE在N周期内的相对强弱指标。
说明:计算收盘价CLOSE在N周期内的相对强弱指标。
3. 随机指标公式- 简称:KDJ简称:KDJ- 公式:KDJ(N, M, RSV)公式:KDJ(N, M, RSV)- 说明:计算随机指标K、D、J。
说明:计算随机指标K、D、J。
4. 线性回归指标公式- 简称:LINEARREG简称:LINEARREG- 公式:LINEARREG(CLOSE, N)公式:LINEARREG(CLOSE, N)- 说明:计算收盘价CLOSE在N周期内的线性回归。
说明:计算收盘价CLOSE在N周期内的线性回归。
5. 移动平均收敛/发散指标公式- 简称:MACD简称:MACD- 公式:MACD(EMA12, EMA26, MACD9)公式:MACD(EMA12, EMA26, MACD9)- 说明:计算移动平均线的收敛/发散指标。
说明:计算移动平均线的收敛/发散指标。
6. 布林带指标公式- 简称:BOLL简称:BOLL- 公式:BOLL(CLOSE, N)公式:BOLL(CLOSE, N)- 说明:计算收盘价CLOSE在N周期内的布林带指标。
说明:计算收盘价CLOSE在N周期内的布林带指标。
7. 高低价指标公式- 简称:H_L简称:H_L- 公式:H_L(HIGH, LOW)公式:H_L(HIGH, LOW)- 说明:根据最高价HIGH和最低价LOW计算高低价指标。
通达信非常好用的组合指标公式
通达信非常好用的组合指标公式N:=6;DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,5,1);D:SMA(K,3,1);J:3*K-2*D;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金 /量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯 < (0)) AND ZXNH),COLORRED;低买:IF(黄金AND RSV<VARB2-2,45,0),COLORRED,LINETHICK3;DRAWTEXT(黄金 AND RSV<VARB2-2,70,'加'),COLOR00FFFF;DRAWTEXT(黄金 AND RSV<VARB2-2,50,'仓'),COLOR00FFFF;上涨分界:25;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J,底部),底部,34);DRAWTEXT(CROSS(J,底部),底部,'买入'),COLORRED;VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;特别准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),3,14,5,0),LINETHICK4,COLORRED;有点准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),14,27,3,0),LINETHICK3,COLORMAGENTA;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);红柱抄底:STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,27,40,1,0),COLOR00FFFF;DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));MACD底背离:STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,50,1,0),COLOR00FF00;VAR6:=LLV(LOW,10);VAR8:=HHV(HIGH,25);减仓线:=3.2 ;卖出线:=3.5;动力线:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*4,4);清仓线:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*5,5);DRAWICON(CROSS(动力线,减仓线),85,2);DRAWTEXT(CROSS(动力线,减仓线),85,'减仓'),COLORBLUE;DRAWICON(CROSS(卖出线,动力线),90,35);DRAWTEXT(CROSS(卖出线,动力线),95,'减仓'),COLORRED;DRAWTEXT(CROSS(卖出线,清仓线),100,'清仓'),COLOR00FF00;VAR3:=PEAKBARS(3,15,1)<10;VAR5:=IF(VAR3=1,2,0);顶:= IF(VAR5=2,2,0);顶A:IF(顶>REF(顶,1),50,0),COLORGREEN,LINETHICK3;DRAWTEXT(顶A=50,60,'快'),COLORMAGENTA;DRAWTEXT(顶A=50,50,'逃'),COLORRED;DRAWTEXT(顶A=50,40,'顶'),COLORMAGENTA;LC:=REF(CLOSE,1);RSI6:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORRED,LINETHICK1;DRAWTEXT(RSI6>82,85,'减')COLOR00FF00;DRAWTEXT(RSI6<12.8,6,'补')COLORYELLOW;{W&R出击}{WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1))}VAR1J:=REF("WR.WR1"(10,6),1)>REF("WR.WR1"(10,6),2);VAR2J:=REF("WR.WR1"(10,6),1)>98;VAR3J:="WR.WR1"(10,6)<REF("WR.WR1"(10,6),1);W&R:IF(VAR1J AND VAR2J AND VAR3J,60,0),STICK,LINETHICK3,COLORRED;DRAWTEXT(VAR1J AND VAR2J AND VAR3J,40,'W&R'),COLORF0F000;{DRAWTEXT(VAR1J AND VAR2J AND VAR3J,30,'98以上弯头'),COLORF0F000;};V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),COLORBLUE;主力进: IF(V4>=0,V4,0),COLORFF00FF;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORRED;大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,2,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,30,'准备现金'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);STICKLINE(大盘资金进场 AND 趋势线<13,0,30,2,0),COLORRED;STICKLINE(大盘资金撤走AND 趋势线>90,0,30,2,0),COLORGREEN;STICKLINE(主力进 AND 趋势线<13,0,40,2,0),COLORFF00FF;STICKLINE(主力撤 AND 趋势线>90,0,40,2,0),COLORBLUE;。
通达信五合一量能分析指标公式
通达信五合一量能分析指标公式V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=(MA((CLOSE - HY1) * 10,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORRED;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0), COLORRED;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'多空'),COLORBLUE;换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量),NODRAW;大户能量:(大户-均量),NODRAW;中户能量:(中户-均量),NODRAW;散户能量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1), COLORRED;减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1), COLORRED;反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,4.2,4.8),'机构'),COLORWHITE;操盘1:STICKLINE(大户能量>=0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORRED;减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1), COLORRED;反弹1:STICKLINE(大户能量<0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;寻底1:STICKLINE(大户能量<0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(大户能量>=0,2.7,3.3),'大户'),COLORWHITE;操盘2:STICKLINE(中户能量>=0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1), COLORRED;减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1), COLORRED;反弹2:STICKLINE(中户能量<0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;寻底2:STICKLINE(中户能量<0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(中户能量>=0,1.2,1.8),'中户'),COLORWHITE;操盘3:STICKLINE(散户能量>=0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORRED;减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1), COLORRED;反弹3:STICKLINE(散户能量<0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORGREEN;寻底3:STICKLINE(散户能量<0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(散户能量>=0,-0.3,0.3),'散户'),COLORWHITE;。
通达信五线组合拳源码公式
通达信五线组合拳源码公式:V ARA:=(MA(C,13)+MA(C,17))/2;V ARB:=(STD(C,13)+STD(C,17))/2;V ARC:=IF((C>REF(C,1)),88,0);V ARD:=V ARA+0.72*V ARB;V ARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND V ARC>0,91,0);V ARE:=IF(VARB>1.88 ,MA(V ARD,3),V ARD);V ARG:=EMA(EMA(C,9),9);CON:=(VARG-REF(V ARG,1))/REF(V ARG,1)*1000;HCON:=100*WINNER(C*0.95);V AR1:=EMA(EMA(EMA(C,5),5),5);V AR2:=V AR1-REF(V AR1,1)+V AR1;V AR3:=CROSS(V AR2,MA(V AR2,26));V AR4:=CROSS(MA(C,13),MA(C,21));V AR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;V AR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27)) /(HHV(H,27)-LLV(L,27))*100,5,1),3,1);V AR7:=IF(VAR6<=10,30,0);V ARJ:=SMA(V AR5,3,1);V ARK:=SMA(V ARJ,3,1);V ARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);V ARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;V AR8:=(V ARL>20 AND V ARL<80);V AR9:=((V ARL-REF(V ARL,1))>3 AND V AR8);V AR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5);V AR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13);止赢:V ARE*1.1,COLORRED,LINETHICK2;压力:V ARE*1.05,COLORBLUE,LINETHICK2;支撑:V ARE*0.95,COLOR18FF18,LINETHICK2;反转:V ARE*0.9,COLORYELLOW,LINETHICK2;平衡:V ARE,COLORFFFFFF,LINETHICK3;DRAWTEXT(ISLASTBAR,止赢,'止赢'),COLORRED;DRAWTEXT(ISLASTBAR,压力,'压力'),COLORBLUE;DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOR18FF18;DRAWTEXT(ISLASTBAR,反转,'反转'),COLOR18CCFF;DRAWTEXT(ISLASTBAR,平衡,'平衡'),COLORFFFFFF;DRAWTEXT(FILTER((V ARF>90),34),LOW*0.965,'◆'),COLORRED;STICKLINE(HCON>50 AND COST(85)<C AND CON>0,O,C,1.8,0),COLORFF00FF; DRAWTEXT(V AR3 AND V AR4,L*0.95,'圆底'),COLORYELLOW;STICKLINE(CROSS(V ARJ,V ARK) AND CROSS(MACD.DIF, MACD.DEA),C,O,1,0),COLORYELLOW;DRAWTEXT(V AR7<REF(V AR7,1),L*0.98,'抢'),COLORYELLOW;DRAWTEXT(FILTER(V AR9,5),L*0.97,'加'),COLORFF00FF;DRAWICON(CROSS(76,V ARM),H,6);重心:AMOUNT/VOL/100,POINTDOT,LINETHICK5,COLORYELLOW;布林极限:BB,COLORFF00FF,NODRAW;RSI1:RSI.RSI1,COLORRED,NODRAW;KDJJ:KDJ.J,COLORWHITE,NODRAW;STICKLINE(CROSS(V AR10, V AR11),O,C,1.6,1),COLORRED;STICKLINE(CROSS(V AR10, V AR11),O,C,1,1),COLORRED;DRAWTEXT(FILTER(CROSS(C,反转) OR CROSS(C,支撑) OR CROSS(C,平衡) OR CROSS(C,压力),3),L*0.995,'买'),COLORRED;DRAWTEXT(FILTER(CROSS(反转,C) OR CROSS(支撑,C) OR CROSS(平衡,C) OR CROSS(压力,C),3),H*1.02,'卖'),COLORGREEN;AA1:=MA(C,5);BB1:=MA(C,15);AF:=CROSS(AA1,BB1);STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3;DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;E1:=BARSCOUNT(C);AH:=HHV(H,200);AL:=LLV(L,200);B0:=(AH-AL)/40;KB1:=H+B0;KB2:=L-B0;STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHI CK3;DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'时窗'),COLORYELLOW;MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;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.99,'老鼠仓'),COLOR4080FF;XXS:=MA(LOW,5)*(1-5/100);XXS1:=MA(HIGH,5)*(1+5/100);均线:=C,COLORGREEN;AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;BBAA:=CROSS(XXS1,C);DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;DDDD:=CROSS(C,XXS1);DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;AAA:=MA(LOW,5)*(1-5/100);BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←斋主回马枪'),COLORWHITE;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'★←老李夺命抢'),COLORMAGENTA;X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'★∠45升'),COLORWHITE;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:SQRT(HRY11),COLORGREEN,LINETHICK2;IF(C>HRY33 AND HRY33 >=REF(HRY33 ,1), HRY33 ,DRAWNULL),LINETHICK2,COLORRED;BB5:=A TAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),LOW*0.99,'★∠45'),COLORFFFFFF;TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);V AR27:=REF(CLOSE,1);V AR28:=SMA(MAX(CLOSE-V AR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100; DRAWICON((IF(CROSS(76,V AR28),1,0)) OR CROSS(70,RSI),H*1.01,2);DRAWICON((IF(CROSS(V AR28,21),1,0)),L*0.97,1);DRAWTEXT((IF(CROSS(76,V AR28),1,0)) OR CROSS(84,RSI),H*1.03,'快跑') ,COLORYELLOW;股价:MA(C,3),COLORGREEN,LINETHICK2;B:=股价<REF(股价,1);短线:IF(B-1,股价,DRAWNULL)COLORMAGENTA,LINETHICK2;V AR4A:=EMA(CLOSE,3);DRAWICON(COUNT(REF(V AR4A,1)<REF(V AR4A,2),5)=5 AND V AR4A>REF(VAR4A,1),L*0.98,4);DRAWTEXT(COUNT(REF(V AR4A,1)<REF(V AR4A,2),5)=5 AND V AR4A>REF(VAR4A,1),L*0.96,'出拳');。
实战分析思路通达信指标公式源码
实战分析思路通达信指标公式源码通达信是中国股市中使用较为广泛的一种技术分析软件。
该软件提供了丰富的指标工具,包括均线、MACD、KDJ等等。
对于想要实战分析的投资者,了解这些指标的计算公式是非常重要的。
下面将介绍一些常用指标的计算公式和通达信源码。
1.均线(MA)指标的计算公式如下:MA(n)=(C1+C2+…+Cn)/n其中,MA(n)表示平均线的值,C1、C2、Cn分别表示n个周期内的收盘价。
通达信源码如下:_MA:MA(CLOSE,N);上述代码表示计算周期为N的收盘价的均线。
2.MACD指标的计算公式如下:DIFF = EMA(short) - EMA(long)DEA=EMA(DIFF,M)MACD=(DIFF-DEA)*2其中,EMA表示指数移动平均线,DIFF表示快线与慢线的差值,DEA 为DIFF的M周期指数移动平均,MACD为DIFF与DEA的差值的两倍。
通达信源码如下:_DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);_DEA:EMA(_DIFF,M);_MACD:(_DIFF-_DEA)*2;上述代码表示计算DIFF、DEA和MACD三个指标。
3.KDJ指标的计算公式如下:RSV=(CLOSE-LOWEST(CLOSE,N))/(HIGHEST(CLOSE,N)-LOWEST(CLOSE,N))*100K=(1-a)*PREV.K+a*RSVD=(1-a)*PREV.D+a*KJ=3*K-2*D其中,RSV表示未成熟随机值,K、D、J分别表示K、D、J三条曲线的值,N为周期,a为平滑因子。
通达信源码如下:_RSV:(CLOSE-LOWEST(CLOSE,N))/(HIGHEST(CLOSE,N)-LOWEST(CLOSE,N))*100;_k1:(1-a)*REF(_k1,1)+a*_RSV;_d1:(1-a)*REF(_d1,1)+a*_k1;_j1:3*_k1-2*_d1;上述代码表示计算RSV、K、D和J四个指标。
通达信公式
通达信选股公式去除ST和停盘,大盘股AA:= AND MA(C,5)>REF(MA(C,5),1);BB:= AND MA(C,10)>REF(MA(C,10),1);30日内有停板公式N:=30; ZT:=C/REF(C,1)>=1.099 AND C=H AND DYNAINFO(4)>0;COUNT(ZT,N)>=1 ;老乐26日中9%的涨幅统计去除ST:=EXIST(C/REF(C,1)>1.055,60);放在前面有效去除停牌:=DYNAINFO(4)>0;XG:去除ST AND 去除停牌;选股公式中去除ST和停牌股的方法:15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;老乐30日放大量地位放大量HHV(V,3)>REF(HHV(V,30),4);放量V>REF(V,1)*2 AND C>REF(C,1);附加条件:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND VOL>1;仙人路H/REF(C,1)>1.04 AND C/REF(C,1)>1.01 AND C/REF(C,1)<1.03 AND L/REF(C,1)>0.98 AND (H-C)/(H-L)>0.6 AND (H-O)/(H-L)>0.6 AND DYNAINFO(17)>1 AND VOL/CAPITAL<0.05 AND H/L>1.05 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND VOL/CAPITAL>2/100 ;换手,量比,每股收益等选股公式1.换手率大于3%;今天的成交量达到了整个流通盘的2%以上:VOL/CAPITAL>2/1002.2.量比大于2倍;3.现价小于10元;4.流通盘小于2亿股;5.每股收益大于0.1元;6.涨幅大于3%;7.MACD的DIFF上穿DEA,金叉;换手率大于2% DYNAINFO(37)>0.02uu:= VOL/CAPITAL>2/100;上下刺1AA:(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7 AND MA(C,5)>REF(MA(C,5),1) AND VOL/CAPITAL>1/100 ;揉搓线(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7;上下刺2C<15 AND H-O<0.20 AND REF(O-L<0.2,1)AND REF(H>MA(C,5),1) AND REF(H>MA(C,10),1) AND REF(H>MA(C,20),1)AND REF(H>MA(C,30),1) AND LAND (C-L)/L>0.015AND REF(H-O,1)/REF(O,1)>0.015AND ABS(O-C)<0.2 AND ABS(REF(O-C,1))<0.2AND (O-L)/L>0.015AND ABS((O-C)/O)<0.015 AND ABS(REF(O-C,1)/REF(O,1))<0.015AND LAND MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20) AND MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,30)AND MA(C,10)>MA(C,30) AND L>MA(C,20) AND MA(C,5)>REF(MA(C,5),1) AND VOL/CAPITAL>1/100 ;编自用多个公式组合的选股公式?(1)选流通盘较小的小盘股SHGZG>=m1*10000 AND SHGZG<=m2*10000 (2)选出刚上市不久的次新股ISNULL(CLOSE[N])==1;(3)超跌选股A=HHV(HIGH,N);(A-CLOSE)/A*100>M1;(4)ST股除外NOT(STRFIND(STKNAME,'ST',1));(5)创业板除外NOT(STRLEFT(CODE,2)==30);(6)连续下跌COUNT(CLOSE(7)连续收阴线aa=COUNT(OPEN>CLOSE,N);SELECT aa==n(8)创新低LLV(LOW,N)==LOW;(9)今日凹洞量A=VOL;B=HHV(VOL,N1);A/B*100(10)昨日凹洞量A=REF(VOL,1);B=HHV(VOL,N1);A/B*100(11)企稳弹升MJGS=LLV(LOW,N);CXG=(CLOSE-MJGS)/MJGS*100;BETWEEN(CXG,M1,M2);(12)价升量增A:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=(N/100) ;SUM(VOL,N1)/SHGZG>=(N2/100)AND COUNT(VOL>REF(VOL,1),N3)==N3 AND COUNT(A,N3)==N3(13)股价介于两线之间BETWEEN(C,MA(C,N1),MA(C,N2));(14)均线黏合,横盘选方向MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);P1:=ABS(MA1-MA2)+ABS(MA2-MA3);P1/C<2/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1);(15)均线金叉,短期强A=MA(C,N1);B=MA(C,N2);CROSS(A,B);(16)均线死叉,短期弱A=MA(C,N1);B=MA(C,N2);CROSS(B,A);(17)主力吸筹,成交量放大A=MA(C,N1);B=MA(C,N2);CROSS(B,A);目前先发17个公式,由于今后一段时间要编辑涨停板捕捉技巧与明日操盘策略,所以编辑公式暂时告一段落!X1:=DYNAINFO(37)>0.03;X2:=DYNAINFO(17)>2;X4:=CAPITAL/1000000<2;X5:=FINANCE(33)>0.1;X6:=(C-REF(C,1))/REF(C,1)>0.03;X7:=CROSS(MACD.DIF,MACD.DEA);XG:X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7;52沿5天线走EMA(C,7)>EMA(C,14) AND EMA(C,14)>EMA(C,25) AND EMA(C,25)>EMA(C,50) AND BARSLASTCOUNT(C/REF(C,1)<1.03 AND C>EMA(C,7))+1>5 AND DYNAINFO(17)>0;hhv R(V,1)碎步爬升}通达信碎步爬升}通达信EMA(C,7)>EMA(C,14) AND EMA(C,14)>EMA(C,25) AND EMA(C,25)>EMA(C,50) AND BARSLASTCOUNT(C/REF(C,1)<1.03 AND C>EMA(C,7))+1>5 AND DYNAINFO(17)>0;Hhv (V,3) > ref(v,30) ),4);今天的量是5天平均的2倍以上xg:v>ma(v,5)*2今天成交力量是前天的1.8倍.xg:v=ref(v,2)*1.8;今天成交力量是前天的1.8倍.xg:v=ref(v,2)*1.8;58 5-10日向上放量HhvBB:= MA(C,20)>REF(MA(C,20),1);AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1); AND MA(C,20)>REF(MA(C,20),1);CC:=MA(C,20)>MA(C,10);放量DD:=V>REF(V,1)*2 AND C>REF(C,1);AA AND BB AND CC AND DD;5860日向上MA60:=MA(C,60);A1:=MA60>=REF(MA60,1);A2:=C>=MA60;A1 AND A2;两涨停COUNT(C>REF(C,1)*1.090 AND REF(C,1)>REF(C,2)*1.090,30)>=1;两涨停COUNT(C/REF(C,1)>1.1,20)>2;以下是将公式改为选股公式的简易方法,求人不如求己嘛AA:=MA(C,5)>REF(MA(C,5),1);AA AND BB;AA:= AND MA(C,5)>REF(MA(C,5),1);BB:= AND MA(C,10)>REF(MA(C,10),1);FF:=MA(C,20)>REF(MA(C,20),1);一、K线的基本形态1、当天收阳:CLOSE>OPEN;2、当天收阴:count ()CLOSE<OPEN;3、当天股价高开,言下之意开盘高于昨日收盘:OPEN>REF(CLOSE,1);4、当天股价低开:OPEN<REF(CLOSE,1);5、跳空高开:OPEN>REF(HIGH,1);当日开盘在昨日最高价之上6、跳空低开:OPEN<REF(LOW,1);7、长阳:C/O>1.03 或者(C-O)/O*100>5 或者(C-O)/O>0.05意思是收盘价比开盘价上涨5%以上。
通达信12345结构指标公式
通达信12345结构指标公式摘要:通达信12345 结构指标公式一、通达信介绍1.通达信简介2.通达信在股票分析中的作用二、12345 结构指标公式1.公式定义2.公式构成要素3.公式计算方法三、公式应用1.判断市场趋势2.寻找买卖点3.风险控制与盈利策略四、与其他指标的结合使用1.结合均线系统2.结合其他技术指标五、总结1.12345 结构指标公式的优点2.注意事项及局限性正文:通达信12345 结构指标公式一、通达信介绍通达信是一款专业的股票分析软件,它提供了丰富的技术指标和功能,帮助投资者更好地把握市场动态,挖掘潜力股。
通达信凭借其强大的分析功能和易用性,在国内股票投资者中拥有广泛的应用。
二、12345 结构指标公式1.公式定义12345 结构指标公式是一种基于通达信软件的技术指标,它由5 条线组成,分别命名为MA1、MA2、MA3、MA4 和MA5。
这五条线分别代表着不同的时间周期,从短期到长期,它们共同反映了股票价格的趋势变化。
2.公式构成要素12345 结构指标公式主要由五条线组成,分别是:MA1:5 日均线MA2:10 日均线MA3:20 日均线MA4:60 日均线MA5:120 日均线3.公式计算方法12345 结构指标公式的计算方法很简单,只需将五条均线的收盘价进行计算即可。
投资者可以根据自己的需求,设置不同的颜色和线型。
三、公式应用1.判断市场趋势通过观察五条均线的排列情况,可以判断股票价格的趋势。
当短期均线向上穿越长期均线时,可以认为市场趋势向上;反之,趋势向下。
2.寻找买卖点当短期均线向上,长期均线向下时,可以认为股票价格有上涨空间,此时可以寻找合适的买入点。
当短期均线向下,长期均线向上时,可以认为股票价格有下跌空间,此时可以寻找合适的卖出点。
3.风险控制与盈利策略利用12345 结构指标公式,投资者可以制定相应的风险控制和盈利策略。
例如,当价格跌破5 日均线时,可以认为市场趋势转变,及时止损;当价格突破120 日均线时,可以认为市场趋势加强,可以适当加仓。
通达信精准组合买卖指标公式
通达信精准组合买卖指标公式VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3);VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;VARA:=BARSCOUNT(CLOSE);VARB:=VAR8<20 AND VAR9<23 AND VARA>35;VARC:=VARB AND COUNT(VARB,1)=1;VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);VARE:=EMA(VARD,5);VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR1A:=EMA(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR1E:=EMA(VAR1D*0.97,3);VAR1F:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));VAR21:=CROSS(VAR1E,LOW);组合买: (VAR11+VAR13+VAR15+VAR17), COLORWHITE;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);VAR03:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1), MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2)) AND MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1)<0;VAR04:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1),0);VAR05:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1), MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2)) AND MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1)>0;买一: VAR03, STICK,COLORRED;买二: VAR04 OR VAR05, STICK,COLORWHITE;AA1:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);N:=IF((AA1 > 0.35),6,65);B:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));YCZT:=CROSS(B,-2); LX1:=(EMA((AMOUNT/10000000),1) /3);LX2:=(WINNER(C)/0.3); LX3:=IF(C<0,LX1,V); LX4:=IF(C<0,LX2,V);LX5:=IF((BARSCOUNT(C)>100),LX3,LX4);量:=LX5/1000;动量:=(EMA(量,13)*1.5);A01:=IF((量>动量),量,0);A02:=BARSLAST((A01>0)); A03:=REF(量,A02);趋势:=IF((量<=A01),量,A03);突破:=IF(((((量=趋势) AND (C>REF(C,1))) AND (量>REF(量,1))) AND (REF(A02,2)>0)),888,0);涨停:YCZT AND FILTER(突破 ,5 ),COLORRED;DRAWTEXT(涨停>0,4.5,'★涨停'),COLORYELLOW;MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);MA120:=MA(C,120);MA250:=MA(C,250);角度5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;起爆:角度5>角度10 AND 角度10>角度20 AND 角度20>30,COLORWHITE;黑龙: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.5,100,0),LINETHICK3,COLORRED;组合卖: (VAR12+VAR14+VAR16+VAR18), COLORYELLOW;DRAWTEXT(VAR13,0.6,'●'), COLORRED;DRAWICON(组合买,组合买,5);DRAWICON(组合卖,组合卖,9);DRAWICON(VAR10>0,4.2,3);DRAWTEXT(VAR10 AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA;DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;备买: IF(DRAWICON(VAR10>0,4.2,3)<=3,1,0),COLORWHITE,LINETHICK 1;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;RSV0:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;{黑马狂奔}A2:=((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5))-REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1))/REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1)*100;A3:=EMA(C,5);A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;DRAWTEXT(FILTER(REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1)>90 AND A2<0,7),(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'跑'),COLOR00FF00;DRAWTEXT(CROSS((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)))AND (EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5))<A5,(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'黑马');DRAWTEXT(CROSS((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),A5)AND ((MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)))<80,(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'追涨');DRAWTEXT(CROSS(((MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2))),0)AND (EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5))<40,5,'大黑马');机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2;DEA :=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),9);基础:=( EMA(CLOSE,12) - EMA(CLOSE,26)<-0.1 AND EMA(CLOSE,12) - EMA(CLOSE,26)>DEA);开仓区: IF(STICKLINE( 基础,LLV(L,30),LLV(L,30)*1.1,4,0)<=3,1,0),COLORWHITE,LINETHICK1;LCA:=REF(CLOSE,1);RSII:=((SMA(MAX((CLOSE - LCA),0),3,1) / SMA(ABS((CLOSE - LCA)),3,1)) * 100);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);准备:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(准备=1,5),LOW-1.97,'★拉升'),COLORLIMAGENTA;拉升: IF(DRAWTEXT(FILTER(准备=1,5),LOW-1.17,'★拉升')<=3,1,0),COLORLIMAGENTA;下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORYELLOW, LINETHICK4;DRAWTEXT(下单,38,'下单!'),COLORGREEN;K:SMA(RSV0,M1,1),COLORYELLOW,LINETHICK1;D:SMA(K,M2,1),COLORWHITE,LINETHICK1;J:3*K-2*D,COLORFF00FF,LINETHICK1;IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;DRAWICON(CROSS(J,1),J,1);DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);金叉股: IF(DRAWICON(CROSS(J,1),J,1)<=3,1,0),COLORYELLOW;IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;ZKK:="KD.K#WEEK"(9,3,3);ZKD:="KD.D#WEEK"(9,3,3);KCD:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1)<30,13);KCD1:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1)>30,13);XG1:=KCD;DIFW:="MACD.DIF#WEEK"(12,26,9);DEAW:="MACD.DEA#WEEK"(12,26,9);P:=10;A:=5;FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13);XG2:=FCA;建仓区: IF((VARO7<10),80,100) ,COLORYELLOW,LINETHICK1;。
通达信精准选的公式
通达信精准选的公式通达信精准选股公式需要根据个人投资理念和风险偏好进行定制,下面是一些常见的通达信选股公式供您参考:1. 多方炮选股公式:TJ1:=COANDC=H;TJ2:=VOLTJ4:=EVERY(MAX(C,O)MA(C,7),3)ANDCAPITAL;TJ3:=COANDC=H;XG:TJ1ANDREF(TJ2,1)ANDREF(TJ3,2)ANDTJ4。
2. 向上跳空缺口三天不回补选股公式:XSTK:=LOWREF(HIGH,1);TT1:=BARSLAST(XSTK)+1;HH:=REF(HIGH,TT1);不回补:=TT1=3ANDCOUNT(XSTK,TT1)=1ANDLOWHHANDLOW=(EXIST(CROSS(HH,LOW),TT1));COUNT(LOWREF(HIGH,1),3)0AND不回补。
3. 超级牛魔选股公式:VAR3:=1; VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10); VAR6:=MA(CLOSE,30); VAR7:=MA(CLOSE,60); VAR8:=EMA(COST(85),7); VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSEVOL100,4)/SUM(VOL100,4);VARB:=INTPART(VARA100)/100;VARC:=SUM(CLOSEVOL100,7)/SUM(VOL100,7);VARD:=INTPART(VARC100)/100。
需要注意的是,这些公式仅供参考,并不能保证选出的股票一定符合预期。
在实际操作中,还需要结合市场走势、基本面分析和技术分析等多个因素进行综合考虑。
同时,也需要注意风险控制,合理配置资产,避免过度交易带来的风险。
值得收藏的通达信公式
值得收藏的通达信公式值得收藏的通达信公式1、多空天地线:该指标有六条线组成,名称从下至上依次是:满仓、半仓、低吸、变盘、高抛、出货;当股价从低位向上反弹,遇到每一条线时,都会有一定阻力,当股价从高位向下回落时,每条线都有支撑作用。
多空天地线不仅直接反映出主力操盘手法和股价在历史走势中的空间状态,还可以提前于股价的走势给出我们股价在上升空间的各个阻力点位,使我们在股票操作中有效利用这个指标,达到波段获利。
而且比较适用于中长期操作。
VAR2:=485;VAR3:=222;VAR4:=96;VAR5:=MA(HHV(HIGH,VAR2),17);VAR6:=MA(HHV(HIGH,VAR3),17);VAR7:=MA(HHV(HIGH,VAR4),17);VAR8:=MA(LLV(LOW,VAR2),17);VAR9:=MA(LLV(LOW,VAR3),17);VARA:=MA(LLV(LOW,VAR4),17);VARB:=MA((VAR8*0.96+VAR9*0.96+VARA*0.96+VAR5*0.558+VAR6*0.558+VAR7*0.558)/6,17);VARC:=MA((VAR8*1.25+VAR9*1.23+VARA*1.2+VAR5*0.55+ VAR6*0.55+VAR7*0.65)/6,17);VARD:=MA((VAR8*1.3+VAR9*1.3+VARA*1.3+VAR5*0.68+VA R6*0.68+VAR7*0.68)/6,17);VARE:=MA((VARB*3+VARC*2+VARD)/6*1.738,17);VARF:=MA((VARB*2.38+VARC*2.18+VARD*1.85+VAR5*1.05) /4,17);VAR10:=MA((VARD+VARE)*0.5,17);满仓: VARB;半仓: VARC;低吸: VARD;中线: VAR10;高抛: VARE;出货: VARF;2、波段赢家:指标由六条线组成,股价一般在六条线之间运行;当股价大部分时间在三条线之内时,运行股价回调碰到下档支持线时,会受到支撑;上涨遇到了阻力线时,会受到一定压力。
通达信公式教程大全(公式+指标+实例)
通达信公式教程大全(公式+指标+实例)本文介绍了通达信中常用的公式和指标,并给出了相应的实例说明。
希望能帮助读者更好地使用通达信软件。
一、公式1. 移动平均线 (Moving Average, MA)移动平均线是分析股票价格走势的常用工具之一,用于平滑价格曲线,使趋势更加明显。
通达信中的移动平均线公式为:MA(n) = (C + C1 + C2 + ... + C(n-1) + C(n)) / n其中,MA(n) 表示第 n 日的移动平均线值,C 表示当日的收盘价。
2. 相对强弱指数 (Relative Strength Index, RSI)相对强弱指数是用来测量股票价格走势强度的指标,其数值介于0和100之间。
通达信中的相对强弱指数公式为:RSI(n) = 100 - [100 / (1 + RS)]RS = GainAverage(n) / LossAverage(n)其中,RSI(n) 表示第n 日的相对强弱指数,RS表示相对强度,GainAverage(n) 表示涨幅平均值,LossAverage(n) 表示跌幅平均值。
3. 布林带指标 (Bollinger Bands, BOLL)布林带指标用于判断股票价格的波动情况,由上、中、下三条线组成。
通达信中的布林带指标公式为:UP(n) = MA(n) + 2 * Std(n)DN(n) = MA(n) - 2 * Std(n)其中,UP(n) 表示上轨线,DN(n) 表示下轨线,Std(n) 表示标准差。
二、指标1. 成交量 (Volume)成交量指标用于衡量股票交易的活跃度。
通达信中可以通过画柱状图的方式显示成交量。
2. 相对强弱指数 (Relative Strength Index, RSI)相对强弱指数在公式部分已经进行了介绍,这里重点说明其在通达信中的显示形式。
通达信以0和100作为区间,通过画线的方式显示相对强弱指数。
3. 动量指标 (Momentum)动量指标用来测量股票价格的变动速度,可以判断价格的超买超卖情况。
通达信最实用的五大指标公式
通达信最实用的五大指标公式LY:=10;BL:=40;CJQS:=XMA(CLOSE,LY);JBQS:=XMA(CLOSE,BL);N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);JB上轨:IF(CURRBARSCOUNT>BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);JB下轨:IF(CURRBARSCOUNT>BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);CJ上轨:IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);CJ下轨:IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95);DRAWTEXT(O<=CJ下轨,(L * 0.98),'抢'),COLORYELLOW;DRAWTEXT(CROSS(H,CJ上轨),(H * 1.01),'逃'),COLORYELLOW;{立桩量}TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF;{一穿三:5、10、20}MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;STICKLINE(一穿三,O,O+(C-O)/2,1,0),COLORFF00FF;AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE/100;B1差:=B1万元-REF(B1万元,1);B2万元:=DVOL*DCLOSE/100;B2比:=B2万元/REF(B2万元,1);净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA;密码:(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;二日比:=密码/REF(密码,1);选股:PMB AND 密码>REF(密码,1) AND 二日比>1,COLORRED,NODRAW;Y:=CLOSE/REF(CLOSE,1)>1.07;X:=VOL>MA(VOL,5);A1:=Y AND X;DRAWTEXT(A1,MA(CLOSE,5),'攻涨停'),COLORMAGENTA;二:GS控盘程度副图Q_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);Q_3:=CROSS(EMA(C,19),EMA(C,7));Q_4:=CROSS(EMA(C,7),EMA(C,19));Z1:=L=LLV(L,BARSLAST(Q_3)+1);Z2:=LLV(L,BARSLAST(Q_3)+1);Z3:=H=HHV(H,BARSLAST(Q_4)+1);Z4:=HHV(H,BARSLAST(Q_4)+1);Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);Y1:=H=HHV(H,BARSLAST(Q_4)+1);Y2:=HHV(H,BARSLAST(Q_4)+1);Y3:=L=LLV(L,BARSLAST(Q_3)+1);Y4:=LLV(L,BARSLAST(Q_3)+1);Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);X1:=LLV(Q_2,2)=LLV(Q_2,7) ;X2:=COUNT(Q_2<0,2);X3:=CROSS(Q_2,MA(Q_2,2));X4:=REF(Q_B,1)<REF(Q_B,2);X5:=Q_A>REF(Q_B,1);买进:=(X1 AND X2 AND X3) AND X4 AND X5;TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);堪称一绝:IF(REF(TJ,1)=0 AND TJ>=1,80,10),STICK,COLORRED;持币:IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,0,10),STICK,COLORGREEN;地狱底:0,COLORGRAY;地狱线:10,COLORGRAY;地平线:20,COLORLIMAGENTA;天际线:80,COLORGRAY;RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);神仙:SMA(RSV,7,1),COLORWHITE;魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW;轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;财神到:IF(CROSS(神仙,20),20,0),POINTDOT;DRAWICON((CROSS(神仙,20)),5,1);三:GS大机构副图VAR1C:=(HIGH - MIN(OPEN,CLOSE));VAR2C:=(CLOSE - OPEN);VAR3C:=(MIN(OPEN,CLOSE) - LOW);VAR4C:=(HIGH - LOW);VAR5C:=((VOL * VAR1C) / VAR4C);VAR6C:=((VOL * VAR2C) / VAR4C);VAR7C:=((VOL * VAR3C) / VAR4C);VAR8C:=((VAR5C - VAR6C) - VAR7C);VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=(SUM(((CLOSE * VOL) * 100),4) / SUM((VOL * 100),4));VARB:=(INTPART((VARA * 100)) / 100);VARC:=(SUM(((CLOSE * VOL) * 100),7) / SUM((VOL * 100),7));VARD:=(INTPART((VARC * 100)) / 100);VARE:=(SUM(((CLOSE * VOL) * 100),28) / SUM((VOL *100),28));VARF:=(INTPART((VARE * 100)) / 100);短线趋势:(EMA(CLOSE,5) - EMA(CLOSE,10));中线趋势:EMA(短线趋势,9);VAR10:=((0 - ((100 * (HHV(CLOSE,5) - CLOSE)) / (HHV(CLOSE,5) - LLV(LOW,5)))) + 100);VAR11:=((0 - ((100 * (HHV(CLOSE,10) - CLOSE)) / (HHV(CLOSE,10) - LLV(LOW,10)))) + 100);VAR12:=((0 - ((100 * (HHV(CLOSE,20) - CLOSE)) / (HHV(CLOSE,20) - LLV(LOW,20)))) + 100);VAR13:=((0 - ((100 * (HHV(CLOSE,30) - CLOSE)) / (HHV(CLOSE,30) - LLV(LOW,30)))) + 100);VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=(VAR15 - VAR14);VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=(VAR18 - VAR17);VAR1A:=OPEN;VAR1B:=CLOSE;大机构:SUM(VAR8C,13) / MA(VOL,13) / 13,LINETHICK1,COLOR0000FF;小机构:SUM(VAR8C,21) / MA(VOL,21) / 21,LINETHICK1,COLORFFFF00;散户:SUM(VAR8C,30) / MA(VOL,30) / 30,COLORFF00FF;股票:((SUM(VAR8C,125) / MA(VOL,125)) / 125),LINETHICK2,COLOR00FFFF;四:警戒线副图VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);警戒线: 2.8;减仓线: 3.2 ;卖出线: 3.5;动力线: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);DRAWTEXT(CROSS(动力线,警戒线),2,'警惕!!'),COLORWHITE;DRAWTEXT(CROSS(动力线,减仓线),2.8,'减仓');DRAWTEXT(CROSS(动力线,卖出线),3.5,'卖出');DRAWICON(CROSS(动力线,警戒线),3,2);DRAWICON(CROSS(动力线,减仓线),3.4,2);DRAWICON(CROSS(动力线,卖出线),3.9,2);五:老师帮我改好的选股公式一:GS警戒动力选股公式VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);XG:动力线<0.2;二:大机构选股公式VAR1C:=(HIGH - MIN(OPEN,CLOSE));VAR2C:=(CLOSE - OPEN);VAR3C:=(MIN(OPEN,CLOSE) - LOW);VAR4C:=(HIGH - LOW);VAR5C:=((VOL * VAR1C) / VAR4C);VAR6C:=((VOL * VAR2C) / VAR4C);VAR7C:=((VOL * VAR3C) / VAR4C);VAR8C:=((VAR5C - VAR6C) - VAR7C);大机构:=SUM(VAR8C,13)/MA(VOL,13)/13; 大机构>1;。
通达信经典实用选股公式(2)
通达信经典实用选股公式(2)100,平台整理的公式,整理时间和整理幅度可调COUNT(CLOSE,0)>N AND(HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N)<=(N1/100);N整理时间,N1整理幅度101,选出当日收盘价突破10日均线5%的个股cross(c,ma(c,10)*1.05);102,选出当日最低价在10日均线上下0.05%内,收盘价在均线上方的个股abs(l-ma(c,10))<0.005 and c>ma(c,10);103,第一天股票涨停,第二天成交量是第一天成交量的1倍,并超过10%.那第三天就是买点w1:=ref(c,2)/ref(c,3)>1.1;w2:=ref(v,1)/ref(v,2)>2;xg:w1 and w2;104,放量2倍突破300日线的选股指标cross(c,ma(c,300)) and v>ref(v,1)*2;105,3日均线上穿10日均线,KDJ有效金叉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;w1:=cross(ma(c,3),ma(c,10));xg:w1 and cross(k,d);106,30日均线拐头向上 ma(c,30)>ref(ma(c,30),1);107,连续3-5天,每天的收盘价涨跌幅不超过1%.w1:abs(c-o)<0.01;xg:count(w1,5)>=3;108,K线收十字星abs(c-o)/o<0.01;109,MACD在8天以内两次金叉DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);w1:cross(DIFF,dea);xg:count(w1,8)>=2;110,昨天升降幅在-n%----n%之间w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*100111,于20日均线相差2个百分点的w1:abs(c-ma(c,20)/ma(c,20)*100<2;N日均线相差M个百分点的公式.w1:abs(c-ma(c,n)/ma(c,n)*100n:N日 m:M个百分点112,60MA由向下调头向上ma(c,60)>ref(ma(c,60),1);113, 股价回调到14日均线的选股abs(c-ma(c,14))/ma(c,14)<0.005;114,历史第5根K线到第30根K线之间的最高价hhv(ref(c,5),25);115,MACD的拐点公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);拐点:ref(macd,2)>ref(macd,1) and ref(macd,1)116,跳空高开收阳线 LOW>REF(HIGH,1) and c>o;117,涨停过300日线的选股公式c/ref(c,1)>1.09 and cross(c,ma(c,300));118,成交量是前5天中其他任何一天的10天均量线的3.5倍以上w1:=llv(ma(v,10),5);xg:v>w1*3.5;119,股价N天内连续沿着5天线走,且每天收盘价与5天线的距离不超过2%的选股公式w1:=abs(c-ma(c,5))/ma(c,5)<0.02;xg:count(w1,n)=n;120,跳空高开后,三天内没有回补缺口ref(LOW,2)>REF(HIGH,3) and l>ref(LOW,2);121,日涨幅小于3%C>0 AND C/REF(C,1) >1.03;122,股价创30个交易日的新高H>ref(H,30);123,连续n天收阳线UP:=CLOSE>OPEN;COUNT(UP,N)=N;124, {5日内第二大量}zdl:=hhv(v,5);v0:=IF(v>=zdl,0,v);v1:=IF(ref(v,1)>=zdl,0,ref(v,1));v2:=IF(ref(v,2)>=zdl,0,ref(v,2));v3:=IF(ref(v,3)>=zdl,0,ref(v,3));v4:=IF(ref(v,4)>=zdl,0,ref(v,4));第二大量:MAX(MAX(MAX(MAX(v0,v1),v2),v3),v4);DRAWTEXTABS( 0,10 ,第一大量 + zdl+ 第二大量+第二大量);同理可求出第三大、第四大和最小量.实行简单的排列.这个公式好比是一件完整产品中的一个零部件,解决了一个思路问题.125,{5日均线倾角大于60度}X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60;macd-kdj金叉共振选股公式:DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEA:=EMA(DIF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);B4:CROSS(DIF,DEA) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));金蜘蛛选股公式:{n1 1 .00 300.00 5.00n2 1.00 300.00 10.00n3 1.00 300.00 20.00}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);A1:=COUNT(CROSS(MA2,MA3),2)=1;A2:=COUNT(CROSS(MA1,MA3),2)=1;A1 AND A2;穿云箭多方炮选股公式:M5:=HHV(MA(C,5),15);MM5:=IF(M5=REF(M5,1),M5,DRAWNULL);AA:=MM5=REF(M5,1) AND REF(M5,1)=REF(M5,2) AND REF(M5,2)=REF(M5,3);XG:REF(L,1)REF(C,1) AND C>M5 AND AA AND L>REF(C,1)AND FINANCE(34)>1 AND FINANCE(33)>0.1 ;均线粘合选股公式:X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合}X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10), 1);CC:=MA(C,5)>MA(C,10);{均线勾头向上}CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);{长短均线距离绝对值}MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3AND CDJZ AND AA AND BB AND CC;{X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01;MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4;}{也可以再加:四线粘合};均线·macd·kjd金叉选股公式:M1:=MA(CLOSE,5);M2:=MA(CLOSE,10);MA1:=MA(vol,5);MA2:=MA(VOL,10);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);A1:=DEA;F1:=DIF;K1:="KDJ.K";J1:="KDJ.J";金叉1:=CROSS(M1,M2);金叉2:=CROSS(MA1,MA2);金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;选2:=金叉1 AND 金叉2 AND 金叉3;选3:=金叉2 AND 金叉3 AND 金叉4;选4:=金叉1 AND 金叉2 AND 金叉4;选5:=金叉1 AND 金叉3 AND 金叉4;选股:选1 OR 选2 OR 选3 OR 选4 OR 选5;五榜合一选股公式:ZF:=DYNAINFO(14)*100;{涨幅}LB:=DYNAINFO(17);{量比}HS:=DYNAINFO(37)*100;{换手}ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}ZF>=2 AND ZF<=5 AND LB>=2 AND ZJ>=500 AND HS>1 AND TM>0;五线顺上选股公式:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MA20>REF(MA20,1)AND MA60>REF(MA60,1) AND MA120>REF(MA120,1);三金叉选股公式:MA5:=EMA(C,5);MA10:=EMA(C,10);MV5:=EMA(V,5);MV10:=EMA(V,10);K:="KDJ.K"(9,3,3);D:="KDJ.D"(9,3,3);V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.2 ;KD1:=K>REF(K,1) AND D>=REF(D,1);VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CROSS(MA5,MA10),4)>=1 ANDCOUNT(CROSS(MV5,MV10),4)>=1;XG1:IF(V1 AND VV1 AND KD1 AND VA,1,0);早晨之星选股公式:STAR:REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2);{输出STAR:2日前的收盘价/2日前的开盘价<0.95并且昨日开盘价<2日前的收盘价并且昨日开盘价-昨收的绝对值/昨收<0.03并且收盘价/开盘价>1.05并且收盘价>2日前的收盘价}利用锤头(上锤头)线选股:O>C && HIGH=MAX(OPEN,CLOSE);筛选此股票的步骤,中午利用此函数筛选处股票,后从前三日走阴的股票中进一步选择,选择后选择连续三天缩量的,直至14:55分左右如还是锤头,则果断买入,不再13:00~13:00买入的原因是13:30~15:00这个时间短内价格有可能超过开盘价,如果形成十字星,则股票还有继续调整的可能,上锤头一般是调整结束的标志。
通达信指标公式大全
通达信指标公式大全:1.主力大单指标公式ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL,0);B:=IF(C<ZZ,VOL,0);总0:=(A-B);BBD:EMA(总0,3)/SUM(VOL,5)*100,LINETHICK;STICKLINE(BBD>=0,0,BBD,3,0),COLOR000088;STICKLINE(BBD>=0,0,BBD,1.5,0),COLOR0000AA;STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000CC;STICKLINE(BBD>=0,0,BBD,0.5,0),COLOR0000FF;STICKLINE(BBD<0,0,BBD,3,0),COLOR888800;STICKLINE(BBD<0,0,BBD,1.5,0),COLORAAAA00;STICKLINE(BBD<0,0,BBD,1,0),COLORCCCC00;STICKLINE(BBD<0,0,BBD,0.5,0),COLORFFFF00;XH1:=REF(BBD,1)<REF(BBD,2) AND REF(BBD,1)<-10 AND BBD>REF(BBD,1) AND BBD>0;XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBD<REF(BBD,1) AND BBD<0;DRAWICON(XH1,-20,1);DRAWICON(XH2,20,2);2.主力控盘指标公式V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);开始控盘:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;V AR1:=EMA(EMA(CLOSE,3),1);控盘:=(V AR1-REF(V AR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;无控盘:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;高度控盘:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货:0,COLOR00FF00;3.通达信资金进出分时指标公式(C,1),C*V,0),FROMOPEN),STICK,COLORRED;资金流出:-SUM(IF(C<REF(C,1),C*V,0),FROMOPEN),STICK,COLOR00FF00;资金差:资金流入+资金流出,COLORYELLOW;4.通达信做T+0的分时公式MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};5.通达信超准分时图指标公式BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*1 00,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARS COUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));底线:1.003,COLORRED,LINETHICK2;高线:1.03,COLORRED,LINETHICK3;黄色起动线:EXPMA((DCLOSE/VBNH),20),COLORYELLOW,POINTDOT;绿色散户线:EXPMA((DCLOSE/VBNH),120),COLORGREEN,LINETHICK2;DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/ VBNH),60)*1,1);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),EXPMA((DCLOSE/VBNH),60)),EXPMA((DCLOSE/ VBNH),120)*1,2);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02+0.005,18);STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,1.025,4,0), , COLORMAGENTA; STICKLINE(EXPMA(C,10)>EXPMA(C,60) ,1.03,1.034,1.0,0),COLORRED;STICKLINE(EXPMA(C,10)<EXPMA(C,60) ,1.03,1.025,1.0,0),COLORGREEN;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE; STICKLINE(EXPMA((DCLOSE/VBNH),120)>1.003 ,1.03,1.039,1.0,0),COLORMAGENTA; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.036,'观察分时量 '),COLORWHITE; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*1,13);6.通达信观察分时指标公式BG:=IF(DATE<=1150530,1,0);GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOU NT((DCLOSE*BG)))),1.05,0.95);VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));中线:1,COLORBLUE,LINETHICK2;快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,,LINETHICK1;慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,LINETHICK1;DRAWICON(CROSS(快趋势线,中线),快趋势线,1);DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15);DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),快趋势线-0.0025,'涨'),COLORRED; DRAWTEXT(CROSS(快趋势线,中线),快趋势线-0.0055,'买进'),COLORYELLOW;DRAWICON(CROSS(快趋势线,慢趋势线),慢趋势线,13);STICKLINE(快趋势线>中线 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,快趋势线,快趋势线+0.0015,1,0),COLORMAGENTA;DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE;DRAWICON(CROSS(慢趋势线,快趋势线),慢趋势线,2);V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:= EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);见顶清仓:= STICKLINE(趋势线>=90 AND V12,中线,快趋势线,2,0),COLORCYAN; DRAWICON(CCC,快趋势线,12);DRAWICON(BB,快趋势线,23);DRAWTEXT (BB,快趋势线,'补仓'),COLORLIRED;7.通达信分时买卖力道指标公式A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));机构买盘:(A2),LINETHICK0;机构卖盘:(A3),LINETHICK0;散户买盘:(A4),LINETHICK0;散户卖盘:(A5),LINETHICK0;STICKLINE(机构买盘>0 AND 机构买盘>=机构卖盘 AND 机构买盘>=REF(机构买盘,1),20,20+100,1,0),COLORRED;STICKLINE(机构卖盘>0 AND 机构卖盘>=机构买盘 AND 机构卖盘>=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;STICKLINE(散户买盘>0 AND 散户买盘>=散户卖盘 AND 散户买盘>=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;STICKLINE(散户卖盘>0 AND 散户卖盘>=散户买盘 AND 散户卖盘>=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;买卖力道: SMA(VAR2,3,1),COLORLIGRAY;VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),V OL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-L OW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3 *(HIGH-OPEN+CLOSE-LOW),VOL/2)));VAR5:=AMOUNT/(100*VOL);VAR6:=MA(VAR5,40);VAR7:=100*(CLOSE-VAR6)/VAR6;底部追击:= IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200),COLORGREEN; STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0) , COLORGREEN; VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;VAR9:=SMA(VAR8,3,1);VARA:=SMA(VAR9,3,1);D: SMA(VARA,5,1)*20, COLORCYAN;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:= EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);买入股票:= (趋势线<=13 AND V12>13),COLORRED;CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);清仓:=FILTER(趋势线>=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;卖出区: 清仓+1800,COLORYELLOW;中:(0+卖出区)/2, COLORGREEN;{股旁网-股票公式网站 }STICKLINE(买卖力道>=中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;STICKLINE(买卖力道>=中 AND 买卖力道< REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;STICKLINE(买卖力道<中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;STICKLINE(买卖力道<中 AND 买卖力道< REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;DRAWICON(买入股票,中,15);DRAWTEXT (BB,0,'买股'),COLORYELLOW;DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE; DRAWICON(CROSS(D,中),中,13);DRAWICON(CROSS(中,买卖力道),买卖力道,2);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=(DIF-DEA)*3;红线:=IF(MACD>=0 AND MACD>REF(MACD,1),中,DRAWNULL);青线:=IF(MACD>=0 AND MACD< REF(MACD,1),中,DRAWNULL);粉线:=IF(MACD<0 AND MACD>=REF(MACD,1),中,DRAWNULL);蓝线:=IF(MACD<0 AND MACD< REF(MACD,1),中,DRAWNULL); STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1; STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;DRAWICON(CROSS((A2),(A3)),200,23);通达信如何使用分时指标的教程找到通达信软件的安装位置,打开“T0002”文件夹,找到“user.ini”文件,用记事本打开,把里面“Zstzb=MACD”这一句中的MACD修改为自己要用的指标名称就OK啦。
5线粘合通达信公式
第一:最好的公式:X1:=ABS(MA(C,10)/MA(C,20))<0.01;X2:=ABS(MA(C,5)/MA(C,10))<0.01;X3:=ABS(MA(C,5)/MA(C,20))<0.01;X4:=ABS(MA(C,20)/MA(C,30))<0.01;X5:=ABS(MA(C,30)/MA(C,60))<0.01;X6:=ABS(MA(C,20)/MA(C,60))<0.01;X7:=ABS(MA(C,10)/MA(C,60))<0.01;X8:=ABS(MA(C,10)/MA(C,30))<0.01;MA(C,5) AND X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 ;结束。
X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;X4:=ABS(MA(C,20)/MA(C,30)-1)<0.01;X5:=ABS(MA(C,30)/MA(C,60)-1)<0.01;AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10); CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4 AND X5AND CDJZ AND AA AND BB AND CC;第二:X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;X4:=ABS(MA(C,20)/MA(C,30)-1)<0.01;X5:=ABS(MA(C,30)/MA(C,60)-1)<0.01;X6:=ABS(MA(C,20)/MA(C,60)-1)<0.01;X7:=ABS(MA(C,10)/MA(C,60)-1)<0.01;X8:=ABS(MA(C,10)/MA(C,30)-1)<0.01;CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND CDJZ ;第三:X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;X4:=ABS(MA(C,20)/MA(C,30)-1)<0.01;X5:=ABS(MA(C,30)/MA(C,60)-1)<0.01;X6:=ABS(MA(C,20)/MA(C,60)-1)<0.01;X7:=ABS(MA(C,10)/MA(C,60)-1)<0.01;X8:=ABS(MA(C,10)/MA(C,30)-1)<0.01;MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 ;X1赋值:收盘价的10日简单移动平均/收盘价的20日简单移动平均-1的绝对值<0.01X2赋值:收盘价的5日简单移动平均/收盘价的10日简单移动平均-1的绝对值<0.01X3赋值:收盘价的5日简单移动平均/收盘价的20日简单移动平均-1的绝对值<0.01X4赋值:收盘价的20日简单移动平均/收盘价的30日简单移动平均-1的绝对值<0.01X5赋值:收盘价的30日简单移动平均/收盘价的60日简单移动平均-1的绝对值<0.01AA赋值:收盘价的5日简单移动平均>1日前的收盘价的5日简单移动平均BB赋值:收盘价的10日简单移动平均>1日前的收盘价的10日简单移动平均CC赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均CDJZ赋值:收盘价的20日简单移动平均-收盘价的90日简单移动平均的绝对值/收盘价的60日简单移动平均收盘价的5日简单移动平均>1日前的收盘价的5日简单移动平均AND X1 AND X2 AND X3AND CDJZ AND AA AND BB AND CC。
5个通达信组合实战公式
一:奥斯卡LC:=REF(CLOSE,1);RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));活跃度:RSI5-WR10,LINETHICK0,COLORFFFF00;STICKLINE(活跃度>0,0,活跃度,2,1),COLORFF00FF;STICKLINE(活跃度<0,0,活跃度,2,1),COLOR808080;STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,2,0),COLORFFFF00;STICKLINE(活跃度>78,0,活跃度,2,0),COLOR00FFFF;SC:100*(CLOSE-MA(CLOSE,20)),COLORRED;MAO:EMA(SC,6),COLORFFFF00;饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMO UNT,20)/HHV(C,20))*100),COLORRED,LINETHICK0;80,POINTDOT,COLOR00FF00;-100,POINTDOT,COLORFFFF00;二:逃顶指标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;逃顶指标用法:用这个指标可以判断,个股逃顶数值在3.2以上,尤其是到达3.5以上,一旦在高位出现绿色柱状,就要及时卖出了,连续出现2个绿色柱状,说明下降通道打开了,更要逃命了,掌握住这点,你就是赢家。
通达信综合选股指标组合
通达信指标综合选股指标组合源码奉上供大家共同研究,这不一定是最好的但个人认为挺实用的。
1、极品DDX(监测主力动向为主,以30/15分钟线为强项)。
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLO SE-LOW)),VOL/2)),LINETHICK0,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA *(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600;STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;STICKLINE(进出量>0,0,进出量,4,0),COLOR000099;STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;N:=5;M:=13;N日内净流入:SUM(进出量,N),LINETHICK2,COLORGREEN;流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL),COLORRED,LINETHICK2;连红天:BARSLASTCOUNT(进出量>0);M日内翻红天:COUNT(进出量>0,M),COLORRED;走熊天:BARSLASTCOUNT(N日内净流入<0),COLORCYAN;走牛天:BARSLASTCOUNT(N日内净流入>0),COLORRED;强势天:BARSLASTCOUNT((N日内净流入>REF(N日内净流入,1))>0 ANDN日内净流入>0);弱势天:BARSLASTCOUNT((N日内净流入<REF(N日内净流入,1))>0 ANDN日内净流入<0);2、跟庄建仓(另一监测主力动向的指标,其系以精确买卖提示为特点,有相当高的参考价值)。
福树通达信五合一指标公式
福树通达信五合一指标公式福树通达信五合一指标公式VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-30;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-27;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)<-42 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8;抄底高手:VAR4 OR VAR7,COLORWHITE;VAR21:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR22:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR23:=(CLOSE-VAR1)/VAR21*100<-11;VAR24:=(VAR21-VAR22)/VAR22*100<-22.3;VAR25:=VAR23 AND VAR24 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)(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));VAR26:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR27:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR28:=(CLOSE-VAR26)/VAR26*100<-5;VAR29:=(VAR26-VAR27)/VAR27*100<-18;VAR2A:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VAR2B:=SMA(VAR2A,30,1);VAR2C:=SMA(VAR2B,50,1);VAR2D:=VAR28 AND VAR29 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 VAR2C<20;VAR2E:=VAR2D AND COUNT(VAR2D,2)=1;短线黑马:VAR25 OR VAR2E,COLORYELLOW;VAR31:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR33:=(CLOSE-VAR31)/VAR31*100<-8;VAR34:=(VAR31-VAR32)/VAR32*100<-21;VAR35:=VAR33 AND VAR34 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)(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));VAR36:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR37:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR38:=SMA(VAR37,50,1);VAR39:=SMA(VAR38,40,1);VAR3A:=VAR36 AND VAR39<23 AND COUNT(VAR36,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96;逆市买入:VAR35 OR VAR3A,COLORBLUE;VAR41:=CLOSE/MA(CLOSE,30)*100<75;VAR42:=CLOSE/MA(CLOSE,50)*100<78;VAR43:=HIGH>LOW*1.053;VAR44:=VAR43 AND COUNT(VAR43,5)>2;VAR45:=VAR44 AND (VAR41 OR VAR42);VAR46:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);VAR47:=(CLOSE-VAR46)/VAR46*100;市场赢家:REF(VAR47,1)<-34 AND VAR47>REF(VAR47,1) AND REF(VAR47,1)<REF(VAR47,2) AND VAR47-REF(VAR47,1)>1.76 OR VAR45,COLORMAGENTA;VAR51:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;VAR52:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;VAR53:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));旭日东升:VAR51 AND VAR52 AND CROSS(VAR53,79) AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05 AND VOL>MA(VOL,23),COLORRED;。
非常精确的通达信顶底超强组合指标公式【源码副.贴.】
非常精确的通达信顶底超强组合指标公式【源码副.贴.】超强组合指标公式【源码副图贴图】顶底超强组合指标公式源于网络,在此感谢原作者;本人也添加一些小的组合,实战效果不错,也非常精确,现奉送大家分享!希望朋友喜欢支持!!上点果果哦?谢谢!!超强组合指标源码:{波段线}var2:=(high+low+close*2)/4;var3:=ema(var2,21);var4:=std(var2,21);var5:=((var2-var3)/var4*100+200)/4;var6:=(ema(var5,5)-25)*1.56;{ak: ema(var6,2)*1.22;ad1: ema(ak,2);aj: 3*ak-2*ad1;drawtext(cross(ak,ad1),ak,'*'),colorred;drawtext(cross(ad1,ak),ak,'*'),colorwhite;}{金手指}ra:=llv(low,35);{本文来源:小牛网 }rb:=hhv(high,30);rc:=ema((close-ra)/(rb-ra)*4,4)*19;近日均价:=ma(close,5),coloryellow,linethick2;drawicon(rc<6 and 100*(hhv(high,19)-close)/(hhv(high,19)-llv(low,19))>97,100,11);lc:=ref(close,1);rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;zl:=ema( (close-ma(close,7))/ma(close,7)*480,2)*5;sh:=ema( (close-ma(close,11))/ma(close,11)*480,7)*5;bt1:=cross(rsi1,25);bt2:=cross(zl,sh) and zl<-10;bt:=filter(count(bt1 or bt2,3)>=2,3);bias:=(close-ma(close,24))/ma(close,24)*100;varc:=low;vard:=ref(low,1);vare:=sma(abs(varc-vard),3,1)/sma(max(varc-vard,0),3,1)*100;varf:=ma(vare/10,3);var10:=llv(low,30);var11:=hhv(varf,30);ma(if(low<=var10,(varf+var11*2)/5,0),3);var1b:=ref((low+open+close+high)/4,1);var2b:=sma(abs(low-var1b),13,1)/sma(max(low-var1b,0),10,1);var3b:=ema(var2b,10);var4b:=llv(low,33);var5b:=ema(if(low<=var4b,var3b,0),3);{主力进场:if(var5b>ref(var5b,1),var5b,0),colorred;}stickline(var5b>ref(var5b,1),0,var5b*2,2,0 ),coloryellow;洗盘:if(var5b<ref(var5b,1),var5b,0),colorligreen;varr1:=ref((low+open+close+high)/4,1);varr2:=sma(abs(low-varr1),13,1)/sma(max(low-varr1,0),10,1);varr3:=ema(varr2,10);varr4:=llv(low,33);varr5:=ema(if(low<=varr4,varr3,0),3);stickline(varr5>ref(varr5,1),0,varr5,2,0 ),colorgreen;stickline(varr5<ref(varr5,1),0,varr5*2,2,0),colorred;找主力吸筹提款:varr5>ref(varr5,4) {and c>ref(c,1)},colormagenta;var2c:=(high+low+close*2)/4;var3c:=ema(var2c,7);var4c:=std(var2c,7);var5c:=(var2c-var3c)*100/var4;var6c:=ema(var5c,3);{ww:(ema(var6c,5)+100)/2-3,colorff00ff;mm:hhv(ww,3),colorff3333;}aaa:=amount/vol/100;主力进场:if(var5b>ref(var5b,1),var5b*1.5,0),colorred,linethick2;{吸筹}{本文来源:小牛网 }var2q:=ref(low,1);var3q:=sma(abs(low-var2q),3,1)/sma(max(low-var2q,0),3,1)*100;var4q:=ema(if(close*1.3,var3q*10,var3q/10),3);var5q:=llv(low,30);var6q:=hhv(var4q,30);var7q:=if(ma(close,58),1,0);var8q:=ema(if(low<=var5q,(var4q+var6q*2)/2,0),3)/618*var 7q;var9q:=if(var8q>100,100,var8q);吸筹:stickline(var9q>-120,0,var9q,6,1),colorred;vary2:=ref(low,1);vary3:=sma(abs(low-vary2),3,1)/sma(max(low-vary2,0),3,1)*100;vary4:=ema(if(close*1.3,vary3*10,vary3/10),3);vary5:=llv(low,30);vary6:=hhv(vary4,30);vary7:=if(ma(close,58),1,0);vary8:=ema(if(low<=vary5,(vary4+vary6*2)/2,0),3)/618*vary 7;vary9:=if(vary8>100,100,vary8);吸筹2:stickline(vary9>-120,0,vary9/3,2,1),colormagenta;lcc:=ref(close,1);rsi:=sma(max(close-lcc,0),4.1,1)/sma(abs(close-lcc),4.1,1)*100,coloryellow,linethick1;黄买:filter((ref(close,2)<close and rsi<25),7),coloryellow;stickline(黄买,0,-40,10,1),coloryellow;黄卖:=filter((ref(close,2)>close and rsi>80),7);stickline(黄卖,100,82,10,0),colorblue;红买:filter(cross(rsi,11),7),colorred;stickline(红买,0,-30,6,0),colorred;红卖:=filter(cross(89,rsi),7);stickline(红卖,100,88,8,0),colorcyan;绿买:filter(cross(rsi,20),7),color00ff00;stickline(绿买,0,-20,6,0),colormagenta;绿卖:=filter(cross(80,rsi),7);stickline(绿卖,100,94,6,0),color00ff00;★遵守纪律★:100,colorred;★交易之魂★:100,colorred;zlc:= ema((winner(close) * 70),3);shc:= ema(((winner((close * 1.1)) - winner((close * 0.9))) * 80),3);主力控盘: ((zlc / (zlc+ shc)) * 100),color00ffff,linethick2;上限: hhv(主力控盘,20),colorgreen,linethick2;下限: llv(主力控盘,20),colorred,linethick2;中线:(上限 + 下限)/2,coloryellow,pointdot,linethick2;{60,linethick4,pointdot,coloryellow;}{10,linethick4,pointdot,colorff00ff;}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;a1:=cross(操盘,var300) and var300<2.1 and c>o; stickline(a1,30,0,4,0),color770077;stickline(a1,30,0,3,0),color990099;stickline(a1,30,0,2,0),colorbb00bb;stickline(a1,30,0,1,0),colorwhite;stickline(a1,30,0,0.3,0),colorff00ff;drawtext(a1,36,'满仓'),colorred;drawtext(a1,36,'满仓'),colorred;ak: ema(var6,2)*1.22;ad1: ema(ak,2);aj: 3*ak-2*ad1;{本文来源:小牛网 } drawtext(cross(ak,ad1),ak,'*'),colorred; drawtext(cross(ad1,ak),ak,'*'),colorwhite;ww:(ema(var6c,5)+100)/2-3,colorff00ff;mm:hhv(ww,3),colorff3333;drawtext(bt1,0,'□'),coloryellow;drawtext(bt,0,'■'),coloryellow;drawicon(cross(85,rsi1),102,15);{饭跑跑} drawicon(cross(rsi1,25),10,26);{金钻} drawicon(cross(zl,sh) and zl<-10,20,24);{蓝钻} drawicon(cross(bias,-12),-10,13);{bias买点};。
通达信自用公式集合(三)
通达信自用公式集合(三)即时资金流向:通达信副图轴:0,COLOR4B4B4B;PJJ:=DMA((H + L + C * 2) / 4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL / ((H - L) * 2 - ABS(C - O));XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2));ZLL:=VOL / CAPITAL;HSL1:=IF(ZLL > 10,10,ZLL);HSL:=XVL / 20 / 1.15;攻击流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);流量:LLJX,COLORC875B7,NODRAW;STICKLINE(流量 > 0,流量,0,2.3,0)COLOR0000FF;STICKLINE(流量 < 0,流量,0,2.3,0),COLORFF4242;流量基线:GJJ,COLOR00BBBB;STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW;STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORWHITE,NODRAW;力度:HSL / 1000,COLOR9B37FF,NODRAW;周流量:SUM(LLJX,5),COLORFFBFDF,NODRAW;BB:=REF(周流量,1);ZQZJJ:=(周流量-BB)/BB*100;周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORWHITE,NODRAW;如图:海风:波段KDJ 通达信副图H5:=HHV(HIGH,5);L5:=LLV(LOW,5);H3:=SUM((C-L5),3);L3:=SUM((H5-L5),3);K:=EMA((C-L5)/(H5-L5)*100,4);D:=EMA((H3/L3)*100,4);J:=EMA((3*K-2*D),4);BUY1:=CROSS(K,D) AND CROSS(J,D) AND D<30 AND D>REF(D,1);SEL1:=FILTER(REF(J,1)>75 AND J<REF(J,1),3);STICKLINE(J>D AND K>D,J,D,5,0),COLORRED;STICKLINE(J<D AND K>D,J,D,8,0),COLORYELLOW;STICKLINE(J<D AND K<D,J,D,5,0),COLORGREEN;STICKLINE(K<D AND J>D,J,D,8,0),COLORCYAN;STICKLINE(J>D AND K>D AND J<REF(J,1) AND D>REF(D,1) AND J>50,J,D,8,0),COLORCYAN;STICKLINE(BUY1,10,D,3,0),COLORWHITE;DRAWTEXT(BUY1,10,'低进'),COLORYELLOW;STICKLINE(SEL1,90,J,3,0),COLORGREEN;DRAWTEXT(SEL1,90,'小心顶'),COLORYELLOW;公式用法:在出现黄柱或第一根红柱时,尾盘收盘价买入,以后以收盘价为准,只要柱体不变色就不出,变色就尾盘出货。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
一:奥斯卡LC:=REF(CLOSE,1);RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));活跃度:RSI5-WR10,LINETHICK0,COLORFFFF00;STICKLINE(活跃度>0,0,活跃度,2,1),COLORFF00FF;STICKLINE(活跃度<0,0,活跃度,2,1),COLOR808080;STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,2,0),COLORFFFF00;STICKLINE(活跃度>78,0,活跃度,2,0),COLOR00FFFF;SC:100*(CLOSE-MA(CLOSE,20)),COLORRED;MAO:EMA(SC,6),COLORFFFF00;饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMO UNT,20)/HHV(C,20))*100),COLORRED,LINETHICK0;80,POINTDOT,COLOR00FF00;-100,POINTDOT,COLORFFFF00;二:逃顶指标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;逃顶指标用法:用这个指标可以判断,个股逃顶数值在3.2以上,尤其是到达3.5以上,一旦在高位出现绿色柱状,就要及时卖出了,连续出现2个绿色柱状,说明下降通道打开了,更要逃命了,掌握住这点,你就是赢家。
我们不是庄家,不会卖到最高价,但通过这个指标,可以卖到较高价。
个股购买时,也可以参考这个指标,逃顶指标到达3.0以上的个股要谨慎买入了,对于逃顶指标到达3.3以上的个股,原则上不买入了,此时的下跌风险远远大于上涨的机会。
三:RSI逃顶(RSI周线逃大顶){N1(2,250,5)}{N2(2,150,10)}SHI:=REF(CLOSE,1);SHOU:SMA(MAX(CLOSE-SHI,0),N1,1)/SMA(ABS(CLOSE-SHI),N1,1)*100;TOU:SMA(MAX(CLOSE-SHI,0),N2,1)/SMA(ABS(CLOSE-SHI),N2,1)*100;DRAWBAND(SHOU,RGB(255,150,0),TOU,RGB(0,130,50));AA:95,COLORGREEN;BB:90,COLORCYAN;CC:45,COLORYELLOW;DD:80,COLORMAGENTA;EE:10,COLORRED;DRAWTEXT(ISLASTBAR,AA,'清仓');DRAWTEXT(ISLASTBAR,BB,'减仓');DRAWTEXT(ISLASTBAR,DD,'警觉');在周线下适宜,日线上须注意各股的偏差,通过长期运用观察,做为逃顶指标还是相当不错的,本指标实际上是RSI的改良,有人说得好,最好的指标还是系统自身的。
指标运用,存乎一心四:低位股票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,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,25,'高出'),COLOR00FF00;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,22,'●'),COLOR00FF00;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHIC K2,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;AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34);波段买点:IF(AAS,15,0),COLORFFFFFF,STICK,LINETHICK6;DRAWTEXT(波段买点,17,'波段买'),COLORFFFFFF;五:买点出现HLM1:=MA(HHV(H,485),17);HLM2:=MA(HHV(H,222),17);HLM3:=MA(HHV(H,96),17);HLM4:=MA(LLV(L,485),17);HLM5:=MA(LLV(L,222),17);HLM6:=MA(LLV(L,96),17);HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17); HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17); HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);HLMH:=HHV(HLM12,30);关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,COLORFFFFFF;DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'↑▲'),COLORFF00FF;DRAWTEXT(CROSS(关注,4.5),关注,'买点出现'),COLOR00FFFF;DRAWICON(CROSS(关注,7.0),关注*0.5-20,14);白线向上关注,白线有走平或有向下调头买入六:实战买入:买点出现公式配合低位股票公式的启动指标择机建仓买入卖出:两个逃顶公式配合奥斯卡的绿柱和黄柱,实施减仓和逃顶七:风险股市有风险,入市要谨慎公式不是绝对的,要根据当时的形式和大盘的走势以及成交量的变化和消息面来判断。