软件名称:[B]自编波段王主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2016-10-06 03:45:23
软件简介:
红色K线上升趋势,黄sK线震荡趋势,蓝色K线下跌趋势,当买点出现时,可能出现一波主升浪
//条件设定
MA5:MA(C,5),COLORFFFFFF,LINETHICK1;
MA13:MA(C,13),COLOR4080FF,LINETHICK1;
MA21:MA(C,21),COLORFF80FF,LINETHICK2;
MA55:IF(PERIODNAME=='月线' OR PERIODNAME=='季线' OR PERIODNAME=='年线' OR BARPOS<55,MA21,MA(C,55)),colorcyan,LINETHICK2;
MA233:MA(C,233),colorgreen,LINETHICK2;
角5:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416,nodraw,colorwhite;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
//布林
MID:=MA21;
上:MID+2*STD(CLOSE,21),colorcyan,DOTLINE;
下:MID-2*STD(CLOSE,21),colorcyan,DOTLINE;
今差:=上-下;
昨差:=REF(上,1)-REF(下,1);
开口:(今差-昨差)/昨差*100,nodraw,colorwhite;
宽度:(上-下)/MID*100,nodraw,colorgreen;
//趋势判断
涨:=C>MA21 AND 开口>0 AND 角5>0;
跌:=C<MA21 AND 开口>0 AND 角5<0;
震荡:=涨=0 AND 跌=0;
//画三色K线图
STICKLINE(涨=1,H,L,0,0),colorred;
STICKLINE(涨=1 AND C>=O,C,O,10,1),colorred;
STICKLINE(涨=1 AND C<O,C,O,10,0),colorred;
STICKLINE(跌=1,H,L,0,0),COLORFF6400;
STICKLINE(跌=1 AND C>=O,C,O,10,1),COLORFF6400;
STICKLINE(跌=1 AND C<O,C,O,10,0),COLORFF6400;
STICKLINE(震荡=1,H,L,0,0),coloryellow;
STICKLINE(震荡=1 AND C>=O,C,O,10,1),coloryellow;
STICKLINE(震荡=1 AND C<O,C,O,10,0),coloryellow;
//强势拉升
新高:=H=HHV(H,8);
三线开花:=MA5>MA13 AND MA13>MA21 AND C>MA55;
B0:=三线开花 AND 新高 AND 涨;
B:=B0 AND COUNT(B0,5)=1 AND HHV(CCI,2)=HHV(CCI,3);
DRAWICON(B,L,1);
DRAWICON(B,L,3);
压力支撑位:=IF(B,REF(HHV(H,7),1),NULL);
STICKLINE(COUNT(压力支撑位,3)>0,LLV(压力支撑位,3),LLV(压力支撑位,3),12,1),colorwhite;
[url=http://www.70822.com/soft/sort013/sort036/down-103380.html]自编波段王主图[/url]