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

软件名称:[B]自动标注形态,自动在主图中表明K线的形态,辅助判断分析走势[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:4.00 KB
官方主页:Home Page
更新时间:2024-08-03 00:15:15
软件简介:

【自动标注形态】
 
自动在主图中表明K线的形态,辅助判断分析走势
文字比较多,比较乱,还没优化好
 
十三:=EMA(C,13),COLOR0000FF;
二十:=EMA(C,20),COLORFF00FF;
STICKLINE(C>十三,H,L,0,0),COLORRED;
STICKLINE(C>十三,C,O,-1,1),COLORRED;
STICKLINE(C=十三,H,L,0,0),COLORFFFFFF;
STICKLINE(C<十三,H,L,0,0),COLOR00FFFF;
STICKLINE(C<十三,O,C,-1,1),COLOR00FFFF;
STICKLINE(C<二十,O,C,-1,1),COLORFFFF00;
STICKLINE(C<二十,H,L,0,0),COLORCYAN;
{自适应均线}
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
AMA1:=EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK3;
{大阳过平台形态}
N:=5;
大阳:=(C/REF(C,1)-1)*100>=N AND V>REF(V,1);
DRAWICON(大阳,L*0.98,13);
STICKLINE(大阳,O,C,2,0),COLORYELLOW;
DRAWTEXT(大阳,L*0.97,'↖大阳过平台形态'),COLORYELLOW;
{以涨停板或者大阳来突破左侧的高点,5日线和10日线具有上升的攻击角度}
A1:=(MA(C,5)-REF(MA(C,5),1))/MA(C,5)>0.015;
A2:=CLOSE>=REF(HHV(HIGH,30),1);
A3:=C>REF(C,1)*1.07;
XG:=(A1 AND A2 AND A3);
DRAWICON(XG,L*0.96,23);
STICKLINE(XG,O,C,2,0),COLORRED;
DRAWTEXT_FIX(1,0.66,0,0,'微信公众号:(程序化指标源码)'),COLORRED;
DRAWTEXT(XG,L*0.96,'↖大阳来突破左侧的高点'),COLORRED;
TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);
加速K线:=REF(COUNT(C<TYX2,5)=5,1) AND C>TYX2 AND C>O;
DRAWICON(加速K线,L*0.95,1);
STICKLINE(加速K线,O,C,2,0),COLORRED;
DRAWTEXT(加速K线,L*0.938,'↖加速K线点'),COLORBLUE;
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
启爆K线:=REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O;
DRAWICON(启爆K线,L*0.94,7);
STICKLINE(启爆K线,O,C,2,0),COLORRED;
DRAWTEXT(启爆K线,L*0.928,'↖启爆K线'),COLORBLUE;
大阳突破:=HHV(C,13)/REF(HHV(C,13),1)>1.018;
DRAWICON(大阳突破,L*0.93,25);
DRAWTEXT(大阳突破,L*0.92,'↖大阳突破'),COLORYELLOW;
{蓄势待发}
V0:=EMA(C,5);
EMA10:=EMA(C,10);
EMA20:=EMA(C,20);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;
M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;
M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;
M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);
M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);
T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;
T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;
T3:=T1 AND T2 AND CROSS(V0,EMA10);
T4:=T1 AND T2 AND CROSS(V0,EMA30);
XG1:=(M4 OR M5 OR T3 OR T4);
DRAWICON(XG1,L*0.98,1);
STICKLINE(XG1,O,C,2,0),COLORMAGENTA;
DRAWTEXT(XG1,L*0.97,'↖蓄势待发'),COLORMAGENTA;
{两阳夹阴}
XG2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2)
AND C>REF(O,1) AND C>MA(C,5) AND MA(C,5)>MA(C,10));
DRAWICON(XG2,L*0.98,1);
STICKLINE(XG2,O,C,2,0),COLORMAGENTA;
DRAWTEXT(XG2,L*0.97,'↖两阳夹阴'),COLORMAGENTA;
A81:=REF(C,2)>REF(O,2)*1.03;{确定前天阳线实体大小}
A82:=REF(C,1)<REF(O,1)*1.005 AND REF(C,1)<REF(C,2);{确定昨天为阴线收盘价低于前天收盘价}
A83:=C>O*1.023 AND C>REF(C,1)*0.99;{确定今天阳线实体收盘价大于昨天阴线}
两阳夹一阴:=(A81 AND A82 AND A83 );
DRAWICON(两阳夹一阴,L*0.97,13);
STICKLINE(两阳夹一阴,O,C,2,0),COLORYELLOW;
DRAWTEXT(两阳夹一阴,L*0.96,'↖两阳夹一阴'),COLORYELLOW;
AA:=MA(C,5)>MA(C,30) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30);
BB:=C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2);
CC:=AMO>REF(AMO,1)*2 OR REF(AMO,2)>REF(AMO,3)*2 AND REF(AMO,1)<REF(AMO,2) AND REF(AMO,1)<AMO;
XG6:=(AA AND BB AND CC);
DRAWICON(XG6,L*0.90,7);
DRAWTEXT(XG6,L*0.89, '↖两阳一阴擒涨停 '),COLORYELLOW;
两阳夹一阴1:=COUNT(C>O,3)=2 AND REF(C<O,1) AND C/REF(C,1)>=1.05;
DRAWTEXT(两阳夹一阴1,L*0.89, '↖两阳夹一阴1');
 
 
 
 

[url=http://www.70822.com/soft/sort013/sort05/down-172715.html]自动标注形态,自动在主图中表明K线的形态,辅助判断分析走势[/url]

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