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

通达信精准指标及选股公式源码

发布时间:2013/2/27 8:06:16  浏览次数:

通达信精准指标及选股公式源码

{精准指标}

A14:=MA(CLOSE,20);
A15:=(CLOSE > MA(CLOSE,5));
A16:=(MA(CLOSE,5) > MA(CLOSE,10));
A17:=(CLOSE > MA(CLOSE,10));
A18:=(MA(CLOSE,5) > MA(CLOSE,20));
A19:=(CLOSE > MA(CLOSE,20));
A10:=REF(A14,1);
A11:=(A14 > A10);
AVX:=(((((IF(A15,10,(0 - 10)) + IF(A16,10,(0 - 10))) + IF(A17,10,(0 - 10))) + IF(A18,10,(0 - 10))) + IF(A19,10,(0 - 10))) + IF(A11,10,(0 - 10))),;
BIAS := (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
抢反弹:=IF(CROSS(K,D) && BIAS<-6 && D<16 && CLOSE>REF(CLOSE,1),80,0),COLOR00FF00;
RSV1:=(RSV/10-5)*2;
TT:=MA(RSV1,5);
VAR2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR3:=(CLOSE-VAR2)/VAR2*100;
VAR4:=REF(VAR3,1)<-40 AND VAR3>REF(VAR3,1) AND REF(VAR3,1)<REF(VAR3,2) AND VAR3-REF(VAR3,1)>2.5;
VAR5:=(CLOSE-OPEN)/OPEN*100;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
VAR8:=COUNT(VAR7<20,20)>=1;
AVXGL:=(CROSS(-5,VAR5)OR RSV1<-9) AND AVX=-60 ;
AVXGL1:=(CROSS(VAR5,5)OR RSV1>9) AND AVX=60;
CVAR1:=1;
CVAR2:=LLV(LOW,10);
CVAR3:=HHV(HIGH,25);
DLX1:=EMA((CLOSE-CVAR2)/(CVAR3-CVAR2)*4,4)*CVAR1;
DLX:=DLX1<0.3;
DLXM:=DLX1>3;
DLXJM:=DLX1>3 AND DLX1<REF(DLX1,1);
DLXJM1:=DLX1>3 AND DLX1<REF(DLX1,1) AND REF(DLX1,1)>REF(DLX1,2);
VVAR1:=REF(LOW,1);
VVAR2:=SMA(ABS(LOW-VVAR1),13,1)/SMA(MAX(LOW-VVAR1,0),13,1)*4;
VVAR3:=EMA(VVAR2,13);
VVAR4:=LLV(LOW,34);
VVAR5:=EMA(IF(LOW<=VVAR4,VVAR3,0),3);
VVAR51:=REF(VVAR5,1);
MZJC:=VVAR5>REF(VVAR5,1);
BA1:=ABS((EMA(CLOSE, 5) - EMA(CLOSE, 10))) * 628;
BA2:=BA1 / CLOSE;
CDX1:=BA1<BA2;
BA3:=REF(CLOSE, 1.000);
BA4:=SMA(MAX((CLOSE - BA3),0), 8, 1) / SMA(ABS((CLOSE - BA3)), 8.000, 1) * 100;
BA5:=SMA(MAX((CLOSE - BA3),0), 55, 1) / SMA(ABS((CLOSE - BA3)), 55.000, 1) * 100;
CDX2:=(BA4<= 20) AND (BA5 <= 49);
CM1:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;
CM2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;
{多头买入} 坚决买入:(AVXGL AND DLX AND MZJC AND (CDX1 OR CDX2 OR CM1 OR CM2));
买入区间:IF((MZJC AND AVXGL AND DLX),0.5,0), ,LINETHICK2,COLORRED;
{多头卖出}卖出区间:AVXGL1 AND DLXM OR DLXJM;
绝卖:IF(卖出区间 AND AVXGL1,1.5,0), ,LINETHICK2,COLORGREEN;
绝对别贪:IF(DLX1>3.50 AND AVXGL1,2,0), ,LINETHICK2,COLORRED;
 

{选股公式源码}

A14:=MA(CLOSE,20);
A15:=(CLOSE > MA(CLOSE,5));
A16:=(MA(CLOSE,5) > MA(CLOSE,10));
A17:=(CLOSE > MA(CLOSE,10));
A18:=(MA(CLOSE,5) > MA(CLOSE,20));
A19:=(CLOSE > MA(CLOSE,20));
A10:=REF(A14,1);
A11:=(A14 > A10);
AVX:=(((((IF(A15,10,(0 - 10)) + IF(A16,10,(0 - 10))) + IF(A17,10,(0 - 10))) + IF(A18,10,(0 - 10))) + IF(A19,10,(0 - 10))) + IF(A11,10,(0 - 10))),;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV1:=(RSV/10-5)*2;
VAR5:=(CLOSE-OPEN)/OPEN*100;
AVXGL:=(CROSS(-5,VAR5)OR RSV1<-9) AND AVX=-60 ;
CVAR1:=1;
CVAR2:=LLV(LOW,10);
CVAR3:=HHV(HIGH,25);
DLX1:=EMA((CLOSE-CVAR2)/(CVAR3-CVAR2)*4,4)*CVAR1;
DLX:=DLX1<0.3;
VVAR1:=REF(LOW,1);
VVAR2:=SMA(ABS(LOW-VVAR1),13,1)/SMA(MAX(LOW-VVAR1,0),13,1)*4;
VVAR3:=EMA(VVAR2,13);
VVAR4:=LLV(LOW,34);
VVAR5:=EMA(IF(LOW<=VVAR4,VVAR3,0),3);
MZJC:=VVAR5>REF(VVAR5,1);
BA1:=ABS((EMA(CLOSE, 5) - EMA(CLOSE, 10))) * 628;
BA2:=BA1 / CLOSE;
CDX1:=BA1<BA2;
BA3:=REF(CLOSE, 1.000);
BA4:=SMA(MAX((CLOSE - BA3),0), 8, 1) / SMA(ABS((CLOSE - BA3)), 8.000, 1) * 100;
BA5:=SMA(MAX((CLOSE - BA3),0), 55, 1) / SMA(ABS((CLOSE - BA3)), 55.000, 1) * 100;
CDX2:=(BA4<= 20) AND (BA5 <= 49);
CM1:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;
CM2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;
坚决买入:(AVXGL AND DLX AND MZJC AND (CDX1 OR CDX2 OR CM1 OR CM2));
{精简了一些无用的句子}

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

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