软件名称:[B]智汇指标通达信版[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2010-03-24 22:48:11
软件简介:
今天贡献一个通达信版本的智汇指标,指标本身不是我加密的,如果有谁能查看源码,也请发布出来,大伙一起学习
智汇指标通达信版 源码
ZHZT 主图 01 KEY:=(DATE<=1100701);
ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);
ZHQS:=EMA(EMA(EMA(EMA(ZHC,2),2),5),5);
趋势线: ZHQS,LINETHICK2, COLORCYAN;
生命线: EMA(ZHC,60),LINETHICK2, COLORRED;
TT0:=REF(趋势线,1)<趋势线;
TT1:=REF(趋势线,1)>趋势线;
TA:=TT0;
TB:=TT1;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA, HIGH, LOW, 0, 0 ),COLORYELLOW;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORYELLOW;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORYELLOW;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB, HIGH, LOW, 0, 0 ),COLORCCCCCC;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCCCCCC;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORCCCCCC;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED; 02 ZHW 副图 KEY:=(DATE<=1100701);
VAR3:=LLV(LOW,33);
VAR4:=HHV(HIGH,21);
VAR5:=IF(KEY,(EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,20)*0.998),0);
低位: 20,LINETHICK2,COLORGRAY;
中位: 50,LINETHICK2,COLORWHITE;
高位: 80,LINETHICK2,COLORMAGENTA;
技术位: EMA(0.667*REF(VAR5,1)+0.333*VAR5,1),CIRCLEDOT,COLORGREEN; 03 ZHMACD 副图 KEY:=(DATE<=1100701);
VAR1:=IF(KEY,EMA(EMA(EMA((OPEN+HIGH+LOW+CLOSE)/4,13),13),13),0);
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1;
智汇DIFF: VAR2;
智汇DEA : EMA(VAR2,21);
智汇MACD: VAR2,COLORSTICK; 04 ZHVOL副图 总股本:=FINANCE(1);
净利润:=FINANCE(30);
每股收益:=(净利润*10000)/(总股本*10000),LINETHICK0;
流通市值:CAPITAL*100*CLOSE/100000000,LINETHICK0;
市盈率:CLOSE/每股收益,LINETHICK0;
换手率:VOL/CAPITAL*100,LINETHICK0;
涨跌幅:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,LINETHICK0;
成交总额:AMOUNT/10000,LINETHICK0;
成交手数:VOL,VOLSTICK,COLOR0066FF;
均量10:MA(VOL,10),COLORGREEN;
均量20:MA(VOL,20),COLORYELLOW;
均量40:MA(VOL,40),COLORWHITE; 05 ZHBOLL副图 KEY:=(DATE<=1100701);
ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);
KMA: MA(ZHC,1),COLORYELLOW;
MID: MA(ZHC,N),LINETHICK2,COLORBROWN;
UPPER: MID+P*STD(ZHC,N),LINETHICK2,COLORGRAY;
LOWER: MID-P*STD(ZHC,N),LINETHICK2,COLORGRAY;
ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);
ZHQS:=EMA(EMA(EMA(EMA(ZHC,2),2),5),5);
趋势线: ZHQS,LINETHICK2, COLORCYAN;
生命线: EMA(ZHC,60),LINETHICK2, COLORRED;
TT0:=REF(趋势线,1)<趋势线;
TT1:=REF(趋势线,1)>趋势线;
TA:=TT0;
TB:=TT1;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA, HIGH, LOW, 0, 0 ),COLORYELLOW;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORYELLOW;
STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORYELLOW;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB, HIGH, LOW, 0, 0 ),COLORCCCCCC;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCCCCCC;
STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORCCCCCC;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;
STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;
STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED; 02 ZHW 副图 KEY:=(DATE<=1100701);
VAR3:=LLV(LOW,33);
VAR4:=HHV(HIGH,21);
VAR5:=IF(KEY,(EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,20)*0.998),0);
低位: 20,LINETHICK2,COLORGRAY;
中位: 50,LINETHICK2,COLORWHITE;
高位: 80,LINETHICK2,COLORMAGENTA;
技术位: EMA(0.667*REF(VAR5,1)+0.333*VAR5,1),CIRCLEDOT,COLORGREEN; 03 ZHMACD 副图 KEY:=(DATE<=1100701);
VAR1:=IF(KEY,EMA(EMA(EMA((OPEN+HIGH+LOW+CLOSE)/4,13),13),13),0);
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1;
智汇DIFF: VAR2;
智汇DEA : EMA(VAR2,21);
智汇MACD: VAR2,COLORSTICK; 04 ZHVOL副图 总股本:=FINANCE(1);
净利润:=FINANCE(30);
每股收益:=(净利润*10000)/(总股本*10000),LINETHICK0;
流通市值:CAPITAL*100*CLOSE/100000000,LINETHICK0;
市盈率:CLOSE/每股收益,LINETHICK0;
换手率:VOL/CAPITAL*100,LINETHICK0;
涨跌幅:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,LINETHICK0;
成交总额:AMOUNT/10000,LINETHICK0;
成交手数:VOL,VOLSTICK,COLOR0066FF;
均量10:MA(VOL,10),COLORGREEN;
均量20:MA(VOL,20),COLORYELLOW;
均量40:MA(VOL,40),COLORWHITE; 05 ZHBOLL副图 KEY:=(DATE<=1100701);
ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);
KMA: MA(ZHC,1),COLORYELLOW;
MID: MA(ZHC,N),LINETHICK2,COLORBROWN;
UPPER: MID+P*STD(ZHC,N),LINETHICK2,COLORGRAY;
LOWER: MID-P*STD(ZHC,N),LINETHICK2,COLORGRAY;
[url=http://www.70822.com/soft/sort013/sort05/down-17763.html]智汇指标通达信版[/url]