公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 大智慧公式 > 正文 → 正文

大智慧高低射线主图指标

发布时间:2016/4/7 5:38:11  浏览次数:

大智慧高低射线主图指标

源码

{高低射线}
{1.射线}
x:=BARSLAST(DISPSTATUS=1)+1; 
ah:=hhvall(hhv(h,x));    
al:=llvall(llv(l,x));
nnl:=DISPSTATUS=2;

DRAWLINE(h>=ah,ah,AH,ah,1),color0000ff,LINETHICK2;
DRAWLINE(h>=ah,ah,AL>=L,al,1),color9999ff,LINETHICK2;
DRAWLINE(h>=ah,ah,aH,ah*0.999,1);
DRAWLINE(h>=ah,ah,aH,ah*0.997,1);
DRAWLINE(h>=ah,ah,aH,ah*0.995,1);
DRAWLINE(h>=ah,ah,aH,ah*0.993,1);
DRAWLINE(h>=ah,ah,aH,ah*0.991,1);
DRAWLINE(h>=ah,ah,aH,ah*0.989,1);
DRAWLINE(h>=ah,ah,aH,ah*0.987,1);
DRAWLINE(h>=ah,ah,aH,ah*0.984,1);
DRAWLINE(h>=ah,ah,aH,ah*0.981,1);
DRAWLINE(h>=ah,ah,aH,ah*0.976,1);

DRAWLINE( al>=l,al,al , al,1),color00ff00,LINETHICK2;
DRAWLINE(al>=l,al,nnl ,ah,1),color00ffff,LINETHICK2;
DRAWLINE( al>=l,al,al ,al*1.15,1);
DRAWLINE( al>=l,al,al ,al*1.09,1);
DRAWLINE( al>=l,al,al ,al*1.06,1);
DRAWLINE( al>=l,al,al ,al*1.04,1);
DRAWLINE( al>=l,al,al ,al*1.03,1);
DRAWLINE( al>=l,al,al ,al*1.025,1);
DRAWLINE( al>=l,al,al ,al*1.02,1);
DRAWLINE( al>=l,al,al ,al*1.015,1);
DRAWLINE( al>=l,al,al ,al*1.011,1);
DRAWLINE( al>=l,al,al ,al*1.007,1);
DRA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ETHICK2;
DRAWTEXT(nnl,q382,'38.2%:'+q382+'元'),ALIGN0,Color0047FF,LINETHICK2;
DRAWTEXT(nnl,q191,'19.1%:'+q191+'元'),ALIGN0,Color00FFff,LINETHICK2;
DRAWTEXT(nnl,al*1.01,'最低价:'+al+'元'),ALIGN0,VALIGN2,Color0047FF,LINETHICK2;

{4.注解}
获利盘:WINNER(CLOSE)*100,LINETHICK0;
DRAWTEXTREL(5,700,'■获利比例: '+获利盘+'%'),Color00FFff,LINETHICK3;
涨幅:(C-Al)/Al*100,LINETHICK0;
DRAWTEXTREL(5,750,'■最低点至今天涨幅为: '+NUMTOSTRN(涨幅,1)+' %.'),Color00ff00,LINETHICK3;
涨:(C-AL)/(AH-AL)*100,LINETHICK0;
DRAWTEXTREL(5,800,'■黄金比(最高,最低)为: '+NUMTOSTRN(涨,1)+' %.'),Color00ffFF,LINETHICK3;
HH:=HHV(h,5)*0.95;
DRAWTEXTREL(5,850,'■止损=买入价*0.95;'),Color00FF00,LINETHICK3;;
DRAWTEXTREL(5,950,'■止盈(五日内最高价*0.95)='+NUMTOSTRN(HH,2)+'元'),Color0000FF,LINETHICK3;
DRAWTEXTREL(5,900,'■(五日内最高价='+NUMTOSTRN(HHV(h,5),2)+'元'),Color0099FF,LINETHICK3;
{5.K线}
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;

大智慧高低射线主图指标

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识