操盘线,生命线,持股线,洗盘杀入线,均线缠绕选股,明天大涨,拼命买。组合线主图冰糖编辑 等3个指标公式 {拼命买} VOLUME:=VOL; 主力启动线:=MA(VOL,5); 主力洗盘线:=MA(VOL,35); 资金异动线:=MA(VOL,135); V1:=CLOSE/REF(CLOSE,3)>=1.1; V2:=BACKSET(V1,2); V3:=REF(CLOSE,3)*1.1; V4:=CROSS(C,V3); 拼命买:IF(V2 AND COUNT(V2,2)=1,1,0); STICKLINE(拼命买>0,0,1,3,0),COLORMAGENTA; DRAWTEXT(拼命买>0.35,3.5,'明天大涨,拼命买'),COLOR0000FF,LINETHICK2; {决策生命线+均线粘合选股+抓牛主图 自带趋势线+拼命买(主力启动线、主力洗盘线+三均线粘合选股 冰糖编辑} VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 小心: 3.2,COLORYELLOW; 风险: 3.5,COLORBLUE; 动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4); STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),0,0),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),0,0),COLOR00FF00; 底部:0.2,COLORC6C600; 关注:0.5,COLORFF75FF; DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,3); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,3); 强弱分界:1.75,COLORRED,DOTLINE; 趋势:MA(动力线,3); IF(趋势>REF(趋势,1),趋势,DRAWNULL),LINETHICK2,COLORRED; IF(趋势<REF(趋势,1),趋势,DRAWNULL),LINETHICK2,COLORGREEN; 出击:IF((趋势>REF(趋势,1)) AND (REF(趋势,1)<REF(趋势,2)) AND (趋势<1),0.3,0); {抓牛主图 自带趋势线} 快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF; 慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF; 总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF; HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0; AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=BACKSET(AA,HIGHN+1); CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); DDD:=BARSLAST(CC); GDTS:=IF(CC,CURRBARSCOUNT,0); DINGBU:=IF(DDD,REF(H,DDD),H);{顶部} DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DINGBU1:=REF(DINGBU,DDD+1); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=CONST(DINGBUTS1); DINGBU2:=REF(DINGBU1,DDD+1); MM:=IF(CURRBARSCOUNT>GDCS2,0,1); 高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2; DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT; DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT; AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=BACKSET(AA1,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); DD1:=BARSLAST(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); YDB:=IF(DD1,REF(L,DD1),L); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=CONST(DDTS1); ZDB:=REF(YDB,DD1+1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=CONST(DDTS2); 低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2; ZGSTAR:=(高点压力+低点支撑)/2; ZGEND:=CONST((高点压力+低点支撑)/2); STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2); 中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2; DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,; DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT; {均线粘合选股} N:=10; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); MA90:=MA(CLOSE,90); MA120:=MA(CLOSE,120); MA250:=MA(CLOSE,250); DTPL:=MA10>MA30 AND MA30>REF(MA30,1); DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30)); ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120)); DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30)); ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120)); 粘合:=(ZG/ZD-1)*100<N,POINTDOT,LINETHICK0; 高粘:=(ZG/ZD-1)*100<N AND ZD>MA250,POINTDOT,LINETHICK0; 穿5:(粘合 AND CROSS(C,MA5))*0.5; 穿10:(粘合 AND CROSS(C,MA10))*1; 穿20:(粘合 AND CROSS(C,MA20))*2; 穿30:(粘合 AND CROSS(C,MA30))*3; FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1); DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2; 优选:(FLSZ AND DXTP AND MA30>REF(MA30,1))*3,COLOR00FFFF,LINETHICK2; 选优:(FLSZ AND DXTP AND MA30>REF(MA30,1) AND COUNT(高粘,20)>=15)*3,COLOR0000FF,LINETHICK2; JXDT:=MA5>MA10 AND MA10>MA20 AND MA20>MA30; 发散:(JXDT AND NOT(REF(JXDT,1)))*1,COLOR00FF00,LINETHICK2; 起飞:(NOT(粘合) AND REF(粘合,1) AND COUNT(粘合,20)>=15 AND DTPL)*3,COLORFF00FF,LINETHICK2; {以下设置副图显示方式} STICKLINE(粘合,-0.2,0,4,0),COLOR00FF00; STICKLINE(高粘,0.2,0,4,0),COLORFF00FF; DRAWTEXT(优选,3,'优●选'),COLOR00FFFF; DRAWTEXT(发散,2,'发●散'),COLOR00FF00; DRAWTEXT(起飞,3,'起●飞'),COLOR00FFFF; DRAWICON(选优,0.3,1); DRAWICON(起飞,3,1); {拼命买(主力启动线、主力洗盘线)} VOLUME:=VOL; 主力启动线:=MA(VOL,5); 主力洗盘线:=MA(VOL,35); 资金异动线:=MA(VOL,135); V1:=CLOSE/REF(CLOSE,3)>=1.1; V2:=BACKSET(V1,2); V3:=REF(CLOSE,3)*1.1; V4:=CROSS(C,V3); 拼命买:IF(V2 AND COUNT(V2,2)=1,1,0); STICKLINE(拼命买>0,0,1,3,0),COLORMAGENTA; DRAWTEXT(拼命买>0.35,3.5,'明天大涨,拼命买'),COLOR0000FF,LINETHICK2; {三均线粘合选股} X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合} X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01; X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01; AA8:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1); CC8:=MA(C,5)>MA(C,10);{均线勾头向上} CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);{长短均线距离绝对值越小越好} MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND CDJZ AND AA8 AND BB AND CC8; {X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01; MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4;}{也可以再加:四线粘合}; {洗盘杀入5线} {洗盘杀入线主图+组合生命线主图+均线缠绕选股+操盘线优化版+钻石主图(生命线、持股线+明天大涨,拼命买 冰糖编辑} T11:=CONST(LLVBARS(LOW,10)); T11HIGH:=CONST(REF(HIGH,T11)); CC1:=CONST(CURRBARSCOUNT); T22:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T11 AND H>T11HIGH)); T22HIGH:=CONST(REF(HIGH,T22)); T33:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T22 AND HIGH>T22HIGH)); T33HIGH:=CONST(REF(HIGH,T33)); C>=T33HIGH AND REF(C,1)<T33HIGH AND DYNAINFO(17)>2; N:=10; T1:=CONST(LLVBARS(LOW,N)); T1HIGH:=CONST(REF(HIGH,T1)); CC:=CONST(CURRBARSCOUNT); T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH))); T2HIGH:=CONST(REF(HIGH,T2)); T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH))); T3HIGH:=CONST(REF(HIGH,T3)); 洗盘杀入线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK3,COLOR0000FF; DRAWTEXT(ISLASTBAR, T3HIGH, ' 洗盘杀入线')LINETHICK1,COLORYELLOW; {均线缠绕选股} MA5:=MA(C,5); MA10:=MA(C,10); A:=BARSLAST(CROSS(MA5,MA10))+1; G1:=HHV(H,A); D1:=LLV(L,A); G2:=REF(G1,A); D2:=REF(D1,A); G3:=REF(G2,A); D3:=REF(D2,A); 均线缠绕选股:(G2-G1)/G1>0.05 AND (G3-G2)/G2>0.05 AND G1<D3 AND D1=LLV(L,60); {组合生命线主图} |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!