源码: 参数:S:26 -20 100 K:12 -20 100 M:9 -20 100 N:101 100 1000 DRAWGBK(CLOSE,COLORRGB(1,0,0),COLORRGB(1,0,0),1); DIFF:=EMA(CLOSE,K)-EMA(CLOSE,S); DEA1:=EMA(DIFF,M); 0; MACD:=3*(DIFF-DEA1); FILLRGN(MACD<=0,0,MACD),colorFFFF00; FILLRGN(MACD>=0,0,MACD),colorFF; DIFF1:EMA(CLOSE,K)-EMA(CLOSE,S),LINETHICK2,colorFFFF; DEA:=EMA(DIFF,M); 0; MACD屠龙刀:0.29*(CROSS(DIFF1,DEA1) AND DIFF1>=0 AND DIFF<=0.08 AND (COUNT(DIFF1>DEA1,10))>3),LINETHICK2; DRAWICON(MACD屠龙刀>0,0.3,1),colorFFFF; DRAWICON(MACD屠龙刀>0,0.3,4),colorFFFF; DRAWTEXT(MACD屠龙刀>0,0.3,'-^MACD'),colorFFFF; DRAWTEXT(MACD屠龙刀>0,0.3,' ^ 屠龙'),colorFF; DEA:EMA(DIFF,M),colorFF00; 0=0.14; STICKLINE(CROSS(DIFF,DEA) AND DIFF>=-0.32 AND DIFF<=-0.21,DEA,0.23,0,0),LINETHICK2,colorFFFF; DRAWICON(CROSS(DIFF,DEA) AND DIFF>-0.32 AND DIFF<-0.21,0.23,1); DRAWICON(CROSS(DIFF,DEA) AND DIFF>-0.32 AND DIFF<-0.21,DIFF,10); DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>-0.32 AND DIFF<-0.21,0.23,'^DIFF金叉'),PXUP8,colorFF; PARTLINE(DIFF>=DEA,DIFF AND DIFF>=0),LINETHICK3,colorFF; PARTLINE(DIFF>=DEA AND DIFF<=0,DIFF),LINETHICK3,colorFF00FF; PARTLINE(DIFF<=0 AND DIFF<=DEA,DIFF),LINETHICK3,colorFF00; PARTLINE(MACD>=0,MACD),LINETHICK0,colorFF; PARTLINE(MACD<=0,MACD),LINETHICK0,colorFFFF00; STICKLINE(CROSS(MACD,DIFF) AND MACD>=-0.05 AND MACD<=0.02,MACD,0.23,0,0),LINETHICK2,colorFFFF; DRAWTEXT(CROSS(MACD,DIFF) AND MACD>=-0.05 AND MACD<=0.02,0.23,'^MACD'),colorFF; DRAWTEXT(CROSS(MACD,DIFF) AND MACD>=-0.05 AND MACD<=0.02,0.23,' 金叉'),PXUP8,colorFFFFFF; DRAWICON(CROSS(MACD,DIFF) AND MACD>=-0.05 AND MACD<=0.02,0.23,1); VCF1:=LLV(LOW,5); VCF2:=HHV(HIGH,5); VCF3:=EMA((CLOSE-VCF1)/(VCF2-VCF1)*100,4); VCF4:=EMA(0.667*REF(VCF3,1)+0.333*VCF3,2); VCF5:=(HIGH+LOW)/2; VCF6:=DMA(VCF5,VOL/SUM(VOL,MIN(5,BARSCOUNT(CLOSE)))); VCF7:=DMA(VCF5,VOL/SUM(VOL,MIN(13,BARSCOUNT(CLOSE)))); VCF8:=DMA(VCF5,VOL/SUM(VOL,MIN(34,BARSCOUNT(CLOSE)))); VCF9:=DMA(VCF5,VOL/SUM(VOL,MIN(75,BARSCOUNT(CLOSE)))); VCFA:=EMA(WINNER(0.9*CLOSE),5); VCFB:=1-EMA(WINNER(1.2*CLOSE),5); VCFC:=EMA(WINNER(CLOSE),5); VCFD:=100*(CLOSE-VCF6)/VCF6; VCFE:=100*(CLOSE-VCF7)/VCF7; VCFF:=100*(MIN(CLOSE,OPEN)-VCF8)/VCF8; VCF10:=BARSLAST(VCF8>VCF9 AND REF(VCF8,1)<=REF(VCF9,1)); VCF11:=((COUNT(WINNER(CLOSE)<0.11 AND EMA(WINNER(CLOSE),5)<0.15,2))>0 OR 1-WINNER(1.2*CLOSE)>=0.8 AND WINNER(CLOSE)<0.05) AND (COUNT(VCFE<-16,2))>0 AND (COUNT(VCFF<-20,2))>0; VCF12:=(COUNT(VCFD<-10,2))>0 AND (COUNT(VCFE<-15,2))>0 AND (COUNT(VCFF<-15,2))>0 AND (COUNT(VCFA>0.8,VCF10))=0; VCF13:=(COUNT(VCF11 OR VCF12,2))>0 AND VCF3>REF(VCF3,1) AND (1-WINNER(1.15*CLOSE))*100>80; 出击1:=IF(VCF13 AND COUNT(VCF13,3)<=1,0.1,0); DRAWBKBMP(出击1>=0.1,'sun'); 黑马出击:IF(VCF13 AND COUNT(VCF13,3)<=1,0.37,0),LINETHICK3,colorFF; DRAWICON(黑马出击>0,0.37,1); DRAWTEXT(黑马出击>0,0.35,'.★黑马 '),colorFFFFFF; DRAWTEXT(黑马出击>0,0.35,' 出击'),colorFF00; 放量拉升:0.12*(LLV(CLOSE,100)=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>1+3/100),LINESTICK,LINETHICK2; DRAWICON(放量拉升>=0.1,0.13,1); DRAWTEXT(放量拉升>0,0.11,'-★^放量拉升'),colorFFFF; VAR10:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100; VAR11:=(VAR10>1*REF(VAR10,1) AND VAR10<选股 AND VAR10>抄底)*1.5; VAR12:=VOL/CAPITAL*100; VAR13:=LLVBARS(LOW,50); VAR14:=SUM(VOL,VAR13); VAR15:=HHVBARS(HIGH,50); VAR16:=SUM(VOL,VAR15); VAR17:=(CLOSE-REF(OPEN,VAR15))/REF(OPEN,VAR15)*100; VAR18:=VAR16/CAPITAL*100; VAR19:=(CLOSE-REF(OPEN,VAR13))/REF(OPEN,VAR13)*100; VAR20:=VAR14/CAPITAL*100; VAR21:=MA(CLOSE,3); VAR22:=REF(CLOSE,2)*0.865; VAR23:=REF(CLOSE,13)*0.772; VAR24:=MIN(VAR22,VAR23); VAR25:=MA(CLOSE,13); 抄底王:(IF((CLOSE-VAR24)/CLOSE<0.03 AND VAR17<-35 AND SUM(VAR12,5)/5<1.8,1,0))*0.4,LINETHICK3,colorFF0000; DRAWTEXT(抄底王>0,抄底王,'.★抄底王'),PXUP6,colorFFFFFF; DRAWTEXT(抄底王>0,抄底王,' (成功率90%)'),PXUP6,colorFF00; VAR26:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; VAR27:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; VAR28:=EMA(VAR27,9); VAR29:=2*(VAR27-VAR28); STICKLINE(VAR27<-50 AND VAR26>7,0,-0.1,5,0),colorFF; DRAWTEXT(VAR27<-50 AND VAR26>7 AND VAR27<VAR28,-0.08,'底'),colorFFFFFF; DRAWTEXT(VAR27<-50 AND VAR26>7 AND VAR27>=VAR28,-0.1,'追'),colorFFFFFF; VAR1:=IF(DATE>=99990600,0,1); VAR2:=MA(CLOSE,18); VAR3:=(CLOSE-VAR2)/VAR2*100; VAR4:=MA(VAR3,1); 升跌:=VAR4*VAR1; VAR5:=BARSLAST(CROSS(-10,VAR4)=1); VAR6:=BARSLAST(CROSS(VAR4,10)=1); VAR7:=VAR4<-10 AND VAR5>=5; VAR8:=VAR4>10 AND VAR6>=5; C1:0.01*(IF(VAR4<-10 AND VAR5>=5,VAR4,0))*VAR1,LINETHICK3,colorFFFFFF; C2:=C1; C3:=(IF(VAR4>10 AND VAR6>=5,VAR4,0))*VAR1; C4:=C3; D1:=(升跌>REF(升跌,1) AND VAR7)*0.2*VAR1; DRAWBKBMP(D1>=0.2,'sun'); D:(升跌>REF(升跌,1) AND VAR7)*0.25*VAR1,LINETHICK3,colorFF; DRAWTEXT(D>=0.25,D,'。★-铁底'),colorFFFF; VARB:=REF(LOW,1)*0.9; VARC:=LOW*0.9; VARD:=(VARC*VOL+VARB*(CAPITAL-VOL))/CAPITAL; VARE:=EMA(VARD,30); VARF:=CLOSE-REF(CLOSE,1); VAR10:=MAX(VARF,0); VAR11:=ABS(VARF); VAR12:=SMA(VAR10,7,1)/SMA(VAR11,7,1)*100; VAR13:=SMA(VAR10,13,1)/SMA(VAR11,13,1)*100; VAR14:=SMA(MAX(VARF,0),6,1)/SMA(ABS(VARF),6,1)*100; VAR15:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR16:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR17:=SMA((SMA(VAR16,4,1)-50)*2,3,1); VAR18:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR19:=SMA(VAR18,4,1); VAR1A:=SMA(VAR19,3,1); VAR1B:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR1C:=VAR14<=25 AND VAR15<-95 AND VAR1B>20 AND VAR17<-30 AND VAR1A<30 AND VARE-CLOSE>=-0.25 AND VAR12<22 AND VAR13<28; VARA1:=AMOUNT/VOL; VARA2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5); VARA111:="1A0001$VOL"*"1A0001$CLOSE"; VARA21:=EMA(VARA111,5)/EMA("1A0001$VOL",5); CYS:=("1A0001$CLOSE"-VARA21)/VARA21*100; A1:=VARA1/100; A2:=MA(A1,5); A3:=MA(A1,20); A4:=MA(A1,30); B1:=A4>A2*1.09 AND A3>A2*1.06; B2:=A2>A1*1.03 AND A3>A1*1.13; VARA32:=MA(CLOSE,27); VARA33:=(CLOSE-VARA32)/VARA32*100; VARA34:=MA(VARA33,3); VARA10:=CYS<-2 AND B2; 屠龙刀:=VARA2<6 AND VARA10 AND VARA34<-15; 屠龙刀*0.18,STICK,LINETHICK6,colorFF; DRAWTEXT(屠龙刀,0.18,'-★ 屠龙刀 '),colorFFAA00; DIFF2:=EMA(CLOSE,2)-EMA(OPEN,5); 操盘手:=DIFF2; 0.13*(CROSS(操盘手,MACD) AND MACD<=-0.11),LINETHICK2,colorFFFFFF; DRAWTEXT(CROSS(操盘手,MACD) AND MACD<=-0.11,0.13,'5%'),colorB7D16F; 0.1*(CROSS(DIFF,DEA) AND DIFF>=-0.01 AND DEA<=0),LINETHICK3,colorFF; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>=-0.01 AND DEA<=0,0.1,'2.5%'); V2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; V3:=MA(VOL,2)/MA(VOL,10); V4:=VOL/CAPITAL; A1:=0.0068*V2-0.0072*V3-0.5676*V4-0.0105; A2:=0.0015*V |
- 软件大小:7.00 KB
- 推荐星级:
- 更新时间:2009-10-07 17:53:58
- 软件类别: 国产软件 / 飞狐公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(2)50%(2)50%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!