分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式同花顺公式 → 一键转帖:波段王主图

软件名称:[B]波段王主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2017-01-10 03:17:13
软件简介:

 红色K线上升趋势,黄sK线震荡趋势,蓝色K线下跌趋势,当买点出现时,可能出现一波主升浪

//条件设定
N:=5;
MA1:MA(C,5),COLORFFFFFF,LINETHICK1;
MA2:MA(C,13),COLOR4080FF,LINETHICK1;
MA3:MA(C,21),COLORFF80FF,LINETHICK2;
MA4:IF(PERIODNAME=='月线' OR PERIODNAME=='季线' OR PERIODNAME=='年线' OR BARPOS<55,MA3,MA(C,55)),colorcyan,LINETHICK2;
MA5:=MA(C,233),colorgreen,LINETHICK2;
角1:ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416,nodraw,colorwhite;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
其他:=IF(PERIODNAME=='月线' OR PERIODNAME=='季线' OR PERIODNAME=='年线' OR MA4>REF(MA4,1),1,COUNT(CROSS(MA2,MA4),5)=0);
//布林
MID:=MA3;
上:MID+2*STD(CLOSE,21),colorgreen,DOTLINE;
下:MID-2*STD(CLOSE,21),colorred,DOTLINE;
今差:=上-下;
昨差:=REF(上,1)-REF(下,1);
开口:(今差-昨差)/昨差*100,nodraw,colorwhite;
宽度:=(上-下)/MID*100,nodraw,colorgreen;
//趋势判断
涨:=C>MA3 AND 开口>0 AND 角1>0;
跌:=C<MA3 AND 开口>0 AND 角1<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;
//波段行情起点
P0:=BARSLAST(CROSS(MA2,MA4)),nodraw;
P1:=BARSLAST(H=HHV(H,P0+1)),nodraw;
前高:REF(H,P1),nodraw,colorgreen;
新高:=H>=REF(前高,1),nodraw;
B1:=新高 AND 涨 AND 开口>1 AND 开口>REF(开口,1) AND C>MA1 AND MA1>MA2 AND MA2>MA4 AND 其他;
P:=BARSLAST(CROSS(MA1,C)),nodraw;
B:=B1 AND COUNT(B1,P)=1;
介入价:=REF(前高,1);
压力位:=IF(B,介入价,NULL);
//画买点信号
STICKLINE(压力位,压力位,压力位,40,1),colorcyan;
DRAWICON(B,L,1);
DRAWTEXT_FIX(ISLASTBAR AND B,0.8,0.2,0,'介入价位 -->'),colorred;
DRAWNUMBER_FIX(ISLASTBAR AND B,0.85,0.2,0,TOSTRING(介入价,2)),colorcyan;
DRAWTEXT_FIX(ISLASTBAR AND B,0.8,0.25,0,'突破幅度 -->'),colorred;
DRAWNUMBER_FIX(ISLASTBAR AND B,0.85,0.25,0,TOSTRING((C-介入价)/REF(C,1)*100,2)),colorcyan;
//画低吸信号
P34:=BARSLAST(CROSS(MA3,MA4));
低吸:=COUNT(CROSS(MA2,MA1),P34)<=1 AND L<=下+(上-下)/6 AND 跌=0 AND C>MA4 AND REF(C,1)>REF(MA4,1);
DRAWICON(低吸,L,3);
STICKLINE(低吸,下+(上-下)/6,下+(上-下)/6,40,1),colorcyan;
//指标使用说明
DRAWTEXT_FIX(1,0.45,0.05,0,"《指标使用说明》"),colorred;
DRAWTEXT_FIX(1,0.35,0.1,0,"当K线下方出现红色箭头时,表示此时股价刚刚突破阻力区间进入波段拉升阶段"),colorcyan;
DRAWTEXT_FIX(1,0.35,0.15,0,"当K线下方出现黄s笑脸时,表示此时股价处于波段行情回调底部震荡区域"),colorcyan;
DRAWTEXT_FIX(1,0.35,0.2,0,"当信号出现的时候,会在K线上显示一条青色短直线,用以直观查看参考价咯"),colorcyan;
 

[url=http://www.70822.com/soft/sort013/sort036/down-107096.html]波段王主图[/url]

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