【股票指标公式下载】-【通达信】风险买卖(警戒、启动、散户买卖风险)

合集下载

通达信自用警告选股公式集合

通达信自用警告选股公式集合

通达信自用警告选股公式集合通达信自用预警选股公式集合MA17:=EXPMA(CLOSE,17);VAR1:=MA17>REF(MA17,1);COUNT(CROSS(C,MA17),3)=1AND VAR1>0AND DYNAINFO(7)AND DYNAINFO(7)=MA17AND DYNAINFO(7)>1;注:(1)用于盘中选股预警;(2)COUNT(CROSS(C,MA17),3)=1 中“3” 可改为“5”;(3)如果要在不亏线发出信号,倒数第二句可改为AND DYNAINFO(7)=MA17;(4)下列指标可单独安装,同上述指标参考使用。

命名为:超然不亏线2(修改版)MA17:=EXPMA(CLOSE,17);VAR1:=MA17>REF(MA17,1);COUNT(CROSS(C,MA17),5)=1AND VAR1>0AND DYNAINFO(7)AND DYNAINFO(7)=MA17AND DYNAINFO(7)>1;如果规定必须连涨3天,可改为:超然不亏线3(修改版)MA17:=EXPMA(CLOSE,17);VAR1:=MA17>REF(MA17,1)ANDREF(MA17,1)>REF(MA17,2) AND REF(MA17,2)>REF(MA17,3);COUNT(CROSS(C,MA17),5)=1AND VAR1>0AND DYNAINFO(7)AND DYNAINFO(7)=MA17AND DYNAINFO(7)>1;恭喜发财通达信预警选股注:两个预警公式,在前一天用通达信先把当天换手率大于5%,小于15%的股选出后放到要预警的股里,然后把下边两个公式加到条件选股里边,第二天盘中只要发出报警的股都可,什么时候发出什么时候买入,能同时两个信号都报警的股更好。

(一)REF(C,2)>REF(C,3) AND REF(C,1)REF(C,1) AND C/LLV(C,3)>=1.099;(二)K:=C;LC := REF(K,1);RSI1:=SMA(MAX(K-LC,0),6,1)/SMA(ABS(K-LC),6,1)*100;RSI2:=SMA(MAX(K-LC,0),12,1)/SMA(ABS(K-LC),12,1)*100;BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;OK:=BIAS3<-13 AND RSI1<20;CROSS(RSI1,20) AND COUNT(OK=1,3)>=1;暴涨启动条件选股通达信GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;暴涨启动:COUNT(XG,3)=1 AND XG and c>ma(c,20);超然:戀ぺ盘中选股[CR] 预警通达信(自用)MA17:=EMA(CLOSE,17),LINETHICK2,COLORGREEN;{5天内一次上穿}COUNT(CROSS(REF(C,1),MA17),5)=1AND REF(C,1)>REF(O,1)AND DYNAINFO(7)AND DYNAINFO(7)>MA17AND FINANCE(29)>1;甲板突破(周) 条件选股通达信适合上班族在周线级别选股MA5:=MA(C,5);MA120:=MA(C,120);MA60:=MA(C,60);MA10:=MA(C,10);JB:=MA60ZJ:=RANGE(MA5,MA60,MA120) AND RANGE(MA10,MA60,MA120);GJ:=C-MA120>0.01;JB AND ZJ AND GJ;金叉选股通达信DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);DEA:=EMA(DIFF,5);MACD := 2*(DIFF-DEA);X1:=EMA(DIFF,5)*5;X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;X3:=IF(X2>0,X2,0);X4:=IF(X2<0,X2,0);资金动能A:=X2,RGB(255,128,0);资金动能B:=X1,RGB(0,0,255);XG:CROSS(资金动能A,资金动能B)AND(X4<0);海风1号;选股---通达信STICKLINE(DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,3)<1.25AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10),O,C,8,0)COLORYELLOW;海风2号;选股---通达信DRAWICON(CROSS(EMA(C,2),EMA(SLOPE(C,21)*20+C,42)),L -0.1,1);海风3号;三天回踩选股---通达信MA1:=MA(CLOSE,13);MA2:=MA(CLOSE,77);MA3:=MA(CLOSE,99);AA:=REF(CROSS(C,MA1),3);BB:=REF(CCC:=C>MA1;XG:AA AND BB AND CC;潜水艇选股公式---通达信A1:=MA(C,5);A2:=MA(C,10);A3:=MA(C,30);A4:=MA(C,60);A5:=MA(C,120);A6:=A5>A4 AND A5>A3;A7:=A5>A2 AND A5>A1;A:=C>O AND C/O<1.04;B:=C>A5;AA:=A AND B;BB:=A6 AND A7;AA AND BB;条件选股公式—短线是银之放量过头highprice := hhv(high,60); {60日内最高价}A1:= Close>highprice;{股价在冲击前高位}A2:= (vol>ma(vol,5)*2.5) or (COUNT(Vol>ma(vol,10),6)>4);{近期明显放量}A1 AND A2条件选股公式—短线是银之黑马草上飞LCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0) 条件选股公式—短线是银之量顶天立地A1:=V=HHV(V,120);A2:=C/OPEN>1.049;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);条件选股公式——短线是银之青龙取水A1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));A2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;A3:=COUNT(V6;A1 AND A2 AND A3条件选股公式—短线是银之天上井地下井M1:=MA(C,5);M2:=MA(C,10);M3:=MA(C,20);M4:=MA(C,30);TSJ:=COUNT(CROSS(M3,M1),21)=1 AND COUNT(CROSS(M4,M1),21)>0 ANDCOUNT(CROSS(M3,M2),21)>0 AND COUNT(CROSS(M4,M2),21)>0;MM1:=MA(V,5);MM2:=MA(V,10);MM3:=MA(V,20);MM4:=MA(V,30);DXJ:=COUNT(CROSS(MM3,MM1),21)=1 AND COUNT(CROSS(MM4,MM1),21)>0 ANDCOUNT(CROSS(MM3,MM2),21)>0 AND COUNT(CROSS(MM4,MM2),21)>0;ZTJ:=COUNT(TSJ,13)>0 AND COUNT(DXJ,13)>0;ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0) 股海搏击:九阴白骨爪条件选股预警通达信MV3:=EMA(V,3);MA3:=EMA(C,3);MV3角度:=ATAN((MV3/REF(MV3,1)-1)*100)*180/3.1416;MA3角度:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;MV5:=EMA(V,5);MA5:=EMA(C,5);MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416;MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;MV10:=EMA(V,10);MV10角度:=ATAN((MV10/REF(MV10,1)-1)*100)*180/3.1416;MA10角度:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;强弱度:=(MV3角度+MA3角度+MV5角度+MA5角度+MV10角度+MA10角度)/6;选股:强弱度>=80 AND COUNT(强弱度>=80,5)=1;委员长:抓涨停板预警选股通达信C>REF(H,1);集合竞价选抓涨停少量参与如:000651 600618 ;选抓前方没有涨停过的股票。

