关注三线长期走平的股票,当某一日黄线上穿两线时果断介入 长线480:EMA(EMA(EMA(100*(C-LLV(LOW,P))/(HHV(H,P)-LLV(LOW,P)),P),P),P);
//DRAWICON(CROSS(主力,多空线) AND 主力>REF(主力,1) AND 多空线>长线480,主力,'9');
//DRAWICON(CROSS(多空线,长线480) AND REF(长线480,60)-REF(多空线,60)<=5,多空线,'9');
//STICKLINE(ABS(长线480-多空线)<=3,0,长线480,1),colorred;
VAR11:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,N,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),N,1);
超级主升:EMA(VAR11,N);
STICKLINE(CROSS(超级主升,50),长线480,80,10,0),colorred;
DRAWTEXT(CROSS(超级主升,50),超级主升*1.5,'主升'),colorred;
PARTLINE(超级主升,超级主升-REF(MIN(超级主升,150),150)>=10,colorred),LINETHICK3;
//STICKLINE(超级主升>=30,超级主升,长线480,1,0),colorFFFF00;
//STICKLINE(超级主升>=95,超级主升,长线480,1,0),colorFF00FF;
//STICKLINE(超级主升>=95,超级主升,长线480,3,0),colorred;
N1:=240;
M1:=80;
M2:=80;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
N0:=90;
M10:=30;
M20:=30;
RSV1:=(CLOSE-LLV(LOW,N0))/(HHV(HIGH,N0)-LLV(LOW,N0))*100;
K1:=SMA(RSV1,M10,1);
D1:=SMA(K1,M20,1);
J1:=3*K1-2*D1;
//STICKLINE(CROSS(J,40),长线480,超级主升,10,0),colorFF00FF;
//DRAWTEXT(CROSS(J,40),超级主升*1.5,'J主升'),colorFF00FF;
//STICKLINE(J>=45,K,J,1,0),colorFF00FF;
//STICKLINE(超级主升>=95,J,超级主升,1,0),colorred;
//STICKLINE(CROSS(J1,50) AND J>D,长线480,超级主升,10,0),colorFF00FF;
//DRAWTEXT(CROSS(J1,50) AND J>D,超级主升,'主升'),colorFF00FF;
DRAWTEXT(CROSS(超级主升,长线480),长线480,'★多头'),colorred;
C3:=REF(C,1);
半涨:=IF((C-C3)*100/C3>=(5-0.01*100/C3),1,0);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA90:=MA(C,90);
MA120:=MA(C,120);
MA240:=MA(C,240);
//DRAWTEXT(CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA30) AND C>=半涨,长线480,'穿短3线');
//DRAWTEXT(CROSS(C,MA30) AND CROSS(C,MA60) AND CROSS(C,MA90) AND C>=半涨,K,'穿中3线'),coloryellow;
//DRAWTEXT(CROSS(C,MA90) AND CROSS(C,MA120) AND CROSS(C,MA240) AND C>=半涨,J,'穿长3线'),colorred;
//DRAWTEXT(CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA30) AND CROSS(C,MA60) AND CROSS(C,MA90) AND C>=半涨,超级主升,'穿5线'),colorred;
//DRAWTEXT(CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA30) AND CROSS(C,MA60) AND CROSS(C,MA90) AND CROSS(C,MA120) AND C>=半涨,超级主升*1.6,'穿6线'),colorred;
//DRAWTEXT(CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA30) AND CROSS(C,MA60) AND CROSS(C,MA90) AND CROSS(C,MA120) AND CROSS(C,MA240) AND C>=半涨,超级主升*2,'穿7线'),colorred;
//DRAWTEXT(CLOSE>OPEN AND MA5>LOW AND MA5<HIGH AND MA10>LOW 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,超级主升*2,'穿7线'),colorred;
//DRAWTEXT(CLOSE>OPEN AND MA5>LOW AND MA5<HIGH AND MA10>LOW AND MA10<HIGH AND MA30>LOW AND MA30<HIGH AND MA60>LOW AND MA60<HIGH AND MA240>LOW AND MA240<HIGH,超级主升*1.2,'穿5线'),colorred;
//DRAWTEXT(CLOSE>OPEN AND MA5>LOW AND MA5<HIGH AND MA10>LOW AND MA10<HIGH AND MA30>LOW AND MA30<HIGH AND MA60>LOW AND MA60<HIGH AND MA90>LOW AND MA90<HIGH,超级主升*1.2,'穿5线'),colorred;
JD:=ATAN((MA(超级主升,N)/REF(MA(超级主升,N),1)-1)*100)*180/3.1416;
//PARTLINE(JD,JD-REF(MIN(JD,150),150)>=30,colorFF00FF),LINETHICK10;
STICKLINE((JD>=30 AND 超级主升>长线480),长线480,超级主升,1,0),colorred;
STICKLINE((JD>=30 AND 超级主升>REF(超级主升,1)),长线480,超级主升,1,0),colorred;
//STICKLINE(CROSS(JD,20),长线480,超级主升,10,0),colorred;
//STICKLINE(JD>=20),长线480,超级主升,10,0),colorred;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!