趋势指标,提示更明显。大家看图 DF:(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100; DA:EMA(DF,9); MAD:(DF-DA)*2,COLORSTICK; VAR1A:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1A-REF(VAR1A,1))/REF(VAR1A,1)*1000; VAR2:=100*WINNER(CLOSE*0.95); 高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW; MM1:=MA(CLOSE,5); Q5:(MM1-REF(MM1,1))/REF(MM1,1)*100,NODRAW; 0,COLORYELLOW; -6; STICKLINE(((MAD<REF(MAD,1)) AND (MAD>0)),0,MAD,1,0),COLORLIBLUE,LINETHICK2; STICKLINE(((MAD>REF(MAD,1)) AND (MAD<0)),0,MAD,1,0),COLORFF00FF,LINETHICK2; STICKLINE(((MAD>REF(MAD,1)) AND (MAD>0)),0,MAD,1,0),COLORFF00FF,LINETHICK2; MAD1:=(MAD-REF(MAD,1))*10; MAD2:=MAD*0.5; STICKLINE(((MAD>REF(MAD,1)) AND (DF>=-2) AND DA<=2 AND MAD1>2),MAD2,MAD,1,0),COLORRED,LINETHICK2; STICKLINE(((MAD>REF(MAD,1)) AND (DF<-2) AND MAD1>2 AND DF>REF(DF,1)),MAD2,MAD,1,0),COLORRED,LINETHICK2; STICKLINE((DF>2 AND DF>REF(DF,1) AND MAD>3 AND MAD1>-0.4),MAD2,MAD,1,0),COLORRED,LINETHICK2; STICKLINE(((MAD<REF(MAD,1)) AND (DF>=-2) AND DA<=2 AND MAD1<-2),MAD2,MAD,1,0),COLORGREEN,LINETHICK2; STICKLINE(((MAD<REF(MAD,1)) AND (DF>2) AND MAD1<-2 AND DF<REF(DF,1)),MAD2,MAD,1,0),COLORGREEN,LINETHICK2; STICKLINE((DF<-2 AND DF<REF(DF,1) AND MAD<-2) AND MAD1<0.4,MAD2,MAD,1,0),COLORGREEN,LINETHICK2; A:=COUNT(CROSS(DF,DA),BARSLAST(DA>=0)); 二次金叉:=CROSS(DF,DA) AND DA<0 AND COUNT(A=2,21)=1; DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW; A1:=BARSLAST(REF(CROSS(DF,DA),1)); 底背离:=REF(CLOSE,A1+1)>CLOSE AND DF>REF(DF,A1+1) AND CROSS(DF,DA); {分析家公式网www.fxjgsw.com} DIF底背:DRAWLINE(A1=0,DA,底背离,DA,0),COLORRED,LINETHICK3; DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF; A2:=BARSLAST(REF(CROSS(DA,DF),1)); 顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DF,A2+1)>DF AND CROSS(DA,DF); DIF顶背:DRAWLINE(A2=0,DA,顶背离,DA,0),COLORGREEN,LINETHICK3; DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)<REF(CLOSE,2)&&ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2),MAD*1.1,'早晨之星'); AA:=VOL>REF(VOL,1)||VOL>CAPITAL; BB:=OPEN>=(REF(HIGH,1))&&REF(HIGH,1)>(REF(HIGH,2)*1.06); CC:=CLOSE>(REF(CLOSE,1))-(REF(CLOSE,1)*0.01); DD:=CLOSE<(HIGH*0.965) && HIGH>(OPEN*1.05); EE:=LOW<OPEN && LOW<CLOSE && HIGH>(REF(CLOSE,1)*1.06); FF:=(HIGH-(MAX(OPEN,CLOSE)))/2>(MIN(OPEN,CLOSE))-LOW; GG:=(ABS(OPEN-CLOSE))/2<(MIN(OPEN,CLOSE)-LOW); DRAWTEXT(AA&&BB&&CC&&DD&&EE&&FF&&GG,MAD*1.1,'出鞘利剑'); BUY1:=LAST(CLOSE<MA(CLOSE,120),0,5); DRAWTEXT(CLOSE>MA(CLOSE,120)&&VOL>MA(VOL,5)*2&&BUY1,MAD*1.1,'旭日初升'); BUY11:=LAST(CLOSE>MA(CLOSE,120),0,5); BUY2:=EXIST(CLOSE<MA(CLOSE,120),5); DRAWTEXT(CLOSE>MA(CLOSE,120)&&BUY11&&BUY2,MAD*1.1,'蜻蜓点水'); MMAD:=MA(MAD,5); MMAD3:=ABS((MMAD-REF(MMAD,1))*10); DRAWTEXT(MMAD3>2&&MMAD>REF(MMAD,1),MAD,'B'),COLORMAGENTA; DRAWTEXT(MMAD3>2&&MMAD<REF(MMAD,1),MAD,'S'),COLORGREEN; {分析家公式网www.fxjgsw.com} 短期趋势:=EMA(SLOPE(C,21)*20+C,42); MA89:=MA(CLOSE,89); 中期:=MA89; F1:=短期趋势; QF:=(F1-REF(F1,1))/REF(F1,1)*100; BI2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; LB:=V/REF(MA(V,5),1); VAR1:=SAR(6,2,32); EE1:=IF(HIGH>VAR1,VAR1,DRAWNULL); EE2:=IF(LOW<VAR1,VAR1,DRAWNULL); LB1:=LB/HHV(LB,5)*100; DRAWTEXT(QF>0.8&&HIGH>VAR1&&LB1<33&&BI2<3.5,-2,'小'),COLORRED; DA1:=DA-REF(DA,1); DRAWTEXT(QF>0.8&&HIGH>VAR1&&LB1<33&&BI2<7&&DA1>0.3,-2,'小2'),COLORRED; DRAWTEXT(QF<0.8&&HIGH>VAR1&&LB1<33&&BI2<3&&DA1>0.3,-2,'小1'),COLORRED; DRAWTEXT(UPNDAY(DF,3)&&DOWNNDAY(REF(MAD,1),3)&&DF>10&&MAD>REF(MAD,1)&&MAD>6,DA,'MACD顶背离卖出'),COLORGREEN; DRAWTEXT(MAD1>4 AND DA>-0.7,5,'A'),COLORMAGENTA; DRAWTEXT(CROSS(MAD1,4) AND DA>-0.7,5,'A'),COLORRED; DRAWTEXT(-4>MAD1 AND DA<0.5,5,'D'),COLORLICYAN; DRAWTEXT(CROSS(-4,MAD1) AND DA<0.5,5,'D'),COLORGREEN; RSV:=(CLOSE-LLV(LOW,17))/(HHV(HIGH,17)-LLV(LOW,17))*100; K:=(SMA(RSV,3,1)); KK4:=INTPART(SMA(RSV,3,1)); DD4:=INTPART(SMA(K,3,1)); NN4:=KK4+DD4; DRAWTEXT(CROSS(Q5,1.5)&&DA<MAD&&DA<3&&LAST(Q5<1.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&REF(NN4,1)<REF(NN4,2)&&EXIST(Q5<-0.5,10),-4,'强势股追踪1'),COLORRED; DRAWTEXT(CROSS(Q5,1.5)&&DA>MAD&&DA>0&&LAST(Q5<1.5,7,1)&&NN4<140&&NN4>REF(NN4,1),-3,'强势股追踪2'),COLORRED; DRAWTEXT(CROSS(Q5,0.5)&&DA<MAD&&DA<0&&MAD>0&&LAST(Q5<0.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&NN4>50&&EXIST(Q5<-0.9,10),-2,'强势股追踪3,如不能持续上涨应卖出'),COLORMAGENTA; DRAWTEXT(EXIST(Q5>8,3)&&CROSS(6,Q5),-4,'强势股卖出'),COLORGREEN; DRAWTEXT(EXIST(Q5>7,3)&&CROSS(5,Q5),-4,'强势股卖出'),COLORGREEN; DRAWTEXT(EXIST(Q5>3,3)&&CROSS(3,Q5)&&EXIST(BI2>20,4),-4,'强势股卖出'),COLORGREEN; DRAWTEXT(EXIST(CROSS(Q5,1.5),8)&&CROSS(1.5,Q5),-4,'强势股止损'),COLORWHITE; DRAWTEXT(EXIST(CROSS(Q5,0.5)&&DA<MAD&&LAST(Q5<0.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&REF(NN4,1)<REF(NN4,2),5)&&Q5<REF(Q5,1)&&REF(Q5,1)>REF(Q5,2)&&EVERY(Q5<3,3),-4,'强势股追踪3止损'),COLORWHITE; NN5:=NN4-REF(NN4,1); DRAWTEXT(CROSS(高度控盘,0.05)&&EVERY(NN5>-0.1,5)&&NN4>100&&Q5<3.1&&NN4>REF(NN4,7),-3,'高度控盘按照强势股或者MAD操作'),COLORLIMAGENTA; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!