分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]受金老师的启发博易CCI通达信主图显示[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2012-09-27 08:11:34
软件简介:

{CCI}
TT:=IF(ISLASTBAR,240/FROMOPEN,1);
NN:=120;
HH:=HHV(V*TT,NN);
LL:=LLV(V,NN);
最高:=CONST(HH);
最低:=CONST(LL);
最高2:=CONST(HHV(H,NN));
最低2:=CONST(LLV(L,NN));
PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW;
RCC1:=最高2*0.85-(最高2-最低2)*PP;
最低3:=MIN(RCC1,最低2);
AAD:=最低3;
{CCI}
M:=14;
N:=20;
TYP := (HIGH + LOW + CLOSE)/3;
WCCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORWHITE,LINETHICK2;
CCI:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLOR008000;
ARRAY:=CCI;
HIGHBARS:=BARSLAST(NOT(ARRAY>0));
LOWBARS:=BARSLAST(NOT(ARRAY<0));
UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY>100,5)>0);
DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY<-100,5)>0);
UPTREND:=ARRAY>0 AND UPCONDITION<DNCONDITION;
DNTREND:=ARRAY<0 AND UPCONDITION>DNCONDITION;
TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);
{蓝色}
STICKLINE(UPTREND,AAD+CCI/500,AAD,3,0),COLORFF2200;
STICKLINE(UPTREND,AAD+CCI/500,AAD,2,0),COLORFF4400;
STICKLINE(UPTREND,AAD+CCI/500,AAD,1,0),COLORFF6600;
STICKLINE(UPTREND,AAD+CCI/500,AAD,0.1,0),COLORFF8800;
{绿色}
STICKLINE(DNTREND,AAD+CCI/500,AAD,3,0),COLOR004400;
STICKLINE(DNTREND,AAD+CCI/500,AAD,2,0),COLOR008800;
STICKLINE(DNTREND,AAD+CCI/500,AAD,1,0),COLOR00AA00;
STICKLINE(DNTREND,AAD+CCI/500,AAD,0.1,0),COLOR00CC00;

{紫色}
STICKLINE(TRTREND,AAD+CCI/500,AAD,3,0),COLORFF0055;
STICKLINE(TRTREND,AAD+CCI/500,AAD,2,0),COLORFF0077;
STICKLINE(TRTREND,AAD+CCI/500,AAD,1,0),COLORFF0099;
STICKLINE(TRTREND,AAD+CCI/500,AAD,0.1,0),COLORFF00FF;

STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),AAD+CCI/500,AAD,3,0),COLOR003333;
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),AAD+CCI/500,AAD,2,0),COLOR004444;
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),AAD+CCI/500,AAD,2,0),COLOR005555;
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),AAD+CCI/500,AAD,0.1,0),COLOR00FFFF;


[url=http://www.70822.com/soft/sort013/sort05/down-53194.html]受金老师的启发博易CCI通达信主图显示[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:58.59375 毫秒