【股票指标公式下载】-【通达信】功能量(股价趋势、底部警戒、{奔牛、逃顶提示)

合集下载

精准最准逃顶通达信指标公式源码

精准最准逃顶通达信指标公式源码

淡定指金(源码副图)这款指标我只用他的一个功能,就是逃顶,至于另外的长处,大家自已去发觉吧个股和指数出现黄柱条,你就得当心了,自己去验证吧。

淡定指金逃顶VOLUME:=VOL,VOLSTICK;MAVOL5:=MA(VOLUME,5);MAVOL21:=MA(VOLUME,21);MAVOL65:=MA(VOLUME,65);STICKLINE(CROSS(MAVOL5,MAVOL21),5,8,2,0),COLORWHITE;周DIF:=("MACD.DIF#WEEK");周DEA:=("MACD.DEA#WEEK");周MACD:=2*(周DIF-周DEA);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:BARSLAST(DIFF<REF(DIFF,1)),COLOR00FFFF,LINETHICK1;A11:A1*-1,COLOR00FFFF,LINETHICK1;A2:BARSLAST(DEA<REF(DEA,1)),COLORRED,LINETHICK1;A22:A2*-1,COLORRED,LINETHICK1;DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150));DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20));STICKLINE(周MACD>REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORRED; STICKLINE(周MACD<REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORYELLOW; STICKLINE(周MACD>REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORLIRED; STICKLINE(周MACD<REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORBLUE; STICKLINE(MACD>REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORRED; STICKLINE(MACD>REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORLIRED; STICKLINE(MACD<REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORYELLOW; STICKLINE(MACD<REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORBLUE;DIIFF:=(EMA(A1,5) - EMA(A1,10));DEAA:=EMA(DIIFF,3);K线动能:=(DIIFF-DEAA),COLORYELLOW;STICKLINE((K线动能> 0),-1,1,1.5,0),COLOR0000FF;STICKLINE((K线动能< 0),-1,1,1.5,0),COLOR00FF00;STICKLINE(CROSS(DIFF,DEA),0,0.04,5,1),COLORYELLOW;STICKLINE(CROSS(DIFF,DEA),0.04,0.08,5,0),COLORRED;STICKLINE(CROSS(DIFF,DEA),0.08,0.12,5,1),COLORYELLOW;STICKLINE(CROSS(DIFF,DEA),0.12,0.16,4,1),COLORRED;STICKLINE(CROSS(DIFF,DEA),0.16,0.2,3,1),COLORRED;STICKLINE(CROSS(DIFF,DEA),0.2,0.24,2,0),COLORWHITE;STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED;STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE; STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;MACD底背离:STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW;STICKLINE(A1>0 AND A2>0,A2,A1,0.00001,0),COLORFFFFFF;STICKLINE(A1>0 AND A2>0,A22,A11,0.00001,0),COLORFFFFFF;STICKLINE(A1>0 AND A2>0,0,A1,0.000001,0),COLORFF00FF;STICKLINE(A1>0 AND A2>0,0,A11,0.000001,0),COLORGREEN;DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-5,'〇'),COLORCYAN;DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-12,'〇'),COLORCYAN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,5,'〇'),COLORGREEN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,12,'〇'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A2,'∈'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,0,'∈'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A22,'∈'),COLORGREEN; STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED; STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE; STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;N:=5;M1:=5;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,M1,5);J:=3*K-2*D;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金/量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯< (0)) AND ZXNH);低买:=IF(黄金AND RSV<VARB2-2,50,0);高卖:=IF(黄金AND RSV>VARB2,80,120);上涨分界:=25;KDJ提前金叉:(CROSS(上涨分界,低买)),COLORFF00FF,NODRAW;DRAWTEXT(KDJ提前金叉,0,'⊙'),COLORFFFFFF;很简单的用法,出现黄柱个股就要准备逃顶了。

【股票指标公式下载】-【通达信】动能指标(多空趋势、主力能量、操盘、减仓、反弹)

【股票指标公式下载】-【通达信】动能指标(多空趋势、主力能量、操盘、减仓、反弹)

【通达信】动能指标(多空趋势、主力能量、操盘、减仓、反弹)-指标公式源码V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=(MA((CLOSE - HY1) * 28,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),24,24+多空趋势,1.5,0),COLORRED;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),24,24+多空趋势,1.5,0), COLORRED;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),24,22+多空趋势,1.5,0),COLORGREEN;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),24,24+多空趋势,1.5,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,22,22.3),' 多空'),COLORWHITE; 换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;成交量:V,COLORWHITE,NODRAW;主力能量:(主力-均量)COLORMAGENTA,NODRAW;大户能量:(大户-均量)COLORYELLOW,NODRAW;中户能量:(中户-均量)COLORLIBLUE,NODRAW;散户能量:(散户-均量)COLORBLUE,NODRAW;操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),14.4,14.4+主力能量,1.5,0),COLORRED;减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),14.4,14.4+主力能量,1.5,0),COLORYELLOW;反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),14.4,14.4+主力能量,1.5,0),COLORGREEN;寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),14.4,14.4+主力能量,1.5,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,14.4,14.6),' 机构'),COLORMAGENTA;操盘1:STICKLINE(大户能量>=0 AND 大户能量>=REF(大户能量,1),9.6,9.6+大户能量,1.5,0),COLORRED;减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),9.6,9.6+大户能量,1.5,0),COLORYELLOW;反弹1:STICKLINE(大户能量<0 AND 大户能量>=REF(大户能量,1),9.6,9.6+大户能量,1.5,0),COLORGREEN;寻底1:STICKLINE(大户能量<0 AND 大户能量< REF(大户能量,1),9.6,9.6+大户能量,1.5,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(大户能量>=0,9.6,9.8),' 大户'),COLORYELLOW; 操盘2:STICKLINE(中户能量>=0 AND 中户能量>=REF(中户能量,1),4.8,4.8+中户能量,1.5,0),COLORRED;减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),4.8,4.8+中户能量,1.5,0),COLORRED;反弹2:STICKLINE(中户能量<0 AND 中户能量>=REF(中户能量,1),4.8,4.8+中户能量,1.5,0),COLORGREEN;寻底2:STICKLINE(中户能量<0 AND 中户能量< REF(中户能量,1),4.8,4.8+中户能量,1.5,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(中户能量>=0,4.8,5),' 中户'),COLORLIBLUE;操盘3:STICKLINE(散户能量>=0 AND 散户能量>=REF(散户能量,1),0,散户能量,1.5,0),COLORRED;减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1.5,0),COLORRED;反弹3:STICKLINE(散户能量<0 AND 散户能量>=REF(散户能量,1),0,散户能量,1.5,0),COLORGREEN;寻底3:STICKLINE(散户能量<0 AND 散户能量< REF(散户能量,1),0,散户能量,1.5,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(散户能量>=0,-0.3,0.3),' 散户'),COLORBLUE; JZ:=V/(ABS(主力能量)+ABS(大户能量)+ABS(中户能量)+ABS(散户能量));{4,9,17,34日换手偏离值均分成交量}ZLCJ:=JZ*ABS(主力能量);{4日换手偏离均量值换算当日成交量}DHCJ:=JZ*ABS(大户能量);{9日换手偏离均量值换算当日成交量}ZHCJ:=JZ*ABS(中户能量);{17日换手偏离均量值换算当日成交量}SHCJ:=JZ*ABS(散户能量);{34日换手偏离均量值换算当日成交量};换手率:VOL/CAPITAL*100,LINETHICK0;机构量:=ZLCJ,COLORMAGENTA,NODRAW;大户量:=DHCJ,COLORYELLOW,NODRAW;中户量:=ZHCJ,COLORLIBLUE,NODRAW;散户量:=SHCJ,COLORBLUE,NODRAW;【通达信】动能指标(多空趋势、主力能量、操盘、减仓、反弹)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶)

【股票指标公式下载】-【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶)

