软件名称:[B]乖离连胜 通达信副图 指标原理 源码[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:3.00 KB
官方主页:Home Page
更新时间:2012-01-25 04:10:25
软件简介:
乖离连胜 通达信副图 源码
指标原理:MACD柱的升缩和BIAS13日与BIAS21日间的乖离情况。
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:(DIFF-DEA)*15;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;
多转空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));
空转多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3)));
DRAWICON(多转空,MACD,24);
DRAWICON(空转多,MACD,23);
BIAS13:MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORCYAN,LINETHICK1;
BIAS21:MA((CLOSE-MA(CLOSE,21))/MA(CLOSE,21),21)*100;
IF(BIAS21<0,BIAS21,0),COLORGREEN,LINETHICK2;
IF(BIAS21>0,BIAS21,0),COLORRED,LINETHICK2;
DRAWICON(CROSS(BIAS13,REF(BIAS13,1)),BIAS13,1);
DRAWICON(CROSS(REF(BIAS13,1),BIAS13),BIAS13,2);
BIAS13>0,COLORYELLOW,LINETHICK2;
BIAS13<0,COLORBLUE,LINETHICK2;
IF(BIAS13>MA(BIAS13,2),BIAS13,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(BIAS13<MA(BIAS13,2),BIAS13,DRAWNULL),COLORCYAN,DOTLINE;
值此新春之际,发此指标,祝指标栏目组的各位版主身体健康,工作顺利!祝所有小股民日有所金,大发大发!
[url=http://www.70822.com/soft/sort013/sort05/down-43550.html]乖离连胜 通达信副图 指标原理 源码[/url]