通达信副图指标,全都写入。 {顶底波段,买底} VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 阶段卖出: 3.2,COLORYELLOW; 3.5,COLOR0088FF; 顶部清仓: 3.5,COLORGREEN,LINETHICK1; 动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4); STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLORRED,LINETHICK1; 关注:0.5,COLORYELLOW; DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(顶部清仓,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1); DRAWTEXT(CROSS(动力线,关注),关注,'买底'),COLORWHITE; {回调买} VAR1:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6); 回调买:LLV(VAR1,2)=LLV(VAR1,7) AND COUNT(VAR1<0,2) AND CROSS(VAR1,MA(VAR1,2)); DRAWTEXT(回调买,0.8,'回调买'),COLORFFFFFF; {中线趋势} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; A1:=2*((EMA(CLOSE,2)-EMA(CLOSE,89))- EMA((EMA(CLOSE,2)-EMA(CLOSE,89)),30))*10; A2:=2*((EMA(CLOSE,2)-EMA(CLOSE,150))-EMA((EMA(CLOSE,2)-EMA(CLOSE,150)),100)); A3:=(POW(A1,3)*0.1+POW(A1,2))/45+(POW(A2,3)*0.1+POW(A2,1))*5,COLORRED; A4:=CROSS(C,EMA(C,14)) AND EMA(C,14)>REF(EMA(C,14),2); AA:=MAX(MAX(MAX(MA(C,5),MA(C,10)),MAX(MA(C,30),MA(C,60))),MA(C,120)); AB:=MIN(MIN(MIN(MA(C,5),MA(C,10)),MIN(MA(C,30),MA(C,60))),MA(C,120)); AC:=O<=AB AND C>=AA ; 中线上升趋势:=A4 AND CROSS(A3,EMA(A3,5)) AND J>30 AND AC; STICKLINE(中线上升趋势=1,0,1,0.3,0),COLOR0099FF; DRAWTEXT((A4 AND CROSS(A3,EMA(A3,5)) AND J>30 AND AC),1.7,'中线上升趋势'),COLOR0099FF; {致命出击} VARR1:=EMA(HHV(HIGH,500),21); VARR2:=EMA(HHV(HIGH,250),21); VARR3:=EMA(HHV(HIGH,90),21); VARR4:=EMA(LLV(LOW,500),21); VARR5:=EMA(LLV(LOW,250),21); VARR6:=EMA(LLV(LOW,90),21); VARR7:=EMA((VARR4*0.96+VARR5*0.96+VARR6*0.96+VARR1*0.558+VARR2*0.558+VARR3*0.558)/6,21); VARR8:=EMA((VARR4*1.25+VARR5*1.23+VARR6*1.2+VARR1*0.55+VARR2*0.55+VARR3*0.65)/6,21); VARR9:=EMA((VARR4*1.3+VARR5*1.3+VARR6*1.3+VARR1*0.68+VARR2*0.68+VARR3*0.68)/6,21); VARRA:=EMA((VARR7*3+VARR8*2+VARR9)/6*1.738,21); VARRB:=REF(LOW,1); VARRC:=SMA(ABS(LOW-VARRB),3,1)/SMA(MAX(LOW-VARRB,0),3,1)*100; VARRD:=EMA(IF(CLOSE*1.35<=VARRA,VARRC*10,VARRC/10),3); VARRE:=LLV(LOW,30); VARRF:=HHV(VARRD,30); VARR10:=IF(MA(CLOSE,58),1,0); SS:=EMA(IF(LOW<=VARRE,(VARRD+VARRF*2)/2,0),3)/618*VARR10; TJ:=(REF(SS,2)<REF(SS,1)AND SS>REF(SS,1))*SS; 买条件:=(REF(SS,2)<REF(SS,1)AND SS>REF(SS,1))*SS,COLORYELLOW,LINETHICK2; 致命出击:(REF(TJ,1)>0 AND 买条件=0),COLORLIGREEN; DRAWTEXT(致命出击,0.8,'致命出击'),COLORLIGREEN; {到位} RN:(LLV(LOW,5)*HHV(HIGH,5))/C/C,COLOR000000; STICKLINE(CROSS(1.1,RN),1,1.1,1.2,0), COLORYELLOW; STICKLINE(CROSS(1.2,RN),1,1.3,1.2,0),COLORRED; STICKLINE(RN>=1.2,1,1.19,3,0), COLORLIRED; DRAWTEXT(CROSS(1.1,RN),1.17,'到位'),COLORYELLOW; {炒底高手} AC1:=AMOUNT/(VOL); YY:=MA(AC1,13); LLL:=(C-YY)/YY*100; MIDC := MA(CLOSE,22); UPPERC:= MIDC + 2*STD(C,22); LOWERC:= MIDC - 2*STD(C,22); BBA:=(C-LOWERC)/(UPPERC-LOWERC); LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1)); 炒底高手:LIFENGCYC>0,COLORFF0000; DRAWTEXT(炒底高手,1.2,'炒底高手'),COLORFF0000; {主力拉升前挖坑动作} VAR11:=MA(HHV(HIGH,485),17); VAR22:=MA(HHV(HIGH,222),17); VAR33:=MA(HHV(HIGH,96),17); VAR44:=MA(LLV(LOW,485),17); VAR55:=MA(LLV(LOW,222),17); VAR66:=MA(LLV(LOW,96),17); VAR77:=MA((VAR44*0.96+VAR55*0.96+VAR66*0.96+VAR11*0.558+VAR22*0.558+VAR33*0.558)/6,17); VAR88:=MA((VAR44*1.25+VAR55*1.23+VAR66*1.2+VAR11*0.55+VAR22*0.55+VAR33*0.65)/6,17); VAR99:=MA((VAR44*1.3+VAR55*1.3+VAR66*1.3+VAR11*0.68+VAR22*0.68+VAR33*0.68)/6,17); TJJ:=MA(IF(LOW<=LLV(LOW,30),(MA(IF(CLOSE*1.35<=1, SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10, SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3)+HHV(MA(IF(CLOSE*1.35<=1, SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10, SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3),30)*2)/2,0),3); 挖坑:REF(TJJ,2)>REF(TJJ,3)AND TJJ<REF(TJJ,1); DRAWTEXT(挖坑,1.9,'★拉前挖坑'),COLORFF00FF; {拉升} Q:=(3*CLOSE+LOW+OPEN+HIGH)/6; QQ:=(20*Q+19*REF(Q,1)+18*REF(Q,2)+17*REF(Q,3)+16*REF(Q,4)+15*REF(Q,5)+14*REF(Q,6) +13*REF(Q,7)+12*REF(Q,8)+11*REF(Q,9)+10*REF(Q,10)+9*REF(Q,11)+8*REF(Q,12) +7*REF(Q,13)+6*REF(Q,14)+5*REF(Q,15)+4*REF(Q,16)+3*REF(Q,17)+2*REF(Q,18)+ REF(Q,20))/211; DD:=CROSS(QQ,EMA(EMA(EMA(QQ,2),2),2)); CC:=EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9); QQ1:=HHV(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),4)<0 AND 2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC)>REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),1) AND REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),1)<REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),2) AND REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),2) <REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),3); QQ2:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2); DD1:=CROSS(QQ2,EMA(REF(QQ2,1),2)) AND C>O AND V>=MA(V,21) AND V> REF(V,1); DD2:=DD1+QQ1+DD>=2 AND EMA(CLOSE,12)-EMA(CLOSE,26)>CC AND H/C<1.01 AND REF(MA(C,5),1)<MA(C,5) AND REF(MA(C,5),2)>REF(MA(C,5),1); MACD1:=(EMA(CLOSE,12)-EMA(CLOSE,26)-EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9))*2; RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV1,3,1); D1:=SMA(K1,3,1); CC1:=CROSS(K1,D1) AND MACD1>0; 拉升:=DD2 AND REF(H/C<1.02,1) AND CC1; STICKLINE(拉升=1,0,1,0.3,0),COLOR0099FF; DRAWTEXT(拉升,1,'拉升'),COLOR0099FF; {指标用法:不用人用指标效果不一样,此为抄底指标,出信号后如二天内未过信号当天的最高点。则可以先出来,一般九成第二天或第三天可以过信号当天的高点,还有很多机会可以抓到大波段。根据个股的盘面感觉来把握。}; {筹码V转} DF2:=(C-REF(C,1))/REF(C,1)*100>5; DF3:=(C-O)/O*100>4; 最底价:=COST(1); 底V型反转:=L<最底价 AND DF2; 底V型反转2:=CROSS(C,最底价) AND DF2; 底V型反转3:=L<最底价 AND DF3; V型转向:底V型反转 OR 底V型反转2 OR 底V型反转3; STICKLINE(V型转向=1,0,0.7,1,0),COLORGREEN; STICKLINE(V型转向=1,0,0.5,2,0),COLORGREEN; STICKLINE(V型转向=1,0,1,0.3,0),COLORWHITE; DRAWTEXT(V型转向=1,0.4,' 筹码V转'),COLORWHITE; DRAWICON(V型转向=1,1,1); {找套买} VAR14:=HHV(HIGH,70); DD14:=VAR14*0.83; DDC:=EXIST(DD14/L>1.08,10); A11:=COST(85); A21:=COST(15); A31:=A11-A21; A41:=(A11+A21)/2; DM:=A31/A41*100<15; DMCX:=LAST(DM,15,1); B1:=MA(C,13)<REF(MA(C,13),1); SSRP:=MA(SSRP,1); ZLBT:= DMCX AND SSRP/L>1.18 ; TJ1:=EXIST(ZLBT,2); SJT:=C/REF(C,10); DS:=SJT<=0.85; 找深套买:TJ1 AND DDC AND B1 AND DS,COLORWHITE; STICKLINE(找深套买, 0,1,0.3,0),COLORWHITE; DRAWTEXT(找深套买,0.8,' 找深套买'),COLORWHITE; {抄底关注} N:=13; DMH:=SUM(IF(H>REF(H,1),H-REF(H,1),0),N); DML:=SUM(IF(L>REF(L,1),0,REF(L,1)-L),N); 量:=DMH/(DMH+DML),COLORRED; 抄底关注:量<0.08,COLORFF0000,LINETHICK1; DRAWTEXT(抄底关注,1.5,'抄底关注'),COLORFF6600; {准确控盘} 买:=IF("KDJ.J"<0,10,0); 准确控盘:=CROSS(9.9,买); VAR101:=(2*CLOSE+HIGH+LOW)/4; VAR201:=LLV(LOW,5); VAR301:=HHV(HIGH,5); VAR401:=EMA((VAR101-VAR201)/(VAR301-VAR201)*100,5); MA1:=MA(VAR401,2); AA1:=STICKLINE(VAR401>MA1,VAR401,MA1,3,1),COLORRED; BBB:=STICKLINE(VAR401 |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!