【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶)-指标公式源码TA:=IF(TIME>093000 AND TIME<094000 ,1,0);TT:=IF(TIME>=093000 AND TIME<=093300 ,1,0);T0:=IF(TIME>093600 AND TIME<095900 ,1,0);T1:=IF(TIME>093300 AND TIME<145900 ,1,0);T2:=IF(TIME>095500 AND TIME<145900 ,1,0);T3:=IF(TIME>142500 AND TIME<145900 ,1,0);T4:=IF(TIME>111000 AND TIME<145900 ,1,0);T5:=IF(TIME>110000 AND TIME<145900 ,1,0);T6:=IF(TIME>104200 AND TIME<145900 ,1,0);T7:=IF(TIME>103000 AND TIME<131000 ,1,0);T8:=IF(TIME>130000 AND TIME<155900 ,1,0);T9:=IF(TIME>095500 AND TIME<131000 ,1,0);T10:=IF(TIME>130500 AND TIME<143500 ,1,0);T11:=IF(TIME>094500 AND TIME<102500 ,1,0);T12:=IF(TIME>095000 AND TIME<140000 ,1,0);T13:=IF(TIME>093000 AND TIME<143500 ,1,0);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);VARY1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));SD:=(C>60 AND C<100,200,100);SF:=IF(C<40 AND C<=60,300,SD);SG:=IF(C>10 AND C<=28,1000,IF(C>29 AND C<40,500,SF));SH:=IF(C<5,5000,IF(C>=5 AND C<=10,2000,SG));SJ:=IF(C>=6000,5,SH);SK:=IF(C>1000 AND C<6000,25,SJ);MACD:=(DIF-DEA)*SK,COLORSTICK;STICKLINE((MACD>=0),0,MACD,3,1),COLOR0000FF;STICKLINE(((MACD>=0) AND (MACD < REF(MACD,1))),0,MACD,3,0),COLORCYAN; STICKLINE((MACD<0),0,MACD,3,0),COLORFFFF00;STICKLINE(((MACD<0) AND (MACD > REF(MACD,1))),0,MACD,3,1),COLORRED; JS1:=100000*(CLOSE-REF(CLOSE,5))/(5*REF(CLOSE,5));JS2:=IF(JS1>110,110,JS1);JS:=IF(JS2<-20,-20,JS2);RSV2:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;K2A:=SMA(RSV2,33,1);K2:=IF(TT=1,REF(K2A,1),K2A);D2:=SMA(K2,3,1);OK:=K2;RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;K89A:=SMA(RSV,33,1);K89:=IF(TT=1,REF(K89A,1),K89A);RSVC2:=(CLOSE-LLV(LOW,140))/(HHV(HIGH,120)-LLV(LOW,120))*100;KC2:=SMA(RSVC2,46,1);DC2:=SMA(KC2,46,1);大趋势:DC2,LINETHICK1,CIRCLEDOT{POINTDOT},COLORYELLOW{COLORC6C600}; TYPP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYPP-MA(TYPP,14))/(0.015*AVEDEV(TYPP,14));GG:=(C-REF(C,210))/REF(C,210)*55;WG:=BARSSINCE(V>0)+1;GGJX:=((SUM(C*V,WG)/SUM(V,WG)+WG*0)/REF((SUM(C*V,WG)/SUM(V,WG)+WG*0), 0)-1)*55;DPX:=0.3*(3*SMA((C-LLV(L,105))/(HHV(H,105)-LLV(L,105)),5,1)-2*SMA(SMA ((C-LLV(L,105))/(HHV(H,105)-LLV(L,105)),5,1),3,1))*0.9,,COLOR5AFF99; GBC:=CROSS(GG,GGJX);GBK:=-CROSS(GGJX,GG);GBD:=SUM(GBC,0)+SUM(GBK,0);涨幅:=DYNAINFO(14)*100;STS:=FINANCE(32)>=0 AND FINANCE(34)>0 AND DYNAINFO(7)>0 ;CK:=IF(DYNAINFO(8)>0 AND STS=0 AND 涨幅<4.91 OR DYNAINFO(8)>0 AND STS=1 AND 涨幅<9.91,1,0);CCT:=DYNAINFO(8);PPP:= FILTER(CCT=0,500) ;DRAWTEXT(PPP,45,'★今日该股票未开盘,不能分析★'),COLORFF00FF;TDSA:=5+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);TDSB:=IF(TA=1 AND TDSA=105,70,TDSA);WH:=TDSB;WE:=FILTER(WH>90,16);TDCJ:=(7*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1)-3 *SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3, 1),2,1)),COLORFF9933;WL:=TDCJ;VM1:=(C*2+H+L)/4*10;VM2:=EMA(VM1,13)-EMA(VM1,34);VM3:=EMA(VM2,5);VM4:=2*(VM2-VM3)*5.5;A:=EMA(WINNER(CLOSE),10);B:=EMA(WINNER(CLOSE),34);BA:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);BD:=MA(ROC,6)*100;VAR67:=(LOW+HIGH+CLOSE)/3;VAR80:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,3,0);VAR81:=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);VAR83:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR82:=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);VAR84:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR85:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR87:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VARF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20 ,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1 ),15,1);VAR9A:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20 ,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1) ,15,1);VAR86:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR88:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VARX1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);VARX2:=( MA((CLOSE-VARX1)/VARX1,1));NN1:=VAR80;VARM1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VARM2:=SMA(VARM1,3,1);NN2:=(VAR81+VAR83+VAR85+VAR87);MM1:=(VAR82+VAR84+VAR86+VAR88);MM2:= IF(MM1>0,-500,0);MM:= IF(C>1000,MM2*100,MM2),COLORRED,LINETHICK3;CT:=SUM(MM,0) AND T1=1;{统计}CL1:=EMA(IF(WH<15 AND WL<5 AND OK<55 AND L<=LLV(L,27),SMA(ABS(L-REF(L,1)),27,1)/SMA(MAX(L-REF(L,1),0),27,1),0),3) *100;CL2:=IF(CL1>80,80,CL1);CHH1:=SUM(WE OR CL2,0);CHH:=IF(CT=0 AND CHH1>110,110,CHH1);五指山:TDSB,COLORFF00FF;VAS1:=(2*C+H+L)/4;VAS2:=LLV(L,34);VAS3:=HHV(H,34);AAD:=MA(CLOSE,32);BAD:=MA(CLOSE,12);DDD:=CROSS(B,A);RSVR:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR4:=VAR2/VAR1*100-70;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,34);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);万泉河:VAR12,COLORGREEN;{STICKLINE(VAR12-VAR13>0,VAR12,VAR13,10,0),COLORRED;STICKLINE(VAR12-VAR13<0,VAR12,VAR13,10,0),COLORGREEN;}RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;K1:=SMA(RSV1,8,1);D1:=SMA(K1,8,1);资金流:D1,,NODRAW;STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1) ,EMA(D1,3) ,REF(EMA(D1,3),1) ,11 ,0),COLORRED;STICKLINE(EMA(D1,3)<REF(EMA(D1,3),1) ,EMA(D1,3) ,REF(EMA(D1,3),1) ,11 ,0 ),COLORCYAN;KA1:=SMA(RSVR,8,1);DA1:=SMA(KA1,8,1);TDFZ:=DA1;波浪:=(7*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1)-3*SMA(S MA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1)-SMA(SM A(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1),2,1 )),COLORFF9933;VARM3:=SMA(VARM2,3,1);VARM4:=SMA(VARM3,3,1);AAC:=MA(C,1);BBB:=MA(AAD,2);VAR51:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;BBC:=SMA(VAR51,7,1);SMX:=EMA(C,65)/EMA(REF(C,65),65)*10;VAR68:=(VAR67-MA(VAR67,14))/(0.015*AVEDEV(VAR67,14));WR30:=100*(HHV(HIGH,79)-CLOSE)/(HHV(HIGH,79)-LLV(LOW,79));VAR21:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR22:=LLV(LOW,34);VAR23:=HHV(HIGH,34);CC:=EMA(C,11)/EMA(REF(C,11),11)*10;W1:=WL/10;W2:=REF(WL,1)/10;SK1:=EMA((VAR21-VAR22)/(VAR23-VAR22)*100,13);WR31:=IF(WR30=0 OR SK1>=90 OR VAR68>-250,100,WR30);VAR1Z:=REF(CLOSE,1);VAR2Z:=SMA(MAX(CLOSE-VAR1Z,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100; VAR3Z:=SMA(MAX(CLOSE-VAR1Z,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100; VAR4Z:=SMA(MAX(VAR1Z-CLOSE,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100; VAR5Z:=SMA(MAX(VAR1Z-CLOSE,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100; VAR6Z:=BARSCOUNT(CLOSE);小舟:IF(CK=1 AND OK<30 AND NN1>0 ORNN2>0 ,35,DRAWNULL)*2,STICK,COLORMAGENTA,LINETHICK2;{LH1:=EMA(IF(CT=0 AND T2=1 AND WH<35 AND WL<6 AND OK<65 AND L<=LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3) *80;LH2:=IF(CT=1,EMA(IF(T2=1 AND WH<35 AND WL<6 AND OK<55 AND ZJL<-5 AND L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3) *80,LH1 );}LH2:=EMA(IF(WL<35 AND T4=1 AND L<=LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3) *30,STICK,COLORYELLOW,LINETHICK2;LH:=IF(LH2>80,80,LH2);LHH:=SUM(LH,0);浪花:LH,STICK,COLORYELLOW,LINETHICK2;VAR2A:=VARF<REF(VAR9A,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); NC1:=CT=0 AND CROSS(WL,TDFZ);NC2:=WH>25 AND WH<55 AND WL > MA(REF(WL,5),5) AND CT=0 AND T2=1 AND 涨幅<7;VARSA1:=REF(CLOSE,1);VARSA2:=SMA(MAX(CLOSE-VARSA1,0),7,1)/SMA(ABS(CLOSE-VARSA1),7,1)*100; VARSA3:=SMA(MAX(CLOSE-VARSA1,0),13,1)/SMA(ABS(CLOSE-VARSA1),13,1)*100 ;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));KZ:=CT=0 AND VARC=1;CH:=SUM(KZ,0) AND T1=1;{统计}P1:= FILTER(KZ=1,16) ;DRAWTEXT(FILTER(KZ=1,16)=1,55,'←看涨!'),COLORMAGENTA,LINETHICK2; STICKLINE(FILTER(KZ=1,16)=1,0,75,1,0),LINETHICK1,COLORMAGENTA; STICKLINE(FILTER(P1=1,45)=1,0,30,10,0),LINETHICK1,COLORMAGENTA; DRAWICON(FILTER(KZ=1,240)=1,8,5);EE:=EMA(C,150)/EMA(REF(C,150),150)*10;HH:=IF(EE>REF(EE,1),1,0);HS1:=CROSS(EE,SMX) AND EE>CC AND SMX>CC AND HH=1;HS:=SUM(HS1,0) AND T1=1;{统计}DRAWTEXT(CT=0 AND T1=1 AND VAR2A AND COUNT(VAR2A,132)=1,30,'←挖金矿?'),LINETHICK1,COLOR00FF33;STICKLINE(CT=0 AND T1=1 AND VAR2A ANDCOUNT(VAR2A,132)=1,0,85,1,0),COLOR00FF33;DRAWICON(CT=0 AND T1=1 AND VAR2A AND COUNT(VAR2A,132)=1,-8,1);VAR31:=MA(VOL,5)>MA(VOL,60);DDS1:= T1=1 AND CROSS(CC+0.01,SMX) AND WH<70 OR WH<70 AND T1=1 AND CROSS(CC+0.01,EE);DDS2:= T1=1 AND CROSS(EE+0.01,SMX-0.01) AND WH<70;DRAWTEXT(FILTER(DDS1=1 OR DDS2=1,32)=1,30,'←挖金矿?'),LINETHICK1,COLOR00FF33;STICKLINE(FILTER(DDS1=1 ORDDS2=1,32)=1,0,85,1,0),COLOR00FF33,LINETHICK2;DRAWICON(FILTER(DDS1=1 OR DDS2=1,32)=1,-8,1);BM:=EMA(C,2);SM:=EMA(SLOPE(C,21)*20+C,42);BUA:=JS<=-10 AND WL<5 AND ZJL<0 AND CCT>0 AND T1=1 AND CT=0;BUB:=JS<0 AND WL<0 AND CCT>0 AND WH<=0 AND T3=1 AND CT=0;SEL:=CROSS(SM,BM) AND WH>90;JDD:=EMA(CLOSE,144), COLORBLUE,LINETHICK2;VAR2C:=MA(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),5)*100;VAR2D:=5;VAR2E:=CROSS(VAR2C,VAR2D);DX:=IF(VAR2E AND CLOSE<JDD,1,0),LINETHICK0,COLORYELLOW;DCT:=SUM(DX,0);VARM6:=CC>SMX AND CC>EE AND CROSS(VARM3,VARM4) AND VARM3<30 AND T1=1 AND CCT >0 AND 涨幅<8;VARM7:=WH>70 AND T4=1 AND CROSS(SMX,CC) AND 涨幅<9.9 OR WH>80 AND T4=1 AND CROSS(EE,SMX) OR WH>80 AND T4=1 AND CROSS(VARM4,VARM3) AND VARM3>80 AND CCT>0 AND 涨幅<9.9;VM5:=IF(VM4>=0,VM4,0),COLORFF00FF;VM6:=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);VM7:=EMA(VM6,5);VM8:=(VM7-REF(VM7,3))/REF(VM7,3)*100;VARSB1:=SMA(MAX(VARSA1-CLOSE,0),7,1)/SMA(ABS(CLOSE-VARSA1),7,1)*100; VARSB2:=SMA(MAX(VARSA1-CLOSE,0),13,1)/SMA(ABS(CLOSE-VARSA1),13,1)*100 ;VARSB3:=BARSCOUNT(CLOSE);DESY:=100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,33)-LLV(LOW,33))*100; HYJD:=(T4=1 AND DA1<35 AND VARSA2<25 AND VARSA3<30 AND VARSB3>35)*65, STICK,COLORYELLOW;CA:=CT=1 AND T13=1 AND 涨幅<9.8;DDC:='★提醒:后市看跌↓当心';DRAWTEXT(FILTER(CA=1,360)=1,50,DDC),COLORGREEN;DRAWTEXT(FILTER(CA=1,360)=1,90,' 逃?'),LINETHICK1,COLORGREEN; DRAWICON(FILTER(CA=1,360)=1,90,15);STICKLINE(FILTER(CA=1,360)=1,0,80,1,0),LINETHICK1,COLORYELLOW;波峰:= (CH=0 AND VARSB1<25 AND VARSB2<30 AND VARSB3>35)*100,COLORGREEN;OUT:=波峰;SSV1:=(2*CLOSE+HIGH+LOW)/4;SSV2:=LLV(LOW,34);SSV3:=HHV(HIGH,34);SSVA:=EMA((SSV1-SSV2)/(SSV3-SSV2)*100,12);SSVB:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);TDBV:=CROSS(SSVB,SSVA) AND SSVA<30 AND WH<5 AND WL<25 AND CK=1; VARV1:=(C*2+H+L)/4*10;VARV2:=EMA(VARV1,13)-EMA(VARV1,34);VARV3:=EMA(VARV2,5);VARV4:=2*(VARV2-VARV3)*5.5;VARR1:= IF(VARV4<=0,VARV4,0),COLORBLUE;VARR2:=IF(VARV4>=0,VARV4,0),COLORFF00FF;VARV5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; VARV6:=EMA(3*VARV5-2*SMA(VARV5,18,1),5);VARV7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; VARV8:=(INDEXC*2+INDEXH+INDEXL)/4;VARV9:=EMA(VARV8,13)-EMA(VARV8,34);VARVA:=EMA(VARV9,3);VARVB:=(VARV9-VARVA)/2;VARR3:=IF(VARVB>=0,VARVB,0),COLORRED;VARR4:=IF(VARVB<=0,VARVB,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);QSX:=WH;VARH:=(QSX-REF(QSX,1))/REF(QSX,1)*100;AA:=(QSX<=13) AND FILTER((QSX<=13),15);TDE:=FILTER(QSX>90,16);TDAA:=IF( TT=1 AND TDE=1,REF(TDE,1),TDE);FFJ:=TDAA;TDC:=GBD=0 AND CT=1 AND T9=1 AND TDAA AND ZJL>70 AND 涨幅<9.9; TDA:=STICKLINE(FILTER( QSX<=13 AND VARH>13,60)=1,0,100,1,0);TDS:=IF(TT=1 AND TDE=1,REF(TDA,1),TDA);TDW:=TDS;SWEE:= STICKLINE(FILTER(VARM7=1,16)=1,70,90,1,0);DUP:=ZJL>80 AND WH>=99.4 AND WL>=89 AND CK=1 AND CCT>0 AND T1=1 AND 涨幅<8;BBAA:=WL<15 AND WH<25 AND TDS=1 AND T1=1 AND CT=0 AND TDW;BBA:= DA1<35 AND CROSS(WH,WL) AND (QSX<=13 AND VARH>13) ANDFILTER((QSX<=13 AND VARH>13),10) ;DD2:=CROSS(QSX,WL) AND WH<10;DD5:= WL<15 AND WH<20 AND CROSS(ABS(GG),ABS(GGJX*1.15)) ANDABS(GG)>ABS(GGJX*1.15);VBB:=WH<5 AND WL<0 AND OK<35 AND T3=1 {AND VM7<13 AND VM8>13} AND CT=1 AND 涨幅<7;SSW:=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), COLOR00FFFF;{BUC:=IF(CT=0 AND T2=1 AND WH<50 AND WL<15 AND JS<=-10 ANDCROSS(SSW,1),1,0);}BUD:=IF(CT=1 AND T2=1 AND WH<=0 AND WL<0 AND JS<=-20 ANDCROSS(SSW,1),1,0);BUE:=JS<=-20 AND WH>=85 AND WL<=10 AND OK<50 AND T2=1;TDBA:=T2=1 AND CK=1 AND LHH=0 AND ZJL>78 AND OK<90 AND WH>95 AND CCT>0 AND 涨幅<9.9;TDBB:=JS>=110 AND WH>=110 AND WL>90 AND OK>=94 AND CCT>0 AND 涨幅<9.9; TDP:=ZJL>79 AND LHH=0 AND OK<90 AND IF(A>0.90 ANDCLOSE<MA(CLOSE,5),1,0)*1 AND 涨幅<9.9;TDQ:=JS>=110 AND WH>=110 AND OK>60 AND CCT>0 AND T1=1 AND 涨幅<9.9; TDJ:=JS>=110 AND WH>95 AND WL>95 AND OK>95 AND ZJL>59 AND T1=1 AND CCT>0 AND 涨幅<9.9;TDF:=JS>=100 AND WH>=100 AND WL>=85 AND OK>=65 AND 涨幅<9.9;TDB:=TDAA AND JS>=100 AND WH>100 AND OK>85 AND T1=1 AND CCT>0 AND 涨幅<9.9;界:STICKLINE(CK=1 AND WH>=95 AND WH>REF(WH,1),87,94,2,0),COLORYELLOW; DRAWICON(FILTER(TDBA =1,8)=1,97,2);DRAWICON(FILTER(TDBB =1,8)=1,97,2);DRAWICON(FILTER(TDC =1,8)=1,97,2);DRAWICON(FILTER(TDJ =1,8)=1,97,2);DRAWICON(FILTER(TDB =1,8)=1,97,2);DRAWICON(FILTER(TDP =1,64)=1,97,2);DRAWICON(FILTER(TDQ=1,8)=1,97,2);DRAWICON(FILTER(TDF=1,8)=1,97,2);DRAWICON(TDBV,-8,1);DRAWICON(FILTER( BBAA=1,16)=1,-8,1);DRAWICON(FILTER(DD5=1 AND CT=0 AND T7=1 AND 涨幅<7,64)=1,-8,1);{DRAWICON(FILTER(VBB=1,8)=1,-8,1);DRAWICON(BUA,-8,1);DRAWICON(FILTER(BUE=1,16)=1,-8,1);}{STICKLINE(FILTER(BUA=1,16)=1,0,65,20,0),COLORRED,LINETHICK1;}STICKLINE(FILTER(BUB=1,32)=1,0,65,1,0),LINETHICK1,COLORYELLOW; STICKLINE(FILTER(BUE=1,16)=1,0,65,1,0),LINETHICK3,COLORYELLOW; DRAWTEXT(FILTER(OUT=100 ,32)=1,93,' ←逃顶'),LINETHICK1,COLORYELLOW; DRAWTEXT(WH>80 AND OK>76 AND T1=1 AND CROSS(K89,K2),93,'逃顶'),LINETHICK1,COLORYELLOW;警戒:85,POINTDOT,COLORGREEN;{-20,POINTDOT,COLORGREEN;};【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶)-指标公式效果图(文档来源:若水财经社区)。

【通达信】主力控盘 主力状态指标公式

【通达信】主力控盘 主力状态指标公式

【通达信】主力控盘主力状态指标公式主力控盘主力状态指标公式主力控盘N:=35;M:=35;N1:=3;B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;B2:=SMA(B1,N,1)+100;B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW;控盘度:100,COLORRED;STICKLINE( 控盘程度,0,控盘程度,1.7,0 ),COLOR00FFFF; STICKLINE( 控盘程度AND 控盘程度>100,100,控盘程度,1.7,0 ),COLORRED;主力状态ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8 0,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量} ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00F F00;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;{筑顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;{顶部:(ZZLKP>75),COLORFFFFFF;}{主力筹码警戒}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED; {筑底散兵坑}STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;{底部:(ZSHTL>=90),COLOR66FFCC;}{筹码总量上升}IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHIC K1;{增量资金};{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2; 主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2; 资金流入强度:ZJLRQD,LINETHICK2,COLORRED;资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);。

【股票指标公式下载】-【通达信】买卖预警(股价趋势、底部警戒、买入警戒)

【股票指标公式下载】-【通达信】买卖预警(股价趋势、底部警戒、买入警戒)

【通达信】买卖预警(股价趋势、底部警戒、买入警戒)-指标公式源码股价趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINET HICK0;底部警戒: 10,COLORRED,LINETHICK2;买入警戒:STICKLINE(股价趋势<=10,0,20,2,0),COLOR008364,LINETHICK2;买入信号: STICKLINE(CROSS(股价趋势,底部警戒),0,30,3,0),COLORRED,LINETHICK5;顶部警戒: 90,COLORFFBB66,LINETHICK2;卖出警戒:STICKLINE(股价趋势>=85,100,80,2,0),STICK,COLORF00FF0,LINETHICK2;止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),100,70,3,0),COLORFFF666,LINETHICK5;多方趋势: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),COLOR8811FF;突击套利线:=14;套利阻力线:=78.89;抄底:=CROSS(多方趋势,突击套利线);逃顶:=CROSS(套利阻力线,多方趋势);DRAWICON(抄底,多方趋势,1);DRAWICON(逃顶,多方趋势,2);A1:=(2*CLOSE+HIGH+LOW)/4;A2:=LLV(LOW,27);A3:=HHV(HIGH,27);A4:EMA((A1-A2)/(A3-A2)*100,13);A5:EMA(0.618*REF(A4,1)+0.382*A4,3);STICKLINE(A4>A5,A4,A5,3,1),COLORRED;STICKLINE(A4<A5,A5,A4,3,1),COLORGREEN;高位线:85;中位线:50;低位线:10;DRAWICON(CROSS(A4,A5) AND A4<16,A5,4);DRAWTEXT(CROSS(A4,30) AND A5<A4,55,'中位上扬'),COLORYELLOW; DRAWICON(CROSS(A4,30) AND A5<A4,55,10);DRAWICON(CROSS(A5,A4) AND A4>78,A4,5);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 ANDEMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45'),COLORYELLOW;【通达信】买卖预警(股价趋势、底部警戒、买入警戒)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)

