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

软件名称:[B]看图编辑公式用三个通道寻找买卖点(附图.源码.主图.说明.TDX.)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2012-09-13 04:01:32
软件简介:

【潜伏哥】仅仅有个通达信的【真实通道】图没有源码.我看这个图即漂亮有实用.无奈【潜伏哥】没给源码.我不好勉强人家.大家需要我就再来个通达信的一定和【潜伏哥】不一样.咱们各自为战.好不好.
源码是基于薛氏通道形成的.股价上下突破就是买卖点.相当直观.可靠.我加一根趋势线.配合通道使得买卖点更能清晰可见.在这我还得谢谢【潜伏哥】发表怎么漂亮图形.给我的启发.如有不妥.和需要改正还望多多指正.再次谢谢【潜伏哥】.这个就是【潜伏哥】的原图.我i就是照猫画虎而已:----------------------------
{内通道}
重心:WMA((2*C+H+L)/4,2),COLOR00FFFF,LINETHICK0;
UPPERS: 重心*(1+2.382/100),COLOR990099;
DRAWNUMBER(CURRBARSCOUNT=1,UPPERS, ( CONST(UPPERS))),COLOR0077FF;
LOWERS: 重心*(1-2.382/100),COLORFF0000;
DRAWNUMBER(CURRBARSCOUNT=1,LOWERS, ( CONST(LOWERS))),COLOR00FFFF;
{中通道}
VAR2:=重心*VOL;
VAR3:=(EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,8)/EMA(VOL,8)+EMA(VAR2,13)/EMA(VOL,13)+EMA(VAR2,21)/EMA(VOL,21))/4;
UP:=VAR3*1.0809;
DN:=VAR3*0.9191;
{外通道}
VAR4:=EMA(重心,19);
LUP:=EMA(VAR4*1.119,3);
LDN:=EMA(VAR4*0.881,3);

UPL:=LUP-UP;
DRAWBAND(UP,RGB(200,0,80),UP+UPL*0.2,RGB(200,0,80));
DRAWBAND(UP+UPL*0.2,RGB(180,0,100),UP+UPL*0.4,RGB(180,0,100));
DRAWBAND(UP+UPL*0.4,RGB(150,0,150),UP+UPL*0.6,RGB(150,0,150));
DRAWBAND(UP+UPL*0.6,RGB(100,0,180),UP+UPL*0.8,RGB(100,0,180));
DRAWBAND(UP+UPL*0.8,RGB(80,0,155),LUP,RGB(80,0,155));

UPK:=UP-UPPERS;
DRAWBAND(UPPERS,RGB(80,0,80),UPPERS+UPK*0.2,RGB(80,0,80));
DRAWBAND(UPPERS+UPK*0.2,RGB(100,0,100),UPPERS+UPK*0.4,RGB(100,0,100));
DRAWBAND(UPPERS+UPK*0.4,RGB(150,0,155),UPPERS+UPK*0.6,RGB(150,0,155));
DRAWBAND(UPPERS+UPK*0.6,RGB(200,0,100),UPPERS+UPK*0.8,RGB(200,0,100));
DRAWBAND(UPPERS+UPK*0.8,RGB(255,0,55),UP,RGB(255,0,55));



DRAWBAND(UPPERS,RGB(20,20,50),LOWERS,RGB(20,20,50));


UPD:=LOWERS-DN;
DRAWBAND(LOWERS,RGB(0,80,80),LOWERS-UPD*0.2,RGB(0,80,80));
DRAWBAND(LOWERS-UPD*0.2,RGB(0,100,150),LOWERS-UPD*0.4,RGB(0,100,150));
DRAWBAND(LOWERS-UPD*0.4,RGB(0,150,120),LOWERS-UPD*0.6,RGB(0,150,120));
DRAWBAND(LOWERS-UPD*0.6,RGB(0,180,80),LOWERS-UPD*0.8,RGB(0,180,80));
DRAWBAND(LOWERS-UPD*0.8,RGB(0,220,55),DN,RGB(0,220,55));

DPL:=DN-LDN;
DRAWBAND(DN,RGB(0,180,0),DN-DPL*0.2,RGB(0,180,0));
DRAWBAND(DN-DPL*0.2,RGB(0,160,50),DN-DPL*0.4,RGB(0,160,50));
DRAWBAND(DN-DPL*0.4,RGB(0,140,80),DN-DPL*0.6,RGB(0,140,80));
DRAWBAND(DN-DPL*0.6,RGB(0,100,100),DN-DPL*0.8,RGB(0,100,100));
DRAWBAND(DN-DPL*0.8,RGB(0,80,55),LDN,RGB(0,80,55));


STICKLINE(CLOSE>= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE>= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000066;
STICKLINE(CLOSE>= REF(CLOSE,1) ,OPEN,CLOSE,2.6,0 ),COLOR000099;
STICKLINE(CLOSE>= REF(CLOSE,1) ,OPEN,CLOSE,2,0 ),COLOR0000CC;
STICKLINE(CLOSE>= REF(CLOSE,1) ,OPEN,CLOSE,1.2,0 ),COLOR0000FF;
STICKLINE(CLOSE>= REF(CLOSE,1) ,OPEN,CLOSE,0.4,0 ),COLORCC66FF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLORCC0000;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.6,0 ),COLORFF4400;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2,0 ),COLORFF8800;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.2,0 ),COLORFFCC00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.4,0 ),COLORCYAN;

{红股.绿币的趋势线}
MA5:WMA(重心,5),COLOR00FF00,DOTLINE;
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLOR0077FF,LINETHICK3;

 


[url=http://www.70822.com/soft/sort013/sort05/down-52684.html]看图编辑公式用三个通道寻找买卖点(附图.源码.主图.说明.TDX.)[/url]

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