精准买入卖出通达信指标公式源码

精准买入卖出通达信指标公式源码

精准买入卖出通达信指标公式源码首先,通达信是一种常用的股票分析软件,它提供了丰富的指标公式供用户选择使用。

下面是一些常用的指标公式源码。

1.均线指标均线指标是股票市场中最常用的技术分析指标之一,通达信提供了多种不同周期的均线指标公式。

通达信指标代码如下所示:```vbMA(CLOSE,N)```其中,CLOSE代表收盘价,N代表移动平均线的周期。

2.RSI相对强弱指标RSI指标用于判断股票或其他金融资产的超买超卖情况。

通达信指标代码如下所示:```vbRSI(CLOSE,N)```其中,CLOSE代表收盘价,N代表计算RSI指标的周期。

3.MACD指标MACD指标是由两条指数平滑移动平均线和一条触发线组成的。

通达信指标代码如下所示:```vbDIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)DEA:EMA(DIF,MID)MACD:(DIF-DEA)*2```其中,CLOSE代表收盘价,SHORT、LONG和MID分别代表计算MACD指标的短期、长期和信号线周期。

4.BOLL指标BOLL指标是一种利用统计学原理计算中轨、上轨和下轨的指标。

通达信指标代码如下所示:```vbMID:MA(CLOSE,N)UPPER:MID+2*STD(CLOSE,N)LOWER:MID-2*STD(CLOSE,N)```其中,CLOSE代表收盘价,N代表计算BOLL指标的周期。

5.KDJ指标KDJ指标是一种根据股票的最高价、最低价和收盘价计算的技术指标。

通达信指标代码如下所示:```vbRSV:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100K:SMA(RSV,M1,1)D:SMA(K,M2,1)J:3*K-2*D```其中,CLOSE代表收盘价,LOW代表最低价,HIGH代表最高价,N代表计算RSV的周期,M1和M2分别代表计算K和D的周期。

以上是一些常用的通达信指标公式源码,可以根据需要进行使用和调整。

【股票指标公式下载】-【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)

【股票指标公式下载】-【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)

【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)-指标公式源码VA1:=IF(YEAR>=2011 AND MONTH>=01,0,1);明日提示买卖价:EMA(C,4)*VA1, LINETHICK3;今日收盘价:=C*VA1;DD:=REF(明日提示买卖价,1)-今日收盘价;上升:IF(明日提示买卖价>REF(明日提示买卖价,1),明日提示买卖价,DRAWNULL),COLORRED, LINETHICK6;下降:IF(明日提示买卖价<REF(明日提示买卖价,1),明日提示买卖价,DRAWNULL),COLORGREEN, LINETHICK3;DRAWTEXT(DD<0,(H+L)/2,'∧');DRAWTEXT(DD>0,(H+L)/2,'∨');DRAWTEXT(H=HHV(H,5)*VA1,H,'看涨' );DRAWTEXT(ISLASTBAR AND DD*VA1>0,(H+L)/2,' 1、个股已经走弱出货'),COLOR00AAFF;DRAWTEXT(ISLASTBAR AND DD*VA1<0,(H+L)/2,' 2、个股已经走强持仓'),COLORRED;DRAWTEXT(ISLASTBAR AND H*VA1>REF(H,1),H*0.995,' 3、个股已经创新高'),COLORGREEN;DRAWTEXT(ISLASTBAR AND L<REF(L,1)*VA1,L,' 4、个股已经创新低'),COLORRED;【通达信】操盘主图(今日提示买卖价、今日收盘价、出货)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】庄家买卖线(散户、庄家、买线、卖线)