【股票指标公式下载】-【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)

【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)-指标公式源码黄金柱:=V/REF(V,1)>=2.0;K1:=SUMBARS(黄金柱,1) ;K2:=SUMBARS(黄金柱,2);K3:=SUMBARS(黄金柱,3);K4:=SUMBARS(黄金柱,4);K5:=SUMBARS(黄金柱,5);K6:=SUMBARS(黄金柱,6);K7:=SUMBARS(黄金柱,7);K8:=SUMBARS(黄金柱,8);K9:=SUMBARS(黄金柱,9);K10:=SUMBARS(黄金柱,10);AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW; {预定黄金柱}{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 ANDREF(L,2)=LLV(L,3);}{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}{DRAWICON(预定黄金柱,H,19);}{将军柱中的五星上将黄金柱}T60:=V=HHV(V,60);T100:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;T3:=REF(C,1)/REF( O,1)<3;五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);DRAWICON(五星上将,H,23);{量柱图}C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;STICKLINE(涨停,H,L,0,0),COLORWHITE;DRAWICON(涨停,L-0.2,11);DRAWTEXT(涨停,L-0.2,' --涨停');跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;DRAWICON(跌停,H+0.2,2);DRAWTEXT(跌停,H+0.2,' --跌停');{大阳线:=IF((C-C2)*100/C2>=5,1,0) ANDIF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;STICKLINE(大阳线,H,L,0,1),COLORRED;大阴线:=IF((C2-C)*100/C2>=5,1,0) ANDIF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;STICKLINE(大阴线,H,L,0,1),COLORGREEN;}{MA13:MA(CLOSE,13),COLORWHITE;MA34:MA(CLOSE,34),COLORYELLOW;MA55:MA(CLOSE,55),COLOR9933FF;}{MA4:MA(CLOSE,4),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLOR9933FF;MA30:MA(CLOSE,30),COLORLIBLUE;MA60:MA(CLOSE,60),COLORWHITE;MA120:MA(CLOSE,120),COLORLIGREEN;}TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10);C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10);CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;{求位置坐标}PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),IF(LLV(L,3)>=REF(O,3) ANDREF(C,3)>REF(O,3),REF(O,3),REF(L,3))));{自动画量能平台}{NN 1 300 21}{NN:=21;TTJ:=BARSLAST(REF(倍量黄金柱,NN-1));K0:=TTJ=0;K1:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);CCCC1:=REF(C,K1-1);}{在K线图上标示量柱类型}倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) ANDC>REF(C,1),H+0.2,26);低量:=DRAWICON(VOL<REF(LLV(VOL,13),1),H+0.1,2);地量:=DRAWICON(VOL<REF(LLV(VOL,100),1),H+0.1,12);平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,H+0.1,16);倍缩:=DRAWICON(VOL<=REF(V,1)*0.5,H+0.1,27);{画量柱标识:}{1.画倍量黄金柱标识--红箭头图标}倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,1);{2.画梯量黄金柱标识--橘子图标}梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND REF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17); {3.画平量黄金柱标识--苹果图标}平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19); {4.画立桩量标识--顶部红箭头图标}N:=25;立桩量:=REF(V,3)/REF(MA(V,5),4)>(N/10) ANDREF(V,3)/REF(HHV(V,60),4)>1.5 AND LLV(L,3)>REF(L,3);STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,30,0),COLORWHITE;DRAWICON(倍量黄金柱,PHD*1.008,12);DRAWTEXT(倍量黄金柱,PHD*1.010,' 标准黄金柱精准线'),COLORFF00FF; DRAWTEXT(倍量黄金柱,PHD,'================='),COLORWHITE;{平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW; DRAWTEXT(平量黄金柱,PHD*1.015,'平量黄金线'),COLORLIGREEN ;梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW; DRAWTEXT(梯量黄金柱,PHD*1.015,'梯量黄金线'),COLORFF00FF ;}立桩量标识:DRAWICON(立桩量,H*1.002,1);DRAWTEXT(立桩量,H*1.06,'立'),COLORRED;DRAWTEXT(立桩量,H*1.04,'桩'),COLORRED;DRAWTEXT(立桩量,H*1.02,'量'),COLORRED;{DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE; EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE; FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE; GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE; HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE; IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE; JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE; }AAA:=CONST(HHV(H,90));TS1:=0+0.03;TS2:=TS1+0.03;TS3:=TS2+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS1),'<一>.量柱的阶段性拐点标志--空间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS2),' 1.平台起柱:在K线整理平台上突然起柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS3),' 2.凹口起柱:在K线逐步回调形成凹口时起柱.常见凹口倍量;'),COLORFF00FF ;TS4:=TS3+0.03;TS5:=TS4+0.03;TS6:=TS5+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS4),' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS5),' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS6),'<二>.量柱的集合定性--组合量柱:'),COLORFF00FF ;TS7:=TS6+0.03;TS8:=TS7+0.03;TS9:=TS8+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS7),' 1.低量柱+倍量柱:后市必大涨!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS8),' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS9),' 3.缩倍柱+倍量柱:机会就在眼前!'),COLORFF00FF ;{============================}BBB:=CONST(HHV(H,190));TT1:=0+0.03;TT2:=TT1+0.03;TT3:=TT2+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT1),'<三>.量柱的三日定性--时间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT2),' 1.后三日价升量缩:转化为黄金柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT3),' 2.后三日量柱先阴后阳:该量柱官升一级;'),COLORFF00FF ;TT4:=TT3+0.03;TT5:=TT4+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT4),' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT5),' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),COLORFF00FF ;{底部趋势拐点}VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); VOLUME:=VOL;AAG:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);AA1G:=VOL<REF(LLV(VOL,21),1);AA2G:=VOL<REF(LLV(VOL,55),1);AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;MAVOL5:=MA(VOLUME,5);MAVOL35:=MA(VOLUME,35);MAVOL135:=MA(VOLUME,135);VOLUME5:=MA(VOLUME,5);VOLUME35:=MA(VOLUME,35);VOLUME135:=MA(VOLUME,135);买入:=CROSS(VOLUME5,VOLUME135);DRAWICON(买入,L,9);买入1:=CROSS(VOLUME35,VOLUME135);DRAWICON(买入1,L,5);买入2:=CROSS(VOLUME5,VOLUME35);DRAWICON(买入2,L,1);{非常棒}EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←高抛'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2);买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELL OW;VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOS E,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC<REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;A0:=(L+H+C*2)/4;A1B:EMA(A0,14),COLORBLUE,LINETHICK2;A2B:=EMA(A0,25),COLORLIBLUE,LINETHICK2;A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100,NODRAW;A2X:=(A2B-REF(A2B,1))/REF(A2B,1)*100,NODRAW;看多:IF(A1X>=0 ANDBARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL ),COLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 ANDBARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL ),COLORCYAN,{LINETHICK2};买入持股:IF(A1X>=0,A1B,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1B,DRAWNULL)COLORGREEN,LINETHICK3; {STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;};【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)-指标公式效果图(文档来源:若水财经社区)。

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

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

通达信波段抄底逃顶指标公式通达信是国内流行的证券交易软件,提供了多种技术指标供投资者参考。

在波段抄底逃顶方面,通达信也提供了相关指标和公式。

一、波段抄底指标波段抄底指标主要用于判断股票的抄底时机,即股价已经跌到低点,有望上涨的时机。

1.KD指标:KD指标通过计算一段时间内的收盘价和最高价最低价之间的关系,判断股票市场的超买超卖情况。

该指标把市场的超买超卖区域设定在80和20两个关键值上。

KD指标的计算公式如下:K值=(当日收盘价-最低价)/(最高价-最低价)×100D值=K值的N日简单移动平均线通常,KD指标中,N值取9,即计算9日的K值和D值。

2.RSI指标:RSI指标是一种相对强弱指标,通过比较一段时间内的平均涨幅和平均跌幅的大小,判断股票的超买超卖情况。

RSI指标的计算公式如下:RSI=100-(100/(1+RS))RS=(n周期内上涨总幅度/n周期内下跌总幅度)通常情况下,RSI指标中n取14二、波段逃顶指标波段逃顶指标主要用于判断股票的高点,即股价已经到达高位,可能开始下跌的时机。

1.MACD指标:MACD指标是一种趋势跟踪指标,通过计算短期和长期移动平均线的差值,判断股票的买卖信号。

MACD指标的计算公式如下:DIF=短期移动平均线-长期移动平均线DEA=DIF的N日简单移动平均线MACD=(DIF-DEA)×2通常,MACD指标中,短期移动平均线取12,长期移动平均线取26,DEA的N值取92.多空指标:多空指标通过计算一个股票市场参与者的多仓和空仓的比例,判断市场的多空情况,从而判断股票的未来走势。

多空指标的计算公式如下:多空比=多仓持仓量/空仓持仓量×100通常情况下,多空指标中多仓持仓量和空仓持仓量取一段时间内的累计值。

