当前位置:分析家公式网 → 股票公式 → 大智慧I公式 → 一键转帖:DXJQ短线诀巧 老鸭头(源码)及用法
软件名称:[B]DXJQ短线诀巧 老鸭头(源码)及用法[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-08-13 19:22:34
软件简介:
{DXJQ短线诀巧}
{老鸭头}
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA60:MA(CLOSE,60);
PDAY1:=BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}
PDAY2:=BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}
PDAY3:=BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}
PDAY4:=BARSLAST(CROSS(MA10,MA5){ OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10)});{下跌后,5日均线和10日均线死叉}
PDAY5:=BARSLAST(CROSS(MA5,MA10){ OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10)});{回落不久,5日均线和10日均线形成金叉,形成部}
XA1:=PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
XA2:=COUNT(CROSS(MA10,MA5),PDAY2)=1;
XA3:=MA5>MA60 AND MA10>MA60;
老鸭头:(XA1 AND XA2 AND XA3) AND FILTER(XA1 AND XA2 AND XA3 ,5);
DRAWTEXT(老鸭头,L*0.98,'老鸭头'),COLORYELLOW;
STICKLINE(CLOSE>OPEN,H,LOW,0.3,0 ),COLOR9933FF;
STICKLINE(OPEN>=CLOSE,L,HIGH,0.3,0 ),COLOR66CC33;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0 ),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;
{短线诀巧:
1.K线不乱,
2.均线不远,
3.斜率已见,
4.簇量初现,
5.评台飞升.
K线不乱,均线不远,斜率已见,簇量初现,评台飞升
例子:老鸭头}
{老鸭头}
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA60:MA(CLOSE,60);
PDAY1:=BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}
PDAY2:=BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}
PDAY3:=BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}
PDAY4:=BARSLAST(CROSS(MA10,MA5){ OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10)});{下跌后,5日均线和10日均线死叉}
PDAY5:=BARSLAST(CROSS(MA5,MA10){ OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10)});{回落不久,5日均线和10日均线形成金叉,形成部}
XA1:=PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
XA2:=COUNT(CROSS(MA10,MA5),PDAY2)=1;
XA3:=MA5>MA60 AND MA10>MA60;
老鸭头:(XA1 AND XA2 AND XA3) AND FILTER(XA1 AND XA2 AND XA3 ,5);
DRAWTEXT(老鸭头,L*0.98,'老鸭头'),COLORYELLOW;
STICKLINE(CLOSE>OPEN,H,LOW,0.3,0 ),COLOR9933FF;
STICKLINE(OPEN>=CLOSE,L,HIGH,0.3,0 ),COLOR66CC33;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0 ),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;
{短线诀巧:
1.K线不乱,
2.均线不远,
3.斜率已见,
4.簇量初现,
5.评台飞升.
K线不乱,均线不远,斜率已见,簇量初现,评台飞升
例子:老鸭头}
[url=http://www.70822.com/soft/sort013/sort04/down-11748.html]DXJQ短线诀巧 老鸭头(源码)及用法[/url]