可以添加到主图的 小公式: DRAWGBK(2>1,RGB(3,3,3),RGB(3,3,3),0,'BJT',0);
CC1:=CODELIKE('A') OR CODELIKE('B') OR CODELIKE('C') OR CODELIKE('D') OR CODELIKE('E') OR CODELIKE('F') OR CODELIKE('G') OR CODELIKE('H') OR CODELIKE('I') OR CODELIKE('J') OR CODELIKE('K') OR CODELIKE('L') OR CODELIKE('M');
CC2:=CODELIKE('N') OR CODELIKE('O') OR CODELIKE('P') OR CODELIKE('Q') OR CODELIKE('R') OR CODELIKE('S') OR CODELIKE('T') OR CODELIKE('U') OR CODELIKE('V') OR CODELIKE('W') OR CODELIKE('X') OR CODELIKE('Y') OR CODELIKE('Z');
CC:=CC1 OR CC2 OR CODELIKE('11108') OR CODELIKE('11803') OR CODELIKE('119693');
VAR1:=IF(CC,(HIGH+LOW)/2,DRAWNULL);
M1:=IF(CC,VAR1,DRAWNULL),COLOR505050;
M3:=IF(CC,XMA(VAR1,3),DRAWNULL),COLOR505050;
M5:=IF(CC,XMA(VAR1,5),DRAWNULL),COLOR505050;
M10:=IF(CC,XMA(VAR1,10),DRAWNULL),COLOR505050;
M15:=IF(CC,XMA(VAR1,15),DRAWNULL),COLOR505050;
M20:=IF(CC,XMA(VAR1,20),DRAWNULL),COLOR505050;
M25:=IF(CC,XMA(VAR1,25),DRAWNULL),COLOR505050;
M30:=IF(CC,XMA(VAR1,30),DRAWNULL),COLOR505050;
M35:=IF(CC,XMA(VAR1,35),DRAWNULL),COLOR505050;
M40:=IF(CC,XMA(VAR1,40),DRAWNULL),COLOR505050;
M45:=IF(CC,XMA(VAR1,45),DRAWNULL),COLOR505050;
M50:=IF(CC,XMA(VAR1,50),DRAWNULL),COLOR505050;
M55:=IF(CC,XMA(VAR1,55),DRAWNULL),COLOR505050;
M60:=IF(CC,XMA(VAR1,60),DRAWNULL),COLORWHITE,LINETHICK1,DOTLINE;
M0:=IF(CC,(M3+M5+M10+M15+M20+M25+M30+M35+M40+M45+M50+M55+M60)/13,DRAWNULL),COLORYELLOW,DOTLINE,LINETHICK1;
N0:=IF(CC,(M1+M3+M5)/3,DRAWNULL),NODRAW;
NOTEXT_MX0:=PLOYLINE(CC,M0),COLORA9A9A9,LINETHICK2;
UAR1:=M1>M3 AND M1>M5 AND M1>M10 AND M1>M15 AND M1>M20 AND M1>M25 AND M1>M30 AND M1>M35 AND M1>M40 AND M1>M45 AND M1>M50 AND M1>M55 AND M1>M60 AND M3>M5 AND M3>M10 AND M3>M15 AND M3>M20 AND M3>M25 AND M3>M30;
UAR2:=M3>M35 AND M3>M40 AND M3>M45 AND M3>M50 AND M3>M55 AND M3>M60 AND M5>M10 AND M5>M15 AND M5>M20 AND M5>M25 AND M5>M30 AND M5>M35 AND M5>M40 AND M5>M45 AND M5>M50 AND M5>M55 AND M5>M60 AND M10>M15 AND M10>M20 AND M10>M25 AND M10>M30 AND M10>M35 AND M10>M40 AND M10>M45 AND M10>M50 AND M10>M55 AND M10>M60;
UAR3:=M15>M20 AND M15>M25 AND M15>M30 AND M15>M35 AND M15>M40 AND M15>M45 AND M15>M50 AND M15>M55 AND M15>M60 AND M20>M25 AND M20>M30 AND M20>M35 AND M20>M40 AND M20>M45 AND M20>M50 AND M20>M55 AND M20>M60 AND M25>M30 AND M25>M35 AND M25>M40 AND M25>M45 AND M25>M50 AND M25>M55 AND M25>M60 AND M30>M35 AND M30>M40;
UAR4:=M30>M45 AND M30>M50 AND M30>M55 AND M30>M60 AND M35>M40 AND M35>M45 AND M35>M50 AND M35>M55 AND M35>M60 AND M40>M45 AND M40>M50 AND M40>M55 AND M40>M60 AND M45>M50 AND M45>M55 AND M45>M60 AND M50>M55 AND M50>M60 AND M55>M60;
VAR2:=UAR1 AND UAR2 AND UAR3 AND UAR4;
UAR11:=M1<M3 AND M1<M5 AND M1<M10 AND M1<M15 AND M1<M20 AND M1<M25 AND M1<M30 AND M1<M35 AND M1<M40 AND M1<M45 AND M1<M50 AND M1<M55 AND M1<M60 AND M3<M5 AND M3<M10 AND M3<M15 AND M3<M20 AND M3<M25 AND M3<M30;
UAR22:=M3<M35 AND M3<M40 AND M3<M45 AND M3<M50 AND M3<M55 AND M3<M60 AND M5<M10 AND M5<M15 AND M5<M20 AND M5<M25 AND M5<M30 AND M5<M35 AND M5<M40 AND M5<M45 AND M5<M50 AND M5<M55 AND M5<M60 AND M10<M15 AND M10<M20;
UAR33:=M10<M25 AND M10<M30 AND M10<M35 AND M10<M40 AND M10<M45 AND M10<M50 AND M10<M55 AND M10<M60 AND M15<M20 AND M15<M25 AND M15<M30 AND M15<M35 AND M15<M40 AND M15<M45 AND M15<M50 AND M15<M55 AND M15<M60 AND M20<M25;
UAR44:=M20<M30 AND M20<M35 AND M20<M40 AND M20<M45 AND M20<M50 AND M20<M55 AND M20<M60 AND M25<M30 AND M25<M35 AND M25<M40 AND M25<M45 AND M25<M50 AND M25<M55 AND M25<M60 AND M30<M35 AND M30<M40 AND M30<M45 AND M30<M50;
UAR55:=M30<M55 AND M30<M60 AND M35<M40 AND M35<M45 AND M35<M50 AND M35<M55 AND M35<M60 AND M40<M45 AND M40<M50 AND M40<M55 AND M40<M60 AND M45<M50 AND M45<M55 AND M45<M60 AND M50<M55 AND M50<M60 AND M55<M60;
VAR3:=UAR11 AND UAR22 AND UAR33 AND UAR44 AND UAR55;
HH:=(HIGH+XMA(HIGH,3)+XMA(HIGH,5)+XMA(HIGH,10)+XMA(HIGH,15)+XMA(HIGH,20)+XMA(HIGH,25)+XMA(HIGH,30)+XMA(HIGH,35)+XMA(HIGH,40)+XMA(HIGH,45)+XMA(HIGH,50)+XMA(HIGH,55)+XMA(HIGH,60))/14;
LL:=(LOW+XMA(LOW,3)+XMA(LOW,5)+XMA(LOW,10)+XMA(LOW,15)+XMA(LOW,20)+XMA(LOW,25)+XMA(LOW,30)+XMA(LOW,35)+XMA(LOW,40)+XMA(LOW,45)+XMA(LOW,50)+XMA(LOW,55)+XMA(LOW,60))/14;
XX:=M15>M20 AND M15>M25 AND M15>M30 AND M15>M35 AND M15>M40 AND M15>M45 AND M15>M50 AND M15>M55 AND M15>M60 AND M20>M25 AND M20>M30 AND M20>M35 AND M20>M40 AND M20>M45 AND M20>M50 AND M20>M55 AND M20>M60 AND M25>M30 AND M25>M35 AND M25>M40 AND M25>M45 AND M25>M50 AND M25>M55 AND M25>M60 AND M30>M35 AND M30>M40 AND M30>M45 AND M30>M50 AND M30>M55 AND M30>M60 AND M35>M40 AND M35>M45 AND M35>M50 AND M35>M55 AND M35>M60 AND M40>M45 AND M40>M50 AND M40>M55 AND M40>M60 AND M45>M50 AND M45>M55 AND M45>M60 AND M50>M55 AND M50>M60 AND M55>M60;
YY:=M15<M20 AND M15<M25 AND M15<M30 AND M15<M35 AND M15<M40 AND M15<M45 AND M15<M50 AND M15<M55 AND M15<M60 AND M20<M25 AND M20<M30 AND M20<M35 AND M20<M40 AND M20<M45 AND M20<M50 AND M20<M55 AND M20<M60 AND M25<M30 AND M25<M35 AND M25<M40 AND M25<M45 AND M25<M50 AND M25<M55 AND M25<M60 AND M30<M35 AND M30<M40 AND M30<M45 AND M30<M50 AND M30<M55 AND M30<M60 AND M35<M40 AND M35<M45 AND M35<M50 AND M35<M55 AND M35<M60 AND M40<M45 AND M40<M50 AND M40<M55 AND M40<M60 AND M45<M50 AND M45<M55 AND M45<M60 AND M50<M55 AND M50<M60 AND M55<M60;
UU0:=IF(CC,XMA((HH/LL)*M0+((HH/LL)*M0-M0),10),DRAWNULL);
DD0:=IF(CC,XMA((LL/HH)*M0-(M0-(LL/HH)*M0),10),DRAWNULL);
UU1:=IF(CC,XMA(((HH/LL)*M0)+((HH/LL)*M0-M0)/2,10),DRAWNULL);
DD1:=IF(CC,XMA((LL/HH)*M0-0.5*(M0-(LL/HH)*M0),10),DRAWNULL);
UU2:=IF(CC,XMA(((HH/LL)*M0)+((HH/LL)*M0-M0)*1.5,10),DRAWNULL),DOTLINE,COLOR616161;
DD2:=IF(CC,XMA((LL/HH)*M0-1.5*(M0-(LL/HH)*M0),10),DRAWNULL),DOTLINE,COLOR616161;
DRAWBAND(UU2,RGB(55,55,55),DD2,RGB(20,20,20));
NOTEXT_TOP:PLOYLINE(CC,UU2),COLOR616161,DOTLINE,LINETHICK0;
NOTEXT_BOT:PLOYLINE(CC,DD2),COLOR616161,DOTLINE,LINETHICK0;
NOTEXT_UP2:IF(CC AND REF(M0,1)<M0 AND XX,UU2,DRAWNULL),LINETHICK2,COLORMAGENTA;
NOTEXT_DOWN2:IF(CC AND REF(M0,1)>M0 AND YY,DD2,DRAWNULL),LINETHICK2,COLORFF8000;
NOTEXT_UP20:IF(CC AND VAR2,UU2,DRAWNULL),COLORGREEN,LINETHICK2;
NOTEXT_DOWN20:IF(CC AND VAR3,DD2,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT_UP1:IF(CC AND REF(M0,1)>M0,UU1,DRAWNULL),LINETHICK1,COLORYELLOW,COLOR808080;
NOTEXT_DOWN1:IF(CC AND REF(M0,1)<M0,DD1,DRAWNULL),LINETHICK1,COLORYELLOW,COLOR808080;
NOTEXT_UP0:IF(CC AND REF(M0,1)<M0 AND NOT(XX),UU0,DRAWNULL),LINETHICK1,COLOR0 |
- 软件大小:8.00 KB
- 推荐星级:
- 更新时间:2018-09-17 07:26:34
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!