总结:通达信提供了多种波段抄底逃顶指标,包括KD指标、RSI指标、MACD指标、多空指标等。

这些指标可以帮助投资者判断股票的买入卖出时机,但仍需结合其他技术分析工具和个股的具体情况来进行判断,不同的指标和参数可能适用于不同的市场和股票,投资者需要根据实际情况来选择合适的指标和参数。

通达信指标公式大全

通达信指标公式大全

SZ3天地人天:IF(HHVBARS(V,60),REF(C,HHVBARS(V,60)),C),COLORLIBLUE,POINTDOT;地:IF(LLVBARS(V,5),REF(C,LLVBARS(V,5)),C),COLORYELLOW,POINTDOT;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V20:MA(VOLUME,20);V60:MA(VOLUME,60);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主高浪日抄底:IF(高浪日,1,0),COLORYELLOW,LINETHICK3; STICKLINE(高浪日抄底,20,40,2,0),COLORMAGENTA,LINETHICK5;DRAWTEXT(高浪日抄底,35,'买入'),COLORYELLOW,LINETHICK3;强势线:80,COLORRED,DOTLINE,LINETHICK2;弱势线:20,COLORGREEN,LINETHICK2;SZ4惜筹A:=H/C>1.03;B:=V/REF(V,1)<=2ANDV/REF(V,1)>=0.8;D:=H=HHV(H,3);AANDBANDD;位,6,0),COLORYELLOW;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;多:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF (MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MI D,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;空:MA(多,6),COLORGREEN;水平面:MA(CLOSE,60),COLORYELLOW,POINTDOT;MS:IF(多>=REF(多,1),多,DRAWNULL),COLORRED,LINETHICK2;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,'买'),COLORYELLOW;{吸}DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'抛'),COLORGREEN;{抛};SZ8极品底MA6:MA(C,6),COLOR0000FF;A:=C-MA6;A1:=CROSS(A,0);A2:=CROSS(0,A);A3:=0.68*MA(FORCAST(CLOSE,2),40);A4:=IF(C<A3ORL<A3,1,0);A5:=CLOSE-OPEN;A6:=OPEN-CLOSE;A7:=IF(CLOSE>OPEN,A5,A6);A8:=IF(OPEN<CLOSE,OPEN,CLOSE); DRAWICON(A1ANDREF(A1,1)=0,L*0.98,7);VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31); VAR3:=(CLOSE-VAR1)/VAR1*100<-10;VAR4:=(VAR1-VAR2)/VAR2*100<-16;VAR5:=VAR3ANDVAR4;VAR6:=VAR5AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0;DRAWTEXT(MJ0=1ANDMACD>REF(MACD,1),L*0.95,'极品底'),COLORMAGENTA;DRAWTEXT(A<-LGANDLF=0,L*0.96,'下跌过急'),COLORYELLOW;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;RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,NODRAW,COLORYELLOW;DRAWICON(CROSS(J,0)ANDRSI<33,L*0.995,1);DRAWICON(CROSS(102,J),H*1.005,2); DRAWTEXT(CROSS(J,5)ANDRSI<40,L*0.98,'短买');DRAWICON(CROSS(90,RSI),H+0.2,2);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;多方炮:A8ANDJ<65;SZ19熊熊迹:MA(CLOSE,49),LINETHICK2,COLORYELLOW;KS:=((CLOSE-EMA(CLOS E,13))/EMA(CLOSE,13))*(-100);趋势线:=EMA(((KS/10)+EMA(CLOSE,10)),3);AA:=-100*(趋势线-CLOSE)/趋势A(ABS((CLOSE-VAR4Y)),24,1))*100);VAR8Y:=(((CLOSE-LLV(LOW,45 ))/(HHV(HIGH,45)-LLV(LOW,45)))*100);VAR9Y:=SMA(VAR8Y,3,1);V ARAY:=SMA(VAR9Y,3,1);VARBY:=((3*VAR9Y)-(2*VARAY));VARCY:=(C ROSS(VAR5Y,10)AND(VAR3Y<(0-(28*20))));VARDY:=((100-CROSS(76 ,VAR5Y))AND(VAR3Y>(5*20)));DRAWICON(((CROSS(76,VAR5Y)AND(VAR3Y>5))),(HIGH*1.0099),6),COLORFFFFFF;VAREY:=((((CROSS(VAR9 Y,VARAY)AND(VARAY<10))AND(VAR3Y<(0-30)))AND(VAR2Y>3))*30);V ARFY:=-((((VARAY<11)AND(VAR5Y<15))AND(VAR3Y<(0-26)))*10);DR AWICON((CROSS(VARFY,(0-9))),(LOW*0.998),5);能量线:=DMA(((CLOSE+OPEN)/2),(VOL/(SMA(VOL,4,1)*4)));VAR3C:=EMAR8,1))+(0.333*VAR8)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,B B)AND(BB<30));CD:=(BB1*0.6);DRAWICON((CD=0.6),(LOW*0.99),9),LINETHICK1,COLOR33CC99;SZ9一号支撑N:=5;回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 经典K:=SMA(经典RL,3,1);经典D:=SMA(经典K,3,1);经典J:=3*经典K-2*经典D;MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,2上线2:=SMA(C,3.5,1);DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,'洗盘'),COLOR00FF00;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(82,RSI)ANDCLOSE<上线1,HIGH*1.04,'减仓YCX:=操作>=REF(操作,1);H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);L1:=MIN(MIN(上线,一号支撑线1),一号支撑线); DRAWTEXT(CROSS(上线1,一号支撑线1)AND上线1>操作,LOW*0.98,'全仓'),COLORYELLOW;SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作/一号支撑线<=1015AND1000*操作/一号支撑线>=975; M2:=1000*一号支撑线1/一号支撑线<=1020AND一号支撑线1/一号支撑线>=980;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点} VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可将3该为4,信号少点}E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G)ANDJ>65,HIGH*1.02,15),COLORGREEN;DRAWICON(CROSS(G,F),LOW*0.9,9),COLORYELLOW;DRAWTEXT(CLOSE>OPENANDCROSS(上线,一号支撑线)ANDLOW>VAR1ANDJ<90,LOW*0.86,'回踩买进'),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1),HIGH,LOW,0,0),COLORRED;STICKLINE(C<OANDC>REF(C,1),C,O,3,0),COLORFFCC00; STICKLINE(CLOSE>REF(CLOSE,1)ANDC>O,OPEN,CLOSE,3,0),COLOR000055;{红K};STICKLINE(CLOSE>REF(CLOSE,1)ANDC>O,OPEN,CLOSE,2.7,0),COLOR000077;{红K};STICKLINE(CLOSE>REF(CLOSE,1)ANDC>O,OPEN,CLOSE,2.1,0),COLOR000099;STICKLINE(CROSS(J,D1)ANDJ<70,CLOSE,OPEN,2.1,0),COLORFF66FF; STICKLINE(CROSS(J,D1)ANDJ<70,CLOSE,OPEN,1.5,0),COLORFF99FF; STICKLINE(CROSS(J,D1)ANDJ<70,CLOSE,OPEN,0.9,0),COLORFFBBFF; STICKLINE(CROSS(J,D1)ANDJ<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;SHOOTQ_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),E MA(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)+DRAWICON(CROSS(DEA,DIF),DEA*0.90,2);}月DIFF:="MACD.DIF#MONTH"COLOR0080FF;月DEA:="MACD.DEA#MONTH",COLOR0080FF,LINETHICK2;周DIFF:="MACD.DIF#WEEK"COLORRED;周DEA:="MACD.DEA#WEEK",COLORRED,LINETHICK2;日DIFF:="MACD.DIF",COLORWHITE;日DEA:="MACD.DEA",COLORWHITE,LINETHICK2;日金:IF(CROSS(日DIFF,日DEA),0.125,0),COLORYELLOW;周金:IF(CROSS(周DIFF,周DEA),0.15,0),COLORRED;月金:IF(CROSS(月DIFF,月DEA),0.175,0),COLORGREEN;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA)ANDDEA<0ANDCOUNT(JCCOUNT=2,21)=1,NODRAW;STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;DRAWICON(二次金叉,DEA*0.9,1);DRAWTEXT(二次金叉,0.225,'二次金叉'),COLORYELLOW;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSEANDDIFF>REF(DIFF,A1+1)ANDCROSS(DIFF,DEA),NODRAW;WW:=DEA>REF(DEA,1);DD:=CROSS(DIFF,REF(DIFF,1));反身向上:IF((WWANDDD),0.25,0),COLORWHITE;DRAWTEXT(反身向上,0.17,'反身上'),COLORWHITE;AD:=LOW=LLV(LOW,14)ANDLOW<REF(LOW,1)ANDLOW<REF(LOW,5)ANDMACD>REF(MACD,1)AND0>MACDAND0>REF(MACD,1);DRAWICON(AD,MACD,9);SZ17火焰山VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21);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);火焰山:EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;火焰:STICKLINE(火焰山>0,0,火焰山,4,1);今量:火焰山;STICKLINE(火焰山>0,0,今量*1.2,8,0)COLOR0000FF;STICKLINE(火焰山>0,0,今量*0.8,8,0)COLOR0066FF;SZ10综合预警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.558)/6,21);VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55M13:=MA(C,13);M250:=MA(C,250);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);M:=(DIF-DEA)*2;定位:=BARSLAST(REF(CROSS(DIF,DEA),1));前股价低值:=MIN(REF(L,定位+1),MIN(REF(L,定位+2),MIN(REF(L,定位+3),MIN(REF(L,定位+4),MIN(REF(L,定位+5),MIN(REF(L,定位+6),REF(L,定位+7)))))));DIF前低:=MIN(REF(DIF,定位+1),MIN(REF(DIF,定位部背离,5)=100ORREF(底部背离,6)=100ORREF(底部背离,7)=100,100,0);ZG:=HHV(H,60);ZD:=LLV(L,60);ZJ:=IF(M13>REF(M13,1)ANDREF(M13,1)<=REF(M13,2)ANDREF(M13,2)<REF(M13,3),100,0);TJ:=IF(REF(L,1)=ZDANDZG/ZD>1.3,100,0);DD:=IF(REF(TJ,1)=100ORREF(TJ,2)=100ORREF(TJ,3)=100ORREF(TJ,4)=100ORREF(TJ,5)=100ORREF(TJ,6)=100ORREF(TJ,7)=100ORREF(TJ,8)=100ORREF(TJ,9)=10A05:=IF((A03>20),A04,0);A06:=IF((LOW>A01),0,IF((HIGH<A01),1,(((A01-LOW)+0.009)/((HIGH-LOW)+0.009))));A07:=DMA(A06,(VOL/CAPITAL))*60;A09:=IF((((A07>0)AND(A07>REF(A07,1)))AND(A05<=88)),A07,0);VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))* 100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR2:=EMA(VAR1,8);VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*DRAWTEXT(VAR5,60,'买入'),COLOR0099FF;STICKLINE(趋势>=90ANDVAR4,0,30,3,0),COLORGRAY;VAR6:=FILTER((趋势>=90ANDVAR4),10);DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;VAR7:=LLV(LOW,30);VAR8:=HHV(HIGH,30);VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25;STICKLINE(VAR9>90,100,105,3,2),COLORRED;VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100; DRAWTEXT(IF(CROSS(VAR9,VAR10)ANDVAR9>87,95,0),88,'险VAR17:=EMA(VAR16,5);波浪峰:VAR17,STICK,COLORFF00FF;STICKLINE(VAR17<REF(VAR17,1),0,VAR17,1,0),COLOR00FF00;VAR18:=MA(趋势线,8);IF(CROSS(VAR2,VAR18)ANDVAR2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,VAR2)AND趋势线>REF(趋势线,1)AND趋势线<50,50,'追涨'),COLORFF00FF;风险区:IF(趋势>80,趋势,80),COLORFF00FF;SZ13波浪PL5:=ZIG(3,5);EX3:=ZIG(3,20)<REF(ZIG(3,20),1)ANDREF(ZIG(3,20),1)>=REF(ZIG (3,20),2)ANDREF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);XG22:=TJ11ORTJ22ORTJ33ORTJ44ORTJ55;SZ14老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1ANDCC1ANDDD1ANDEE1;DRAWTEXT(FF1,(LOW*0.97),'老鼠仓'),COLOR4080FF;SZ250流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;额亿:流入亿+流出亿,COLORFFFF00,NODRAW;{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;STICKLINE(YUWEI>0ANDYUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5;STICKLINE(YUWEI>0ANDYUWEI<REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF;STICKLINE(YUWEI>0ANDYUWEI<REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF;STICKLINE(YUWEI<0ANDYUWEI<REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;STICKLINE(YUWEI<0ANDYUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;DRAWTEXT(CROSS(0,YUWEI),0,'空');DRAWTEXT(CROSS(YUWEI,0),0,'买');SZ钓鱼RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,9,1);D:=SMA(K,3,1);趋势J1:=3*K-2*D,COLORRED;趋势J2:=EMA(K,3),LINETHICK1;BBIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;反BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;水面:=20;买入:=IF(趋势J1<30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;买入2:=CROSS(买入,趋势J2);狮子钓鱼:IF(买入2>0.5,80,0)COLORRED;DRAWTEXT(买入2,80,'钓')COLORRED;DRAWTEXT(买入2,70,'鱼')COLORRED;STICKLINE(买入2,50,0,10,0);DY2NF:(C+REF(C,1)+REF(C,2)+H+REF(H,1)+REF(H,2)+L+REF(L,1)+REF(短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;A2:=REF(L,P)=LLV(L,2*P+1);B2:=FILTER(A2,P);C2:=BACKSET(B2,P+1);D2:=FILTER(C2,P);E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);F2:=E2>REF(E2,1);短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;AA1:=REF(H,P1)=HHV(H,2*P1+1);BB1:=FILTER(AA1,P1);SZDKVAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3) +16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7 )+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2 ,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;VAR4:=MA(VAR3,13);VAR5:=EMA(MA(CLOSE,3),34);↓'),,COLORGREEN;『多空安全线』:VAR5,,COLORWHITE;〖关注点〗:STICKLINE(COUNT(VAR3>1.005*VAR4ANDVAR3<=REF(VAR3,1),2) =2ORCOUNT(IF(VAR3<VAR5,VAR3<=1.015*VAR4,VAR3<=1.005*VAR4)ANDVAR3>=REF(VAR3,1),2)=2,VAR3,VAR4,10,0),,COLORYELLOW;★买入点:DRAWTEXT(REF(CROSS(VAR3,VAR4),2)ANDVAR3>1.005*VAR4,VAR4,'★买入点'),,COLOR999966;『多空争夺VAR12:=3*VAR10-2*SMA(VAR10,15,1);VAR13:=100-VAR12;VAR14:=100-VAR11;VAR15:=MA(WINNER(CLOSE*0.95)*100,3);VAR16:=100-IF(VAR9>5,IF(VAR9<100,VAR9,VARB-10),0);VAR17:=VAR15>VARB;VAR18:=REF(LOW,1)*0.9;VAR19:=LOW*0.9;VAR1A:=(VAR19*VOL+VAR18*(CAPITAL-VOL))/CAPITAL;VAR1B:=EMA(VAR1A,30);VAR1C:=CLOSE-REF(CLOSE,1);VAR27:=SMA(VAR26,4,1);VAR28:=SMA(VAR27,3,1);VAR29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR2A:=VAR22<=25ANDVAR23<-95ANDVAR29>20ANDVAR25<-30ANDVAR28 <30ANDVAR1B-CLOSE>=-0.25ANDVAR1F<22ANDVAR20<28ANDVAR21>50;DRAWTEXT(CROSS(VAR2A,0.5)ANDCOUNT(VAR2A=1,10)=1,VAR4,'发射资金♂(超短线操作)'),,COLORRED;DRAWTEXT(CROSS(VAR17,0.5)ANDCOUNT(VAR17=1,10)=1,VAR3,'激烈交锋');选股公式K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;多方炮:A8ANDJ<65;双信号FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;VAR01:=CLOSE=HHV(C,4)AND(REF(C,1)>=REF(C,2)ORREF(C,1)>=REF(C,3))ORREF(C,1)=HHV(C,4)ANDCLOSE>=REF(C,2)ORREF(C,2)=HHV(C,4)AND REF(C,3)=LLV(C,4)ANDC>=REF(C,1)ORREF(C,3)=HHV(C,4)ANDC>=REF(C,1)ANDC>=REF(C,2);{收盘价=4日内收盘价的最高值AND昨收>=2日前的收盘价} VAR02:=CLOSE=HHV(C,4)ANDREF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND昨收=4日内收盘价的最低值} VAR03:=CLOSE=LLV(C,4)AND(REF(C,1)<REF(C,2)ORREF(C,1)<REF(C,3))ORREF(C,2)>=REF(C,4)ANDC<REF(C,1);{昨收=4日内收盘价的最高值AND收盘价<2日前的收盘价} VAR06:=V5>REF(V5,1)ANDREF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13)ANDHIGH>HHV(V5,13)ANDCLOSE>REF(C,1)ANDCLOSE>OPEN;VAR08:=VAR07ANDCOUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14ORVAR15)ANDVAR11;买2:=(VAR14ORVAR15)ANDVAR04;买3:=(VAR14ORVAR15)ANDVAR02;买4:=(VAR02ANDVAR11)OR(VAR04ANDVAR11);买5:=(金叉ANDVAR04)OR(金叉ANDVAR02)OR(金叉ANDVAR11);ZHENGYI>80ANDDYNAINFO(4)>0;SZ10ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);ZHENGYI<10ANDDYNAINFO(4)>0;SZZZZRSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,9,1);D:=SMA(K,3,1);趋势J1:=3*K-2*D,COLORRED;V4:=DMA(V2,VOL/V3);V5:=(CLOSE-V4)/V4*100;V6:=MA(V5,20)+STD(V5,20);BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;水面:=20;买人:=IF(趋势J1<30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;SZ1111RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,9,1);D:=SMA(K,3,1);V3:=SUM(AMOUNT,7)/V1/100;V4:=DMA(V2,VOL/V3);V5:=(CLOSE-V4)/V4*100;V6:=MA(V5,20)+STD(V5,20);BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;水面:=20;买人:=IF(趋势J1<30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;买人2:=CROSS(买人,趋势J2);SZ3ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:REF(CLOSE,A1+1)>CLOSEANDDIFF>REF(DIFF,A1+1)ANDCROSS(DIFF,DEA);。

通达信专用逃顶指标公式

通达信专用逃顶指标公式

通达信专用逃顶指标公式首先是移动平均线(MA)。

移动平均线是统计一段时间内收盘价的平均值,可以衡量价格走势的长期趋势。

常用的移动平均线周期包括5日、10日、20日、30日、60日和120日。

股价向上突破移动平均线时,说明股价处于上升趋势;股价向下跌破移动平均线时,说明股价处于下降趋势。

其次是指数平滑移动平均线(EMA)。

指数平滑移动平均线在计算中更注重最近的价格数据,对股价的变动更加敏感。

EMA的计算方法是给每个价格数据赋予权重,根据不同的权重比例来计算平滑移动平均线。

EMA具有更快的反应速度和更强的短期趋势捕捉能力。

再次是相对强弱指数(RSI)。

相对强弱指数是一种常用的超买超卖指标,用于判断市场的买入力量和卖出力量。

RSI的计算方法是根据一定周期内的涨跌幅度来计算,一般周期为14天。

当RSI超过70时,说明市场处于超买状态,可能出现回调;当RSI低于30时,说明市场处于超卖状态,可能出现反弹。

最后是顶部运动指标(TMT)。

顶部运动指标是通达信独有的指标,用于判断股票等金融产品的顶部风险。

顶部运动指标的计算方法是结合MA、EMA和RSI等指标,通过对多个指标的综合分析判断股价是否到达顶部,进而决定是否逃离市场。

1.计算移动平均线(MA)。

通达信系统默认提供了5日、10日、20日、30日、60日和120日的移动平均线,可以根据不同的需要选择相应的周期。

2.计算指数平滑移动平均线(EMA)。

通达信系统默认提供了12日、26日和9日的指数平滑移动平均线。

EMA的计算公式如下:EMA(N)=(2×收盘价+(N-1)×前一日EMA)/(N+1)其中,N表示周期数,一般情况下取12、26或93.计算相对强弱指数(RSI)。

通达信系统默认使用14日的相对强弱指数。

RSI的计算公式如下:RSI(n)=100×(1-1/(1+RS))RS=n天内收盘价上涨幅度的平均值/n天内收盘价下跌幅度的平均值4.根据给定的规则判断顶部运动指标(TMT)是否达到顶部。

通达信资金和做多空动能的指标源码

通达信资金和做多空动能的指标源码

通达信资金和做多空动能的指标源码通达信资金和做多空动能的指标源码说明:本人这近收集了一些关于资金动向和做多做空的一些指标源码,专门搞一模板(资金动向)希望同行们有所起发和使用方便出发点。

当然在这里本人申明并否本人作品。

至于主图我用未来和没有未来加以改进了,我一直在用这模板,虽然不是极品,感觉比较顺手,所以推存大家参考。

同时来减少新进学员共享币不多之苦。

那么至于每个指标的用法让每个人自己去研究,我认为指标只是一种参考价值,更如况每人的操作理念不同。

谢谢慎用!主副图源码汇总:合并主图:{ AA主图合并主图}AAA:=(2.5*C+H+L+O)/5.5;VV AR1:=(4*AAA+3*REF(AAA,1)+2*REF(AAA,2)+REF(AA A,3))/10.18;VV AR2:=(HHV(VV AR1,5)+HHV(VV AR1,10)+HHV(VV AR1,20))/3;VV AR3:=(LLV(VV AR1,5)+LLV(VV AR1,10)+LLV(VV AR1,20) )/3;VV AR4:=(HHV(VV AR2,5)+HHV(VV AR2,10)+HHV(VV AR2, 20))/3;VV AR5:=(LLV(VV AR3,5)+LLV(VV AR3,10)+LLV(VV AR3,20) )/3;VV AR6:=(LLV(VV AR1,2)+LLV(VV AR1,4)+LLV(VV AR1,6))/ 3;DRAWBAND(VV AR1,RGB(155,50,50),VV AR6,RGB(250,250, 0));短线:VV AR1,COLORWHITE;中线:VV AR6,COLORYELLOW;{绝杀点主图}N:=20;M:=32;P1:=80;P2:=100;V AR1:=(C+H+O+L)/4;卖出:=XMA(V AR1,N)*(1+P1/1000),COLORFFFFFF,LINETHIC K3;买入:=XMA(V AR1,M)*(1-P2/1000),COLOR0000FF,LINETHIC K3;DRAWBAND(卖出,RGB(200,50,55),卖出*1.03,RGB(0,100,50));DRAWBAND(买入,RGB(0,55,0),买入*0.97,RGB(55,55,0));幅度:100*(卖出-买入)/买入,NODRAW;MA1:=MA(V AR1,3);STICKLINE(卖出&gt;LOW AND 卖出&lt;HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出&gt;MIN(C,O) AND 卖出&lt;MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出&gt;LOW AND 卖出&lt;HIGH,卖出,HIGH,0,0),COLORGREEN;STICKLINE(卖出&lt;LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出&lt;LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入&gt;LOW AND 买入&lt;HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入&gt;MIN(C,O) AND 买入&lt;MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入&gt;LOW AND 买入&lt;HIGH,买入,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(C,卖出),卖出*1.05,'卖出'),COLOR00FFFF;机会来临:=REF(IF((MA(C,5)-C)/C&gt;0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)&gt;0.04,30,0),1),COLORF00F F0,LINETHICK2;RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)) *100;K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);金叉:=CROSS(BB1,BB2);DRAWTEXT(CROSS(C,买入) AND BB1&gt;BB2 ANDC&gt;REF(O,2),买入*0.95,'买入'),COLOR0000FF;DRAWICON(CROSS(C,买入) AND 金叉AND 机会来临,LOW*0.96,26);DRAWTEXT(CROSS(C,买入) AND 金叉AND 机会来临,LOW*0.92,'【绝杀点】'),COLOR00FF00;副图:VOL-TDX软件自有的机构建仓:N:=9;M1:=3;M2:=3;P:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)) *100;K:=SMA(RSV,M1,1),COLORRED,LINETHICK2;D:=SMA(K,M2,1),COLOR00FF00;JJ:=P*(3*D-2*K),COLOR00FF00;J:=((3 * K) - (2 * D));MAIRU:= CROSS(K,D) AND K&lt;20;MAICHU:= CROSS(D,K) AND D&gt;80;V AR2:=REF(LOW,1);V AR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-V AR2 ,0),3,1)*100;V AR4:=EMA(IF(CLOSE*1.3,V AR3*10,V AR3/10),3);V AR5:=LLV(LOW,30);V AR6:=HHV(V AR4,30);V AR7:=IF(MA(CLOSE,58),1,0);V AR8:=EMA(IF(LOW&lt;=V AR5,(V AR4+V AR6*2)/2,0),3)/618*V AR7;V AR9:=IF(VAR8&gt;100,100,V AR8);吸筹:STICKLINE(V AR9&gt;-120,0,V AR9,6,1),COLORF00FF0;快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10 0,COLORFF937F;慢线:SMA(快线,M1,1),COLORRED,LINETHICK2;空:SMA(慢线,M2,1),COLOR00FF00;牛股:IF(BARSLAST(CROSS(慢线,空))&lt;P AND BARSLAST(CROSS(空,慢线))&lt;P AND CROSS(慢线,空) AND 慢线&lt;20,90,0),STICK,COLORFF937F;STICKLINE(牛股,0,90,6,1),LINETHICK4,STICK,COLORFF937F;BB:=IF(BARSLAST(CROSS(慢线,快线))&gt;=3 AND CROSS(快线,慢线) AND 慢线&lt;30,20,0);买:STICKLINE(BB,0,20,7,1),COLORYELLOW;AA:=IF(BARSLAST(CROSS(快线,慢线))&gt;=4 AND CROSS(慢线,快线) AND 快线&gt;50,20,0);卖:STICKLINE(AA,80,100,7,1),COLOR00FF00;买底部:A1:=DATE &lt;= 1070615;A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30));A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) /((HHV(HIGH,20)) - (LLV(LOW,20))));A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28));A5:=MA(A4,6);红持股:IF((A3 &lt; A5),A5,A3),COLORRED;绿持币:IF((A3 &gt; A5),A5,A3),COLORGREEN;强弱:(A5),LINETHICK1,COLORYELLOW;A6:=(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)));A7:=(10);百万测底:((CROSS(A6,A7)) * 75) *A1,LINETHICK2,COLOR0000FF;A8:=(REF(CLOSE,1)) / CLOSE;A9:=MIN((MA(((AMOUNT / VOL) /100),15)),(EMA(((AMOUNT / VOL) / 100),15)));A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) /(EMA(((AMOUNT / VOL) / 100),15)))) * 100) - (100 / 10);A11:=((((1 - ((MA((LOW - (A8 / 10)),6)) / A9)) *(DMA(CLOSE,(VOL / CAPITAL)))) / (MA(LOW,6))) * 100) - (100 / 10);A12:=((((A10 + (A11 / 10)) &gt; 0) AND (DATE &gt; 1000101)) AND (DATE &lt; 1991231)) AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) &gt; 0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) &gt; 0.099)),20)) &lt;3);A13:=(((((((A10 + (A11 / 10)) &gt; -3.688) AND (DATE &gt; 1000101)) AND (DATE &lt; 1991231)) AND ((CLOSE / (REF(CLOSE,1))) &gt; 1.02)) AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) &gt; 0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) &gt; 0.099)),20)) &lt; 3)) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) &lt; 0.95)) AND ((CLOSE / (HHV(HIGH,20))) &lt; 0.855);灵桥黑马:((IF(((((100 &lt; 100) AND ((A10 + (A11 / 10)) &gt;0)) AND (DATE &gt; 1000101)) AND (DATE &lt; 1991231)),(A12 = 1),(A13 = 1))) * 100) *A1,LINETHICK2,COLORRED;A14:=EMA(CLOSE,8);A15:=EMA(A14,20);A16:=CROSS(A14,A15);A17:=A14 &lt; (EMA(CLOSE,120));大波黑马起步:((A16 AND A17) * 75) *A1,LINETHICK2,COLORYELLOW;A18:=SUM((IF((CLOSE &gt;(REF(CLOSE,1))),VOL,(IF((CLOSE &lt; (REF(CLOSE,1))),(0 - VOL),0)))),0);A19:=SUMBARS(VOL,CAPITAL);A20:=(IF((CLOSE &gt; (LLV(CLOSE,A19))),1,-1)) * (IF((A18&gt; (LLV(A18,A19))),1,-1));A21:=IF((A20 = -1),1,0);A22:=(COUNT((A21 = 1),8)) &gt; 2;A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23));A25:=(((CLOSE - A24) / A24) * 100) &lt; -15;A26:=((CLOSE - (MIN(((REF(CLOSE,5)) *0.865),((REF(CLOSE,21)) * 0.772)))) / CLOSE) &lt; 0.05;A27:=REF(LOW,1);A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);A30:=LLV(LOW,38);A31:=HHV(A29,38);A32:=IF((LLV(LOW,90)),1,0);A33:=((EMA((IF((LOW &lt;= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32;(STICKLINE(A33,0,A33,6,1)) ,COLORBLUE;底部不买你后悔:(IF(((A25 AND A26) AND A22),60,0)) * A1; 主力参考:A:=VOL*CLOSE;B:=SUM(A,1)/SUM(VOL,1);B1:=EMA(B,17);主力:(B-B1)*100/B,COLORRED;进:STICKLINE(主力&gt;=0 AND 0&gt;=REF(0,1),0,主力,3,0),COLORRED;出:STICKLINE(主力&lt;0 AND 0&gt;=REF(0,1),0,主力,3,0),COLORGREEN;大鱼特色:MA V:=(C*2+H+L)/4;SK := EMA(MA V,15) - EMA(MA V,35);SD := EMA(SK,6);中轴:0;空方主力: (-2*(SK-SD))*3.8,COLORGREEN;多方主力: (2*(SK-SD))*3.8,COLORRED;DRAWBAND(多方主力,RGB(255,0,0),空方主力,RGB(0,0,220));资金流入流出:万:AMOUNT/10000,COLORFF00FF,NODRAW;V AR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 流入万:IF(CLOSE&gt;OPEN,V AR1*(HIGH-LOW),IF(CLOSE&lt; OPEN,V AR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2)) /10000,COLORRED,NODRAW;流出万:IF(CLOSE&gt;OPEN,0-V AR1*((HIGH-CLOSE)+(OPEN-L OW)),IF(CLOSE&lt;OPEN,0-V AR1*(HIGH-LOW),0-AMOUN T/2))/10000,COLOR00FF00,NODRAW;额万:流入万+流出万,COLORFFFF00,NODRAW;{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;{量:(线),VOLSTICK;}分界:0;STICKLINE(YUWEI&gt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A;STICKLINE(YUWEI&gt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA;STICKLINE(YUWEI&gt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1;STICKLINE(YUWEI&gt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF;STICKLINE(YUWEI&gt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,4,0)COLOR22736F;STICKLINE(YUWEI&gt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5;STICKLINE(YUWEI&gt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF;STICKLINE(YUWEI&gt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF;STICKLINE(YUWEI&lt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;STICKLINE(YUWEI&lt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;STICKLINE(YUWEI&lt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306;STICKLINE(YUWEI&lt;0 ANDYUWEI&lt;REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00;STICKLINE(YUWEI&lt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71;STICKLINE(YUWEI&lt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C;STICKLINE(YUWEI&lt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0 ;STICKLINE(YUWEI&lt;0 ANDYUWEI&gt;REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2; ZLJCHHJ主力进出:JJZ:=(HIGH+LOW+CLOSE)/3;QJ0Z:=AMOUNT/IF(HIGH=L OW,4,HIGH-LOW);买1:=QJ0Z*(MIN(OPEN,CLOSE)-LOW);买2:=QJ0Z*(JJZ-MIN(CLOSE,OPEN));卖1:=QJ0Z*(MAX(CLOSE,OPEN)-JJZ);卖2:=QJ0Z*(HIGH-MAX(OPEN,CLOSE));DTZ:=((买1+买2)-(卖1+卖2))/10000;主力持仓:SUM(DTZ,66),COLORWHITE,LINETHICK1;STICKLINE(DTZ&gt;0,主力持仓,主力持仓+DTZ,1,0),COLOR0000FF;STICKLINE(DTZ&lt;0,主力持仓+DTZ,主力持仓,1,0),COLOR00FF00;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LO W,4,HIGH-LOW);TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);DD1:=QJ0*(JJ-MIN(CLOSE,OPEN));DD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);TD:=TD1-TD2;DA:=DD1-DD2;XD1:=1-(TD1+DD1);XD2:=1-(TD2+DD2);TZ:=V/SUM(V,60)*100;DT:=((XD1-XD2)/10000)/TZ;散户持仓:SUM(DT,22),COLOR888888,LINETHICK1;STICKLINE(DT&gt;0,散户持仓,散户持仓+DT,1,0),COLORFF00FF;STICKLINE(DT&lt;0,散户持仓+DT,散户持仓,1,0),COLORFF8800;主力持仓量:中户量:(中户-均量)COLORYELLOW,NODRAW;散户量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量&gt;=0 AND 主力能量&gt;=REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORRED;减仓:STICKLINE(主力能量&gt;=0 AND 主力能量&lt; REF(主力能量,1),4.5,4.5+主力能量,1,0),COLOR00CC20;反弹:STICKLINE(主力能量&lt;0 AND 主力能量&gt;=REF(主力能量,1),4.5,4.5+主力能量,1,0),COLOR00CCCC;寻底:STICKLINE(主力能量&lt;0 AND 主力能量&lt; REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(主力能量&gt;=0,4.2,4.8),'机构'),COLORRED;操盘1:STICKLINE(大户量&gt;=0 AND 大户量&gt;=REF(大户量,1),3,3+大户量,1,0),COLORRED;减仓1:STICKLINE(大户量&gt;=0 AND 大户量&lt; REF(大户量,1),3,3+大户量,1,0),COLOR00CC20;反弹1:STICKLINE(大户量&lt;0 AND 大户量&gt;=REF(大户量,1),3,3+大户量,1,0),COLOR00CCCC;寻底1:STICKLINE(大户量&lt;0 AND 大户量&lt; REF(大户量,1),3,3+大户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(大户量&gt;=0,2.7,3.3),'大户'),COLORMAGENTA;操盘2:STICKLINE(中户量&gt;=0 AND 中户量&gt;=REF(中户量,1),1.5,1.5+中户量,1,0),COLORRED;减仓2:STICKLINE(中户量&gt;=0 AND 中户量&lt; REF(中户量,1),1.5,1.5+中户量,1,0),COLOR00CC20;反弹2:STICKLINE(中户量&lt;0 AND 中户量&gt;=REF(中户量,1),1.5,1.5+中户量,1,0),COLOR00CCCC;寻底2:STICKLINE(中户量&lt;0 AND 中户量&lt; REF(中户量,1),1.5,1.5+中户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(中户量&gt;=0,1.2,1.8),'中户'),COLORYELLOW;操盘3:STICKLINE(散户量&gt;=0 AND 散户量&gt;=REF(散户量,1),0,散户量,1,0),COLORRED;减仓3:STICKLINE(散户量&gt;=0 AND 散户量&lt; REF(散户量,1),0,散户量,1,0),COLOR00CC20;反弹3:STICKLINE(散户量&lt;0 AND 散户量&gt;=REF(散户量,1),0,散户量,1,0),COLOR00CCCC;寻底3:STICKLINE(散户量&lt;0 AND 散户量&lt; REF(散户量,1),0,散户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(散户量&gt;=0,-0.3,0.3),'散户'),COLORGREEN;红买盘:MA(C,3),COLORRED,NODRAW;绿卖盘:MA(C,3),COLORGREEN,NODRAW;黄反弹:MA(C,3),COLORYELLOW,NODRAW;蓝寻底:MA(C,3),COLORFF9900,NODRAW;成交量:VOL,COLORWHITE,NODRAW;均量5:MA(成交量,5)/50000,COLORMAGENTA,LINETHICK2;均量20:MA(成交量,20)/50000,COLOR00FFFF,LINETHICK2;均量120:MA(成交量,120)/50000,COLOR00CC20,LINETHICK2;B:=ZIG(3,50/5)*1;G:=MA(B,2);D:=CROSS(B,G)*10;W:=CROSS(G,B)*10;DRAWTEXT(W=10,4,'卖' ),COLORWHITE;DRAWTEXT(D=10,4,'买'),COLORCYAN;火焰之王:V AR1:=EMA(HHV(HIGH,500),21);V AR2:=EMA(HHV(HIGH,250),21);V AR3:=EMA(HHV(HIGH,90),21);V AR4:=EMA(LLV(LOW,500),21);V AR5:=EMA(LLV(LOW,250),21);V AR6:=EMA(LLV(LOW,90),21);V AR7:=EMA((VAR4*0.96+V AR5*0.96+V AR6*0.96+V AR1*0. 558+V AR2*0.558+V AR3*0.558)/6,21);V AR8:=EMA((VAR4*1.25+V AR5*1.23+V AR6*1.2+V AR1*0.5 5+V AR2*0.55+V AR3*0.65)/6,21);V AR9:=EMA((VAR4*1.3+V AR5*1.3+V AR6*1.3+V AR1*0.68+ V AR2*0.68+V AR3*0.68)/6,21);V ARA:=EMA((VAR7*3+V AR8*2+V AR9)/6*1.738,21);V ARB:=REF(LOW,1);V ARC:=SMA(ABS(LOW-V ARB),3,1)/SMA(MAX(LOW-V AR B,0),3,1)*100;V ARD:=EMA(IF(CLOSE*1.35&lt;=V ARA,V ARC*10,V ARC/1 0),3);V ARE:=LLV(LOW,30);V ARF:=HHV(V ARD,30);V AR10:=IF(MA(CLOSE,58),1,0);火焰山:EMA(IF(LOW&lt;=V ARE,(V ARD+V ARF*2)/2,0),3)/618*V AR 10;火焰: STICKLINE(火焰山&gt;0,0,火焰山,4,1);今量: 火焰山;STICKLINE(火焰山&gt;0,0,今量*1.2,8,0) COLOR0000FF;STICKLINE(火焰山&gt;0,0,今量*0.8,8,0) COLOR0066FF; STICKLINE(火焰山&gt;0,0,今量*0.6,8,0) COLOR0099FF; STICKLINE(火焰山&gt;0,0,今量*0.4,8,0) COLOR00CCFF; STICKLINE(火焰山&gt;0,0,今量*0.2,8,0) COLOR00FFFF;。

通达信 ene 趋势向上指标公式

通达信 ene 趋势向上指标公式

通达信 ene 趋势向上指标公式通达信是股票交易软件中一款常用的技术分析工具。

其中,ene(Ehler's Trending Indicator)是一种趋势向上指标,它可以帮助投资者识别股价的长期趋势并采取相应的交易策略。

ene指标的计算公式如下:1. 计算平均真实波幅(ATR):ATR = 平均真实波幅(n天) = 相邻两日最高价与最低价之差的累加平均值2. 计算上轨值(Upper Band):上轨值 = N 天内最高价 + K倍的ATR3. 计算下轨值(Lower Band):下轨值 = N 天内最低价 - K倍的ATR在上述公式中,N代表周期的天数,K代表ATR波动的调整倍数。

通常情况下,N取20,K取1.5。

通过ene指标,投资者可以根据股价的走势判断趋势的方向和股价在趋势中的波动范围。

当股价位于ene的上轨附近时,说明股价处于上升趋势中,并且可能会继续上涨;当股价位于ene的下轨附近时,说明股价处于下降趋势中,并且可能会继续下跌。

投资者可以根据这些信号来进行买入或卖出的决策。

需要注意的是,ene指标虽然可以辅助投资者判断股价趋势,但并不是绝对准确的预测工具。

在使用ene指标时,投资者还需要结合其他技术指标和基本面分析等多方面的信息来进行综合判断,并且合理控制风险。

总结起来,通达信中的ene趋势向上指标是一种帮助投资者识别股价趋势并制定交易策略的技术分析工具。

通过计算平均真实波幅和设置上下轨值,投资者可以根据股价在ene指标范围内的位置来判断趋势的方向,并适时采取相应的买卖策略。

然而,在使用ene指标时,投资者仍需要综合考虑其他因素,并制定合理的投资计划。

擒牛通达信指标公式源码

擒牛通达信指标公式源码

跳空率:(O-REF(C,1))/REF(C,1)*100,COLORMAGENTA,NODRAW;今板:=DYNAINFO(3)*1.1,DOTLINE,COLORYELLOW,NODRAW;低1:=REF(LLV(L,150),3);标底:=REFDATE(低1,DATE)*0.9;Q:=-100*(HHV(H,10)-C)/(HHV(H,10)-LLV(L,10))+100,NODRAW;Q1:=-100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6))+100,NODRAW;Q上:=Q>=REF(Q,1);Q下:=Q<REF(Q,1);Q1上:=Q1>=REF(Q1,1);Q1下:=Q1<REF(Q1,1);TJ01:=Q1>=80 AND Q1上;TJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买盘:=IF(CLOSE>OPEN,TJ*(HIGH-LOW),IF(CLOSE<OPEN,TJ*((HIGH-OPEN)+(CLOSE-LOW )),VOL/2));卖盘:=IF(CLOSE>OPEN,TJ*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,TJ*(HIGH-LO W),VOL/2));买增:=买盘>=REF(买盘,1);卖减:=卖盘<=REF(卖盘,1);正量:=买盘/VOL*100;增量:=正量>=REF(正量,1);正量比:=正量/50;TJ02:=正量>=80 AND 增量AND 正量比>=1.5 AND REF(正量,1)<=90;{ AND 卖减} 分水岭:=EMA(((SLOPE(C,22)*20)+C),55),NODRAW;操作线:=分水岭-(EMA(C,1)-分水岭);操作辅线:=分水岭-(EMA(C,3)-分水岭);开盘比:O/分水岭,NODRAW;AA:=REF(操作线,1)/操作线;背离:IF(AA>1,AA,1),COLORYELLOW,NODRAW;反背离:背离/REF(背离,1),COLORYELLOW,NODRAW;TJ03:=背离>=REF(背离,1) AND 背离>=1.02 AND分水岭>=操作线;{开盘比<=1.09 AND }散筹:=(WINNER(C*1.1)-WINNER(C*0.90));庄筹:=WINNER(C);利筹比:=庄筹/散筹,NODRAW;散出:=散筹<=REF(散筹,1);散出率:=REF(散筹,1)/散筹;TJ04:=(利筹比>=2 AND 散出) OR 散出率>=1.3;成本:COST(50),COLORWHITE;昨收:=REF(C,1),COLORWHITE,NODRAW;突破:=昨收*1.1>=COST(90);牛:=TJ01 AND TJ02 AND TJ03 AND TJ04 AND 突破;剔跳空:=(O-REF(C,1))/REF(C,1)*100<=5;涨幅:=(C-REF(C,1))/REF(C,1)*100;昨涨幅:=REF(涨幅,1);TJ05:=剔跳空AND 涨幅>=3.2 AND 昨涨幅<=6.5;TJ005:=剔跳空AND 涨幅>=6.2 AND 昨涨幅<=6.5;可能涨停:=TJ01 AND TJ02 AND TJ03 AND TJ04 AND TJ05,COLORYELLOW,NODRAW;追涨:=TJ01 AND TJ02 AND TJ03 AND TJ04 AND TJ005,COLORWHITE,NODRAW;{条件}佛光乍现:=TJ01 AND TJ02 AND TJ03 AND TJ04 AND 剔跳空AND 昨涨幅<=6.5; DRAWRECTREL(0,0,999,990,RGB(188,168,168));DRAWRECTREL(0,0,999,100,RGB(90,0,0));DRAWBAND(COST(50),RGB(0,0,0),标底,RGB(0,0,255));DRAWBAND(COST(50),RGB(255,160,255),COST(60),RGB(118,160,255)); DRAWBAND(COST(60),RGB(255,120,255),COST(70),RGB(98,120,255)); DRAWBAND(COST(70),RGB(255,80,255),COST(80),RGB(78,80,255));DRAWBAND(COST(80),RGB(255,40,255),COST(90),RGB(58,0,255));STICKLINE(C>0,COST(50),标底,0,1),COLORBLUE;利筹:=庄筹>=散筹;IF(操作辅线<=REF(操作辅线,1) AND 操作辅线<=分水岭,标底*1.06,标底),COLORWHITE,LINETHICK3;IF(利筹,分水岭*0.96,分水岭),COLORYELLOW,LINETHICK2;标底线:标底,COLORGREEN,LINETHICK3;底线1:=标底*0.83,COLORGREEN,LINETHICK2;底线2:=底线1*0.8,COLORGREEN,LINETHICK2;DRAWBAND(标底,RGB(138,138,138),底线2,RGB(0,0,255));界线:分水岭,COLORGREEN,LINETHICK2;IF(分水岭>=REF(分水岭,1),分水岭,DRAWNULL),COLORRED,LINETHICK3;STICKLINE(ISLASTBAR,DYNAINFO(3),DYNAINFO(3)*1.1,2.8,-1),COLORWHITE; DRAWKLINE(H,O,L,C);STICKLINE(佛光乍现AND C>=REF(C,1),H,L,0,0),COLOR0099FF;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,3.2,0),COLOR0000AA;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,2.7,0),COLOR0000DD;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,2.1,0),COLOR0022FF;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,1.5,0),COLOR0066FF;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,0.9,0),COLOR0099FF;STICKLINE(佛光乍现AND C>=REF(C,1),C,O,0.3,0),COLOR00DDFF;五:COST(50),COLORYELLOW,LINETHICK1;六:COST(60),COLORYELLOW,LINETHICK1;七:COST(70),COLORYELLOW,LINETHICK1;八:COST(80),COLORYELLOW,LINETHICK1;顶:COST(90),COLORCYAN,LINETHICK2;IF(牛AND 佛光乍现,顶,DRAWNULL),POINTDOT,COLORWHITE,LINETHICK9;IF(牛AND 佛光乍现,顶,DRAWNULL),POINTDOT,COLORRED,LINETHICK5; DRAWBAND(底线2+散筹*(标底-底线2),RGB(0,0,0),底线2,RGB(0,0,255)); STICKLINE(C>0,底线2+散筹*(标底-底线2),底线2,0,0),COLORBLUE;散:底线2+散筹*(标底-底线2),COLORGREEN,LINETHICK2;庄:底线2+庄筹*(标底-底线2),COLORRED,LINETHICK2;STICKLINE(背离>=REF(背离,1) AND 背离>=1.018 AND 反背离>=1.018 AND 牛,散,底线2,0.8,0),COLORYELLOW;IF(佛光乍现AND 背离>=1.018,L*0.98,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;IF(佛光乍现AND 背离>=1.018,L*0.98,DRAWNULL),POINTDOT,LINETHICK4,COLORWHITE;IF(佛光乍现AND 背离>=1.023,L*0.95,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;IF(佛光乍现AND 背离>=1.023,L*0.95,DRAWNULL),POINTDOT,LINETHICK4,COLORWHITE;IF(佛光乍现AND 背离>=1.028,L*0.92,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;IF(佛光乍现AND 背离>=1.028,L*0.92,DRAWNULL),POINTDOT,LINETHICK4,COLORWHITE;IF(佛光乍现AND 背离>=1.033,L*0.89,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;IF(佛光乍现AND 背离>=1.033,L*0.89,DRAWNULL),POINTDOT,LINETHICK4,COLORWHITE;IF(佛光乍现AND 背离>=1.038,L*0.86,DRAWNULL),CROSSDOT,LINETHICK6,COLORMAGENTA;IF(佛光乍现AND 背离>=1.038,L*0.86,DRAWNULL),POINTDOT,LINETHICK4,COLORWHITE;{IF(CROSS(庄筹,散筹),分水岭,DRAWNULL),POINTDOT,COLORWHITE,LINETHICK9; IF(CROSS(庄筹,散筹),分水岭,DRAWNULL),POINTDOT,COLORRED,LINETHICK5;}操作:=操作线,COLORWHITE,LINETHICK1;DRAWTEXT(牛AND 佛光乍现,L*0.96,'←牛?'),COLORWHITE;DRAWTEXT(追涨,L*0.90,'←抢?'),COLORWHITE;DRAWRECTREL(0,100,260,610,RGB(18,8,8));DRAWTEXT_FIX(1,0.01,0.01,0,HYBLOCK),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.35,0.01,1,'涨幅:'),COLORYELLOW;DRAWNUMBER_FIX(ISLASTBAR,0.45,0.01,1,涨幅),COLORWHITE;DRAWNUMBER_FIX(ISLASTBAR,0.05,0.12,1,INTPART(REF(Q,1))),COLORWHITE; DRAWTEXT_FIX(ISLASTBAR AND Q上,0.1,0.12,1,'Q↑'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND Q下,0.1,0.12,1,'Q↓'),COLORGREEN; DRAWNUMBER_FIX(ISLASTBAR,0.17,0.12,1,INTPART(Q)),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND Q上AND Q>=80,0.23,0.12,1,'★'),COLORYELLOW; DRAWNUMBER_FIX(ISLASTBAR,0.05,0.2,1,INTPART(REF(Q1,1))),COLORWHITE; DRAWTEXT_FIX(ISLASTBAR AND Q1上,0.1,0.2,1,'Q1↑'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND Q1下,0.1,0.2,1,'Q1↓'),COLORGREEN; DRAWNUMBER_FIX(ISLASTBAR,0.17,0.2,1,INTPART(Q1)),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND Q1上AND Q1>=80,0.23,0.2,1,'★'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.07,0.28,1,'背离'),COLORWHITE;DRAWNUMBER_FIX(ISLASTBAR,0.18,0.28,1,背离),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.07,0.38,1,'反背离'),COLORWHITE;DRAWNUMBER_FIX(ISLASTBAR,0.18,0.38,1,反背离),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR AND 买增AND 卖减,0.23,0.28,1,'★'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND 可能涨停,0.16,0.50,1,'可能涨停'),COLORYELLOW;。

通达信专用逃顶指标公式

通达信专用逃顶指标公式

通达信专用逃顶指标公式通达信是一款广受欢迎的证券分析软件,广泛被投资者用于技术分析。

通达信软件特色丰富,其中就包括了一些专业的指标公式,用于协助投资者进行操作,如“逃顶指标”这一功能。

逃顶指标是一个用于预测股价可能上涨到顶部后下跌的技术分析指标。

该指标可以帮助投资者有效地掌握股价变化趋势,提高预测正确率。

通达信软件中的逃顶指标公式如下:
逃顶指标=(最高价-收盘价)+(最低价-收盘价)*0.8
其中,最高价是指当前股票的最高价格,最低价是指当前股票的最低价格,收盘价则是当前股票的收盘价格。

这个逃顶指标公式中,最高价与收盘价之间的差值与最低价与收盘价之间的差值的加权比例是0.8。

该权重的选取有长期实践得出,重点考虑下降趋势相对于上升趋势的力度。

在实际操作中,投资者可以根据逃顶指标的数值来判断股票价格是否已达到顶部,是否出现大幅下跌的可能性。

如果逃顶指标高于一定阈值,那么说明股票价格已经接近顶部,投资者应该谨慎操作,尤其是不能盲目追高;如果逃顶指标低于阈值,那么说明股票价格下跌的可能性较小,可以适当考虑买入操作。

需要注意的是,逃顶指标也有适用范围的限制。

主要影响因素包括股票种类、交易时间、市场行情等等。

如果在特殊情况下,例如大盘行情不稳定、组合概念受到重视的情况下,逃顶指标的使用可能会失效,因此投资者应该综合考虑各种因素来确定适合的投资策略,而不是完全依赖逃顶指标来进行操作。

总的来说,通达信专用逃顶指标公式是一项非常有用的工具,能够为投资者提供构建更高效的交易策略的辅助。

然而,投资者应该结合当前市场实际情况以及自身的风险承受能力,采取多方面的分析方法,才能更好地把握股市波动及时做出决策。

【通达信】通达信的附图趋势指标

【通达信】通达信的附图趋势指标

【通达信】通达信的附图趋势指标BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25; 底背离:IF(MN<-4 ,17,0),COLORA67D3D,LINETHICK3;顶背离: IF((VAR26>90),17,0), COLOR6B238E,LINETHICK3; IF(MN<-4 ,12,0),COLORBLACK,LINETHICK3;IF((VAR26>90),12,0), COLORBLACK,LINETHICK3; DRAWTEXT(底背离,6,'底背离'),COLORA67D3D; DRAWTEXT(顶背离,6,'顶背离'),COLORGREEN;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1; 趋势线:MA(股价线,6),COLORRED, LINETHICK3;顶部线:90,COLORGREEN, LINETHICK1;临界线:50,COLORWHITE, LINETHICK1;底部线:0,COLORWHITE, LINETHICK1;VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK3;IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;下单: 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;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;乖离1:=MA(BIAS,3);乖离:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,6,0),COLORYELLOW;DRAWTEXT(乖离,18,'低买'),COLORRED;TRJ:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TRJ);辅助线:=((DMM * 100) / TRJ);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);快买:( IF(((动向趋势线> 88) AND (神偷线< 5.8)),68,0)),LINETHICK1,COLORFF00FF;( IF(((动向趋势线> 88) AND (神偷线< 5.8)),48,0)),LINETHICK1,COLORFF00FF;DRAWTEXT(快买,60,'准备'),COLORFF00FF;MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:= EMA(C,30);MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1);H1:=MA X(MAX(MA5,MA13),MA30);L1:=MIN(MIN(MA5,MA13),MA30);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;DRAWTEXT(一阳穿三线,88,'满仓'),COLORYELLOW;VAR2:=0.0001*AMOUNT,;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:LLV(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;DRAWTEXT(百日地量,-10,'地量'),COLORRED;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可} DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00;DRAWTEXT(A1,-10,'W底'),COLORYELLOW;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR1,13)-EMA(VAR1,73);SD:= EMA(SK,2);V1:(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));IF(V1,28,0),COLORYELLOW,LINETHICK2;IF(V1,18,0),COLORYELLOW,LINETHICK2;DRAWTEXT(V1,28,'买点'),COLORRED;AA05:=MA(C,5);五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100;(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击选股:FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;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),30,0),COLORYELLOW,LINETHICK2;IF(FILTER(MR,10),20,0),COLORYELLOW,LINETHICK2;DRAWTEXT(青云直上选股,30,'青云直上'),COLORGREEN;QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13 ))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34 ))*100<=-19AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR(((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3) ;DRAWTEXT(QUAN,88,'弱市百发百中'),COLORFFFF00;IF(QUAN,88,0),COLORFFFF00,LINETHICK2;IF(QUAN,60,0),COLORFFFF00,LINETHICK2;AA:=1;BB:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;CC:=IF(AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100>100,1 00,AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100);DD:=CC/BB;顶部雷达:CROSS(80,RSI)*88,LINETHICK2 ,COLORGREEN;CROSS(80,RSI)*58,LINETHICK2 ,COLORGREEN;DRAWTEXT(CROSS(80,RSI),88,'逃顶 '),COLORGREEN;。

通达信量能趋势副图指标源码

通达信量能趋势副图指标源码

通达信量能趋势副图指标源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*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);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW;趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;VAR3:=(量能-趋势);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF;STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00;DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1);DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2);DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));遵:IF(VAR55>=VAR44,VAR55,DRAWNULL),COLORRED;守:IF(VAR44>=VAR55,VAR44,DRAWNULL),COLORFF9900;纪:IF(VAR55>=VAR44,VAR44,DRAWNULL),COLOR00FFFF;律:IF(VAR44>=VAR55,VAR55,DRAWNULL),COLOR00FF00;KK:=EMA(SMA(RG,3,1),2),LINETHICK0;DD:=SMA(KK,3,1),LINETHICK0;DRAWBAND(KK,RGB(155,50,50),DD,RGB(0,100,50));持:IF(KK>=DD,KK,DRAWNULL),COLORRED;观:IF(DD>=KK,DD,DRAWNULL),COLORFF9900;股:IF(KK>=DD,DD,DRAWNULL),COLOR00FFFF;望:IF(DD>=KK,KK,DRAWNULL),COLOR00FF00;DRAWICON(CROSS(KK,DD),KK,23);DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));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;VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:20,COLORFF00FF,LINETHICK2;高死叉出:90,COLORBLUE,LINETHICK2;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORF FFFFF,LINETHICK2;条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),70,'止'),COLORRED;{DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),60,'跌'),COLORRED;}DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR(REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),65,'买'),COLORRED;DRAWTEXT(条件,20,'买'),COLORRED;STICKLINE(条件,0,20,2,0),COLORRED;DRAWTEXT(条件0,85,'卖'),COLORBLUE;DRAWTEXT(CROSS(C1,75),70,'险区'),COLORGREEN;DRAWTEXT(TJ3,65,'安'),COLORRED;DRAWTEXT(TJ3,60,'买'),COLORRED;DRAWTEXT(TJ4,85,'逃顶'),COLORBLUE;STICKLINE(TJ4,100,80,2,0),COLORGREEN;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,20,0,4,0),COLOR770077;STICKLINE(A1,20,0,3,0),COLOR990099;STICKLINE(A1,20,0,2,0),COLORBB00BB;STICKLINE(A1,20,0,1,0),COLORDD00DD;STICKLINE(A1,20,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,30,'财'),COLORFF00FF;★遵守纪律★:100,COLORRED,NODRAW;★交易之魂★:100,COLORRED,NODRAW;。