【股票指标公式下载】-【通达信】庄家买卖线(散户、庄家、买线、卖线)

【通达信】庄家买卖线(散户、庄家、买线、卖线)-指标公式源码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;A1:EMA(A0,14)COLORBLUE,LINETHICK2;A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,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,A1,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1,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;【通达信】庄家买卖线(散户、庄家、买线、卖线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力散兵坑(价量、主线、快线)

【股票指标公式下载】-【通达信】主力散兵坑(价量、主线、快线)

【通达信】主力散兵坑(价量、主线、快线)-指标公式源码{价量线主线快线}价量: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),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF;{蓝}STICKLINE(TGLXS<0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700;STICKLINE(TGLXS<0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22;STICKLINE(TGLXS<0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE; ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODRAW;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZLKP>REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZLKP>REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF; {深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) ANDZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00AAFF; STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00CCFF; STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00FFFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA; STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC; STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF; {红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00; STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00; STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;【通达信】主力散兵坑(价量、主线、快线)-指标公式效果图【该股票指标用法说明:】这是一个很优秀的指标,100线上下的柱线显示资金进出情况,20线上灰白柱线提示小股民筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。

通达信买卖风险提示主图指标公式

通达信买卖风险提示主图指标公式

通达信买卖风险提示主图指标公式MA05:MA(C,5)LINETHICK2,COLOR00CCFF;MA10:=MA(C,10),LINETHICK0;MA20:=MA(C,20),LINETHICK0;MA30:=MA(C,30),LINETHICK0;五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK2,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK2,COLORGREEN;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,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 MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);AA:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(AA,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.01,'←风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.99,'←买入'),COLORYELLOW;DRAWTEXT(清仓,HIGH*1.01,'←清仓'),COLORGREEN;RSVC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KC:=SMA(RSVC,2,1);DC:=SMA(KC,2,1);JC:=3*KC-2*DC;GX:=CROSS(JC,0);T1Z:=GX=1;M:=10;CCZ:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CCZ);上轨通道1:=(1+M/100)*DD, COLORBLUE;下轨通道2:=(1-M/100)*DD,COLORGREEN;XGV:=(C>下轨通道2) AND (REF(C,1)<REF(下轨通道2,1));T2Z:=XGV=1;RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金 /量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯 < (0)));买AA:=黄金 AND RSVV<VARB2-2;短牛:=买AA>0;T3Z:=短牛=1;黄金V:=T1Z AND T2Z AND T3Z;{选股要把等号去掉}DRAWTEXT(黄金V,L*0.99,'↖黄金'),COLORRED;{把这句去掉可以选股};。

【股票指标公式下载】-【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)

【股票指标公式下载】-【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)

【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)-指标公式源码强势线:2,LINETHICK1,COLORF强势线F00FF;准强线:1,LINETHICK1,COLOR00FF00;UP:=( C > O OR C > REF(C,1)) AND V > REF(V,1);AA:=COUNT(UP,3)=3;BB:=LLV(L,5)=LLV(L,120);CC:=C > MA(C,3);LLT:=AA AND BB AND CC;{头部}V1:=LLV(LOW,10);V2:=HHV(H,25);警戒线:2.9,LINETHICK1,COLOR00FFFF;高抛线:3.5,LINETHICK1,COLOR0000FF;指导线:EMA((C-V1)/(V2-V1)*4,4);M5:=MA(指导线,5);低吸线:0.415,LINETHICK1,COLORWHITE;VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 ANDCLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 ANDVOL/CAPITAL*100<5,50,0);VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100; VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100; VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100; VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;VARA:=EMA(VAR9,3);VARB:=ABS(VAR6-VAR8);VARC:=(VAR9+VARB)/2;VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VARE:=VARD+VARC;VARF:=IF(VAR2>0 AND VARE<0,200,0);VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);VAR11:=IF(VARE<0 AND VAR10=-50,100,0);VAR12:=MA(CLOSE,3);VAR13:=REF(CLOSE,2)*0.865;VAR14:=REF(CLOSE,13)*0.772;VAR15:=MIN(VAR13,VAR14);VAR16:=100*VOL/CAPITAL;VAR17:=MA(CLOSE,13);VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);VAR19:=IF(VAR18>0 AND (VAR10<0 OR VAR2>0),100,0);VAR1A:=VAR19;VAR1B:=IF(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VARF>0 AND VAR11>0 ANDSUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0) AND VAR19<10,50,0);VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;大底区域:(VAR1C OR VAR1D)*3,LINETHICK2,COLORRED;DRAWICON(CROSS(指导线,准强线),准强线,4);DRAWTEXT(CROSS(警戒线,指导线),警戒线,'$卖'),COLORGREEN;DRAWICON(CROSS(强势线,指导线),强势线,5);DRAWICON(CROSS(高抛线,指导线),高抛线,2);DRAWICON(CROSS(指导线,低吸线),低吸线,1);买入警戒:IF(指导线<=低吸线,准强线,0),STICK,LINETHICK3,COLORFF00FF;买入信号:IF(CROSS(指导线,低吸线),强势线,0),STICK,LINETHICK3,COLORRED; 卖出警戒:IF(CROSS(指导线,警戒线),警戒线,0),STICK,LINETHICK3,COLOR00FF00;【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力游资拉升(大户、散户、警戒线)

