非常好的一个指标!非常好的一个指标!非常好的一个指标!非常好的一个指标!非常好的一个指标!非常好的一个指标! ///趋势和中轨///
中轨:=HHV(MA(H,13),13),colorred,LINETHICK2;
趋势:=LLV(MA(H,13),1),colorgreen,LINETHICK2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UP:=BBI + 2.58*STD(BBI,10),COLOR000099,LINETHICK2;
LOOW:=BBI - 2.58*STD(BBI,10),COLOR000099,LINETHICK2;///macd底背离///
DIFF:=EMA(CLOSE,9)-EMA(CLOSE,17);
DEADD:=EMA(DIFF,8),COLOrffaa00;
MACDD:=2*(DIFF-DEADD);//www.fxjgsw.com
X1dd:=IF(diff<0,diff,0),COLOR0000FF,LINETHICK2;
X2dd:=IF(diff<0,0,diff),colormagenta,LINETHICK1;
X3dd:=IF(diff<DEAdd,diff,DEAdd),COLOR00ff00,linethick1;
X4dd:=IF(diff>DEAdd,DEAdd,DEAdd),linethick1,COLORffbb11;
低位金叉:=CROSS(DIFF,DEADD) AND DIFF<-0.1;
DRAWTEXT(低位金叉,CLOSE*0.73,'低位金叉'),coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEADD),BARSLAST(DEADD>=0));
二次金叉:=CROSS(DIFF,DEADD) AND DEADD<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWTEXT(二次金叉,CLOSE*0.73,'二次金叉'),ColorFF00FF;
A1DD:=BARSLAST(REF(CROSS(DIFF,DEADD),1));
macd底背离:=REF(CLOSE,A1DD+1)>CLOSE AND DIFF>REF(DIFF,A1DD+1) AND CROSS(DIFF,DEADD);
DRAWTEXT(macd底背离,CLOSE*0.73,'底背驰'),Color6600FF;
A2DD:=BARSLAST(REF(CROSS(DEADD,DIFF),1));
顶背离:=REF(CLOSE,A2DD+1)<CLOSE AND REF(DIFF,A2DD+1)>DIFF AND CROSS(DEADD,DIFF);
DRAWTEXT(顶背离,CLOSE*1.1,'顶背离'),colorblue;
///短线之王///
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
红线上穿买:=EMA((VA-VB)/(VC-VB)*27,5),colorred;
红线下穿卖:=EMA(红线上穿买,3),COLORFFFF00;
短线启动:=CROSS(红线上穿买,红线下穿卖) AND 红线上穿买>REF(红线上穿买,1);//
DRAWTEXT(短线启动,CLOSE*0.79,'启'),coloryellow;
///花之舞///
花:=EMA(SLOPE(1,1)+C,3);
女:=EMA(SLOPE(1,1)+C,7);
花之舞:=CROSS(花,女) AND CLOSE/REF(CLOSE,1)>1.03;
DRAWTEXT(花之舞,H*1.15,'舞'),colorred;
///rsi指标之王///www.fxjgsw.com
RSI1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
RSI2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),12,1)*100;
RSI3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),24,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),24,1)*100;
阿金叉1:=CROSS(RSI1,RSI2);
阿金叉2:=CROSS(RSI1,RSI3);
DRAWTEXT(阿金叉1,LOW*0.88,'阿'),colormagenta;
DRAWTEXT(阿金叉2,LOW*0.88,'阿'),colorred;
///DPO指标///
DPO:=CLOSE-REF(MA(CLOSE,20),10);
MADPO:=MA(DPO,6);
DPO金叉:=CROSS(DPO,MAdpo);
DRAWTEXT(DPO金叉,LOW*0.82,'DPO'),coloryellow;
///MA3K指标///
ema55:=MA(CLOSE,55),POINTDOT,colorcyan;ema34:=MA(CLOSE,34),POINTDOT,colorgray;
EMA13:=MA(C,13),colorwhite,LINETHICK2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UP:=BBI + 2.58*STD(BBI,10);
LOOW:=BBI - 2.58*STD(BBI,10);
AA10:=MA(CLOSE,8),COLOR0000FF;
AA12:=MA(CLOSE,12),COLOR0000FF;
A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
VAR7:=FORCAST(A7,6);
MA3K:VAR7,POINTDOT,coloryellow;
///主升行情主图///
多:=EMA(C,3),coloryellow;
空:=EMA(C,5),COLOR00FF00;
均衡:=EMA(空,5),colorwhite,;
VARF1:=COUNT(CROSS(多,均衡),2)=1;
VARF2:=COUNT(CROSS(空,均衡),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,L*0.97,'主升'),COLORFF00FF;
初升:=CROSS(多,EMA13);
DRAWTEXT(CROSS(多,EMA13),L*0.94,'主升'),colorwhite;
VV2:=REF(CLOSE,1);
VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);
DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,'沽空'),coloryellow;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'★底☆'),colorred;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,2);
DRAWTEXT(CROSS(82,VARR1),HIGH-0.3,'短空'),coloryellow;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
HY3:=IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW,'注意买入'),colorred;
S:=MA(VOL,5)/MA(VOL,60),colorred,,LINETHICK2;
A:=MA(S,5),colorgreen,,LINETHICK2;
BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F:=MA(S,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH+0.25,'逃顶'),coloryellow ;
S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,colorgreen;
DRAWTEXT(S1=2, HIGH+0.2,'关注'), colorgreen;
转运1:=多>REF(多,1) AND REF(多,1)<=REF(多,2);
转运2:=空>REF(空,1) AND REF(空,1)<=REF(空,2);
转运3:=均衡>REF(均衡,1) AND REF(均衡,1)<=REF(均衡,2);
转运:=转运1 AND 转运2 AND 转运3;
DRAWTEXT(转运,均衡*0.95,'主升'), colorblue;
短平快:=转运1 AND 转运2 AND ((均衡>=趋势 AND 均衡>=中轨) OR (C>=趋势 AND C>=中轨));
DRAWTEXT(短平快,均衡*0.99,'主升'), colorred;
主升浪1:=CROSS(多,趋势) AND C>趋势;
主升浪2:=CROSS(多,中轨) AND C>趋势;
DRAWICON(主升浪1,L*0.98,1);
DRAWICON(主升浪2,H*1.01,1);
ema5:=MA(C,5);ema25:=MA(C,25);EMA120:=MA(C,120);EMA250:=MA(C,250);
离弦之箭:=CROSS(EMA5,EMA13) AND EMA13>EMA25 AND EMA25>EMA34 AND EMA34>EMA55 AND EMA55>EMA120 AND EMA55>EMA250;
短期上升:=CROSS(EMA5,EMA13);
牛股启动:=CROSS(EMA13,EMA25);
均线互换:=CROSS(eMA34,eMA55);
DRAWTEXT(短期上升,H*1.13,'短升'),colorred;
DRAWTEXT(牛股启动,H*1.14,'牛启'),colorred;
DRAWTEXT(均线互换,H*1.15,'互换'),colorred;
DRAWTEXT(离弦之箭,H*1.15,'弦箭'),colorred;
并轨:=中轨=趋势 AND REF(中轨,1)>REF(趋势,1);
DRAWTEXT(并轨,中轨*0.95,'并轨'),colorred;
出轨:=中轨>趋势 AND REF(中轨,1)=REF(趋势,1);
DRAWTEXT(出轨,中轨*0.95,'出轨'),colorgreen;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!