通达信指标公式源码 天降筹码 源码无未来 准确把握顶底

通达信指标公式源码 天降筹码 源码无未来 准确把握顶底

穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,COLORDDDDFF; 换手率::VOL/CAPITAL*100,STICK,COLORFF0099;地量换手:1/换手率:*100,STICK,COLORRED,LINETHICK3;A1:=LLV(HIGH,240);MYP:=100*(CLOSE-A1)/A1;A2:=REF(HHV(CLOSE,240),1);B2:=REF(LLV(CLOSE,240),1);RPY:=100*(CLOSE -B2)/(A2-B2);A3:=1.1*CLOSE;B3:=0.9*CLOSE;ASR:=100*(WINNER(A3)-WINNER(B3));A4:=WINNER(CLOSE);A5:=DMA(A4,VOL/CAPITAL);B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;A6:=100*VOL/CAPITAL;B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));A7:=ABS(B6/A6);CYA:A4/B4*50,COLOR00FF00;CYB:EMA(A4/B4*50,34),COLORFF00FF;CYC::A5/B4*50,COLORFFFF99;CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4; STICKLINE(A7>30 AND (VOL/CAPITAL*100)<=3,地量换手,0,3,0),COLORWHITE;STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C>=O,地量换手,0,10,0),COLORFF00FF; STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C< O,地量换手,0,10,0),COLORFFFF33;筹码穿透率:=B6/A6;STICKLINE(筹码穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND换手率:<=3,地量换手,0,10,0),COLORBLUE;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);风险: 80;超风险: 87.5;DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;股价趋势:DD,COLORRED,LINETHICK2;股值:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;关注出击:10;。