【股票指标公式下载】-【通达信】主力游资拉升(大户、散户、警戒线)

【通达信】主力游资拉升(大户、散户、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】主力游资拉升(大户、散户、警戒线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力游资拉升(大户、散户、警戒线)

【股票指标公式下载】-【通达信】主力游资拉升(大户、散户、警戒线)

【通达信】主力游资拉升(大户、散户、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】主力游资拉升(大户、散户、警戒线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】分类资金(主力、游资、大户、散户)

【股票指标公式下载】-【通达信】分类资金(主力、游资、大户、散户)

【通达信】分类资金(主力、游资、大户、散户)-指标公式源码A:=IF((CLOSE>126.32),(AMOUNT)/(100000),VOL);主力:MA(A,4),LINETHICK0,COLORYELLOW;游资:MA(A,8),LINETHICK0,COLOR00FF00;大户:MA(A,16),LINETHICK0,COLORRED;散户:MA(A,32),LINETHICK0,COLORF0F000;主比:ABS(((主力)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORYELLOW;游比:ABS(((游资)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLOR00FF00;大比:ABS(((大户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORRED;散比:ABS(((散户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORF0F000;警戒线:MA(A,180),COLORFF66FF,LINETHICK1;STICKLINE((主力 > 0),0,主力,3,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,2.8,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,2.5,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR00D1FF;STICKLINE((主力 > 0),0,主力,1,0),COLOR00EAFF;STICKLINE((主力 > 0),0,主力,0.7,0),COLORYELLOW;STICKLINE((游资 > 0),0,游资,3,0),COLOR00C100;STICKLINE((游资 > 0),0,游资,2.8,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,2.5,0),COLOR00D300;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,1,0),COLOR00EA00;STICKLINE((游资 > 0),0,游资,0.7,0),COLORGREEN;STICKLINE((大户 > 0),0,大户,3,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.8,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,2.5,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.7,0),COLORRED;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.8,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.5,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFAA00; STICKLINE((散户 > 0),0,散户,1,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,0.7,0),COLORLIBLUE;【通达信】分类资金(主力、游资、大户、散户)-指标公式效果图(文档来源:若水财经社区)。

通达信机构操盘买卖提示指标公式

通达信机构操盘买卖提示指标公式

通达信机构操盘买卖提示指标公式JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORFF0000,NODRAW;短买:VAR19,COLOR33AACC,NODRAW;品红离场:VAR1A,COLORFF99FF,NODRAW;急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+1 6*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7) +12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL, 11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YT SL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YT SL,20))/211,COLOR0000FF;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>辰星线,辰星线,MA3);上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(短买,O,O+CO/3,2,0),COLOR338888; STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(短买,O,O+CO/3,0,0),COLOR33EEEE; DRAWTEXT(短买,REF(CLOSE,1),'←买'),COLOR33FFCC; STICKLINE(VAR1A>0,O,O+CO/3,2.8,0),COLOR550055; STICKLINE(VAR1A>0,O,O+CO/3,2,0),COLOR880088; STICKLINE(VAR1A>0,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(VAR1A>0,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(VAR1A>0,O,O+CO/3,0.5,0),COLOREE00EE; DRAWTEXT(VAR1A>0,REF(C,1)+0.1,'←走'),COLORFF99FF;。

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【通达信】买卖副图1(主力、游资、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】买卖副图1(主力、游资、警戒线)-指标公式效果图(文档来源:若水财经社区)。

通达信买入止赢卖出止损主图指标公式

通达信买入止赢卖出止损主图指标公式

通达信买入止赢卖出止损主图指标公式通达信买入止赢卖出止损主图指标公式A0:=(L+H+C*2)/4;A1:=EMA(A0,14)COLORYELLOW,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(EMA(A0,20)-REF(EMA(A0,20),1))/REF(EMA(A0,20),1)*100;G1:=BARSLAST(CROSS(A1X,0));买入止损:REF(A0,G1),COLORWHITE,LINETHICK1;脉冲:(A0-A1)/A1*100,NODRAW;斜脉冲:(A0-REF(A0,1))/(A1-REF(A1,1)),NODRAW;买入盈利:(A0-买入止损)/买入止损*100,NODRAW;Y1:=REF(A0,G1)*1.1,COLORGREEN;Y2:=REF(A0,G1)*1.2,COLORGREEN;Y3:=REF(A0,G1)*1.3,COLORGREEN;Y4:=REF(A0,G1)*1.4,COLORGREEN;Y5:=REF(A0,G1)*1.5,COLORGREEN;Y6:=REF(A0,G1)*1.6,COLORGREEN;Y7:=REF(A0,G1)*1.7,COLORGREEN;B1:IF(A1X>=0,买入止损,DRAWNULL),COLORRED,LINETHICK1;B2:IF(A1X>=0,A1,DRAWNULL),COLORFF33FF,LINETHICK2;①:IF(H>=Y1,Y1,DRAWNULL),COLORGREEN,LINETHICK3;②:IF(H>=Y2,Y2,DRAWNULL),COLORGREEN;③:IF(H>=Y3,Y3,DRAWNULL),COLORGREEN,CIRCLEDOT;④:IF(H>=Y4,Y4,DRAWNULL),COLORGREEN;⑤:IF(H>=Y5,Y5,DRAWNULL),COLORGREEN;⑥:IF(H>=Y6,Y6,DRAWNULL),COLORGREEN;⑦:IF(H>=Y7,Y7,DRAWNULL),COLORGREEN;JX1:=MA(C,5);JX2:=MA(C,10);JX3:=MA(C,20);JTTJ1:=BARSLAST(CROSS(JX1,JX2));JTTJ2:=BARSLAST(CROSS(JX1,JX3));JTTJ3:=BARSLAST(CROSS(JX2,JX3));JTTJ4:=JTTJ1>=JTTJ2;JTTJ5:=JTTJ2>=JTTJ3;JTTJ6:=JTTJ3=0;月价托:=JTTJ4 AND JTTJ5 AND JTTJ6;JX4:=MA(C,40);JX5:=MA(C,60);JTTJ7:=BARSLAST(CROSS(JX3,JX4));JTTJ8:=BARSLAST(CROSS(JX3,JX5));JTTJ9:=BARSLAST(CROSS(JX4,JX5));JTTJ10:=JTTJ7>=JTTJ8;JTTJ11:=JTTJ8>=JTTJ9;JTTJ12:=JTTJ9=0;季价托:=JTTJ10 AND JTTJ11 AND JTTJ12;JTTJ13:=BARSLAST(CROSS(JX1,JX2));JTTJ14:=BARSLAST(CROSS(JX1,JX5));JTTJ15:=BARSLAST(CROSS(JX2,JX5));JTTJ16:=JTTJ13>=JTTJ14;JTTJ17:=JTTJ14>=JTTJ15;JTTJ18:=JTTJ15=0;短长托:=JTTJ16 AND JTTJ17 AND JTTJ18;BOLL:=MA(C,20);UPPER:=BOLL+2*STD(C,20);LOWER:=BOLL-2*STD(C,20);大黑马:=CROSS(C,UPPER) AND C/REF(C,1)>1.05,COLORRED; DRAWTEXT(大黑马 AND C>MA(C,60) AND C>MA(C,90) ANDC>MA(C,120) AND C>MA(C,250),H*1.03,敢死队),COLORYELLOW;DRAWTEXT(月价托,L*0.98,月价托),COLORWHITE;DRAWTEXT(季价托,H+0.05,季价托),COLORWHITE;DRAWTEXT(短长托,L-0.1,短长托),COLORWHITE;回归斜率线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,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));MAHL3:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5)); 回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154));上线:=SMA(C,6.5,1);一号支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线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(CLO SE,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) AND CLOSE<上线1 , HIGH*1.04,减仓) ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),COLORBLUE,LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,买进 ),COLORYELLOW;VAR1:LLV(A7,21);VAR2:HHV(A7,30);DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线 AND 上线1<一号支撑线1 AND 上线1<上线AND CLOSE>VAR1,LOW *0.98,见底 ),COLORYELLOW;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*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975;M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980;M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.94,买进) ,COLORYELLOW;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,抄底),COLORBROWN;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;VAR4:=EMA(EMA(EMA(VAR3,4),4),4); E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN;DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>VAR1 AND 上线1>一号支撑线 AND J<90,LOW *0.9,主升 ),COLORRED;DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,买进 ),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线 AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.9,主升 ),COLORRED;DRAWTEXT(CLOSE>OPEN AND 操作>上线 AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.86,回踩买进 ),COLORRED;DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>VAR1 AND J<90,LOW *0.86,回踩买进 ),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;STICKLINE(CLOSE<REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00;STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000;STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,3.2,0),COLORBB00FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.7,0),COLORFF33FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF;STICKLINE(CROSS(J,D1) ANDJ<70,CLOSE,OPEN,0.9,0),COLORFFBBFF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;。

