上边绿点卖出,下边红点买入。 0,COLORRED; 100,COLORGREEN; {} B11:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70; B2:=SMA(B11,9,1)+100; B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100; B4:=SMA(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; B7:=IF(B6>60,B6-60,0),COLORGREEN; 持有:=STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),5,0),COLORYELLOW; DRAWBAND(B7,RGB(231,69,80),REF(B7,1),RGB(0,142,35 )); {} H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8,COLOR00DD00; 支撑:=L1+P1*0.5/8,COLOR00DD00; 现价:=CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撑,现价),0,10,1,0),COLORYELLOW; STICKLINE(LONGCROSS(现价,阻力,2),100,105,1,0),COLORGREEN; {} A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED; B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2; 长期线:=A+100,COLOR9900FF,LINETHICK2; 短期线:=B+100,COLOR888888; 中期线:=D+100,COLORLIGRAY,LINETHICK1; 见顶:=(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线) ; 顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5 AND 短期线<中期线 AND 短期线<长期线+4; 顶部:=FILTER(顶部区域,4); 底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1))) OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ; 低位金叉:=长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线 AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 ); 低位买入:=长期线<10 AND CROSS(短期线,长期线) AND (短期线-REF(短期线,1))>12 AND 短期线>15; 低位抄底:=长期线<9 AND CROSS(中期线,长期线) AND 短期线>20; A1:=BARSLAST(REF(CROSS(中期线,长期线),1)); 底背:=REF(CLOSE,A1+1)>CLOSE AND 长期线>REF(长期线,A1+1) AND CROSS(中期线,长期线) AND REF(长期线,A1+1)<11; A2:=BARSLAST(REF(CROSS(长期线,中期线),1)); 顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(长期线,A2+1)>长期线 AND CROSS(长期线,中期线) AND REF(长期线,A2+1)>88; STICKLINE( 底部区域,5,0,22,1 ),COLORRED; STICKLINE( 低位金叉,10,15,11,1 ),COLORRED; STICKLINE(低位买入 ,20,28,2,1 ),COLOR9966FF; STICKLINE(低位抄底 ,0,10,2.8,1 ),COLORYELLOW; STICKLINE( 底背,0,10,3,1 ),COLORRED; STICKLINE( 顶背,105,110,2,1 ),COLORGREEN,LINETHICK2; {} VAR1111:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1111-REF(VAR1111,1))/REF(VAR1111,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(财,M1),COLORGREEN,LINETHICK1; BTJ11:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=CROSS(财,神) AND 财<-0.3; STJ1:=(C-JJ)/JJ>0.005; STJ01:=控盘<REF(控盘,1) AND 控盘>0.5; STJ31:=CROSS(神,财); STJ02:=控盘>0; STJ32:=CROSS(神,财) AND 财>1.618; BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13); STJ82:=FILTER(STJ02 AND STJ32 ,13); STJ83:=STJ81 AND STJ82; DRAWICON(BTJ811 AND TIME>10,25,26); DRAWICON(STJ83,75,15); {} VAR111:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR211:=SMA(VAR111,3,1); VAR311:=SMA(VAR211,3,1); VAR411:=SMA(VAR311,3,1); VAR611:=CROSS(VAR311,VAR411) AND VAR311<20; VAR711:=CROSS(VAR411,VAR311) AND VAR311>80; {STICKLINE(FILTER(VAR611,10)=1,0,10,10,0),COLORRED ; STICKLINE(FILTER(VAR711,5)=1,90,100,10,0),COLORGREEN ; } VAR811:=CROSS(VAR211,VAR311) AND VAR311>80 AND VAR311>VAR411; STICKLINE(VAR811,90,100,10,0),COLORWHITE ; DRAWICON(FILTER(VAR611,10)=1,45,7); DRAWICON(FILTER(VAR711,5)=1,80,8); {} V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线:=EMA(V11,3); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; 买入股票: STICKLINE(BB,10,20,3,1),COLOR0099FF; {} 昨收:=DYNAINFO(3); HH:=DYNAINFO(5); LL:=DYNAINFO(6); FK:=MAX(HH-昨收,昨收-LL)*0.1; Q2:=昨收-2*FK*3.22; Q3:=昨收-3*FK*3.2; DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24)); DEA:=(EMA(DIF,6)); CC:=CLOSE,COLORWHITE,LINETHICK2; VAR71:=SMA(CC,6.18,1); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0)); 三次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,21)=1; DRAWICON(三次金叉,30,1); {0-5 1.3} A2MM:= SMA(MAX(CLOSE-(REF(CLOSE,2)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,2))),7,1)*100, COLOR00FF00; VAR3MM:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),7,1)*100; {STICKLINE(VAR3MM<12 AND A2MM<12,0,5,1.3,1),COLORYELLOW;} STICKLINE(A2MM< REF(A2MM,1) AND A2MM>79 AND A2MM>80,90,100,3,0),COLORGREEN; {10-15 1 90-95 1}; TEND:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFF00FF; VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); STICKLINE(TEND<=10 AND CROSS((EMA(VAR2W,3)),(EMA((EMA(VAR2W,7)),5))) AND (EMA((EMA(VAR2W,7)),5))<20,15,25,3,0),COLORLIRED; {90-95 1.3} LC:=REF(CLOSE,1); RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; RTD:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; ATD:=SMA(RTD,3,1); BTD:=SMA(ATD,3,1); CCC:=(BTD/2+40)*1.1; DTD:=SMA(CCC,3,1); STICKLINE(CROSS(DTD,RSI5) AND CROSS(80,RSI5),80,90,3,1),COLORGREEN; {30-35 1.6} RSI:=SMA(MAX(C-(REF(C,1)),0),6,1)/SMA(ABS(C-(REF(C,1))),6,1)*100; WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14)); WR反向:=(0-WR)-100; RSI买点:=RSI<20 AND RSI>REF(RSI,1); WR反向买点:=WR反向>-80 AND WR反向<REF(WR反向,1); 朋友选股:=RSI买点 AND WR反向买点; STICKLINE(朋友选股,20,30,3,1),COLORRED; {40-45 1.6} DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA1:=EMA(DIFF1,9),COLORFFFF00; A1HMG:=BARSLAST(REF(CROSS(DIFF1,DEA1),1)); 底背离:=REF(CLOSE,A1HMG+1)>CLOSE AND DIFF1>REF(DIFF1,A1HMG+1) AND CROSS(DIFF1,DEA1); DEA0:=EMA(DIFF1*100,9); MACD0:=2*(DIFF1*100-DEA0); 黑马:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15); DRAWICON(底背离 AND 黑马,40,25); {40-45 1.3} WRSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; RSVGS:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100; KGS:=SMA(RSVGS,3,1); DGS:=SMA(KGS,3,1); JGS:=(3*KGS-2*DGS),LINETHICK2; VAR1YG:=4*SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1),3.2,1); 个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF; VAR01DB:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02DB:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); VAR03DB:=CROSS(VAR02DB,VAR01DB); VAR04DB:=REF(VAR02DB,2)<REF(VAR02DB,1) AND VAR02DB<REF(VAR02DB,1); VAR05DB:=COUNT(VAR03DB,7)>0 AND VAR04DB; VAR11DB:=EMA(IF(LOW<=(LLV(LOW,33)),(EMA(C,5)),0),3)*40; VAR12DB:=IF(VAR11DB>100,VAR11DB*0.312,VAR11DB); VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80; B1:=SMA(VAR1,7,1); VAR2:=SMA(B1,5,1); 绝路航标:=IF(CROSS(B1,VAR2) AND B1<40,38,0),COLORYELLOW,LINETHICK2; BG:=IF(DATE<=1150530,1,0); GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95); VB1:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG))))); 中线:=1,COLORBLUE,LINETHICK2; 快趋势线:=EXPMA((DCLOSE/VB1),21),COLORYELLOW,,LINETHICK1; STICKLINE(CROSS(快趋势线,中线) AND CROSS(WRSI,20) AND VAR05DB AND COUNT(VAR05DB,5)=1,0,10,1,1),COLORMAGENTA; STICKLINE(绝路航标>0 AND VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8)),0,10,3,0),COLORMAGENTA ; STICKLINE(VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8 |
- 软件大小:12.0 KB
- 推荐星级:
- 更新时间:2013-05-12 01:27:34
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!