通达信主导动能级别指标公式

通达信主导动能级别指标公式

通达信主导动能级别指标公式在股票市场中,动能指标是衡量股票价格变化速度和力度的重要工具。

其中,通达信主导动能级别指标是一种基于动能理论的技术指标,通过计算股票价格的变化率和交易量的变化率来判断股票市场的主导力量。

通达信主导动能级别指标的计算公式如下:主导动能级别= Δ价格/ Δ交易量其中,Δ价格表示股票价格的变化率,Δ交易量表示股票交易量的变化率。

主导动能级别指标的计算过程如下:1. 首先,计算股票价格的变化率。

股票价格的变化率可以通过以下公式计算:Δ价格 = 当前价格 - 前一日价格其中,当前价格表示当天的股票价格,前一日价格表示前一交易日的股票价格。

2. 然后,计算股票交易量的变化率。

股票交易量的变化率可以通过以下公式计算:Δ交易量 = 当前交易量 - 前一日交易量其中,当前交易量表示当天的股票交易量,前一日交易量表示前一交易日的股票交易量。

3. 最后,根据以上计算结果,得出主导动能级别指标的数值。

主导动能级别越高,表示股票市场的主导力量越强,价格的变动更具有持续性和可靠性;主导动能级别越低,表示股票市场的主导力量越弱,价格的变动更容易受到干扰和反转。