【股票指标公式下载】-【通达信】波段指标(风险系数、波浪系数、升跌)

【股票指标公式下载】-【通达信】波段指标(风险系数、波浪系数、升跌)
BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
CC:=EMA(AA,2);
DD:=EMA(BB,5);
VAR14:=MAX(EMA(AA,2)-EMA(BB,5),0)*1.2;
VAR15:=EMA(VAR14,5);
SS:=EMA(VAR15,2);
J:=MA(MACD,3);
J1:=MA(MACD,5);
STICKLINE(CROSS(MA(A,1),G),0.05,0,1,0),COLORWHITE,LINETHICK2;
VAR13:=IF(YEAR>=2018 AND MONTH>=11 AND DAY>=1,0,1);
AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
STICKLINE(VAR15<REF(VAR15,1) AND VAR13,0,VAR15,2,0),COLORGREEN;
STICKLINE(VAR15<REF(VAR15,1) AND VAR13,VAR15,SS,3.5,0),COLORFFCC33;
升跌:=EMA((C/MA((2*C+H+L)/4,8)-1)*100,3);0;
风险系数:=(VAR15-SS)/10*VAR13;
波浪系数:VAR15*VAR13,STICK,COLORFF00FF;
A10:=波浪系数,LINETHICK1 ;
B:MA(A10,3),COLORYELLOW,LINETHICK2;
B2:=MA(B,2)*2-B;
STICKLINE(B>B2,1.5*B,B2,3,0),COLOR0000FF;

