N:=200;
M1:=100;
M2:=100;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:SMA(3*K-2*D,90,1);
N0:=90;
M10:=40;
M20:=40;
RSV1:=(CLOSE-LLV(LOW,N0))/(HHV(HIGH,N0)-LLV(LOW,N0))*100;
K1:=SMA(RSV1,M10,1);
D1:=SMA(K1,M20,1);
//J1:=SMA(3*K1-2*D1,1);
趋势:=25;
STICKLINE(CROSS(J,25) AND J>D,D,35,10,0),colorred;
DRAWTEXT(CROSS(J,25) AND J>D,40,'主升'),colorred;
STICKLINE(CROSS(J,50) AND J>D,D,50,10,0),colorred;
DRAWTEXT(CROSS(J,50) AND J>D,55,'超级主升'),colorred;
DRAWTEXT(CROSS(J,D),D,'★金'),colorred;
PARTLINE(J,J-REF(MIN(J,120),120)>=10,colorFF00FF),LINETHICK3;
PARTLINE(J,J-REF(MIN(J,120),120)>=15,coloryellow),LINETHICK3;
PARTLINE(J,J>=25,colorred),LINETHICK3;
//DRAWICON(CROSS(J,D),D,'1');
//STICKLINE(J>=30 AND J>K AND K>D,K,J,5,0),colorred;
//STICKLINE((J-REF(MIN(J,180),180))>=10,K,J,5,0),coloryellow;
//STICKLINE((J-REF(MIN(J,180),180))>=20,K,J,5,0),colorFF00FF;
//STICKLINE((J-REF(MIN(J,180),180))>=30,K,J,5,0),colorred;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA90:=MA(C,90);
MA120:=MA(C,120);
MA240:=MA(C,240);
DRAWTEXT(CLOSE>OPEN AND MA5<HIGH AND MA10<HIGH AND MA30>LOW AND MA30<HIGH AND MA60>LOW AND
MA60<HIGH AND MA90>LOW AND MA90<HIGH AND MA120>LOW AND
MA120<HIGH AND MA240>LOW AND MA240<HIGH,10,'穿5');
DRAWTEXT(CLOSE>OPEN AND MA5<HIGH AND MA10<HIGH AND MA30>LOW AND MA30<HIGH AND MA60>LOW AND
MA60<HIGH AND MA90>LOW AND MA90<HIGH AND MA120>LOW AND
MA120<HIGH,20,'穿6'),colorred;
DRAWTEXT(CLOSE>OPEN AND MA5<HIGH AND MA10<HIGH AND MA30>LOW AND MA30<HIGH AND MA60>LOW AND
MA60<HIGH AND MA90>LOW AND MA90<HIGH AND MA120>LOW AND
MA120<HIGH AND MA240>LOW AND MA240<HIGH,30,'穿7'),colorFF00FF;
Y1:=MAX(MAX(MAX(MAX(MA5,MA10),MA30),MA60),MA90);
X1:=MIN(MIN(MIN(MIN(MA5,MA10),MA30),MA60),MA90);
Y2:=MAX(MAX(MAX(MAX(MAX(MAX(MA5,MA10),MA30),MA60),MA90),MA120),MA240);
X2:=MIN(MIN(MIN(MIN(MAX(MAX(MA5,MA10),MA30),MA60),MA90),MA120),MA240);
Y3:=MAX(MAX(MAX(MA5,MA10),MA20),MA30);
X3:=MIN(MIN(MIN(MA5,MA10),MA20),MA30);
黏合1:=Y1/X1<1.03;
黏合2:=Y2/X2<1.05;
黏合3:=Y3/X3<1.015;
黏合MA5MA90:黏合1*50 ;
黏合MA5MA240:黏合2*60 ;
黏合MA5MA30:黏合3*40 ;
N:=90;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
MAV:=MA(V,N);
横盘:=((HIGHV-LOWV)/N)<0.15;
放量:=V>=3*MAV;
今天大阳:=(C-REF(C,1))/REF(C,1)>=0.05;
//DRAWICON((横盘 AND 放量 AND 今天大阳),D,'1');
最高成本:=COST(90);
//DRAWICON(CROSS(C,最高成本),J,'2');
//DRAWTEXT(CROSS(C,最高成本),J,'◆'),colorgreen;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,120);
VAR6:=HHV(HIGH,120);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,10,1);
VARB:=3*VAR9-2*SMA(VAR9,10,1);
VARC:=100-VARB;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);//分析家公式网 www.fxjgsw.com
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
//STICKLINE(VAR20,0,50,5,0),colorred;
//DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,60,'超') ,colorred;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
//DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,60,'大'),colorlimagenta;
//STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,50,5,0),colorlimagenta;
v1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
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);
V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;
//STICKLINE(EMA(V11,3)<=13,0,15,5,0),colorred;
AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15);
//STICKLINE(EMA(V11,3)<=13 AND V12>13,0,30,5,0),colorred;
BB:=(EMA(V11,3)<=13 AND V12>13) AND FILTER((EMA(V11,3)<=13 AND V12>13),10);
//DRAWTEXT (BB,40,'主'),coloryellow;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!