通达信主导动能级别指标的应用可以帮助投资者判断股票市场的趋势和力量。

当主导动能级别指标处于高位时,投资者可以选择适当的买入时机,以追随市场的主导力量;当主导动能级别指标处于低位时,投资者可以选择适当的卖出时机,以避免市场的主导力量的逆转。

通达信主导动能级别指标还可以与其他技术指标结合使用,以提高判断的准确性和可靠性。

例如,可以结合均线指标、相对强弱指标等,进行综合分析和判断。

通达信主导动能级别指标是一种基于动能理论的技术指标,通过计算股票价格的变化率和交易量的变化率来判断股票市场的主导力量。

投资者可以利用该指标来判断市场的趋势和力量,从而进行买卖决策,提高投资的准确性和可靠性。

通达信能量指标公式

通达信能量指标公式

通达信能量指标公式1通达信能量指标公式简介通达信能量指标公式(简称EMV),是通达信自主研发的一种根据超买超卖、利润驱动波动的指标。

与常见的RSI、KDJ等指标相比,EMV更加聚焦于当前行情的趋势和反转分析,更能客观地反映市场的巨大能量变化,然后及时预判未来的趋势,所以会非常受到技术投资者的喜爱。

2通达信能量指标公式的计算通达信能量指标公式是一种技术指标,EMV计算公式如下:M=((H+L)/2-C1)/(H-L)*V;其中:H——上影线的高度;L——下影线的高度;C1——前一期的收盘价;V——当前期的成交量;M能量值=((H+L)/2-C1)/(H-L)*V;3通达信能量指标公式的构成EMV指标由3部分组成:圆形、实心棱形和柱状线,当特定累积后,这3部分会形成一个完整的型态,一般该型态都可用于预测未来走势,所以投资者在分析市场时可以非常关注通达信能量指标公式的变化。

