公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

通达信主力动向副图公式

发布时间:2013/1/28 17:54:46  浏览次数:

通达信主力动向副图公式

主力动向,粉红为高度控盘
AA1:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
AA:=XMA((AA1-REF(AA1,1))/REF(AA1,1),11)*1000,COLOR0000FF,NODRAW;
BB:=EMA(AA,44);
CC:=EMA(AA-BB,1),NODRAW;

AA2:=XMA(XMA(XMA(EMA(WINNER(C)*100,1),2),2),2),NODRAW;
STICKLINE(AA2>30 AND COST(50)<C AND CC>0,CC,0,4,0),COLOR000099;
STICKLINE(AA2>30 AND COST(50)<C AND CC>0,CC,0,3,0),COLOR0000CC;
STICKLINE(AA2>30 AND COST(50)<C AND CC>0,CC,0,2,0),COLOR0000FF;
STICKLINE(AA2>30 AND COST(50)<C AND CC>0,CC,0,0.5,0),COLORCC66FF;
STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR990099;
STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,3,0),COLORBB00BB;
STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,2,0),COLORDD00DD;
STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,0.5,0),COLORFF00FF;
STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR000099;
STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,3,0),COLOR0000CC;
STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,2,0),COLOR0000BB;
STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,1,0),COLOR0000FF;
STICKLINE(AA2>30 AND COST(50)<C AND CC<0,CC,0,3,0),COLOR009900;
STICKLINE(AA2<30 AND COST(50)>C AND CC<0,CC,0,3,0),COLOR009900;

VAR11:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR11-REF(VAR11,1))/REF(VAR11,1)*1000;
STICKLINE(控盘<0,控盘,0,1,1),NODRAW;
STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),NODRAW;
无庄控盘:=控盘<0;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),NODRAW;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
VAR12:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),NODRAW;
主力出货:=控盘<REF(控盘,1) AND 控盘>0;
STICKLINE(VAR12>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),NODRAW;
高度控盘: VAR12>50 AND COST(85)<CLOSE AND 控盘>0;
A10:=CROSS(控盘,0);
控盘B:=FILTER(IF(A10,1,0),5);
{分时价格原码}
JJ:=DYNAINFO(11);
{波段买卖原码}
P:=55;S:=8;M1:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,NODRAW;
神:=EMA(财,M1),NODRAW;
DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
{控盘买卖条件}
STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;
STJ02:=控盘>0;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ32:=CROSS(财,神) AND 财<-0.1;
STJ31:=CROSS(神,财);
STJ32:=CROSS(神,财) AND 财>1.618;
{以下为信号};
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
DRAWTEXT(BTJ81,神,'↑买底'),NODRAW;
DRAWTEXT(BTJ811,神*1.2,'↑有庄'),NODRAW;
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
DRAWTEXT(STJ83,神,'↓卖'),NODRAW;
DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,NODRAW;
DEA: EMA(DIFF,3),NODRAW;
庄:= BTJ11 AND BTJ2 AND BTJ3;
有庄:FILTER(庄,55),COLORWHITE;
DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE;

VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR3:=BARSCOUNT(CLOSE);
VAR4:=VAR1<20 AND VAR2<23 AND VAR3>35;
VAR5:=VAR4 AND COUNT(VAR4,1)=1;
VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAR7:=EMA(VAR6,5);
VAR8:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR6,VAR7);
VAR9:=(HIGH+LOW+CLOSE)/3;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11R:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14));
见底: VAR10,COLORYELLOW,LINETHICK3;
DRAWTEXT(VAR11R<-110 AND 见底>0,3,'见底'), ,COLORYELLOW;
DRAWTEXT(见底 AND VAR11R<-100 AND VAR8 AND VAR5>0,4.1,'★组合5分钟线选股思路获利5%以上'), , COLORRED;
DRAWICON(见底>0,4,1);
XX:=EMA(CLOSE,30)-EMA(CLOSE,17);
AAR:=EMA(XX,5);
YY:=EMA(XX,13);
短:=TROUGHBARS(3,10,1)<1 AND CROSS(XX,AAR);
DRAWICON(短>0,1.8,18);
DRAWTEXT(短>0,1.8,'慧眼'),COLORWHITE;
枪:=TROUGHBARS(3,5,1)<1 AND XX<YY;
短1:=IF(枪>0,0.4,0),STICK,COLORF0F000,LINETHICK3;
DRAWICON(短1>0,1.4,1 );
DRAWTEXT(短1>0,1.1,'套利'),COLORYELLOW;
短2:=CROSS(XX,AA) AND TROUGHBARS(3,7,1)<1;
DRAWICON(短2>0,1.4,1 );
DRAWTEXT(短2,2.5,'小牛'),COLORWHITE;
狙击:短 OR 短1 OR 短2,COLORWHITE,LINETHICK3;
VAR12R:=PEAKBARS(3,15,1)<10;
VAR13:=IF(VAR12R=1,2,0);
顶:= IF(VAR13=2,2,0);
逃命:IF(顶>REF(顶,1),3,0),COLORLIBLUE,LINETHICK2;
DRAWTEXT(逃命=3,3,'逃!'),COLORLIBLUE;

{质变副图}
MTM:=C-REF(C,1);
D1:=100*EMA(EMA(MTM,6),6);
D2:=EMA(EMA(ABS(MTM),6),6);
DX:D1/D2/10,NODRAW;
质:IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2)>0 AND CROSS(DX,MA(DX,2)),5,0),COLORRED;
变:IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>0,2)>0 AND CROSS(MA(DX,2),DX),5,0),COLOR009900;

通达信主力动向副图公式

 

资源下载链接   资源大小:unknow

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识