通达信指标公式 通达信速成炒股法大众都喜欢指标公式
2015-4-2 11:32:23 股票入门 http://rumen.southmoney.com
南方财富网带来通达信指标公式 通达信速成炒股法大众都喜欢指标公式:
(一)指标设置,一主图两副图,就用现成的,改改参数就成:
(1)主图:bbi;
(2)副图1:kdj(参数原来是9,3,3改为21,7,3);
(3)副图2:macd(参数原来是12,26,9改为5,26,3);
速成炒股法原码:
{BBI}{主图}
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
——————————————————————————————————————
DIF:EMA(CLOSE,5)-EMA(CLOSE,26);
DEA:EMA(DIF,3),LINETHICK1;
MACD:=2*(DIF-DEA);
STICKLINE(MACD》=0,MACD,0,0,0),COLORF00FF0;
STICKLINE(MACD《0,MACD,0,0,0),COLORF00FF0;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,0,0 ),COLORFFFF00;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,0,0 ),COLORFFFF00;
IF(DIF《0,DIF,0),COLORRED,LINETHICK1;
IF(DIF《0,0,DIF),COLORRED,LINETHICK1;
IF(DIF《DEA,DIF,DEA),COLOR00FF00,LINETHICK1;
IF(DIF》DEA,DEA,DEA),COLORWHITE,LINETHICK1;
金叉:=CROSS(DIF,DEA) AND DIF《0.3;
STICKLINE(金叉,0,-0.38,3,0),COLOR0000FF;
——————————————————————————————————————
{KDJ-SC}{副图}
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:SMA(RSV,7,1);
D:SMA(K,3,1);
J:3*K-2*D;
VARK:K,COLORWHITE;
上升K:IF(VARK》REF(VARK,1),VARK,DRAWNULL),COLORRED;
走平K:IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORFFFFCC;
下降K:IF(VARK《REF(VARK,1),VARK,DRAWNULL),COLORGREEN;
VARD:D,COLORWHITE;
上升D:IF(VARD》REF(VARD,1),VARD,DRAWNULL),COLORRED;
走平D:IF(VARD=REF(VARD,1),VARD,DRAWNULL),COLORFFFFCC;
下降D:IF(VARD《REF(VARD,1),VARD,DRAWNULL),COLORGREEN;
VARJ:J,COLORWHITE;
上升J:IF(VARJ》REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORFFFFCC;
下降J:IF(VARJ《REF(VARJ,1),VARJ,DRAWNULL),COLORGREEN;
——————————————————————————————————————
{速成选股}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DIF:=EMA(CLOSE,5)-EMA(CLOSE,26);
DEA:=EMA(DIF,3),LINETHICK1;
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(RSV,7,1);
D:=SMA(K,3,1);
XG:CROSS(CLOSE,BBI) AND BBI》REF(BBI,1) AND CROSS(DIF,DEA) AND CROSS(K,D);
(二)用法:
(1)先看主图,如bbi向上时,而k线向上穿越bbi,则是买点;此时此刻kdj,macd相应会金叉;
(2)如bbi一直托住k线向上,则持股不卖,此时kdj,macd相应向上;
(3)一定要看bbi的角度,角度愈大愈强,角度愈小愈弱,角度变平就要变盘了,而kdj,macd相应会表示;
(4)当bbi角度变小变平,而k线向下穿越bbi,则是卖点,此时此刻kdj,macd相应会死叉;
(5)买卖时一定看大盘的强弱,大盘不好宁愿不做,大盘好,此法甚灵;
(6)bbi,kdj,macd,三者是互相印证的在实战中,你会加深体会;
三点看法:
一、零轴下金叉优先;
二、大盘强势选放量,大盘弱势选地量;
三、上次死叉时间不能太近。
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。