通达信警示线买卖指标公式

通达信警示线买卖指标公式

通达信警示线买卖指标公式买卖纪律:1、一定等出现黄柱,才可根据信号的强弱进行买入;2、一般建仓的原则:1根黄柱,即底仓10%,再跌3%加仓20%,再跌3%加至全仓;3、全仓进去后,如遇年和11年的那任何技术指标都失灵的情况,再下跌超过5%止损出局。

4、本人所买的都是波段底部,不出现止损情况下(总仓位损失5%),总能有10%~30%的收益;5、底部不是一两天就能形成的,很多时候总要在底部磨一两周,如果追求时间效益的人就不适合抄底。

STICKLINE(C>0,90,95,10,0),COLOR408000;STICKLINE(C>0,10,5,10,0),COLOR408000;HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));STICKLINE(C>0,90,10,10,0),COLOR000000;风险值:HDY,COLORCYAN,LINETHICK1;警示线:45,COLORBLACK,LINETHICK1,POINTDOT;DIF:EMA(CLOSE,9)-EMA(CLOSE,21), COLORBLACK;DEA:EMA(DIF,5) COLORBLACK;MACD:(DIF-DEA)*2,COLORRED;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3), COLORBLACK;V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;V1:=EMA(CLOSE,5)-EMA(CLOSE,340);V2:=EMA(V1,144);V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORBLACK;卖出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORBLACK;买入:IF(CROSS(V3,5) AND V1<V2,20,0)+10,COLOR0090FF;DRAWTEXT(CROSS(V3,5) AND V1<V2,25,'买入'),COLORFF00FF;DRAWTEXT(CROSS(98.5,V3) AND V1>V2,75,'卖出'),COLOR00FF00;。

通达信自用警告选股公式集合

通达信自用警告选股公式集合

