DRAWGBK(2>1,RGB(3,3,3),RGB(3,3,3),0,'BJT',0);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
{WWW+8+8+G+S+COM}
VAR1:=(HIGH+LOW)/2;
M1:=VAR1,COLOR505050;
M3:=XMA(VAR1,3),COLOR505050;
M5:=XMA(VAR1,5),COLOR505050;
M10:=XMA(VAR1,10),COLOR505050;
M15:=XMA(VAR1,15),COLOR505050;
M20:=XMA(VAR1,20),COLOR505050;
M25:=XMA(VAR1,25),COLOR505050;
M30:=XMA(VAR1,30),COLOR505050;
M35:=XMA(VAR1,35),COLOR505050;
M40:=XMA(VAR1,40),COLOR505050;
M45:=XMA(VAR1,45),COLOR505050;
M50:=XMA(VAR1,50),COLOR505050;
M55:=XMA(VAR1,55),COLOR505050;
M60:=XMA(VAR1,60),COLORWHITE,LINETHICK1,DOTLINE;
NOTEXT_MX1:PLOYLINE(2>1,M1),COLOR505050;
NOTEXT_MX3:PLOYLINE(2>1,M3),COLOR505050;
NOTEXT_MX5:PLOYLINE(2>1,M5),COLOR505050;
NOTEXT_MX10:PLOYLINE(2>1,M10),COLOR505050;
NOTEXT_MX15:PLOYLINE(2>1,M15),COLOR505050;
NOTEXT_MX20:PLOYLINE(2>1,M20),COLOR505050;
NOTEXT_MX25:PLOYLINE(2>1,M25),COLOR505050;
NOTEXT_MX30:PLOYLINE(2>1,M30),COLOR505050;
NOTEXT_MX35:PLOYLINE(2>1,M35),COLOR505050;
NOTEXT_MX40:PLOYLINE(2>1,M40),COLOR505050;
NOTEXT_MX45:PLOYLINE(2>1,M45),COLOR505050;
NOTEXT_MX50:PLOYLINE(2>1,M50),COLOR505050;
NOTEXT_MX55:PLOYLINE(2>1,M55),COLOR505050;
NOTEXT_MX60:PLOYLINE(2>1,M60),COLORWHITE,LINETHICK1,DOTLINE;
M0:=(M3+M5+M10+M15+M20+M25+M30+M35+M40+M45+M50+M55+M60)/13,COLORYELLOW,DOTLINE,LINETHICK1;
N0:=(M1+M3+M5)/3,NODRAW;
NOTEXT_MX0:PLOYLINE(2>1,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;{WWW+8+8+G+S+COM}
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;
STICKLINE((VAR2 OR VAR3) AND CLOSE>=OPEN,HIGH,LOW,0.8,0),COLORRED;
STICKLINE((VAR2 OR VAR3) AND CLOSE>=OPEN,CLOSE,OPEN,3,0),COLORRED;
STICKLINE((VAR2 OR VAR3) AND CLOSE<OPEN,HIGH,LOW,0.8,0),COLORGREEN;
STICKLINE((VAR2 OR VAR3) AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORGREEN;
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:=XMA((HH/LL)*M0+((HH/LL)*M0-M0),10);
DD0:=XMA((LL/HH)*M0-(M0-(LL/HH)*M0),10);
NOTEXT_UP0:IF(REF(M0,1)<M0 AND NOT(XX),UU0,DRAWNULL),LINETHICK1,COLORAAFF56;
NOTEXT_DOWN0:IF(REF(M0,1)>M0 AND NOT(YY),DD0,DRAWNULL),LINETHICK1,COLORAAFF56;
UU1:=XMA(((HH/LL)*M0)+((HH/LL)*M0-M0)/2,10);
DD1:=XMA((LL/HH)*M0-0.5*(M0-(LL/HH)*M0),10);
NOTEXT_UP1:IF(REF(M0,1)>M0,UU1,DRAWNULL),LINETHICK1,COLORYELLOW;
NOTEXT_DOWN1:IF(REF(M0,1)<M0,DD1,DRAWNULL),LINETHICK1,COLORYELLOW;
UU2:=((HH/LL)*M0)+((HH/LL)*M0-M0)*1.5,DOTLINE,COLOR616161;
DD2:=(LL/HH)*M0-1.5*(M0-(LL/HH)*M0),DOTLINE,COLOR616161;
NOTEXT_TOP:PLOYLINE(2>1,UU2),COLOR616161,DOTLINE;
NOTEXT_BOT:PLOYLINE(2>1,DD2),COLOR616161,DOTLINE;
NOTEXT_UP2:IF(REF(M0,1)<M0 AND XX,UU2,DRAWNULL),LINETHICK1,COLORMAGENTA;
NOTEXT_DOWN2:IF(REF(M0,1)>M0 AND YY,DD2,DRAWNULL),LINETHICK1,COLORFF8000 |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!