当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:[通达信飞狐公式解密]MACD叠加K线
软件名称:[B][通达信飞狐公式解密]MACD叠加K线[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2008-12-20 17:49:02
软件简介:
MACD叠加K线
ZA1:=EMA(C,25);
ZA2:=EMA(ZA1,45);
ZB1:=EMA(C,65);
ZB2:EMA(ZB1,45),COLORYELLOW,LINETHICK2;
DIFF:=(ZA1+ZB2)/2;
DEA:=(ZA2+ZB1)/2;
IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK2,COLORRED;
IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
KA0:=(HHV(C,45)-LLV(C,45))/45;
KA1:=SMA(C,3,1);
KA2:=SMA(C-KA0*3,3,1);
KA3:=SMA(KA1-KA0*3,3,1);
IF(KA2>=KA3,KA2,DRAWNULL )COLORMAGENTA,LINETHICK2;
IF(KA2<KA3,KA2,DRAWNULL ),LINETHICK1,COLORGREEN;
ZA1:=EMA(C,25);
ZA2:=EMA(ZA1,45);
ZB1:=EMA(C,65);
ZB2:EMA(ZB1,45),COLORYELLOW,LINETHICK2;
DIFF:=(ZA1+ZB2)/2;
DEA:=(ZA2+ZB1)/2;
IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK2,COLORRED;
IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
KA0:=(HHV(C,45)-LLV(C,45))/45;
KA1:=SMA(C,3,1);
KA2:=SMA(C-KA0*3,3,1);
KA3:=SMA(KA1-KA0*3,3,1);
IF(KA2>=KA3,KA2,DRAWNULL )COLORMAGENTA,LINETHICK2;
IF(KA2<KA3,KA2,DRAWNULL ),LINETHICK1,COLORGREEN;
飞狐的
ZA1:=EMA(C,25);
ZA2:=EMA(ZA1,45);
ZB1:=EMA(C,65);
ZB2:EMA(ZB1,45),COLORYELLOW,LINETHICK2;
DIFF:=(ZA1+ZB2)/2;
DEA:=(ZA2+ZB1)/2;
PARTLINE(DIFF>=DEA,DIFF),LINETHICK2,COLORRED;
PARTLINE(DIFF<DEA,DIFF),LINETHICK1,COLORBLUE;
KA0:=(HHV(C,45)-LLV(C,45))/45;
KA1:=SMA(C,3,1);
KA2:=SMA(C-KA0*3,3,1);
KA3:=SMA(KA1-KA0*3,3,1);
PARTLINE(KA2>=KA3,KA2)COLORMAGENTA,LINETHICK2;
PARTLINE(KA2<KA3,KA2),LINETHICK1,COLORGREEN;
ZA1:=EMA(C,25);
ZA2:=EMA(ZA1,45);
ZB1:=EMA(C,65);
ZB2:EMA(ZB1,45),COLORYELLOW,LINETHICK2;
DIFF:=(ZA1+ZB2)/2;
DEA:=(ZA2+ZB1)/2;
PARTLINE(DIFF>=DEA,DIFF),LINETHICK2,COLORRED;
PARTLINE(DIFF<DEA,DIFF),LINETHICK1,COLORBLUE;
KA0:=(HHV(C,45)-LLV(C,45))/45;
KA1:=SMA(C,3,1);
KA2:=SMA(C-KA0*3,3,1);
KA3:=SMA(KA1-KA0*3,3,1);
PARTLINE(KA2>=KA3,KA2)COLORMAGENTA,LINETHICK2;
PARTLINE(KA2<KA3,KA2),LINETHICK1,COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-5115.html][通达信飞狐公式解密]MACD叠加K线[/url]