圆形:能量值越高,圆形所占比例越大;实心棱形:能量值越低,实心棱形的比例越大;柱状线:用于把当日的圆形和实心棱形的比例进行归纳整理,以便投资者根据变动做出正确的操作。

4通达信能量指标公式的应用EMV指标主要用于确定趋势强度和趋势变动,当趋势强度大于0时,表明股价有上涨的趋势,趋势强度值越大表明股价上涨趋势越猛,投资者可根据指标值,确定是否买入或者卖出股票,以及相应的交易方向、交易量等,给参与技术交易的投资者带来了理论和实践指导。

5通达信能量指标公式的特点EMV指标能量有效而快速的反映市场走势,能尽快地预测未来的趋势,另外EMV指标有良好的实践指导功能,能够有效支持市场投资者把握投资时机,及时实施买卖操作,所以当技术投资者在进行分析交易时可以运用通达信能量指标公式作为参考。

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

【通达信】功能量(股价趋势、底部警戒、{奔牛、逃顶提示)-指标公式源码
股价趋势:=
3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部警戒:=10,COLORRED,LINETHICK2;
底1:=CROSS(股价趋势,底部警戒);
A1:=(2*CLOSE+HIGH+LOW)/4;
A2:=LLV(LOW,27);
A3:=HHV(HIGH,27);
A4:=EMA((A1-A2)/(A3-A2)*100,13);
A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);
底2:=CROSS(A4,A5) AND A4<16;
波底:=底1 AND 底2;
{奔牛}
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
牛:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
{逃顶提示}
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
{突破与破位}
N:=19;
VARB1:=HHV(HIGH,N);
VARB2:=LLV(LOW,N);
阻力线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5;
操作线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5;
突破:=CROSS(操作线,阻力线) AND 阻力线<0.1;
破位:=CROSS(阻力线,操作线) AND 阻力线>0.25;
{立桩成立判断}
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1 );
T12:=V2>=1;
T0:=BARSLAST(T12);
L1:=REF(L,T0);
H1:=REF(H,T0);
L11:=MIN(REF(L,1),L);
L10:=MIN(L11,REF(L,2));
L21:=MAX(REF(L,1),L);
L20:=MAX(L21,REF(L,2));
T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND
((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1) OR (L>H1));
T11:=T111 AND REF(T111,1)=0;
{涨跌停}
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
{顶背离与底背离}
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);
顶背离:=CROSS(88,RSI);
底背离:=CROSS(FF,MA15);
{45度攻击}
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
{获利盘提示}
获利盘:=WINNER(C)*100;
{彩色成交量柱线}
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5),COLORWHITE;
MAVOL2:MA(VOLUME,35),COLORYELLOW;MAVOL3:MA(VOLUME,135),COLORGREEN;
{V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1 ),NODRAW,COLORRED;}
STICKLINE(V2>=1,0,VOL*0.5,2,0),COLORYELLOW;
STICKLINE(动力线>=3.2,0,VOL,1,0),COLOR238E23;
STICKLINE(波底,0,VOL,2,0),COLORMAGENTA;
DRAWTEXT(波底,VOL*0.8,'底'),COLORWHITE;
DRAWICON(波底,VOL*1.1,5);
STICKLINE(牛,0,VOL,2,0),COLORRED;
DRAWTEXT(牛,VOL*1.15,'牛'),COLORWHITE;
STICKLINE(突破,0,VOL,1,0),COLORBLUE;
DRAWTEXT(突破,VOL*0.5,'突破'),COLORWHITE;
DRAWICON(突破,VOL*1.2,1);
STICKLINE(破位,0,VOL,0.5,0),COLORBROWN;
DRAWTEXT(破位,VOL*0.5,'破位'),COLORWHITE;
DRAWICON(破位,VOL*1.05,2);
STICKLINE(T11,O,VOL,2,0),COLORFF00FF;
STICKLINE(涨停,VOL*0.5,VOL,2.5,0),COLORLIRED;
STICKLINE(涨停,VOL*0.5,VOL,0,0),COLORRED;
STICKLINE(跌停,VOL*0.5,VOL,2.5,0),COLOR2F4F2F;
STICKLINE(跌停,VOL*0.5,VOL,0,0),COLORBLACK;
STICKLINE(顶背离,VOL*0.8,VOL,2.5,0),COLORGREEN;
STICKLINE(底背离,0,VOL*0.2,3,0),COLOR7F017F;
DRAWTEXT(T1,VOL*1.1,'∠'),COLOR007575;
DRAWTEXT(获利盘>=75 AND 动力线>=3.2,VOL*1.1,'●'),COLORRED; DRAWTEXT(获利盘<75 AND 动力线>=3.2,VOL*1.1,'●'),COLORGREEN;
【通达信】功能量(股价趋势、底部警戒、{奔牛、逃顶提示)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档