通达信经典的指标最实用 KDJ买卖副图指标
通达信——最牛指标集合【抄底爆点】副图指...
通达信——最牛指标集合【抄底爆点】副图指...
通达信——最牛指标集合
【抄底爆点】副图指标+【抓主升浪】副图指标!!
只为短线抄底,天天都是抓连板[赞]
这两套指标都是没有未来函数的!都是指标界知名老师的成名之作。
在龙头榜单上也是名列前茅的指标!
我私藏多年,今天指标全部免费分享给大家!
这两款技术指标都在2020和2019年指标大赛中都荣获第一名指标奖![赞][赞][赞]
请及时自测,过期不候![玫瑰][玫瑰][玫瑰]
下面是【抄底爆点】源码公式:
BACKSET( (REF(CLOSE,1)<REF(OPEN,1) AND
CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2);
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4
),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
:C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 ;
(因为字数原因,指标公式这里发不完整,请见谅!)
#感谢头条##A股##股票##财经#。
通达信指标公式源码超准超准的买卖指标
通达信指标公式源码超准超准的买卖指标通达信是国内股市行情软件中比较常用的一个,其中包含了很多常用的指标,包括MACD、RSI、KDJ等等。
下面列举几个常用的指标的源码:1.MACD指标:其中包含了两个变量:参数快线天数和参数慢线天数。
```MA1:=(CLOSE-REF(CLOSE,参数快线天数))/(参数快线天数-1);DIF:=(CLOSE-REF(CLOSE,参数慢线天数))/(参数慢线天数-1);DEA:EMA(DIF,参数横坐标);MACD:(REF(DIF-DEA,1)*2));```2.RSI指标:参数N代表计算RSI的周期。
```LC:=REF(CLOSE,1);AA:=CLOSE-LC;AVG1:=SMA(IF(AA>0,AA,0),参数N,1);AVG2:=SMA(IF(AA<0,-AA,0),参数N,1);RSI:100-100/(1+AVG1/AVG2);```3.KDJ指标:参数N代表计算KDJ的周期,参数M1和参数M2分别代表K线的移动平均线的周期。
```LC:=REF(CLOSE,1);HD:=HHV(HIGH,参数N);LD:=LLV(LOW,参数N);RSV:=(CLOSE-LD)*100/(HD-LD);K:SMA(RSV,参数M1,1);D:SMA(K,参数M2,1);J:3*K-2*D;```以上是部分常用指标的源码,其中还有很多其他指标的源码未一一列举。
这些指标的使用可以帮助投资者进行技术分析,辅助股票的买卖决策。
但需要注意的是,指标仅仅是辅助工具,不能单独作为投资的决策依据,投资者在使用指标的同时,还需要结合其他的市场因素进行综合分析。
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
指标源码:{价量线主线快线}价量: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乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(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,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红} STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>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;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
通达信顶底背离(指标副图贴图)无未来,准确率90%
通达信顶底背离(指标副图贴图)⽆未来,准确率90%使⽤多年的⼀个指标,KDJ,RSI,MACD,DMI等指标集成,在⼀张副图上显⽰,看盘⾮常⽅便明了,可以看出股票下⼀步的趋势,准确率⾮常⾼。
本⼈使⽤多年的⼀个指标,KDJ,RSI,MACD,DMI等指标集成,在⼀张副图上显⽰,看盘⾮常⽅便明了,可以看出股票下⼀步的趋势。
底:-50;顶:50;TRR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:= PDM*100/TRR;MDI:= MDM*100/TRR;A1:=BARSLAST(REF(CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9)),1));B1:=REF(C,A1+1)>C AND REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) ANDCROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));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));C1:=BARSLAST(REF(CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9)),1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF"(12,26,9),C1+1)>"MACD.DIF"(12,26,9) ANDCROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9));C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) ANDCROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));C4:=BARSLAST(REF(CROSS(MDI,PDI),1));D4:=REF(C,C+1)<C AND REF(MDI,C4+1)>MDI AND CROSS(MDI,PDI);A4:=BARSLAST(REF(CROSS(PDI,MDI),1));B4:=REF(C,A4+1)>C AND REF(PDI,A4+1)<PDI AND CROSS(PDI,MDI);DMI底背:IF(B4>0,-50,0),COLOR0099FF,POINTDOT;DRAWTEXT(B4>0,-5,'DMI底背'),COLOR0099FF;DMI顶背:IF(D4>0,50,0),COLORBLUE,POINTDOT;DRAWTEXT(D4>0,15,'DMI顶背'),COLORBLUE;MACD底背:IF(B1>0,-50,0),COLORRED,POINTDOT;DRAWTEXT(B1>0,-15,'MACD底背'),COLORRED;KDJ底背:IF(B2>0,-50,0),COLORFF00FF,POINTDOT;DRAWTEXT(B2>0,-25,'KDJ底背'),COLORFF00FF;RSI底背:IF(B3>0,-50,0),COLORYELLOW,POINTDOT;DRAWTEXT(B3>0,-35,'RSI底背'),COLORYELLOW;MACD顶背:IF(D1>0,50,0),COLOR00FF00,POINTDOT;DRAWTEXT(D1>0,25,'MACD顶背'),COLOR00FF00;KDJ顶背:IF(D2>0,50,0),COLORFFCC66,POINTDOT;DRAWTEXT(D2>0,35,'KDJ顶背'),COLORFFCC66;RSI顶背:IF(D3>0,50,0),COLORFFFFFF,POINTDOT;DRAWTEXT(D3>0,45,'RSI顶背'),COLORFFFFFF;STICKLINE(B1>0,-50,0,0,0),COLORRED;STICKLINE(B2>0,-50,0,0,0),COLORFF00FF;STICKLINE(B3>0,-50,0,0,0),COLORYELLOW;STICKLINE(D1>0,50,0,0,0),COLOR00FF00;STICKLINE(D2>0,50,0,0,0),COLORFFCC66;STICKLINE(D3>0,50,0,0,0),COLORWHITE; STICKLINE(B4>0,-50,0,0,0),COLOR0099FF; STICKLINE(D4>0,50,0,0,0),COLORBLUE;。
通达信MACD+KDJ+RSI提前共振副图指标源码
通达信MACD+KDJ+RSI提前共振副图指标源码以下是通达信MACD+KDJ+RSI提前共振副图指标源码(无源码的请下载附件导入)通达信MACD+KDJ+RSI提前共振副图指标源码MACD+KDJ+RSI提前共振指标(源码副图,附图),使用说明一看就懂。
MACD KDJ RSI 背离文字提示+隐藏,喜欢的自己再放开显示就行了。
不放开界面比较干净,看自己爱好。
DIF:=(2*EMA(CLOSE, 12)-EMA(EMA(CLOSE,12),12))-(2*EMA(CLOSE, 26)-EMA(EMA(CLOSE, 26),26));DEA:=2*EMA(DIF, 9) - EMA(EMA(DIF, 9),9);MACD1:3*(DIF-DEA)COLORSTICK;MACD2:=EMA(MACD1,3);STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3,0),COLORRED;STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,3,0),COLORGREEN;STICKLINE(MACD1<MACD2,0,MACD1,3,0),COLORCBCBC0;STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;DIF,COLOR33FF33,LINETHICK2;DEA,COLORYELLOW,LINETHICK2;MACD:=MACD1,NODRAW,COLORMAGENTA;强:=IF(DIF>=DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;弱:=IF(DEA>=DIF,DEA,DRAWNULL),COLORFF9900,LINETHIC K2;DRAWICON(CROSS(DIF,DEA),DIF-0.2,1);DRAWICON(CROSS(DEA,DIF),DEA+0.2,2);A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");{DRAWTEXT(B1>0,-0.05,'MACD底背'),COLORFF00FF;}A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));{公式在线提供:}B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");{DRAWTEXT(B2,-0.08,'KDJ底离'),COLORYELLOW;}{KDJ底背离};A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");{DRAWTEXT(B3>0,-0.1,'RSI底离'),COLORCYAN;}{RSI底背离};C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");{DRAWTEXT(D1>0,0.05,'MACD顶离'),COLORBLUE;}{MACD顶背离}C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");{DRAWTEXT(D2>0,0.1,'KDJ顶离'),COLORLIGRAY;}{KDJ顶背离} C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");{DRAWTEXT(D3>0,0.2,'RSI顶离'),COLORGREEN;}{RSI顶背离};DD:=C=HHV(C,180);EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;上升背离:(CC AND EE)*DEA,COLOR00FFFF;顶背离:(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN;FF:=C=LLV(C,180);GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;下降背离:(LL AND GG)*DEA,COLORMAGENTA;底背离:(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED;。
日周月KDJ副图(通达信)
日周月KDJ副图(通达信)日周月KDJ副图(通达信)2010-05-24 股旁网分类:通达信公式标签: kdj月K:"KDJ.K"(89,3,3),COLOR00FF00;月D:"KDJ.D"(89,3,3),COLOR00FF00,LINETHICK2;周K:"KDJ.K"(27,3,3),COLORRED;周D:"KDJ.D"(27,3,3),COLORRED,LINETHICK2;日K:"KD.K"(5,3,3),COLORWHITE;日D:"KD.D"(5,3,3),COLORWHITE,LINETHICK2;日金叉:IF(CROSS(日K,日D),50,0),COLORFFFFFF;DRAWTEXT(日金叉,50,'日叉'),COLORFFFFFF;周金叉:IF(CROSS(周K,周D),30,0),COLORRED;DRAWTEXT(周金叉,30,'周叉'),COLORRED;月金叉:IF(CROSS(月K,月D),20,0),COLOR0080FF;DRAWTEXT(月金叉,20,'月叉'),COLORYELLOW;{KD在30以下多次金叉}JM:=CROSS("KDJ.K"(5,3,3),"KDJ.D"(5,3,3));JMCOUNT:=COUNT(JM,BARSLAST("KDJ.D"(5,3,3)>=30));JMTJ:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=1,21)=1);DRAWTEXT (JMTJ,70,'①'),COLORWHITE;JMTJ2:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=2,21)=1);DRAWTEXT (JMTJ2,70,'②'),COLORYELLOW;JMTJ3:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=3,21)=1);DRAWTEXT (JMTJ3,70,'③'),COLORYELLOW;JMTJ4:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=4,21)=1);DRAWTEXT (JMTJ4,70,'④'),COLORYELLOW;JMTJ5:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=5,21)=1);DRAWTEXT (JMTJ5,70,'⑤'),COLORYELLOW;0,COLORYELLOW;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);MACD底背离:STICKLINE(FILTER(B1>0,5),0,0.75,3,0),COLORGREEN;DRAWTEXT(FILTER(B1>0,5),0.57,'MACD底背离'),COLORGREEN;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);A2:=BARSLAST(REF(CROSS(K,D),1));B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);KDJ底背离:STICKLINE(FILTER(B2>0,5),0,1,3,0),COLORYELLOW;DRAWTEXT(FILTER(B2>0,5),0.80,'KDJ底背离'),COLORYELLOW;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),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);RSI底背离:STICKLINE(FILTER(B3>0,5),0,0.5,3,0),COLORWHITE;DRAWTEXT(FILTER(B3>0,5),0.25,'RSI底背离'),COLORWHITE;2,COLORRED;C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);MACD顶背离:STICKLINE(FILTER(D1>0,5),2,1.25,3,0),COLOR0066FF;DRAWTEXT(FILTER(D1>0,5),1.47,'MACD顶背离'),COLOR0066FF;C2:=BARSLAST(REF(CROSS(D,K),1));D2:=REF(C,C2+1)<C AND REF(K,C2+1)>K AND CROSS(D,K);KDJ顶背离:STICKLINE(FILTER(D2>0,5),2,1,3,0),COLORRED;DRAWTEXT(FILTER(D2>0,5),1.2,'KDJ顶背离'),COLORRED;C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1);RSI顶背离:STICKLINE(FILTER(D3>0,5),2,1.5,3,0),COLORFF00FF;DRAWTEXT(FILTER(D3>0,5),1.75,'RSI顶背离'),COLORFF00FF;0,COLORFFA2AF;20,COLORFFA2AF,POINTDOT;50,COLORFFA2AF;80,COLORFFA2AF,POINTDOT;100,COLORFFA2AF;股票不是天天可做的,也没必要天天做,累的人不会赚钱,会赚钱的人不累。
通达信指标——反转(副图)
RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;K:EMA(RSV,3);D:EMA(K,3);J:=(3*K-2*D);DRAWBAND(K,RGB(155,50,50),D,RGB(0,100,50));遵:IF(K > = D,K,DRAWNULL),COLORRED;守:IF(D > = K,D,DRAWNULL),COLORFF9900;纪:IF(K > = D,D,DRAWNULL),COLOR00FFFF;律:IF(D > = K,K,DRAWNULL),COLOR00FF00;火山:IF(J < = 0,-J*5,0),LINETHICK0;STICKLINE(J < = 0,0,火山,4,0),COLORRED;KDJ1:=REF(COUNT(J=3,1) AND REF(J,1) < 20;KDJ2:=J > REF(J,1);反转:IF(FILTER(KDJ1 AND KDJ2,3),30,0),COLORFF00FF,LINETHICK2;V AR1:=1;V AR3:=LLV(HIGH,240);V AR4:=100*(CLOSE-V AR3)/V AR3*V AR1;V AR5:=REF(LLV(CLOSE,480),1)*VAR1;V AR6:=REF(HHV(CLOSE,480),1)*V AR1;V AR7:=100*(CLOSE-V AR5)/(V AR6-V AR5)*V AR1;V AR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;V AR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;V ARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*V AR1;V ARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;V ARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1; V ARD:=IF(VARC > 23.16,V ARC,0)*VAR1;V ARE:=V ARC < 1*VAR1;V ARF:=VARD*VAR1;V AR10:=V AR4 < 0 AND V AR7 < 0;V AR11:=1;V AR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;V AR13:=EMA(V AR12,21);V AR14:=STD(V AR12,21);V AR15:=((V AR12-V AR13)/V AR14*100+200)/4*V AR11;V AR16:=(EMA(V AR15,89)-25)*1.56*V AR11;V AR17:=EMA(V AR16,5)*1.22*V AR11;V AR18:=EMA(V AR17,3)*V AR11;V AR19:=3*VAR17-2*VAR18*V AR11;V AR1A:=IF(CROSS(VAR19,V AR17) AND CROSS(V AR19,V AR18) AND CROSS(VAR17,V AR18),1,0);V AR1B:=IF(CROSS(V AR17,V AR19) AND CROSS(V AR18,V AR19) AND CROSS(VAR18,V AR17),1,0);买点: IF(FILTER(V AR8=0 AND V ARE AND V AR10 AND V AR1A,5)=1,50,0);卖点: IF(FILTER(V AR8=100 AND V ARF AND V AR1B,5)=1,50,0);V AR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1 ;V AR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*V AR1;V AR1E:=EMA(V AR1D,30)*V AR1;V AR1F:=2*(VAR1D-V AR1E)*10*V AR1;V AR20:=POW(V AR1F,3)*0.1+POW(V AR1F,2)*VAR1;V AR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));V AR22:=EMA(V AR21*0.97,3)*V AR1;V AR23:=(HIGH+LOW+CLOSE)/3*V AR1;V AR24:=(V AR23-MA(V AR23,14))/(0.015*A VEDEV(V AR23,14))*V AR1;V AR25:=IF(VAR1F > 0.015,V AR20,0)/45*V AR1;拉升资金: V AR25,COLORRED,LINETHICK2;DRAWICON(FILTER(V AR25 > 0 AND V AR25 > REF(V AR25,1),8),0,23);V AR26:=EMA(CLOSE,2)-EMA(CLOSE,150);V AR27:=EMA(V AR26,100);V AR28:=2*(VAR26-VAR27);V AR29:=POW(V AR28,3)*0.1+POW(V AR28,1);V AR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));V AR2B:=EMA(V AR2A*0.97,3);V AR2C:=(HIGH+LOW+CLOSE)/3;V AR2D:=(V AR2C-MA(V AR2C,14))/(0.015*A VEDEV(V AR2C,14));主力资金: IF(VAR28 > 0.1,V AR29,0)*5;。
深入解析四量图副图的通达信指标公式
深入解析四量图副图的通达信指标公式1. 前言本文将深入解析通达信软件中四量图副图的指标公式。
四量图副图是股票交易中常用的技术指标之一,通过对成交量、资金流向等数据的分析,帮助投资者判断股票的走势和市场情况。
了解四量图副图的指标公式,对于投资者的决策和操作具有重要意义。
2. MACD指标MACD指标是四量图副图中常用的指标之一,用来判断股票的买入和卖出信号。
其计算公式如下:MACD线 = 快速线EMA12 - 慢速线EMA26信号线 = MACD线的9日EMA通过比较MACD线和信号线的走势,可以判断股票的买入和卖出时机。
当MACD线向上穿越信号线时,为买入信号;当MACD线向下穿越信号线时,为卖出信号。
3. KDJ指标KDJ指标是衡量股票价格动量的指标,也是四量图副图中常用的指标之一。
其计算公式如下:RSV = (收盘价 - 最低价) / (最高价 - 最低价) * 100K值 = RSV的N日移动平均D值 = K值的M日移动平均J值 = 3 * K值 - 2 * D值KDJ指标的取值范围为0到100,一般认为当K值大于80时,为超买区;当K值小于20时,为超卖区。
通过观察KDJ指标的数值,可以判断股票的买入和卖出时机。
4. BOLL指标BOLL指标是通过计算股票价格的标准差和均值,来判断股票的波动情况和趋势的指标。
其计算公式如下:中轨线 = N日收盘价的移动平均上轨线 = 中轨线 + 2 * N日收盘价的标准差下轨线 = 中轨线 - 2 * N日收盘价的标准差通过观察股票价格是否触及上轨线或下轨线,可以判断股票的超买和超卖情况,以及股票价格的波动趋势。
5. OBV指标OBV指标是通过累加成交量的正负值来判断股票价格的走势和市场情况的指标。
其计算公式如下:如果当日收盘价大于前一日收盘价,将当日成交量加到OBV 上如果当日收盘价小于前一日收盘价,将当日成交量减去OBV通过观察OBV指标的走势,可以判断股票价格的走势和市场的买卖气氛。
通达信经典的指标最实用 KDJ买卖副图指标
本副图用最经典的KDJ指标组合,副图摒弃花哨的画面,直观,一看就懂。
副图指标说明:一、中间柱形信号买卖:准确不漂移。
出现“B、S”提示可操作!二、上下三角信号买卖:该买卖信号有点漂移,但不能认为不好,当左侧信号出现时可认为是买卖的预警信号,当三角信号右侧闭合完整时买卖、也就是在第二天买入或卖出!三、换手率>16%时会有图标。
换手:VOL/CAPITAL*100,COLORLIBLUE,NODRAW;VAR1:=(4*CLOSE+HIGH+LOW)/4;VAR2:=EMA(EMA(EMA(VAR1,7),7),7);J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;K:=MA(J,1);D:=MA(J,3)+0.03;Y:=0;中:60;DRAWICON(换手>16,K*3,10);DRAWICON(CROSS(D,K),中+35,8);STICKLINE(CROSS(D,K),中,中+18,1,0),COLORGREEN;DRAWICON(CROSS(K,D),中-40,7);STICKLINE(CROSS(K,D) ,中,中-18,1,0),COLORRED;{次日买入}N:=5;M:=10;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;KK:=SMA(RSV,5,1);DD:=SMA(KK,M,1);JK:=3*K-2*DD;VAR3:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);均价:=资金/量/100;渣:=(CLOSE-均价)/均价*100;金:=渣<0 AND ZXNH,COLORRED;烂铁:=渣>0 AND ZXNH,COLORRED;低买:IF(金AND RSV<VAR3-2,25,0),COLORRED,LINETHICK2;高卖:IF(烂铁AND RSV>VAR3,95,120),COLORGREEN,LINETHICK1;DRAWTEXT(CROSS(低买,20),5+REF(C,1),'←次日买')COLORLIRED;DRAWTEXT(CROSS(高卖,100),110-REF(C,1),'←次日卖')COLOR38C838;。
通达信缠论副图指标
通达信缠论副图指标通达信缠论副图指标是一种技术指标,使用它可以辅助投资者从过去的股票价格波动中发现有利可图的趋势,在股市中有所谓的“缠论”思想,即通过分析价格波动和一些其他技术指标,从而判断其中可能存在的趋势,找出投资机会。
在这方面,通达信缠论副图指标能够对股市走势进行更加精确的分析,从而更容易掌握股票发展的趋势。
通达信缠论副图指标的分析核心是副图,它有三个元素:短期K 线、长期K线和KDJ指标,其中短期K线是十日K线,长期K线是周K线,而KDJ指标是由K值、D值和J值组成的指标。
于KDJ指标,K 值代表看空,而D值则代表看多。
J值是K值和D值之间的差值,它可以帮助投资者分析股价的变化,并识别出股价趋势。
通达信缠论副图指标分析是基于以上三个元素进行的,投资者可以采用均线分析相关技术,将短期K线和长期K线进行比较,查看两者之间的关系,以挖掘出股票价格的变化趋势,并预测股价的走势。
此外,投资者还可以利用KDJ指标,查看K值、D值和J值之间的关系,从而识别出股价的变化态势,对投资者进行辅助分析,帮助他们找出有利可图的投资机会。
通达信缠论副图指标在投资者采用时需要根据市场的实际情况,把握其中的走势,并认真掌握其中的细节,以确定分析过程中的变化。
同时,投资者还要注意市场的变化,及时调整投资组合,以免遭受损失。
对于初学者,在投资前需要多加学习,充分了解各类技术指标,以增加投资经验,提高投资能力,以期获得足够的投资收益。
总之,通达信缠论副图指标是一种非常有效的技术指标,它能更加准确地分析股市走势,有助于投资者发现有利可图的投资机会。
而且,必须要提醒投资者,在使用通达信缠论副图指标分析前,要做好投资准备,掌握其中的细节,多加学习,以达到投资的最佳效果。
通达信指标公式源码 macd副图指标,逃顶抄底,买卖利器
RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA1:=EMA(DIFF,9);MACD1:=2*(DIFF-DEA1),COLORSTICK,LINETHICK2;趋势:=MA(MACD,1);DRAWICON(MACD1>REF(MACD1,1) AND 趋势>0 ,趋势,1);低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=(3*K-2*D);DRAWTEXT(二次金叉,DEA*1,'低二叉'),COLORYELLOW;周DIF:="MACD.DIF#WEEK"(12,26,9);周DEA:="MACD.DEA#WEEK"(12,26,9);周MACD:="MACD.MACD#WEEK"(12,26,9);DIF周金叉:=CROSS(周DIF,周DEA);DRAWTEXT(DIF周金叉,0,'周叉'),COLORYELLOW;DRAWTEXT(CROSS(周DEA,周DIF),0,'周死'),COLORGREEN;MACD周金叉:=CROSS(周MACD,周DIF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02; VARR:=EMA(EMA(CLOSE,13),13);控盘:=(VARR-REF(VARR,1))/REF(VARR,1)*1000;A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;刘:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;剑:=EMA(刘,M1);BTJ11:=(C-JJ)/JJ<-0.03;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ3:=CROSS(刘,剑) AND 刘<-0.3;BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:=FILTER(庄,55),COLORWHITE;DRAWTEXT(BTJ811,-0.2,'★有庄'),COLORYELLOW;DRAWTEXT(CROSS(J,-3),DIF,'出击'),COLORWHITE;A1:=BARSLAST(REF(CROSS(EMA(CLOSE,12)-EMA(CLOSE,26),EMA(EMA(CLOSE,12)-EMA( CLOSE,26),9)),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND EMA(CLOSE,12)-EMA(CLOSE,26)>REF(EMA(CLOSE,12)-EMA(CLOSE,26),A1+1) AND CROSS(EMA(CLOSE,12)-EMA(CLOSE,26),EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9));底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORMAGENTA,LINETHICK2;A2:=BARSLAST(REF(CROSS(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9),EMA(CLOSE,12)-E MA(CLOSE,26)),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(EMA(CLOSE,12)-EMA(CLOSE,26),A2+1)>EMA(CLOSE,12)-EMA(CLOSE,26) AND CROSS(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9),EMA(CLOSE,12)-EMA(CLOSE,26));顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
本副图用最经典的KDJ指标组合,副图摒弃花哨的画面,直观,一看就懂。
副图指标说明:
一、中间柱形信号买卖:准确不漂移。
出现“B、S”提示可操作!
二、上下三角信号买卖:
该买卖信号有点漂移,但不能认为不好,当左侧信号出现时可认为是买卖的预警信号,当三角信号右侧闭合完整时买卖、也就是在第二天买入或卖出!
三、换手率>16%时会有图标。
换手:VOL/CAPITAL*100,COLORLIBLUE,NODRAW;
VAR1:=(4*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,7),7),7);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
K:=MA(J,1);
D:=MA(J,3)+0.03;
Y:=0;
中:60;
DRAWICON(换手>16,K*3,10);
DRAWICON(CROSS(D,K),中+35,8);
STICKLINE(CROSS(D,K),中,中+18,1,0),COLORGREEN;
DRAWICON(CROSS(K,D),中-40,7);
STICKLINE(CROSS(K,D) ,中,中-18,1,0),COLORRED;
{次日买入}
N:=5;
M:=10;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KK:=SMA(RSV,5,1);
DD:=SMA(KK,M,1);
JK:=3*K-2*DD;
VAR3:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
均价:=资金/量/100;
渣:=(CLOSE-均价)/均价*100;
金:=渣<0 AND ZXNH,COLORRED;
烂铁:=渣>0 AND ZXNH,COLORRED;
低买:IF(金AND RSV<VAR3-2,25,0),COLORRED,LINETHICK2;
高卖:IF(烂铁AND RSV>VAR3,95,120),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(低买,20),5+REF(C,1),'←次日买')COLORLIRED;
DRAWTEXT(CROSS(高卖,100),110-REF(C,1),'←次日卖')COLOR38C838;。