通达信自用警告选股公式集合★五线选股AVR1:=EMA(CLOSE,10);AVR2:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36;AVR3:=MA(CLOSE,9);AVR4:=MA(CLOSE,20);五线选股:IF(CROSS(AVR1,AVR4) AND CROSS(AVR3,AVR4) AND CROSS(AVR4,AVR2),1,0);★狂牛启动1VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAS T(CROSS(SOLE,BUY)));选股1:BUY>SOLE AND REF(BUY,1)<REF(SOLE,1);★狂牛启动2VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAS T(CROSS(SOLE,BUY)));选股2:CROSS(BUY,SOLE) AND REF(SOLE,1)/REF(BUY,1)<=1.5 AND SOLE<64 AND SCCOUNT=1;★狂牛启动3VAR2:=1;VAR3:=REF(HIGH,1)*1.1;VAR4:=HIGH*1.1;VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;VAR6:=REF(LOW,1)*0.9;VAR7:=LOW*0.9;VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;VAR9:=EMA(VAR8,30);VARA:=EMA(VAR5,30);VARB:=VARA-2;VARC:=IF(C<=VAR9,VARB,VARA);VARD:=MA(C,80)-MA(C,10)/17;准备:=STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA (C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA (EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),5 0,0,5,0);选股3: FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1 )*100,MA((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1 )*100,3)),4);★短线通道VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR16:=EMA(VAR15,13);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR1E:=AMOUNT/VOL/100;VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));VAR27:=EMA(VAR25,5);VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21));VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90));VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/ 4;VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2C:=(VAR2A+VAR2B)/2/1.1;短线:=VAR2C;MID:=MA(短线,26);UPPER:=MID+2*STD(短线,26);LOWER:=MID-2*STD(短线,26);{LCJ2:=IF(短线>MID,MID,短线); }{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); }{DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);MID, , COLORYELLOW;}{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;★出手就赢1RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<30;★出手就赢2RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<80;★套利狐狸VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR2:=REF(HIGH,10)/CLOSE>1.35;V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;★乘胜追击1VAR1:=WINNER(CLOSE)-WINNER(OPEN);VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),5,1)/SMA(ABS(CLOSE-VAR2),5,1)*100;VAR4:=CLOSE/MA(CLOSE,3)>=1.05;VAR5:=MA(VOL,8)/MA(VOL,45)>=2.5;VAR6:=WINNER(CLOSE)-WINNER(OPEN);VAR7:=REF(CLOSE,1);VAR8:=SMA(MAX(CLOSE-VAR7,0),5,1)/SMA(ABS(CLOSE-VAR7),5,1)*100;VAR9:=VAR6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(VAR8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07;VARA:=VAR1>=0.4 AND VAR5 AND COUNT(VAR3<20,20)>=1 AND VAR4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1);(VARA OR VAR9);★逆势操作1VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1) >0.96 ;(VAR5 OR VARA) ;★牛市专利1VAR1:=REF(CLOSE,3)*0.844;VAR2:=REF(CLOSE,13)*0.767;VAR3:=INDEXC;VAR4:=INDEXV;VAR5:=MIN(VAR1,VAR2);VAR6:=100*VOL/CAPITAL;VAR7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;VAR8:=(CLOSE-VAR5)/CLOSE<0.07 AND SUM(VAR6,3)/3<2.345 AND VAR3>MA(VAR3,450) AND MA(VAR4,61)/MA(VAR4,80)>0.923 AND CLOSE>MA(CLOSE,190);VAR9:=VAR3>MA(VAR3,450) AND VAR7<-16.5 AND MA(VAR4,61)/MA(VAR4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) 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)) AND VOL/CAPITAL<0.075;(VAR8 OR VAR9);★同时金叉DIF:=EMA(CLOSE,9)-EMA(CLOSE,17);DEA:=EMA(DIF,8);MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;选股:CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(RSI1,RSI3);★带量突破VAR1:=EMA(COST(80),10);COUNT(CROSS(CLOSE,VAR1),2)>=1 AND VOL/CAPITAL>=0.1;★攻击箱顶VAR1:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);BETWEEN(CLOSE,VAR1*1.001,VAR1) AND REF(VAR1,3)=VAR1 AND VOL>REF(VOL,2);果断介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VAR6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);VAR9:=3*VAR7-2*VAR8;CROSS(VAR9,VAR8) AND COUNT(VAR5<-12 AND VAR5>-14,3)>=1;★暴裂旋风VAR1:=ABS(HIGH-LOW);SUM(VAR1,7)/CLOSE>0.5 AND SUM(VAR1,7)/CLOSE<0.8 AND CLOSE>7 AND CLOSE<11;★稳赢剑VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:VAR5;★领头羊白色:=SMA(HIGH,21,2)*1.05,;黄色:=SMA(LOW,21,2)*0.95;粉色:=SMA(LOW,5,1);绿色:=SMA(CLOSE,2,1),;波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);领头羊>黄色 OR 波段买入>粉色;★天星踏浪VARC:=(2*CLOSE+HIGH+LOW)/4;VARD:=LLV(LOW,34);VARE:=HHV(HIGH,34);VARF:=LLV(LOW,13);VAR10:=HHV(HIGH,13);VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);金浪:= VAR11;AA:=EMA(VAR11,7);海浪:= VAR12;IF(CROSS(金浪,AA) AND AA<=25 ,1,0);★黑马绝技EMA13:=EMA(C,13);EMA30:=EMA(C,30);EMA60:=EMA(C,60);EMA90:=EMA(C,90);EMA120:=EMA(C,120);EMA250:=EMA(C,250);F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 AND EMA30-EMA120<330/1000;F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 AND EMA60-EMA120<330/1000;F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 AND EMA90-EMA120<330/1000;F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 AND EMA60-EMA250<420/1000;G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 AND EMA90-EMA250<420/1000;G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);FF1 OR FF2 OR FF3 OR GG1 OR GG2;★黑马起步A1:=VOL=HHV(VOL,120);A2:=CLOSE/OPEN>1.05;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);★三底背离DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6, 12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;★蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4 OR M5 OR T3 OR T4;★突破指标{一是突破盘整;二是突破前高;三是突破平台}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;★四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;★拉升在即ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF( CLOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM) ,6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(M TM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MT M),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);★顶天立地VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:CROSS(趋势,人气) AND (趋势<30);{短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2; };★主力进出ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF( CLOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM) ,6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(M TM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MT M),26),26));MTGJ:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);MAZL:=MA(ZLGJ,5);主力进出:=MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) ANDM2>REF(M2,1);主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);主力进出 OR 主进主轨;★一招就够V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,29)*1.01,10);CROSS(V1,V2);★黑马易找VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,30);VAR4:=MA(CLOSE,60);VAR5:=EMA(COST(85),7);VAR6:=EMA(COST(15),7);VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VAR8:=INTPART(VAR7*100)/100;VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARA:=INTPART(VAR9*100)/100;VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARC:=INTPART(VARB*100)/100;VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);VARE:=EMA(VARD,9);VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;VAR13:=REF(VARE,1);VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REF(VARD,1);VAR17:=VARD;VAR18:=VAR17-VAR16;VAR19:=OPEN;VAR1A:=CLOSE;黑马易找选股: VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0;★以逸待劳VAR1:=COST(10);VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(VOL,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);VAR3:=REF(REF(CLOSE,7),1);VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(ABS(REF(CLOSE,7)-VAR3),5,1)*100;VAR5:=COUNT(VAR4<20,20)>=1;VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;VAR7:=SMA(VAR6,8,1);VAR8:=SMA(VAR7,10,1);VAR9:=REF(INDEXC,1);VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BARSLAST(CROSS(VAR7,VAR8))<=21;VAR2 AND VAR5 AND VARB;★资金进场A1:=DYNAINFO(6);A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));A3:=VOL/WINNER(LOW);A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A11:=IF(FILTER(A8,3),5,0);资金进场日:A11>0,8;。

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

