设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?通达信擒大牛副图+选股公式源码

2016-6-12 9:35:54 股票入门 http://rumen.southmoney.com

股票的公式有哪些通达信擒大牛副图+选股公式源码 附:通达信改进版方向红绿灯主图公式源码  南方财富网小编为您提供


【通达信擒大牛副图+选股公式源码】

{擒大牛 副图}
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">TJ1:=REF(CROSS(MA(C,5),C),1) AND CROSS(C,MA(C,5));
TJ2:=REF(CROSS(MA(C,10),C),1) AND CROSS(C,MA(C,10));
TJ3:=REF(CROSS(MA(C,20),C),1) AND CROSS(C,MA(C,20));
TJ4:=TJ1 OR TJ2 OR TJ3;
TJ5:=REF(C,2)/REF(C,1)>=1.045 AND REF(C,1)<REF(O,1) AND C/REF(C,1)>1.09 AND C=H AND TJ4;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
中线:=EMA(X,13);
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
长线1:=EMA(KKC,50);
KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;
KBBB3:=C/REF(C,1)>1+0.01*9.00;
KCCC3:=中线/长线1<1+0.01*20.00;
擒大牛:=KAAA3 AND KBBB3 AND KCCC3 AND TJ5;
杀入线:IF(擒大牛>0,70,0),COLOREA91B5,LINETHICK2;
DRAWTEXT(擒大牛>0,55,擒大牛),COLORRED,LINETHICK1;

附:【通达信主力建仓完成试盘选股公式源码】

V2G:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
V3G:=(MA(VOL,2) / MA(VOL,10));
V4G:=(VOL / CAPITAL);
A1G:=((((0.0068 * V2G) - (0.0072 * V3G)) - (0.5676 * V4G)) - 0.0105);
A2G:=((((0.0015 * V2G) - (0.0124 * V3G)) + (1.7461 * V4G)) - 0.0074);
GGHX:=((((0 - (12.2401 * A1G)) - (1 * A2G)) + 0.321) < 0);
AA1:=MA(HHV(H,485),17); 
AA2:=MA(HHV(H,222),17); 
AA3:=MA(HHV(H,96),17); 
AA4:=MA(LLV(L,485),17); 
AA5:=MA(LLV(L,222),17); 
AA6:=MA(LLV(L,96),17); 
AA7:=MA((AA4*0.96+AA5*96+AA6*0.96+AA1*0.558+AA2*0.558+AA3*0.558)/6,17); 
AA8:=MA((AA4*1.25+AA5*1.23+AA6*1.2+AA1*0.55+AA2*0.55+AA3*0.65)/6,17); 
AA9:=MA((AA4*1.3+AA5*3+AA6*1.3+AA1*0.68+AA2*0.68+AA3*0.68)/6,17); 
AAA:=MA((AA7*3+AA8*2+AA9)/6*1.738,17);
AAB:=IF(DATE<=1341231,AAA,AAA*DAY); 
AAC:=L; 
AAD:=REF(L,1); 
AAE:=SMA(ABS(AAC-AAD),3,1)/SMA(MAX(AAC-AAD,0),3,1)*100; 
AAF:=MA(IF(C*1.35<=AAB,AAE*10,AAE/10),3); 
AA10:=LLV(L,30); 
AA11:=HHV(AAF,30); 
AA12:=1341231; 
CM:=IF(DATE<=AA12,MA(IF(L<=AA10,(AAF+AA11*2)/2,0),3),100000000);
AA13:=4*SMA((C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100,5,1)
-3*SMA(SMA((C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100,5,1),3.2,1);   
BBGX:=CM AND CROSS(AA13,8);
FGXG:=REF(C,2)/REF(C,1)>1.09 AND C/REF(C,1)>1.09 AND H=C AND V>REF(V,1);
XG:BBGX AND GGHX AND FGXG;

更多股票公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。