{选股牛跌}
VAR0:=DATE<2020131;
LC:=REF(C,1);
TT:=240/FROMOPEN;
VV:=IF(ISLASTBAR,V*TT,V); MV5:=MA(VV,5); V20:=MA(VV,20); V40:=MA(VV,40);
M8:=MA(C,10),COLOR00FFFF,LINETHICK1,DOTLINE;
M13:=MA(C,13),COLORFF9900,LINETHICK1,DOTLINE;
M5:=MA(C,5); M10:=MA(C,10); M20:=MA(C,20);
M30:=MA(C,30); M60:=MA(C,60); M90:=MA(C,90); M120:=MA(C,120);
V5:=MA(VV,5);MV10:=MA(VV,10); MV20:=MA(VV,20); MV40:=MA(VV,40); MV60:=MA(VV,60);
A5:(C/M5-1)*100,NODRAW; A10:=(C/M10-1)*100; A510:=(M5/M10-1)*100,NODRAW;
A20:(C/M20-1)*100,NODRAW; A520:=(M5/M20-1)*100; A560:=(M5/M60-1)*100; A1020:=(M10/M20-1)*100;
A30:=(C/M30-1)*100,NODRAW; A2030:=(M20/M30-1)*100; A2060:=(M20/M60-1)*100;
速5:=(M5-REF(M5,1))/REF(M5,1)*1000;
速10:=(M10-REF(M10,1))/REF(M10,1)*1000;
速20:(M20-REF(M20,1))/REF(M20,1)*1000,NODRAW;
速30:=(M30-REF(M30,1))/REF(M30,1)*1000;
速60:=(M60-REF(M60,1))/M60*1000,NODRAW;
速90:=(M90-REF(M90,1))/REF(M90,1)*1000;
速120:=(M120-REF(M120,1))/REF(M120,1)*1000;
CL5:=(C/LLV(REF(L,1),5)-1)*100;
LCL:=(LC/LLV(REF(L,2),15)-1)*100,NODRAW,COLORFFFFFF;
LL05:=((LC+REF(C,2))/2/LLV(REF(L,2),15)-1)*100,NODRAW;
L5:=(C/MA(L,5)-1)*100,COLORFF55AA;
低价比:=C/L,NODRAW,COLORFFFF00;
下2:=MA(C,20)*0.98,COLOR00FF00,DOTLINE;
RSV9:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:SMA(RSV9,3,1),COLORFF9900;
D:=SMA(K,3,1);
J:3*K-2*D,COLORFF00FF,DOTLINE;
KJ:IF(PERIOD>0,((K-J)+40)*1.3,DRAWNULL),COLORFF00FF,DOTLINE;
RSV15:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
K15:=SMA(RSV15,3,1);
D15:=SMA(K15,3,1);
J15:=3*K15-2*D15,COLORFFFF00;
J015:=(3*K15-2*D15)*0.93,COLORFFFF00;
QQ:=EMA((C-LLV(L,26))/(HHV(H,27)-LLV(L,26))*116,3)-11,LINETHICK2,COLOR9933FF;
K30:=EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*120,5)-10;
D30:=SMA(K30,3,1);
J30:=3*K30-2*D30;
KJ30:=(K30+J30)/2;
周K:=SMA((C-LLV(L,45))/(HHV(H,45)-LLV(L,45)),3,1)*100;
周D:=SMA(周K,3,1);
周J:=3*周K-2*周D,COLOR00FF00;
周KJ:=(周K+周J)/2-1.5,COLOR00FFFF;
R6:SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*124-12,COLOR00FF33,LINETHICK1;
R12:=SMA(MAX(C-LC,0),12,1)/SMA(ABS(C-LC),12,1)*124-12,COLOR4444FF,LINETHICK2;
反:(2*R12-3*R6)*0.65+80,COLORFFFFFF;
反R12:(HHV(R6,12)-R6)*1.2-2,COLOR0055FF;
三跌:IF(EVERY(C<LC*0.98,3) AND C<REF(C,3)*0.87 AND ((A5<-3 AND A510<-2.5) OR LLV(K,5)<8) AND EVERY(C<O,3) AND H<REF(H,1) AND
LCL<0 AND LL05<0 AND (EVERY(C<LC*0.901,2) OR C>LC*0.901) AND FINANCE(33)>0 AND DYNAINFO(10)>1 AND H<LLV(REF(L,1),2)*
1.06 AND K<11 AND C<L*1.015 AND V<HHV(V,10) AND VAR0,110,DRAWNULL),COLORFF44FF,CROSSDOT,LINETHICK9;
SS:=IF(EVERY(C<LC*0.985,3) AND C<REF(L,3)*0.9 AND EVERY(O<=REF(LC,1),3) AND EVERY(C<L*1.01,3) AND K<12 AND EVERY(C<O,3) AND
C>LC*0.901 AND BETWEEN(DYNAINFO(39),1,60),1,0);
三跌2:IF(SS=1 OR (((REF(SS,1)=1 OR REF(三跌,1)=L*0.95) AND C<LC) OR ((REF(SS,2)=1 OR REF(三跌,2)=L*0.95) AND LC<REF(C,2) AND C<
LC)) AND C<L*1.015 AND H<REF(H,1) AND V<HHV(V,10) AND H<LLV(REF(L,1),2)*1.06 AND (EVERY(C<LC*0.901,2) OR C>LC*0.901)
AND FINANCE(33)>0 AND DYNAINFO(10)>1 AND VAR0,100,DRAWNULL),COLOR0000FF,CROSSDOT,LINETHICK9;
三跌3:IF(EVERY(C<LC*0.97,3) AND C<REF(C,3)*0.88 AND (K<8 OR (A5<-3 AND A510<-3)) AND K<12 AND H<LLV(REF(L,1),2)*1.06
AND C<L*1.02 AND (EVERY(C<LC*0.901,2) OR C>LC*0.901) AND FINANCE(33)>0 AND DYNAINFO(10)>1 AND V<HHV(V,10) AND VAR0,90,
DRAWNULL),COLOR00FF00,CROSSDOT,LINETHICK9;
XXX:=IF((C>=M20 AND M20>=REF(M20,1)),1,0);
牛跌6:IF(J<0 AND REF(XXX,1)=1 AND XXX=1 AND (EVERY(C<LC*0.901,2) OR C>LC*0.901 OR A20>-28) AND FINANCE(33)>0 AND
DYNAINFO(10)>1 AND FINANCE(43)>0 AND A5<-4.5 AND VAR0,95,0),STICK,LINETHICK4,COLORFF00FF;
牛跌Y:IF(PERIOD=5 AND M20>REF(M20,1) AND ((J<0 AND A5<-2.5) OR (LCL<0 AND L=LLV(L,15))) AND C<LC AND C<O AND C=LLV(C,5) AND VAR0,60,0),LINETHICK4,COLOR0055FF,STICK;
牛跌X:IF(M20>M60 AND 速20>0 AND ((速20>=6 AND A20<-6.5) OR A20<-11.5) AND C<LC AND C<O AND (EVERY(C<LC*0.901,2) OR C>LC*0.901) AND VAR0,
110,DRAWNULL),COLOR0044FF,CROSSDOT,LINETHICK7;
牛跌D:IF(速60>0 AND 速90>0 AND 速120>0 AND (A5<-7 OR (A5<-4.3 AND A10<-7)) AND LCL<0 AND C<LLV(LC,10) AND
L<LLV(REF(L,1),10) AND (EVERY(C<LC*0.901,2) OR C>LC*0.901) AND FINANCE(33)>0 AND DYNAINFO(10)>1 AND C<L*1.01
AND VAR0,105,0),STICK,COLORFFFF00,LINETHICK4;
量升价跌:=IF(C>M20 AND MV40>MV60 AND MV40>REF(MV40,1) AND MV60>REF(MV60,1) AND (K<8 OR 周J<0 OR R6<0),1,0);
牛跌0:IF(((M10>M20*1.015 AND EXIST(速10>0,2) AND 速20>0 AND ((速10>1.2 AND 速20>1) OR 速20>4.4 OR (M20>M60 AND
C<M60)) AND ((A1020>5 AND K<8) OR A1020>6) AND (C<M20 OR K<8) AND VV<HHV(VV,10)) OR (HHV(量升价跌,4)
=1 AND LCL<15)) AND LCL<20 AND C<L*1.01 AND C=LLV(C,5) AND L=LLV(L,5) AND (EVERY(C<LC*0.901,2) OR C>LC*0.901)
AND FINANCE(33)>0 AND DYNAINFO(10)>1 AND VAR0,140,0),COLOR0099FF,STICK,LINETHICK4;
M612低:=IF((C>=M90 OR (C>=M120 AND 速60>=0)) AND M60>=M120 AND 速90>=0 AND 速120>=0 AND (K<8 OR QQ<0) AND
(M10>=REF(M10,1) OR ((C>M20 OR (A5+A10)<-4.4) AND M20>=REF(M20,1)) AND (LCL<0 OR MIN(M5,M10)>M20)),1,0);
M2低:=IF((K<8 OR QQ<0.5) AND C>M20 AND EXIST(速20>=0,2) AND (A5+A10)<-4.5,1,0);
J9牛低:=IF(EXIST(速20>0,2) AND (LCL<0 OR (LLV(K,5)<8 AND EXIST(C>M20,3)) OR A5<-5 OR (LLV(K,5)<12 AND
(A5+A10)<-4.5)) AND C<O AND LCL<2,1,0);
牛低:IF(((((M612低=1 AND EXIST(C<LC,2)) OR M2低=1) AND A5<-4 AND LCL<2) OR J9牛低=1) AND C<L*1.01 AND LCL<5 AND
C<LLV(LC,10) AND L<LLV(REF(L,1),10) AND (EVERY(C<LC* |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!