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

软件名称:[B]老鸭头,经典老指标,老酒壶装新酒(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2020-01-23 08:01:22
软件简介:

 老鸭头,非常经典老指标,

觉得公式也可以放在副图,当然要稍稍改改

 

{公式名称: 老鸭头主图

主图叠加}

MA5:MA(CLOSE,5),COLORWHITE;

MA10:MA(CLOSE,10),COLORYELLOW;

MA20:MA(CLOSE,20),COLORMAGENTA;

MA30:MA(CLOSE,30),COLORGREEN;

MA60:MA(CLOSE,60),COLORFF8000;

MA120:MA(CLOSE,120),COLOR40FF00,LINETHICK0;

MA250:MA(CLOSE,250),COLOR80FFFF,LINETHICK0;

VAR1:=CROSS(MA(CLOSE,5),MA(CLOSE,10));

VAR2:=BARSLAST(VAR1);

VAR3:=HIGH=HHV(HIGH,VAR2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10;

VAR4:=BARSLAST(VAR3);

VAR5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND VAR2>VAR4;

XG:CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(VAR5,6)>=1;

VAR6:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR (OPEN<MIN(MA(CLOSE,5),MA(CLOSE,10)) AND CLOSE>=MAX(MA(CLOSE,5),MA(CLOSE,10)));

XG1:COUNT(XG,7)=1 AND BARSLAST(XG)>0 AND VAR6;

VAR7:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)));

VAR8:=MA(CLOSE,10)+(MA(CLOSE,5)-MA(CLOSE,10))/2;

VAR9:=CROSS(MA(CLOSE,5),CLOSE);

VAR10:=BARSLAST(VAR9);

IF(BACKSET(XG,VAR7+1),MA(CLOSE,5),DRAWNULL),COLORBLUE,LINETHICK2;

IF(BACKSET(XG,VAR7+1),MA(CLOSE,10),DRAWNULL),COLORBLUE,LINETHICK2;

IF(FILTER(BACKSET(XG,VAR10+1),6),VAR8,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK9;

{老鸭头二次}

{选股}

VAR1:=CROSS(MA(CLOSE,5),MA(CLOSE,10));

VAR2:=BARSLAST(VAR1);

VAR3:=HIGH=HHV(HIGH,VAR2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10;

VAR4:=BARSLAST(VAR3);

VAR5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND VAR2>VAR4;

VAR6:=CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(VAR5,6)>=1;

VAR7:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR (OPEN<MIN(MA(CLOSE,5),MA(CLOSE,10)) AND CLOSE>=MAX(MA(CLOSE,5),MA(CLOSE,10)));

VAR8:=IF(DATE<1200412,1,0);

XG1:VAR8*(COUNT(VAR6,7)=1 AND VAR6=0 AND VAR7);


[url=http://www.70822.com/soft/sort013/sort05/down-144691.html]老鸭头,经典老指标,老酒壶装新酒(通达信公式 主图 源码 测试图)[/url]

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