说明:主图有RSI顶底背离,KDJ顶底背离,MACD顶底背离,以及涨跌停K线.
MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,20); MA4:MA(CLOSE,30); ma5:ma(c,60); ma6:ma(c,150); ma7:ma(c,300),coloryellow; dd:= CLOSE/OPEN >1.03 ; aa:=BARSLAST(ma5>ma4 and (ma4=ma3 or ma4>ma3)); bb:=ref(count(c<ma5,aa)=aa,1); cc:=cross(c,ma5) and vol>ma(vol,5) and (c-ref(c,1))/ref(c,1)*100>3; 芙蓉出水:bb and cc and dd,coloryellow; drawtext(芙蓉出水,h*1.05,'★'),coloryellow; drawtext(芙蓉出水,h*1.02,'芙蓉出水'),coloryellow; stickline(芙蓉出水,h,l,0.5,0),coloryellow; stickline(芙蓉出水,o,c,5,0),coloryellow,linethick2; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,6,0),COLORRED; STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE ; X1:= CLOSE/OPEN <0.97 AND CLOSE/OPEN >0.917; X2:=CLOSE<MA(CLOSE,30) AND CLOSE<MA(CLOSE,20) AND CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,5) ; X3:=HIGH>MA(CLOSE,5) AND HIGH>MA(CLOSE,10) AND HIGH>MA(CLOSE,20)AND HIGH>MA(CLOSE,30) ; DRAWTEXT(X1 AND X2 AND X3 ,H+0.15,'断头铡刀'),color00ff00; 断头铡刀:x1 and x2 and x3,color00ff00; stickline(断头铡刀,h,l,0.5,0),color00ff00; stickline(断头铡刀,o,c,5,0),color00ff00,linethick2; STICKLINE(MA1>=MA3 AND MA3>=MA2,MA2,MA3,3,1),COLORWHITE;STICKLINE(MA1>=MA2 AND MA1<MA3,MA2,MA1,3,1),COLORWHITE; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); DRAWICON(FILTER(B1>0,5),L*0.94,10); DRAWTEXT(FILTER(B1>0,5),L*0.94,'M底'),COLORGREEN;{MACD底背离} A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1)); B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); DRAWICON(FILTER(B2>0,5),L*0.96,10); DRAWTEXT(FILTER(B2>0,5),L*0.96,'K底'),COLORYELLOW;{KDJ底背离} A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); DRAWICON(FILTER(B3>0,5),L*0.98,10); DRAWTEXT(FILTER(B3>0,5),L*0.98,'R底'),COLORFFFF00;{RSI底背离} C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF); DRAWICON(FILTER(D1>0,5),H*1.07,12); DRAWTEXT(FILTER(D1>0,5),H*1.07,'M顶'),COLOR0066FF;{MACD顶背离} C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1)); D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)); DRAWICON(FILTER(D2>0,5),H*1.05,12); DRAWTEXT(FILTER(D2>0,5),H*1.05,'K顶'),COLORRED;{KDJ顶背离} C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1)); D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)); DRAWICON(FILTER(D3>0,5),H*1.03,12); DRAWTEXT(FILTER(D3>0,5),H*1.03,'R顶'),COLORFF00FF;{RSI顶背离} 发一个好用的主图.(源码 贴图) 低吸:=CROSS(RSI,11); DRAWTEXT(低吸,L,'★'),COLORWHITE; DRAWTEXT(低吸,L-0.12,'低吸'),COLORWHITE; VAR7:=EMA(AMOUNT/VOL/100,3); VAR8:=EMA(VAR7,88); VAR9:=EMA(VAR7,88)*0.85; VARA:=VAR9*0.87; VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02; DRAWTEXT(FILTER(VARB,6),L-0.14,'买进'),COLORFF00FF; DRAWTEXT(FILTER(VARB,6),L,'★'),COLORFF00FF; VARF:=(2*CLOSE+HIGH+LOW)/4; VA4:=LLV(LOW,34); VA5:=HHV(HIGH,34); VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6); VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4); DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),L,'★'),COLORYELLOW; DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),L-0.14,'出击'),COLORYELLOW; A:=(3*CLOSE+LOW+OPEN+HIGH)/6; K1:=EMA(D3,2); DRAWTEXT(CROSS(D1,K1),L-0.14,'波段买入'),COLOR0099FF; DRAWTEXT(CROSS(D1,K1),L,'★'),COLOR0099FF; 多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1) -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) ,3,1),2,1); 天线:=78.89; STICKLINE(CROSS(天线,多方趋势),H*1.02,H*1.00,6,0),COLOR00FF00; DRAWTEXT(CROSS(天线,多方趋势),H*1.04,'逃'),COLOR00FF00; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!