势 百变 {势 百变} F111:=ZIG(3,15); F211:=IF((F111> REF(F111,1)),100,80); 昨:REF(C,1),NODRAW,COLORGREEN; 上涨家数:=INDEXADV; 下跌家数:=INDEXDEC; 人气:上涨家数/下跌家数,NODRAW; M5:MA(C,5),COLORFFFFFF; M10:MA(C,10)COLOR00FFFF; M20:MA(C,20),COLOR888800; M30:MA(C,30),COLORRED; M60:MA(C,60),COLORGREEN; 半:MA(C,120)COLORBLUE; 年:MA(C,250),COLORMAGENTA; 拟:IF(BARSCOUNT(CLOSE)<250,SUM(CLOSE,BARSCOUNT(CLOSE))/BARSCOUNT(CLOSE),MA(CLOSE,250)),COLORFF00FF; T01:=CONST(LLVBARS(LOW,10)); T11HIGH:=CONST(REF(HIGH,T01)); CC1:=CONST(CURRBARSCOUNT); T02:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T01)) AND (HIGH>T11HIGH))); T12HIGH:=CONST(REF(HIGH,T02)); T03:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T02)) AND (HIGH>T12HIGH))); T13HIGH:=CONST(REF(HIGH,T03)); 洗:DRAWLINE(CURRBARSCOUNT=T03+1, T13HIGH, ISLASTBAR, T13HIGH, 1),DOTLINE,COLORFFFFFF; AY:=REF(H,10)=HHV(H,2*10+1); QYY:=BACKSET(AY,10+1); CC:=FILTER(QYY,10) AND H=HHV(H,10+1); DDD:=BARSLAST(CC); GDTS:=IF(CC,CURRBARSCOUNT,0); DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=CONST(DINGBUTS1); 压:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORFFFF00,LINETHICK1,DOTLINE; A2:=REF(L,5)=LLV(L,2*5+1); B2:=FILTER(A2,5); C2:=BACKSET(B2,5+1); D2:=FILTER(C2,5); E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); F2:=E2>REF(E2,1); 支:DRAWLINE(D2,L,F2,L,1),COLORLIRED,DOTLINE; 高1:=REF(HHV(H,150),3); 低1:=REF(LLV(L,150),3); HH1:=高1-(高1-低1)*0.191; 冲:REFDATE(HH1,DATE),COLORLIGREEN; LTG:=LLVBARS(L,60); LT1:=LLVBARS(L,60); LTT:=BARSLAST(CURRBARSCOUNT=CONST(LTG)+1); HTG:=FINDHIGHBARS(H,LTG+1,60,1); 锅顶:=DRAWLINE(CURRBARSCOUNT=CONST(HTG)+1,H,ISLASTBAR,REF(H,HTG),0),COLORYELLOW,LINETHICK2; TT:=BARSLAST(CURRBARSCOUNT=CONST(HTG)+1); AAG:=CROSS(C,CONST(锅顶)); BB:DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED,LINETHICK2; 锅底:DRAWLINE(CURRBARSCOUNT>CONST(LT1)+0,L,ISLASTBAR,REF(L,LT1),0),COLORWHITE; ZF1:=(C-REF(C,1))/REF(C,1)*100; AZ:=IF(C>O,ZF1,1); TJZ:=EVERY(RANGE(AZ,0,4),3); TZ:=BARSLAST(COUNT(CROSS(C,MA(C,5)),3)=2 AND CROSS(C,MA(C,5)) AND TJZ); XGZ:=REF(EVERY(H<REF(H,TZ),TZ),1) AND CROSS(C,REF(H,TZ)); 突破价:REF(H,TZ) NODRAW,COLORLIMAGENTA; LTS:=LLVBARS(L,100); HTS:=HHVBARS(H,60); LT1S:=FINDLOWBARS(L,HTS+1,30,1); LTTS:=BARSLAST(CURRBARSCOUNT=CONST(LTS)+1); LTT1:=BARSLAST(CURRBARSCOUNT=CONST(LT1S)+1); HT1:=FINDHIGHBARS(H,LTT1,LTTS+1,1); HT1T:=BARSLAST(CURRBARSCOUNT=CONST(HT1)+1); HT2T:=BARSLAST(CURRBARSCOUNT=CONST(HTS)+1); TJS:=L>REF(L,LTTS); TJ1S:=H>REF(H,HT1T); 升下轨:DRAWLINE(LTTS=0,L,LTT1=0 AND TJS,L,1),COLORYELLOW,DOTLINE; 升上轨:DRAWLINE(HT1T=0,H,HT2T=0 AND TJ1S,H,1),COLORYELLOW,DOTLINE; XLT:=FINDLOWBARS(H,0,HT2T+1,1); XLT1:=BARSLAST(CURRBARSCOUNT=CONST(XLT)+1); XH1T:=FINDHIGHBARS(H,XLT1,10,1); XH1TT:=BARSLAST(CURRBARSCOUNT=CONST(XH1T)+1); DF:=(C-REF(C,HT2T+1))/REF(C,HT2T+1)*100; XL2TT:=BARSSINCEN(DF<-15,HT2T+1); TJ2S:=H<REF(H,HT2T); TJ3S:=L<REF(L,XL2TT); 降上轨:DRAWLINE(HT2T=0,H,XH1TT=0 AND TJ2S,H,1),COLORGREEN,DOTLINE; 降下轨:DRAWLINE(XL2TT=0,L,XLT1=0 AND TJ3S,L,1),COLORGREEN,DOTLINE; STICKLINE(TZ>=0,REF(H,TZ),REF(H,TZ),4,-1),COLORGREEN; STICKLINE(CROSS(XGZ=1,0.5),C,O,2,0),COLORBROWN; STICKLINE(CROSS(XGZ=1,0.5),H,L,0,0),COLORBROWN; DRAWICON(CROSS(XGZ=1,0.5),L*0.95,11); VAR3:=LLV(HIGH,240); VAR4:=100*(CLOSE-VAR3)/VAR3; VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0; VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3); VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); 买1:=F211=100 AND VAR10; 买2:=F211=100 AND (VAR11+VAR13+VAR15+VAR17); 卖1:=(VAR12+VAR14+VAR16+VAR18); F1:=ZIG(3,15); F21:=IF((F1> REF(F1,1)),100,80); VARE1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR1A:=IF(VARE1>0,VARE1,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; 大顶0:=VAR1C AND COUNT(VAR1C,30)=1; DRAWTEXT(大顶0=1,H*1.03,'大顶!'),COLORWHITE; PL5:=ZIG(3,5); EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3); EX1:=PL5<REF(PL5,1) AND REF(PL5,1)>=REF(PL5,2) AND REF(PL5,2)>=REF(PL5,3); PL10:=ZIG(3,10); EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3); EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3); PL20:=ZIG(3,20); EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3); EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3); 走强1:=BARSLAST(PL5<REF(PL5,1)); 走弱1:=BARSLAST(PL5>REF(PL5,1)); 走强2:=BARSLAST(PL10<REF(PL10,1)); 走弱2:=BARSLAST(PL10>REF(PL10,1)); 走强3:=BARSLAST(PL20<REF(PL20,1)); 走弱3:=BARSLAST(PL20>REF(PL20,1)); ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0); ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0); DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0); DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0); ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0); ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0); DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0); DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0); DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'㈠'),COLORFFFFFF; DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'㈡'),COLORGREEN; DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'㈢'),COLORFFFFFF; DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLORFFFFFF; DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR00FFFF; DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLORFFFF00; DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR00FFFF; DRAWTEXT(EX2 AND PL20>REF(PL2 |
- 软件大小:14.0 KB
- 推荐星级:
- 更新时间:2015-07-28 05:52:23
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!