//周KDJ
N:=450;
M1:=150;
M2:=150;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
STICKLINE(CROSS(J,D),0,60,20,0),colorred;
DRAWTEXT(CROSS(J,D),70,'KDJ'),colorred;
p1:=90;
p2:=70;
A:=P1+(100-P1)/2;
B:=(100-P1)/2;
CC:=COST(A);
DD:=COST(B);
集中度90:=((CC-DD)/(CC+DD))*100;
A1:=P2+(100-P2)/2;
B1:=(100-P2)/2;
CC1:=COST(A1);
DD1:=COST(B1);
集中度70:=((CC1-DD1)/(CC1+DD1))*100;
//STICKLINE(集中度90<=14 AND 集中度70<=10,0,8,1,0),color00FFFF;
N8:=240;
M8:=120;
TR:= EMA(EMA(EMA(C,N8),N8),N8);
TRIX:=(TR-REF(TR,1))/REF(TR,1)*100;
TRMA:=MA(TRIX,M8);
//STICKLINE(集中度90<=14 AND 集中度70<=10 AND J<50 AND J>-20 AND TRIX>TRMA,16,24,1,0),colorred;
M30:=MA(C,30);
M60:=MA(C,60);
M90:=MA(C,90);
M120:=MA(C,120);
M240:=MA(C,240);
STICKLINE(CROSS(M30,M240),0,60,20,0),colorred;
DRAWTEXT(CROSS(M30,M240),70,"30");
STICKLINE(CROSS(M60,M240),0,60,20,0),color00ffFF;
DRAWTEXT(CROSS(M60,M240),70,"60");
STICKLINE(CROSS(M90,M240),0,60,20,0),colorFF00FF;
DRAWTEXT(CROSS(M90,M240),70,"90");
STICKLINE(CROSS(M120,M240),0,60,20,0),colorgreen;
DRAWTEXT(CROSS(M120,M240),70,"120");
Y1:=MAX(MAX(MAX(M60,M90),M120),M240);
X1:=MIN(MIN(MIN(M60,M90),M120),M240);
黏合1:=Y1/X1<=1.05;
Y2:=MAX(MAX(MAX(M30,M60),M90),M120);
X2:=MIN(MIN(MIN(M30,M60),M90),M120);
黏合2:=Y2/X2<=1.05;
//STICKLINE(黏合1,8,16,1,0),colorFFFF00;
//STICKLINE(黏合2,8,16,1,0),colorFFFF00;
DRAWTEXT(CROSS(M30,M120) AND 黏合2,70,"五1");
//DRAWICON(CROSS(M30,M120) AND 黏合2,0,'9');
五线1:IF(CROSS(M30,M120) AND 黏合2,60,0);
DRAWTEXT(CROSS(M30,M240) AND 黏合1,70,"五2");
//DRAWICON(CROSS(M30,M240) AND 黏合1,0,'9');
五线2:IF(CROSS(M30,M240) AND 黏合1,60,0);
TR:=EMA(EMA(EMA(C,240),240),240);
TRIX:=(TR-REF(TR,1))/REF(TR,1)*100;
TRMA:=MA(TRIX,120);
STICKLINE(CROSS(TRIX,TRMA),0,60,20,0),color00FFFF;
DRAWTEXT(IF(CROSS(TRIX,TRMA),30,0),70,"TRIX"),color00FFFF;
A=BARSLAST(CROSS(D,J));
//STICKLINE(A=360,0,40,10),colorFFFFFF;
DRAWTEXT(A=360,-10,"1.5年");
//STICKLINE(A=480,0,40,10);
DRAWTEXT(A=480,-10,"2年");
//STICKLINE(A=600,0,40,10),COLORFFFF00;
DRAWTEXT(A=600,-10,"2.5年");
//STICKLINE(A=720,0,40,10),colorgreen;
DRAWTEXT(A=720,-10,"3年");
//STICKLINE(A=840,0,40,10),colorred;
DRAWTEXT(A=840,-10,"3.5年");
//STICKLINE(A=960,0,40,10),colorFF00FF;
DRAWTEXT(A=960,-10,"4年");
//STICKLINE(A=1080,0,40,10),colorFF00FF;
DRAWTEXT(A=1200,-10,"5年");
M1:=4*4;
M2:=6*4;
M3:=9*4;
M4:=13*4;
M5:=18*4;
M6:=24*4;
PBX1:=EMA((MA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3,20);
PBX2:=EMA((MA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3,20);
PBX3:=EMA((MA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3,20);
PBX4:=EMA((MA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3,20);
PBX5:=EMA((MA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3,20);
PBX6:=EMA((MA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3,20);
Y1:=MAX(MAX(MAX(MAX(MAX(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
X1:=MIN(MIN(MIN(MIN(MIN(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
黏合1:=Y1/X1<=1.06;//分析家公式网 www.fxjgsw.com
STICKLINE(集中度70<=12,0,8,10,0),color00ffff;
STICKLINE(集中度90<=14,8,16,10,0),colorred;
STICKLINE(黏合1,16,24,10,0),COLORFFFF00;
STICKLINE(MA(C,30)>MA(C,60) AND MA(C,30)>MA(C,90) AND MA(C,30)>MA(C,120),24,32,10,0),Colorff00ff;
STICKLINE(MA(C,30)>MA(C,60) AND MA(C,30)>MA(C,90) AND MA(C,30)>MA(C,120) AND MA(C,30)>MA(C,240),24,32,10,0),Colorff00ff;
STICKLINE(M30>M120 AND 黏合2,32,40,10,0),colorgreen;
STICKLINE(M30>M240 AND 黏合1,40,48,10,0);
DRAWTEXT(MA(C,30)>MA(C,120) AND MA(C,30)>MA(C,240) AND C>=MA(C,240)*1.1 AND C<=MA(C,240)*1.2 ,80,"多"),Colorff00ff;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!