【通达信】风险买卖(警戒、启动、散户买卖风险)-指标公式源码
警戒:80,COLORCYAN;
启动:20,COLORBROWN;
T1:=5;
T2:=4;
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
BB:=MA(P,3);
CC:=(SUM(IF((P > REF(P,1)),(P)*(VOL),0),4))/(SUM(IF((P <
REF(P,1)),(P)*(VOL),0),4));
DD:=REF(100 - (100)/(1 + CC),1);
A1:=HHV(P,15);
A2:=LLV(P,15);
A3:=A1 - A2;
A4:=(EMA((P - A2)/(A3),2))*(100);
B1:=HHV(P,60);
B2:=LLV(P,60);
B3:=B1 - B2;
B4:=(EMA((P - B2)/(B3),2))*(100);
C1:=HHV(P,240);
C2:=LLV(P,240);
C3:=C1 - C2;
C4:=(EMA((P - C2)/(C3),2))*(100);
长风险:=C4,LINETHICK1,COLORMAGENTA;
中风险:=B4,COLORAA7755;
短风险:=A4,COLORYELLOW;
散户买卖风险:A4,COLORYELLOW;
高:IF(FILTER((中风险 < REF(中风险,1)) AND (中风险 > 90) AND (BB < REF(BB,1)),5),92,100),COLORGREEN;
低:IF(FILTER((中风险 > REF(中风险,1)) AND (中风险 < 5) AND (CLOSE > REF(CLOSE,1)),5),14,0),COLORRED;
VAR4:=LLV(LOW,T1);
VAR5:=HHV(HIGH,T2);
散户:EMA(((P - VAR4)/(VAR5 - VAR4))*(100),T2),COLOR3333DD;
庄家:EMA((0.667)*(REF(散户,1)) + (0.333)*(散户),2),COLORDDCC00;
VAR6:=((HHV(HIGH,4) - P)/(HHV(HIGH,4) - LLV(LOW,4)))*(100) - 72;
VAR7:=((P - LLV(LOW,4))/(HHV(HIGH,4) - LLV(LOW,4)))*(100);
VAR8:=SMA(VAR7,2,1);
DRAWTEXT(CROSS(散户,庄家) AND (散户 < 50) AND (29 < 散户),20,'▲'),COLORRED;
DRAWTEXT(CROSS(庄家,散户) AND (散户 > 40) AND (71 > 散户),70,'▼'),COLORFF0000;
DRAWTEXT(CROSS(散户,庄家) AND (散户 < 30),30,'吸'),COLORRED; DRAWICON(CROSS(散户,庄家) AND (散户 < 30),20,1),COLORYELLOW; DRAWICON(CROSS(庄家,散户) AND (散户 > 70),80,2),COLORFF00FF;
VAR9:=CLOSE - REF(CLOSE,5);
VARA:=((EMA(EMA(VAR9,5),5))/(EMA(EMA(ABS(VAR9),5),5)))*(100); VARB:=((EMA(EMA(VAR9,10),10))/(EMA(EMA(ABS(VAR9),10),10)))*(100); VARC:=((EMA(EMA(VAR9,20),20))/(EMA(EMA(ABS(VAR9),20),20)))*(100);
卖出:=IF((VARA > 0) AND CROSS(VARC,VARA),10,0);
DRAWICON((卖出 > 0),60,2),COLOR00FF00;
CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE -
REF(CLOSE,1)),6,1)))*(100);
STICKLINE((CCI > 100),106,100,3,0),COLOR00AC00;
STICKLINE((RSI1 > 80),105,102,3,0),COLOR00FE00;
STICKLINE((CCI < (-100)),(-6),0,3,0),COLORYELLOW;
STICKLINE((RSI1 < 25),(-6),(-2),3,0);
D1:=(中风险 > REF(中风险,1)) AND (短风险 > REF(短风险,1)) AND (长风险 > REF(长风险,1)) AND (长风险 < 8) AND (中风险 < 10) AND (短风险 < 15); D2:=CROSS(短风险,中风险) AND (中风险 < 8);
D3:=CROSS(短风险,长风险) AND (长风险 < 8) AND (中风险 < 20); DRAWICON(FILTER(D1 OR D2 OR D3 AND (DD < 15) AND (CLOSE >
REF(CLOSE,1)),5),8,1),COLORFF0000;
DRAWICON(FILTER((中风险 < REF(中风险,1)) AND (短风险 < REF(短风险,1)) AND (长风险 < REF(长风险,1)) AND (中风险 > 95) AND (短风险 > 85) OR (长风险 > 100) AND (中风险 > 100) AND (短风险 > 100),5),95,2);
【通达信】风险买卖(警戒、启动、散户买卖风险)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档