通达信指标公式源码如果你真懂了那股市就是取款机,用了多年的公式
- 格式:doc
- 大小:21.50 KB
- 文档页数:1
通达信指标公式源码主力进货洗盘拉升出货标签属性:炒股技术技术指标指标公式公式源码炒股指标炒股公式炒股源码指标源码技术源码使用介绍如下:值得拥有的副图指标,感觉还不错,值得一看,让你抓着真正的波段,不会被下跌途中的小反抽欺骗。
可修改指标与其它软件通用。
从菜单“功能”-“公式系统”-“公式管理”-“新建加入”公式源码如下:回归斜率线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));{A} MAHL3:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A} 回归斜率带: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(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) 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/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>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.08 AND 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;{可将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) 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;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K}; 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) AND J<70,CLOSE,OPEN,0.9,0),COLORFFBBFF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;。
[通达信]通达信函数总表一,行情函数1,HIGH 最高价返回该周期最高价。
用法:HIGH2,H 最高价返回该周期最高价。
用法:H3,LOW 最低价返回该周期最低价。
用法:LOW4,L 最低价返回该周期最低价。
用法:L5,CLOSE 收盘价返回该周期收盘价。
用法:CLOSE6,C 收盘价返回该周期收盘价。
用法:C7,VOL 成交量返回该周期成交量。
用法:VOL8,V 成交量返回该周期成交量。
用法:V9,OPEN 开盘价返回该周期开盘价。
用法:OPEN10, O:开盘价返回该周期开盘价。
用法:O11, ADVANCE 上涨家数返回该周期上涨家数。
用法:ADVANCE(本函数仅对大盘有效) 热点推荐物欲横流·心...抢在时间前面的7条捷径一些经济类的好网址在闷棍中成长——我的思...看盘技巧:怎样看开盘烹饪用法之-----盐韩国辣白菜的做法!!合同范文目录索引(3)音画你让我感动家庭医生的健康12, DECLINE 下跌家数返回该周期下跌家数。
用法:DECLINE(本函数仅对大盘有效)13, AMOUNT 成交额返回该周期成交额。
用法:AMOUNT14, ASKPRICE 委卖价返回委卖1--委卖3价格。
用法:ASKPRICE(N)N取1—3。
(本函数仅个股在分笔成交分析周期有效)15, ASKVOL 委卖量返回委卖1--委卖3量。
用法:ASKVOL(N)N取1—3。
(本函数仅个股在分笔成交分析周期有效)16, BIDPRICE 委买价返回委买1--委买3价格。
用法:BIDPRICE(N)N取1—3。
(本函数仅个股在分笔成交分析周期有效)17, BIDVOL 委买量返回委买1--委买3量。
用法:BIDVOL(N)N取1—3。
(本函数仅个股在分笔成交分析周期有效)18, BUYVOL 主动性买盘返回主动性买单量。
用法:BUYVOL当本笔成交为主动性买盘时,其数值等于成交量,否则为0。
(本函数仅个股在分笔成交分析周期有效)19, SELLVOL 主动性卖盘返回主动性卖单量。
A1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;A2:= REF(C,0) > REF(O,1) ;A3:= REF(C,0) > REF(C,1) ;A4:= REF(H,0) > REF(H,1) ;A5:= (C-REF(C,1))/REF(C,1)*100>3;阳包阴1:= A1 AND A2 AND A3 AND A4 AND A5;B1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>4;B2:= REF(C,0) > REF(O,1) ;B3:= REF(C,0) > REF(C,1) ;B4:= REF(H,0) > REF(H,1) ;B5:= (C-REF(C,1))/REF(C,1)*100>5;B6:=V-REF(V,1)<0;B7:=REF(V,2)-REF(V,1)>0;B8:=(H-L)/REF(C,1)*100>5;缩量阳包阴2:= B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8; C1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;{好}C2:= REF(O,0)<REF(L,1);C3:= REF(C,0) > REF(O,1) ;C4:= REF(C,0) > REF(C,1) ;C5:= REF(H,0) > REF(H,1) ;下跳空阳包阴3:= C1 AND C2 AND C3 AND C4 AND C5;D1:=(REF(C,3)-REF(C,2))/REF(C,3)*100>5;D2:= REF(C,1) >= REF(O,1) AND REF(C,1)< REF(O,2);D3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);两阳接力包大阴4:(D1 AND D2 AND D3)*100;E1:= REF(C,2) < REF(O,2) AND REF(C,1) <= REF(O,1);E2:=(REF(C,3)-REF(C,1))/ REF(C,3)*100>5;E3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);E4:= REF(C,3) > REF(O,3);大阳包二阴5:( E1 AND E2 AND E3 AND E4)*100;阳包阴:(阳包阴1 OR 缩量阳包阴2 OR 下跳空阳包阴3 OR 两阳接力包大阴4 OR 大阳包二阴5)*100,COLOR00FF00,LINETHICK2;DRAWTEXT(阳包阴,80,'★买'),COLOR00FF00;DRAWTEXT(阳包阴,10,'阳包阴'),COLOR00FF00;。
通达信最好的致命指标,不看你就损失大了(源码主图公式)公式说明:任何指标都不可能让人傻瓜式操作都赚大钱,都必须要自己总结一些规律,并且要结合市场情况对指标的可信度做出判断。
今天把选股公式的一些体悟跟大家分享一下,说的不对说的不好请大家多指正,共同探讨才能让自己的技术进步!涨停位置:A2:=MA(C,18);A3:=(C-A2)/A2*100>=-9.9 AND C谷底涨停:A3 AND C/REF(C,1)>1.099,COLORRED;B1:=BARSLAST(LLV(C,100));B2:=C/REF(C,1)>=1.095;B3:=MA(C,10)>REF(MA(C,10),1);低位涨停: B2 AND B3 AND O/LLV(C,100)<1.3 AND B1<20;D2:=C/REF(C,1)>=1.095;D3:=MA(C,20)>REF(MA(C,20),1) AND MA(C,55)>REF(MA(C,55),1);中位涨停: D2 AND D3 AND O/LLV(C,100)>1.3 AND O/LLV(C,100)<1.5;一阳穿六均线选股预警公式指标源码:MA5:=MA(C,5);MA13:=MA(C,13);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);MA144:=MA(C,144);收盘低:=REF(C,1)收盘高:=CROSS(C,MA5) AND CROSS(C,MA13) AND CROSS(C,MA30) AND CROSS(C,MA60) AND CROSS(C,MA120) AND CROSS(C,MA144);选股XG:收盘低 AND 收盘高;老鸭头选股公式:D!LYT (老鸭头) 缺省周期:日线MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma5,ma60));{5日均线上穿60日均线} pday2 := barslast(cross(ma10,ma60));{10日均线上穿60日均线,至此形成鸭颈部}pday3 := barslast(high=hhv(high,pday2));{形成头部,要下跌} pday4 := barslast(cross(ma10,ma5));{下跌后,5日均线和10日均线死叉}pday5 := barslast(cross(ma5,ma10));{回落不久,5日均线和10日均线形成金叉,形成嘴部}a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;A1 AND A2;四合一金叉选股公式:M1:=MA(CLOSE,5);M2:=MA(CLOSE,10);MA1:=MA(VOL,5);MA2:=MA(VOL,10);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);A1:=DEA;F1:=DIF;K1:='KDJ.K';J1:='KDJ.J';金叉1:=CROSS(M1,M2);金叉2:=CROSS(MA1,MA2);金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;选2:=金叉1 AND 金叉2 AND 金叉3;选3:=金叉2 AND 金叉3 AND 金叉4;选4:=金叉1 AND 金叉2 AND 金叉4;选5:=金叉1 AND 金叉3 AND 金叉4;选股:选1 OR 选2 OR 选3 OR 选4 OR 选5;一阳穿三线选股公式:MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);低:=REF(C,1)高:=CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA5);选股:低 AND 高;次日涨停公式:A : MA(CLOSE,26);UP: A 2*STD(CLOSE,26);LOWER: A - 2*STD(CLOSE,26);W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3);捕捉中短线牛股指标:WX:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MAX(MA( C,60),MA(C,120)))));ZS:=IF(CROSS(C,WX) AND COUNT(C>WX,5)=1,1,0);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);MA12 0:=MA(C,120);A1:=CROSS(MA5,MA10);B1:=C>MA60 AND MA5>MA60 AND MA10>MA60;C1:=MA60>MA120;D1:=A1 AND B1 AND C1;ZB:=CROSS(MACD.MACD,0) AND C>MA(C,5);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;AB:=CROSS(K,D);第一阳起爆:COUNT(D1,5)=1>0 AND COUNT(ZS,3) AND ZB AND AB;日线盘中抓涨停:盘中满足下面所有条件的个股,出现报警。
N1:=10;N2:=10;DISP:=2;K:=IF(PERIOD=5,1,{日}IF(PERIOD=6,1,{周}IF(PERIOD=7,1,{月}IF(PERIOD=8,1,{多分钟}IF(PERIOD=9,1,{多日}IF(PERIOD=10,1,{季}IF(PERIOD=11,2,{年}IF(PERIOD=4,1,{60F}IF(PERIOD=3,1,{30F}IF(PERIOD=2,1,{15F}IF(PERIOD=1,1{5F},1{1F})))))))))))/10;P1:=PEAK(1,K*N1,1);P2:=PEAK(1,K*N1,2);WP1:=PEAKBARS(1,K*N1,1);WP2:=PEAKBARS(1,K*N1,2);T1:=TROUGH(2,K*N2,1);T2:=TROUGH(2,K*N2,2);WT1:=TROUGHBARS(2,K*N2,1);WT2:=TROUGHBARS(2,K*N2,2);TJ1:=P1>T1 AND P2>T2 ;ZD:=MAX(T1,T2);ZG:=MIN(P1,P2);LL:=MIN(T1,T2);HH:=MAX(P1,P2);TJ2:=FILTER(ZG>ZD,2);TJ3:=ZG=REF(ZG,BARSLAST(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2));TJ4:=TJ1&&TJ2&&NOT(TJ3);TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST( TJ4),1)));TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST( TJ4),1)));TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1))&&ZD<REF(ZD,REF(BARSLAST(TJ4 ),1));TJ8:=TJ4&&NOT(TJ5 OR TJ6 OR TJ7);ZSD:=IF(TJ8,ZD,DRAWNULL);ZSG:=IF(TJ8,ZG,DRAWNULL);ZSH:=IF(TJ8,HH,DRAWNULL);ZSL:=IF(TJ8,LL,DRAWNULL);STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA;STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA; DRAWTEXT(DISP=2,ZSH,'中枢'),COLORWHITE;中枢高:=PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),CIRCLEDOT,COLORLIRED; 中枢低:=PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),CIRCLEDOT,COLORLIGRE EN;{中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORRED;中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORGREEN;} 趋势高:=PLOYLINE(DISP=3,ZIG(1,K*N1)),COLORLIBLUE;趋势低:=PLOYLINE(DISP=3,ZIG(2,K*N2)),COLORLIBLUE;局部低点预选A:=BACKSET(LLV(L,5)<REF(LLV(L,4),1),4);局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2);局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0); 局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4);局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2);局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0); 缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0));距前高天:=BARSLAST(局部高点预选C=1);距前低天:=BARSLAST(局部低点预选C=-1);小值周期:=LOWRANGE(L);大值周期:=TOPRANGE(H);低保留AA:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0);低保留AB:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR LLV(L,距前低天+2)<REF(LLV(L,距前低天+1),1)),-1,0);低保留S:=IF((低保留AA=-1 OR 低保留AB=-1) AND L<REF(H,距前高天+1),-1,0);预判:=IF((距前低天<4 AND HHV(缺口判断,距前低天)!=1) OR REF(低保留S,距前低天)=0,1,0);判断:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND 预判=1 AND 大值周期>REF(小值周期,距前低天+1) AND 大值周期>REF(小值周期,距前低天) AND 大值周期>REF(大值周期,距前高天),1,0);高保留A:=IF(局部高点预选C=1 AND REF(距前低天,1)>REF(距前高天,1) AND HHV(H,距前低天+1)>REF(HHV(H,距前低天+1),1),1,0);高保留B:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND REF(低保留S,距前低天)=-1 AND (距前低天>=4 OR HHV(缺口判断,距前低天)=1),1,0);高保留:=IF((高保留A=1 OR 高保留B=1 OR 判断=1) AND H>REF(L,距前低天+1),1,0);预判A:=IF((距前高天<4 AND HHV(缺口判断,距前高天)!=1) OR REF(高保留,距前高天)=0,1,0);判断A:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND 预判A=1 AND 小值周期>REF(大值周期,距前高天+1) AND 小值周期>REF(大值周期,距前高天) AND 小值周期>REF(小值周期,距前低天),-1,0);低保留A:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0);低保留B:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR 判断A=-1),-1,0);低保留:=IF((低保留A=-1 OR 低保留B=-1) AND L<REF(H,距前高天+1),-1,0); 距前高天A:=BARSLAST(高保留=1);距前低天A:=BARSLAST(低保留=-1);预判X:=IF((距前低天A<4 AND HHV(缺口判断,距前低天A)!=1) OR REF(低保留,距前低天A)=0,1,0);判断X:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND 预判X=1 AND 大值周期>REF(小值周期,距前低天A+1) AND 大值周期>REF(小值周期,距前低天A) AND 大值周期>REF(大值周期,距前高天A),1,0); 高保留XA:=IF(局部高点预选C=1 AND REF(距前低天A,1)>REF(距前高天A,1) AND HHV(H,距前低天A+1)>REF(HHV(H,距前低天A+1),1),1,0);高保留XB:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND REF(低保留,距前低天A)=-1 AND (距前低天A>=4 OR HHV(缺口判断,距前低天A)=1),1,0);高保留X:=IF((高保留XA=1 OR 高保留XB=1 OR 判断X=1) AND H>REF(L,距前低天A+1),1,0);预判XA:=IF((距前高天A<4 AND HHV(缺口判断,距前高天A)!=1) OR REF(高保留XA,距前高天A)=0,1,0);判断XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND 预判XA=1 AND 小值周期>REF(大值周期,距前高天A+1) AND 小值周期>REF(大值周期,距前高天A) AND 小值周期>REF(小值周期,距前低天A),-1,0); 低保留XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)>REF(距前低天A,1) AND LLV(L,距前高天A+1)<REF(LLV(L,距前高天A+1),1),-1,0);低保留XB:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND (距前高天A>=4 OR LLV(缺口判断,距前高天A)=-1 OR 判断XA=-1),-1,0);低保留X:=IF((低保留XA=-1 OR 低保留XB=-1) AND L<REF(H,距前高天A+1),-1,0);距前高天YA:=BARSLAST(高保留X=1);距前低天YA:=BARSLAST(低保留X=-1);预判YX:=IF((距前低天YA<4 AND HHV(缺口判断,距前低天YA)!=1) OR REF(低保留X,距前低天YA)=0,1,0);判断YX:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND 预判YX=1 AND 大值周期>REF(小值周期,距前低天YA+1) AND 大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0);高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(H,距前低天YA+1)>REF(HHV(H,距前低天YA+1),1),1,0);高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR HHV(缺口判断,距前低天YA)=1),1,0);高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) ANDH>REF(L,距前低天YA+1),1,0);预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)!=1) ORREF(高保留YXA,距前高天YA)=0,1,0);判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1) AND小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0);低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(L,距前高天YA+1)<REF(LLV(L,距前高天YA+1),1),-1,0);低保留YXB:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND (距前高天YA>=4 OR LLV(缺口判断,距前高天YA)=-1 OR 判断YXA=-1),-1,0);低保留YX:=IF((低保留YXA=-1 OR 低保留YXB=-1) AND L<REF(H,距前高天YA+1),-1,0);AAAD:=IF(高保留YX=1 AND 低保留YX=-1 AND H>REF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1 AND 低保留YX=-1 AND L<REF(L,REF(距前低天YA,1)+2),-1,0));极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD);局部极点:=IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL)) CIRCLEDOT COLORYELLOW;{大折线}A1:=REF(HIGH,10)=HHV(HIGH,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);D1:=FILTER(C1,10);{高点}A2:=REF(LOW,10)=LLV(LOW,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);D2:=FILTER(C2,10);{低点}E1:=(REF(LLV(LOW,2*10),1)+REF(HHV(HIGH,2*10),1))/2;E2:=(HIGH+LOW)/2;H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;L1:=(D2 AND NOT((D1 AND E1<E2)));H2:=D1 AND NOT((D2 AND E1>=E2));X1:=REF(BARSLAST(H1),1)+1;F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1);I1:=BACKSET(G1,2);LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;X2:=REF(BARSLAST(L2),1)+1;F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));G2:=F2>REF(F2,1);I2:=BACKSET(G2,2);HD:=I2>REF(I2,1);{过滤后高点}DRAWLINE(LD,L,HD,H,0),COLORMAGENTA,DOTLINE,LINETHICK1; DRAWLINE(HD,H,LD,L,0),COLORMAGENTA,DOTLINE,LINETHICK1;J1:=BACKSET(ISLASTBAR ,MIN(BARSLAST(HD),BARSLAST(LD))+1);J2:=J1>REF(J1,1);DRAWLINE(J2,IF(HD,H,L),ISLASTBAR ,IF(BARSLAST(HD)>BARSLAST(LD),H,L ),0),COLORWHITE,LINETHICK1;{趋势线}UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);VV:=UU>REF(UU,1);WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);XX:=WW>REF(WW,1);DRAWLINE(XX,L,VV,L,1),COLORRED,LINETHICK2;UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);VV2:=UU2>REF(UU2,1);WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);XX2:=WW2>REF(WW2,1);DRAWLINE(XX2,H,VV2,H,1),COLORGREEN,LINETHICK2;。
大盘研判通达信指标公式源码一、量能指标1.成交量指标(VOL)通达信指标公式源码:VOL:(AMA(CLOSE-CLOSE/REF(CLOSE,1),N)*STD(CLOSE,N)^MA(CLOSE,N)*100\100);注解:该指标用于衡量市场的成交量情况。
公式中的AMA为自适应移动平均指标,REF为引用函数,CLOSE为收盘价,STD为标准差函数,MA为移动平均函数。
2.积分成交量(VOS)通达信指标公式源码:VOS:N==1?(VOL-((^fqj-1+^(fqj-2))^2*(CLOSE-^qsj)/(^hsj-^l1j)^2))*(MAX(CLOSE,LLV(CLOSE,N))-MIN(CLOSE,HHV(CLOSE,N))/(HHV(CLOSE,N)-LLV(CLOSE,N)):\;(VOL-((PRE^fqj-1+PRE^fqj-2)^2*(CLOSE-MA(CLOSE,5))/(HV(N)-LV(N))^2))*(MAX(CLOSE,LLV(CLOSE,5))-MIN(CLOSE,HHV(CLOSE,5)))/(HHV(CLOSE,5)-LLV(CLOSE,5));注解:该指标用于计算成交量与价格的积分情况。
公式中的^fqj、^qsj、^hsj、^l1j分别为前1、2、3、4个交易日的开盘价,最低价,最高价,昨收价,LLV为最低价最低值函数,HHV为最高价最高值函数,PRE为前一个交易日的引用函数,MA为移动平均函数,MAX和MIN为取最大值和最小值函数,HV为最高值函数,LV为最低值函数。
3.游资成本指标通达信指标公式源码:COST:(DMA((CLOSE-CLOSE/REF(CLOSE,1))/HIGH*100,N1)-DMA((REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,1)/HIGH*100,N2))/STD(CLOSE,N)*100;二、趋势指标1.动态趋势指标(DYJ)通达信指标公式源码:DYJ:SMA(MA(CLOSE,41),3);注解:该指标用于计算动态趋势线。
通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标1 超级指标指标公式:买卖提示非常明显(适合通达信)指标源码如下:M:3 100 60N 3 100 30散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORYELLOW;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:STICKLINE(VAR9>-120,0,VAR9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;AA6:=SMA(AA3,21,8);买观注: STICKLINE(走势-AA6<-65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),走势,4);卖观注: STICKLINE(走势-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J<REF(J,1)AND 走势<=REF(走势,1)AND J>85 ,5),J,5);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);2 精准买卖支撑价:LLV(LOW,19),LINETHICK2 , COLOR00FF00;阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR2:=EMA(VAR1,9);VAR3:=(CLOSE*2.5/100+CLOSE);VAR4:EMA(C,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VAR7:=REF(LLV(CLOSE,480),1);VAR8:=REF(HHV(CLOSE,480),1);VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;VARE:=VARC>98.5 OR VARD>98.5;VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;VAR13:=VARA=0 AND VARC=0 AND VAR6<0;VAR14:=VARA=100 AND VARC=100;VAR15:=VARB=0 OR VARD=0 AND VAR9<0;VAR16:=VARB=100 AND VARD=100;VAR17:=VAR6<0 AND VAR9<0;VAR18:=VAR13 AND VAR15;VAR19:=VAR14 AND VAR16;VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;VAR1D:=BARSCOUNT(CLOSE);VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;VAR20:=REF(CLOSE,1);VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;VAR23:=BARSCOUNT(CLOSE);VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;VAR25:=VARA=0 AND VARF<1.2 AND VAR17;VAR27:=VAR18 AND VARF<1.2 AND VAR17;VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;买点:=VAR25 AND VAR2B;绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;VAR2D:=VAR1F AND VAR2C AND VAR25;股海万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 ORCLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;DRAWTEXT(股海万元户>0,L,'☆追涨'),COLORYELLOW ;DRAWICON(买点>0,L,4);DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;STICKLINE(VAR2D>0,O,C,10,0), COLORRED;DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,5);DRAWICON(FILTER(COUNT(VAR6<0,5)ANDCROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)ANDVAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,15);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) ANDMACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);3 绝世指标GLL:-4;顶:80,COLORFFA500;大顶:100,COLORBLUE;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:SMA(VAR2,5,1),COLORRED;RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形态:SMA(FATK,3,1),COLORBB24DB;VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速: EMA(3*VARB-2*VARC,3),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;{波段介入点}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0)COLORWHITE;。
STICKLINE(CLOSE>1.095*REF(CLOSE,1),CLOSE,OPEN,3,0),COLORYELLOW; STICKLINE(CLOSE<0.905*REF(CLOSE,1),CLOSE,OPEN,3,0),COLORWHITE;X_1:=1.3;X_2:=1;X_3:=0;X_4:=MA(CLOSE,5);X_5:=MA(CLOSE,10);X_6:=MA(CLOSE,20);X_7:=X_4>REF(X_4,1) AND X_5<REF(X_5,1) AND X_6<REF(X_6,1);X_8:=REF(VOL,1);X_9:=REF(VOL,2);X_10:=REF(VOL,3);X_11:=REF(CLOSE,1);X_12:=REF(CLOSE,2);X_13:=REF(CLOSE,3);X_14:=REF(CLOSE,4);X_15:=REF(OPEN,1);X_16:=REF(OPEN,2);X_17:=REF(OPEN,3);X_18:=REF(OPEN,4);X_19:=CLOSE>=X_13 AND X_11>=X_13 AND X_12>=X_13;X_20:=LOW>X_17 AND REF(LOW,1)>X_17 AND REF(LOW,2)>X_17;X_21:=AMOUNT/VOL/100;X_22:=REF(X_21,1);X_23:=REF(X_21,2);X_24:=CLOSE>=OPEN OR (CLOSE<OPEN AND X_21>X_11);X_25:=COUNT(X_24,3)>=2;X_26:=X_13>X_17;X_27:=X_21>=X_22 OR CLOSE>X_11 AND (X_22>=X_23 OR X_11>=X_12); X_28:=(CLOSE+X_11+X_12)/3>X_13;X_29:=VOL>X_8 AND X_8>X_9;X_30:=VOL<=X_8 AND X_8<=X_9;X_31:=(VOL+X_8+X_9)/3<=X_10 AND NOT(X_29);X_32:=CLOSE/VOL;X_33:=X_32>=REF(X_32,1) AND REF(X_32,1)>=REF(X_32,2);X_34:=(CLOSE+X_11+X_12)/3/X_13;X_35:=(VOL+X_8+X_9)/3/X_10;X_36:=X_1*X_34/X_35>1;X_37:=X_17>X_14 AND X_14>X_18;X_38:=X_26 AND X_27 AND X_30 AND X_19 AND X_20 AND X_37;X_39:=BACKSET(X_38,5);X_40:=FILTER(X_39,4);X_41:=X_26 AND X_27 AND X_30 AND X_19 AND X_20;X_42:=BACKSET(X_41,4);X_43:=FILTER(X_42,3);X_44:=X_41 AND REF(X_41,1);X_45:=BACKSET(X_44,4);X_46:=FILTER(X_45,3);X_47:=X_41 AND REF(X_41,2);X_48:=BACKSET(X_47,4);X_49:=FILTER(X_48,3);X_50:=X_41 AND REF(X_41,3);X_51:=BACKSET(X_50,4);X_52:=FILTER(X_51,3);X_53:=X_26 AND X_27 AND X_31 AND NOT(X_29) AND X_19 AND X_20 AND X_37 AND NOT(X_41) AND NOT(X_38);X_54:=BACKSET(X_53,5);X_55:=FILTER(X_54,4);X_56:=X_26 AND X_27 AND X_31 AND NOT(X_29) AND X_19 AND X_20 AND NOT(X_41) AND NOT(X_38);X_57:=BACKSET(X_56,4);X_58:=FILTER(X_57,3);X_59:=X_56 AND REF(X_56,1);X_60:=BACKSET(X_59,4);X_61:=FILTER(X_60,3);X_62:=X_56 AND REF(X_56,2);X_63:=BACKSET(X_62,4);X_64:=FILTER(X_63,3);X_65:=X_56 AND REF(X_56,3);X_66:=BACKSET(X_65,4);X_67:=FILTER(X_66,3);X_68:=X_26 AND X_28 AND X_30 AND X_19 AND X_20 AND X_37 AND NOT(X_41) AND NOT(X_56) AND NOT(X_38) AND NOT(X_53);X_69:=BACKSET(X_68,5);X_70:=FILTER(X_69,4);X_71:=X_26 AND X_28 AND X_30 AND X_19 AND X_20 AND NOT(X_41) AND NOT(X_56) AND NOT(X_38) AND NOT(X_53);X_72:=BACKSET(X_71,4);X_73:=FILTER(X_72,3);X_74:=X_71 AND REF(X_71,1);X_75:=BACKSET(X_74,4);X_76:=FILTER(X_75,3);X_77:=X_71 AND REF(X_71,2);X_78:=BACKSET(X_77,4);X_79:=FILTER(X_78,3);X_80:=X_71 AND REF(X_71,3);X_81:=BACKSET(X_80,4);X_82:=FILTER(X_81,3);X_83:=X_26 AND X_28 AND X_31 AND X_19 AND X_20 AND X_37 AND NOT(X_41) AND NOT(X_38) AND NOT(X_56) AND NOT(X_53) AND NOT(X_71) AND NOT(X_68);X_84:=BACKSET(X_83,5);X_85:=FILTER(X_84,4);X_86:=X_26 AND X_28 AND X_31 AND X_19 AND X_20 AND NOT(X_41) AND NOT(X_56) AND NOT(X_71) AND NOT(X_38) AND NOT(X_53) AND NOT(X_68);X_87:=BACKSET(X_86,4);X_88:=FILTER(X_87,3);X_89:=X_86 AND REF(X_86,1);X_90:=BACKSET(X_89,4);X_91:=FILTER(X_90,3);X_92:=X_86 AND REF(X_86,2);X_93:=BACKSET(X_92,4);X_94:=FILTER(X_93,3);X_95:=X_86 AND REF(X_86,3);X_96:=BACKSET(X_95,4);X_97:=FILTER(X_96,3);X_98:=X_26 AND X_28 AND X_36 AND X_19 AND X_20 AND X_37 AND NOT(X_41) AND NOT(X_56) AND NOT(X_71) AND NOT(X_86) AND NOT(X_38) AND NOT(X_53) AND NOT(X_68) AND NOT(X_83);X_99:=BACKSET(X_98,5);X_100:=FILTER(X_99,4);X_101:=X_26 AND X_28 AND X_36 AND X_19 AND X_20 AND NOT(X_41) AND NOT(X_56) AND NOT(X_71) AND NOT(X_86) AND NOT(X_38) AND NOT(X_53) AND NOT(X_68) AND NOT(X_83);X_102:=BACKSET(X_101,4);X_103:=FILTER(X_102,3);X_104:=X_101 AND REF(X_101,1);X_105:=BACKSET(X_104,4);X_106:=FILTER(X_105,3);X_107:=X_101 AND REF(X_101,2);X_108:=BACKSET(X_107,4);X_109:=FILTER(X_108,3);X_110:=X_101 AND REF(X_101,3);X_111:=BACKSET(X_110,4);X_112:=FILTER(X_111,3);X_113:=X_26 AND X_28 AND X_33 AND X_19 AND X_20 AND X_37 AND NOT(X_41) AND NOT(X_56) AND NOT(X_71) AND NOT(X_86) AND NOT(X_101) AND NOT(X_38) AND NOT(X_53) AND NOT(X_68) AND NOT(X_83) AND NOT(X_98);X_114:=BACKSET(X_113,5);X_115:=FILTER(X_114,4);X_116:=X_26 AND X_28 AND X_33 AND X_19 AND X_20 AND NOT(X_41) AND NOT(X_56) AND NOT(X_71) AND NOT(X_86) AND NOT(X_101) AND NOT(X_38) AND NOT(X_53) AND NOT(X_68) AND NOT(X_83) AND NOT(X_98);X_117:=BACKSET(X_116,4);X_118:=FILTER(X_117,3);X_119:=X_116 AND REF(X_116,1);X_120:=BACKSET(X_119,4);X_121:=FILTER(X_120,3);X_122:=X_116 AND REF(X_116,2);X_123:=BACKSET(X_122,4);X_124:=FILTER(X_123,3);X_125:=X_116 AND REF(X_116,3);X_126:=BACKSET(X_125,4);X_127:=FILTER(X_126,3);X_128:=X_43 AND NOT(REF(X_43,4)) OR (X_46 AND NOT(REF(X_46,4))) OR (X_49 AND NOT(REF(X_49,4))) OR (X_52 AND NOT(REF(X_52,4)));X_129:=X_58 AND NOT(REF(X_58,4)) OR (X_61 AND NOT(REF(X_61,4))) OR (X_64 AND NOT(REF(X_64,4))) OR (X_67 AND NOT(REF(X_67,4)));X_130:=X_73 AND NOT(REF(X_73,4)) OR (X_76 AND NOT(REF(X_76,4))) OR (X_79 AND NOT(REF(X_79,4))) OR (X_82 AND NOT(REF(X_82,4)));X_131:=X_88 AND NOT(REF(X_88,4)) OR (X_91 AND NOT(REF(X_91,4))) OR (X_94 AND NOT(REF(X_94,4))) OR (X_97 AND NOT(REF(X_97,4)));X_132:=X_103 AND NOT(REF(X_103,4)) OR (X_106 AND NOT(REF(X_106,4))) OR (X_109 AND NOT(REF(X_109,4))) OR (X_112 AND NOT(REF(X_112,4)));X_133:=X_118 AND NOT(REF(X_118,4)) OR (X_121 AND NOT(REF(X_121,4))) OR (X_124 AND NOT(REF(X_124,4))) OR (X_127 AND NOT(REF(X_127,4)));X_134:=X_128 OR X_129 OR X_130 OR X_131 OR X_132 OR X_133;STICKLINE(X_134,OPEN,CLOSE,1.2,0),COLORYELLOW;X_135:=FILTER(X_134,3);STICKLINE(X_135,OPEN,CLOSE,1.75,0),COLORYELLOW;STICKLINE(X_135,OPEN,CLOSE,0.75,0),COLORRED;STICKLINE(X_134 AND VOL/REF(VOL,1)>=1.95,OPEN,CLOSE,0.01,0),COLORBROWN;X_136:=SUMBARS(X_135,1);STICKLINE(X_136 AND X_2=1,REF(CLOSE,X_136-1),REF(CLOSE,X_136-1),10,0),COLORAA00FF;STICKLINE(X_136 AND X_2=1,REF(LOW,X_136-1),REF(LOW,X_136-1),10,0),COLORYELLOW;X_137:=X_40 AND NOT(REF(X_40,5));X_138:=X_55 AND NOT(REF(X_55,5));X_139:=X_70 AND NOT(REF(X_70,5));X_140:=X_85 AND NOT(REF(X_85,5));X_141:=X_100 AND NOT(REF(X_100,5));X_142:=X_115 AND NOT(REF(X_115,5));X_143:=X_137 OR X_138 OR X_139 OR X_140 OR X_141 OR X_142;STICKLINE(X_143,OPEN,CLOSE,0.5,0),COLORMAGENTA;X_144:=FILTER(X_143,3);STICKLINE(X_144 AND NOT(REF(X_143,5)),OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(X_144 AND NOT(REF(X_143,5)),OPEN,CLOSE,1,0),COLORMAGENTA;X_145:=SUMBARS(X_143,1);STICKLINE(CLOSE>OPEN AND REF(CLOSE,1)<REF(OPEN,1) AND HIGH<REF(OPEN,1) ANDCLOSE<(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1),CLOSE,OPEN,0.57,0),COLORGRE EN;STICKLINE(OPEN>CLOSE AND CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>=REF(OPEN,1),CLOSE,OPEN,0.37,0),COLORRED;DRAWICON(VOL<=MA(VOL,60)*1/3 AND VOL<REF(LLV(VOL,100),1) OR (VOL/REF(VOL,1)<=0.51 AND VOL<REF(LLV(VOL,100),1)) AND HIGH>LOW,LOW*0.99,1); X_146:=STRCAT(HYBLOCK,1);X_147:=STRCAT(X_146,FGBLOCK);X_148:=STRCAT(X_147,DYBLOCK);X_149:=STRCAT(X_148,ZDBLOCK);X_150:=STRCAT(X_149,1);DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(X_150,GNBLOCK)),COLORYELLOW;X_151:=3;X_152:=0;X_153:=ABS(LOW-REF(LOW,1))<=X_152;X_154:=ABS(LOW-REF(LOW,2))<=X_152;X_155:=ABS(LOW-REF(LOW,3))<=X_152;X_156:=ABS(LOW-REF(LOW,4))<=X_152;X_157:=ABS(LOW-REF(LOW,5))<=X_152;X_158:=X_153 OR X_154 OR X_155 OR X_156 OR X_157;X_159:=FILTER(X_158,X_151);X_160:=BARSLAST(X_159);X_161:=REF(LOW,X_160);X_162:=ABS(LOW-X_161)<=X_152;STICKLINE(X_159,LOW,LOW,31,(-1)),COLORMAGENTA;X_163:=ABS(HIGH-REF(HIGH,1))<=X_152;X_164:=ABS(HIGH-REF(HIGH,2))<=X_152;X_165:=ABS(HIGH-REF(HIGH,3))<=X_152;X_166:=ABS(HIGH-REF(HIGH,4))<=X_152;X_167:=ABS(HIGH-REF(HIGH,5))<=X_152;X_168:=X_163 OR X_164 OR X_165 OR X_166 OR X_167;X_169:=FILTER(X_168,X_151);X_170:=BARSLAST(X_169);X_171:=REF(HIGH,X_170);X_172:=ABS(HIGH-X_171)<=X_152;STICKLINE(X_169,HIGH,HIGH,31,(-1)),COLORGREEN;STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORLIBLUE; STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96,(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,C LOSE),(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),2,1),COLORLIBL UE;STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96,(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLO SE),(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),2,1),COLORLIBLUE; 中分线:(OPEN+CLOSE)/2,NODRAW,COLORRED;上31:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),NODRAW,COLORMA GENTA;下31:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),NODRAW,COLORYELL OW;X_173:=REF(LOW,1);X_174:=REF(HIGH,1);X_175:=LOW>X_174;X_176:=HIGH<X_173;STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),2.78,(-1)),COLORRED;STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,2.78,(-1)),COLORGREEN;X_177:=0;X_178:=0.085;X_179:=IF(GNBLOCK=DRAWNULL,11,STRCAT(12,GNBLOCK));X_180:=IF(FGBLOCK=DRAWNULL,11,STRCAT(13,FGBLOCK));X_181:=IF(ZHBLOCK=DRAWNULL,11,STRCAT(14,ZHBLOCK));X_182:=STRCAT(X_179,STRCAT(X_180,X_181));X_183:=IF(GNBLOCK=DRAWNULL,11,STRCAT(15,GNBLOCK));X_184:=IF(FGBLOCK=DRAWNULL,11,STRCAT(15,FGBLOCK));X_185:=IF(ZHBLOCK=DRAWNULL,11,STRCAT(15,ZHBLOCK));X_186:=STRCAT(X_183,STRCAT(X_184,X_185));DRAWTEXT_FIX(IF(CODELIKE(16) OR CODELIKE(17) OR CODELIKE(18) OR NAMELIKE(19),DRAWNULL,1),X_177,X_178,0,X_186),COLORRED;DRAWTEXT_FIX(IF(CODELIKE(16) OR CODELIKE(17) OR CODELIKE(18) OR NAMELIKE(19),DRAWNULL,1),X_177,X_178,0,X_182),COLORWHITE;DRAWTEXT_FIX(1,0.02,0.19,0,20),COLORRED;。
相对价位指标包含了常用的“VHF十字指标”、“动能MTM”、“OBV”,“双底”以及长线优化“KDJ”,指标不仅能一目了然手中股票的位置,还能把握指标的进出,完全可以配合短线指标做到看长做短,具体功能可以参照贴图自己领会,总之是一件难得的好指标,这也是本人一直在用的指标。
另外附上本人的二个经过多年时间实践的金钻指标,请关注查证其效果:手指捞金套装指标(金钻指标)首先本人不想哗众取宠,说实在的再好的指标或十几万的看盘软件都无法包罗万象,确保100%的盈利。
要在股市中保持长久持续赢利,的确必须需要有好的指标,但还必须具备良好的心态和操作方法。
我是一个指标公式的爱好者,通过二十多年的摸爬滚打,这几年能够在股市中能保持长久盈利,靠的是自己心血总结的一整套技术、方法和心态的结合。
我的指标可以说盈利概率、抓黑马概率极高。
但如果你没有好的操作方法和心态同样也会让你亏钱(心态不好、计较者绕路)。
在当前的行情中散户能挣到钱。
实属不易,而大多数散户的账户都是在亏损。
哪我们如何才能摆脱当前亏损的局面呢?为了让诸位有缘人实现盈利,同时也回馈论坛多年来使我学到了很多,特将自己十多年来心血总结、编写的盈利和选股指标、方法,与有缘人有偿分享。
~~本套指标是根据市场的热点板块和龙头股的特征研发的原创提前抓黑马、提前预警抓当日涨停个股成功率极高的武器(包括手指捞金主图信号指标,手指捞金选股池和盘中抓黑马和涨停方法说明。
更重要还有提供的交流、方法指导与服务)。
你只需具备以下4点,就完全可以摆脱亏损在市场中实现长久盈利。
1、首先手中要有一套好的辅助决策选股武器;2、必须配备一套完整的技术操作手法;3、严格执行止盈止损的操作纪律;4、有一套长久完整的方法指导与服务。
为了确保享受使用指标的长久性和小范围人数,指标进行了加密限制,购买者拥有公式永久使用权和升级服务,包括一年的方法指导服务!好指标只有缘人用的上,而且用的好!!!机会在面前,就看决定了~~DRAWTEXT(CURRBARSCOUNT=38,10,'价值发现'),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=38,32,'安全边界'),COLORFF00FF;DRAWTEXT(CURRBARSCOUNT=38,62,'价值中枢'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=38,92,'风险警界'),COLOR00FF00;最低成本:=COST(0.99);最高成本:=COST(99.9);相对价位:=(C-最低成本)/(最高成本-最低成本)*100;K:SMA(相对价位,3,1),COLORWHITE;D:SMA(K,3,1),COLORYELLOW;J:3*K-2*D,COLORFF00FF;DRAWICON( CROSS(J,K) AND J<80,J,1);0,COLORLIBLUE;20,COLORBLUE;50,COLORBLUE;100,COLORLICYAN;85,DOTLINE;M3:=MA(CLOSE,3);M13:=MA(CLOSE,13);M34:=MA(CLOSE,34);STICKLINE(M3>=M13 AND M34>=REF(M34,1),98,101,2,0 ),COLORRED; STICKLINE(M3<M13 AND M34>=REF(M34,1),98,101,2,0 ),COLORYELLOW; STICKLINE(M3<M13 AND M34<REF(M34,1),98,101,2,0 ),COLORGREEN;STICKLINE(M3>=M13 AND M34<REF(M34,1),98,101,2,0 ),COLORMAGENTA; DRAWTEXT(ISLASTBAR,97,'---四色图'),COLORGRAY;JJJ:=(CLOSE+HIGH+LOW)/3;A1:=EMA(JJJ,5);B1:=REF(A1,1);IF(A1>B1,0,DRAWNULL),COLORYELLOW,LINETHICK2;DRAWTEXT(ISLASTBAR,2,'---蓝黄线'),COLORGRAY;VHF:=(HHV(CLOSE,28)-LLV(CLOSE,28))/SUM(ABS(CLOSE-REF(CLOSE,1)),28); VHFMA:=MA(VHF,10);短趋:=VHFMA>REF(VHFMA,1);箱型:=VHFMA<REF(VHFMA,1);中趋:=VHF>0.3 {AND VHFMA>REF(VHFMA,1) AND VHF>VHFMA};IF(短趋,85,DRAWNULL),COLORYELLOW,LINETHICK2;IF(箱型,85,DRAWNULL),COLORGRAY,LINETHICK2;IF(中趋,85,DRAWNULL),COLORRED,LINETHICK2;DRAWTEXT(ISLASTBAR,85,'--趋势过滤'),COLORGRAY;MTM:=CLOSE-REF(CLOSE,24);MTMMA:=MA(MTM,24);XGTJ:=MTM>0 AND MTM>MTMMA;IF(XGTJ,50,DRAWNULL),COLORRED,LINETHICK2;IF(XGTJ<1,50,DRAWNULL),COLORBLUE,LINETHICK2;DRAWTEXT(ISLASTBAR,51,'---动能MTM'),COLORGRAY;MTM金叉:=(XGTJ AND CROSS(MTM,MTMMA));DRAWTEXT(CROSS(MTM,MTMMA),53,'×'),COLORYELLOW;VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:=MA(OBV,30);IF(OBV>MAOBV,20,DRAWNULL),COLORRED,LINETHICK2;IF(OBV<=MAOBV,20,DRAWNULL),COLORBLUE,LINETHICK2;DRAWTEXT(ISLASTBAR,21,'----OBV'),COLORGRAY;MA5 :=EMA(CLOSE,5);趋势:=MA5-EMA(MA5,2);JCSJ1:=BARSLAST(CROSS(趋势,0))+1;JCSJ2:=JCSJ1+REF(JCSJ1,JCSJ1);双底:(IF(JCSJ1=1 AND MA5>REF(MA5,JCSJ2) AND COUNT(趋势<0,4)>=2,1,0))*50,STICK;。
简单而又稳定赚钱的好指标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;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数}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(REF(ZSHTL,1)>90 AND ZSHTL<90,ZSHTL,0,4,0),COLOR9966FF;{小股民套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;{小股民筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,3,0),COLORBLUE;{铸顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,3,0),COLORFFFFFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,3,0),COLORRED;STICKLINE(ZSHTL>=90,ZZLKP,0,3,0),COLORYELLOW;套牢系数:INTPART(ZSHTL),NODRAW;控盘系数:INTPART(ZZLKP),COLORCYAN,NODRAW;资金流入强度:ZJLRQD,NODRAW;RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{//变异KD风险系数}TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}乖离系数:TGLXS,LINETHICK0,COLORGREEN;STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088;STICKLINE(TGLXS>0,100,100+TGLXS,2.5,0),COLOR000099;STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA;STICKLINE(TGLXS>0,100,100+TGLXS,1.5,0),COLOR0000BB;STICKLINE(TGLXS>0,100,100+TGLXS,1.0,0),COLOR0000DD;STICKLINE(TGLXS>0,100,100+TGLXS,0.5,0),COLOR0000FF;{//红柱}STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR008800;STICKLINE(TGLXS<0,100,100+TGLXS,2.5,0),COLOR00AA00;STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00BB00;STICKLINE(TGLXS<0,100,100+TGLXS,1.5,0),COLOR00DD00;STICKLINE(TGLXS<0,100,100+TGLXS,1,0),COLOR00FF00;{//绿柱}STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,100+TGLXS,8,0),COLORGREEN;风险系数:TFXXS,LINETHICK2,COLORYELLOW;T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=1);T5:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=0);T6:=CONST(TFXXS<=50 );T7:=CONST(TFXXS>=160 );T8:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 );T9:=CONST( TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100); T10:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS>100 ); T11:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS<=100 );T12:=CONST( ZSHTL>90 );T13:=CONST( ZZLKP>75 );T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1)); T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 );TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,0+0.73,0);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12,0+0.03,0);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T8=1,TS17+0.03,TS17);DRAWTEXT_FIX(T1,0.56,TS1,0,'★主力动向监控:主力增仓'),COLORRED; DRAWTEXT_FIX(T2,0.56,TS2,0,'★主力动向监控:主力减仓'),COLORMAGENTA; DRAWTEXT_FIX(T3,0.56,TS3,0,'★主力动向监控:多空平衡'),COLORGRAY; DRAWTEXT_FIX(T4,0.56,TS4,0,'★主力动向监控:主力回补'),COLORFF9933; DRAWTEXT_FIX(T5,0.56,TS5,0,'★主力动向监控:主力出逃'),COLORGREEN; DRAWTEXT_FIX(T6,0.76,TS6,0,'★操作风险提示:买入风险'),COLORYELLOW; DRAWTEXT_FIX(T7,0.76,TS7,0,'★操作风险提示:卖出风险'),COLORCYAN; DRAWTEXT_FIX(T8,0.76,TS8,0,'★操作风险提示:追涨博弈'),COLORRED; DRAWTEXT_FIX(T9,0.76,TS9,0,'★操作风险提示:稳健持股'),COLORMAGENTA; DRAWTEXT_FIX(T10,0.76,TS10,0,'★操作风险提示:盘跌减仓'),COLORWHITE; DRAWTEXT_FIX(T11,0.76,TS11,0,'★操作风险提示:杀跌空仓'),COLORGREEN; DRAWTEXT_FIX(T12,0.26,TS12,0,'☆特别信号提示:筑底散兵坑' ),COLOR66FFCC; DRAWTEXT_FIX(T13,0.26,TS13,0,'☆特别信号提示:铸顶风险区'),COLORCYAN;DRAWTEXT_FIX(T14,0.26,TS14,0,'☆特别信号提示:穿越主力' ),COLORRED; DRAWTEXT_FIX(T15,0.26,TS15,0,'☆特别信号提示:穿越主力' ),COLORYELLOW; DRAWTEXT_FIX(T16,0.26,TS16,0,'☆特别信号提示:穿越散户' ),COLORGREEN; DRAWTEXT_FIX(T17,0.26,TS17,0,'☆特别信号提示:全盘穿越' ),COLOR3399FF; DRAWTEXT_FIX(T18,0.26,TS18,0,'☆特别信号提示:神秘黑洞' ),COLOR9966FF;。
A1:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));A2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));DRAWTEXT(H>REF(O,3)*1.19,H,'小心'),COLORGREEN;VAR1:=(HIGH+LOW+CLOSE)/3;VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));AA:=CROSS(VAR2,-100);BB:=BARSLAST(AA)+2;DRAWICON(AA ,L*0.99,1);DRAWTEXT(AA ,REF(L,2),'.....................................止损');XG2:=CROSS(C,MA(CLOSE,120));DRAWICON(XG2,H*0.96,14);XXS:=MA(HIGH,5)*(1+5/100);DRAWTEXT(CROSS(XXS,C),H*1.02,'开盘逃'),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,2);MA15:=EMA(CLOSE,26);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.999),'中继'),COLORA6E500;DRAWTEXT(CROSS(88,RSI),(HIGH * 1.0),'逃顶'),COLOR1880FF;STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;RSIW:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(RSIW,11) ,L*0.99,11);MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(C,30);五日乖离率:=(C-MA5)/MA5*100;BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;SSR:=(C-MA30)/MA30*100,NODRAW;加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA5>REF(MA5,1) AND SSR>REF(SSR,1) AND MA10>REF(MA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;DRAWTEXT(加仓,LOW*0.995,'◆小心诱多'),COLORYELLOW;XXS1:=MA(HIGH,5)*(1+5/100);DDDD:=CROSS(C,XXS1);DRAWTEXT(DDDD,HIGH*1.02,'明走'),COLORYELLOW;K:=(C+H+L)/3;D:=MA(K,4);DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.01, '←卖出'),COLORYELLOW; DIR2:=ABS(CLOSE-REF(CLOSE,10));VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);ER2:=DIR2/VIR2;CS2:=ER2*(0.8-2/24)+2/24;CQ2:=CS2*CS2;VAR28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOSE-LC),6,1)*100;VARA00:=((AMOUNT)/(VOL))/(100);VARAB00:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARAC00:=((SUM(AMOUNT,7))/(VARA00))/(100);VARD0:=DMA(VARAB00,(VOL)/(VARAC00));VARDE0:=((CLOSE-VARD0)/(VARD0))*(100);VARDE0JF:=MA(VARDE0,20)+STD(VARDE0,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);DRAWTEXT(CROSS(84,RSI) AND CROSS(76,VAR28),H*1.01,'卖出'),LINETHICK4,COLORGREEN;买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,2.5,0),COLORYELLOW,LINETHICK2;多头线:=EMA(C,1.5),COLOR0000CC;空头线:=EMA(C,5),COLORMAGENTA;均衡线:=EMA(空头线,5),COLORGREEN;VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;ZAI:=FILTER(VARF1 AND VARF2,2);DRAWTEXT(ZAI,均衡线*0.99,'↖主力拉升'),COLOR00FF00;CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CC);EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L*1.0,'持股待涨'),COLORFF00FF;FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L*1.0,'梅开二度'),COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS (C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L*1.0,'三线齐升'),COLORFFC8FF;A:=BARSCOUNT(C)+54;时窗:=A/13=FLOOR(A/13);DRAWTEXT(时窗,L*0.996,'变盘时窗'),COLORWHITE;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLO SE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOS E,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX( OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OP EN)-JJ)));DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHI CK;JW:="KDJ.J";DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;弄点钱玩:=CROSS(JW,0) AND ((DDX>0 AND DDY>0) OR DDZ>400);A2W:="MACD.MACD"(26,12,9);A1W:=C/REF(C,1)<1.099 AND A2W>REF(A2W,1) ;A3:=COUNT(DDX>0.045,10)>2;弄点钱玩2:=弄点钱玩AND DDX >0.055 AND DDY>0.07 AND A1W AND A3; DRAWTEXT(弄点钱玩2>0,L*0.995,'【弄点钱】'),COLORYELLOW;TJ5:=REF("I",1)<-100 AND "I">REF("I",1);TJ6:=REF("KDJ.J"(9,3,3),1)<20 AND "KDJ.J"(9,3,3)>REF( "KDJ.J"(9,3,3),1);TJ7:=REF("RSI.RSI1",1)<20 AND "RSI.RSI1">REF("RSI.RSI1",1);TJ8:=COUNT(TJ5,5) AND COUNT(TJ6,5) AND COUNT(TJ7,5);大底:=CROSS(TJ8,0.5);DRAWICON(大底,L*0.991,9);TYP:=(HIGH+LOW+CLOSE)/3;AAWP:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));CCI2天均线:=MA(AAWP,2);CCI底部上升:=FILTER(-100>CCI2天均线AND CCI2天均线>REF(CCI2天均线,1),5); DRAWTEXT(CCI底部上升,L-0.05,'底部上升'),COLORRED;CCI高位下降:=FILTER(CCI2天均线>100 AND REF(CCI2天均线,1)>CCI2天均线,5); DRAWTEXT(CCI高位下降,H+0.2,'高位下降'),COLORGREEN;。
宁波高手指标公式源码(通达信版)宁波高手指标A03:=(EMA((AMOUNT/100000),1)/3);A04:=(WINNER(CLOSE)/ 0.3);A05:=IF((BARSCOUNT(CLOSE) >100),A03,A04);量:A05 LINETHICK2 ;动量:(EMA(量, 13.000) * 1.5)LINETHICK2;A01:=IF((量> 动量),量,0);A08:=BARSLAST((A01 > 0));A09:=REF(量,A08);趋势:IF((量<= A01),量,A09),LINETHICK2,COLORRED;盘整天数:BARSLAST((A01 > 0)),LINETHICK0,COLORMAGENTA;量价同行:IF(趋势>量,趋势,DRAWNULL),COLORCY AN,LINETHICK2;A0D:=((((REF(量, 1.000) = REF(趋势, 1)) AND (量>= REF(量, 1))) AND (量>= 动量)) AND (REF(量, 1) <= REF(量, 2)));量价突破选股:IF(((((量= 趋势) AND (CLOSE > REF(CLOSE, 1))) AND (量> REF(量, 1))) AND (REF(A08, 2) > 0)), 888,0),LINETHICK0;量价同行选股:IF((量= 趋势), 888,0)LINETHICK0;量价背离选股:IF((REF(((动量> REF(动量,1)) AND (MA(CLOSE, 5) < REF(MA(CLOSE, 5), 1))), 1) AND 量价突破选股), 888,0),LINETHICK0;再次上攻选股:IF(A0D, 888,0),LINETHICK0;DRAWICON(量价突破选股>0,量,9);DRAWICON(A0D>0,量,6);DRAWTEXT(再次上攻选股>0,(量*0.7),'再次上攻'),COLORMAGENTA;DRAWTEXT(量价背离选股>0,(量*1.149),'背离后上攻'),COLORGREEN;DRAWTEXT(量价突破选股>0,(量*0.699),'上攻'),COLORCYAN;{虚拟成交量}WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V20:MA(VOLUME,20);V60:MA(VOLUME,60);V AR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主卖:IF(CLOSE>OPEN,V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,V AR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(主买>0,0,主买,2,0),COLORRED;{STICKLINE(主卖>0,主买,VOL,2,1),COLOR00FF80;}STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;换手:VOL/CAPITAL*100,POINTDOT;十日换手:SUM(换手,10);成交额(千万):AMOUNT/10000000,POINTDOT;流通盘(亿):CAPITAL/1000000,POINTDOT;流通市值(亿):(CAPITAL/100*C)/10000,POINTDOT,COLOR33CCFF;400;{均线阻力支撑}天: IF(HHVBARS(V ,60) ,REF(C ,HHVBARS(V ,60) ) ,C),COLORLIBLUE,POINTDOT;地: IF(LLVBARS(V,5), REF (C,LLVBARS(V,5)),C),COLORYELLOW,POINTDOT;人: IF(LLVBARS(V,13), REF (C,LLVBARS(V,13)),C),COLORMAGENTA,POINTDOT;MA3:MA(C,3);MA13:MA(C,13);主力成本:COST(5),POINTDOT;获利了结: COST(98),POINTDOT;ZLX:STICKLINE(C<O ANDREF(C,1)>REF(O,1),REF(C,1),REF(C,1)*0.995,4,0),COLOR00FF00;看这几个指标,其他不看。
在判断股票日后趋势的时候必然要用到一些小k线组合的知识,这个指标就涉及到了平常最常用的一些k线组合形态,从而自动判断后势股价的涨跌。
{K线形态解盘}TT:=240/FROMOPEN;比:=TT;J12:=(HIGH - ((HIGH - LOW) / 3));J23:=(LOW + ((HIGH - LOW) / 3));AAA:=CONST(HHV(H,90));BBB:=CONST(LLV(L,100));DRAWBAND(AAA,RGB(50,100,00),BBB,RGB(00,00,00));MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);MA5:MA(CLOSE,120);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 ANDREF(OPEN,1)> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) ANDMIN(CLOSE,OPEN)> MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1) ,REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 ANDABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2) -REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1) <=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE, 2))<=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) ANDREF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) ANDREF(HIGH,4)>REF(HIGH,2)AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) ANDREF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) ANDREF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) ANDCLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0)); T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1) <REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPENAND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR(REF(CLOSE,1)>REF(OPEN,1)AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12=1,TS11+0.03,TS11);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T18=1,TS17+0.03,TS17);TS19:=IF(T19=1,TS18+0.03,TS18);TS20:=IF(T20=1,TS19+0.03,TS19);TS21:=IF(T21=1,TS20+0.03,TS20);TS22:=IF(T22=1,TS21+0.03,TS21);TS23:=IF(T23=1,TS22+0.03,TS22);TS24:=IF(T24=1,TS23+0.03,TS23);TS25:=IF(T25=1,TS24+0.03,TS24);TS26:=IF(T26=1,TS25+0.03,TS25);TS27:=IF(T27=1,TS26+0.03,TS26);TS28:=IF(T28=1,TS27+0.03,TS27);TS29:=IF(T29=1,TS28+0.03,TS28);TS30:=IF(T30=1,TS29+0.03,TS29);TS31:=IF(T31=1,TS30+0.03,TS30);TS32:=IF(T32=1,TS31+0.03,TS31);TS33:=IF(T33=1,TS32+0.03,TS32);TS34:=IF(T34=1,TS33+0.03,TS33);TS35:=IF(T35=1,TS34+0.03,TS34);TS36:=IF(T36=1,TS35+0.03,TS35);TS37:=IF(T37=1,TS36+0.03,TS36);TS38:=IF(T38=1,TS37+0.03,TS37);TS39:=IF(T39=1,TS38+0.03,TS38);TS40:=IF(T40=1,TS39+0.03,TS39);TS41:=IF(T41=1,TS40+0.03,TS40);TS42:=IF(T42=1,TS41+0.03,TS41);TS43:=IF(T43=1,TS42+0.03,TS42);DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLOR00FFFF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORFFFF00 ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORFFFF00 ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORFF00FF ;DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLOR0000FF ;DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORFFFF00 ;DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。
如果你真懂了那股市就是取款机,用了多年的公式
奉献一个高成功率的指标,适合波段操作的朋友!可以更直观的看清主力意图。
好指标就应该分享,希望能帮到需要的朋友。
短线操作,是一种实战化的思路,一种轻易便能掌握的技术,用了多年的公式,简单易用,机械式操作
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),COLORBLUE;
主力进: IF(V4>=0,V4,0),COLORFF00FF; .................................................................................................................................. .............................................
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00; 见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8); DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(大盘资金进场AND 趋势线<13,0,30,10,0),COLORRED;
STICKLINE(大盘资金撤走AND 趋势线>90,0,30,10,0),COLORGREEN;
STICKLINE(主力进AND 趋势线<13,0,40,10,0),COLORFF00FF;
STICKLINE(主力撤AND 趋势线>90,0,40,10,0),COLORBLUE;。