最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信超强的波段选股公式,通达信公式

    正文概述    2024-05-04 04:36:22  

    以下是通达信超强的公式源码和使用说明


    使用说明

       超强波段选股公式是一种技术指标,旨在帮助投资者在股票市场中识别潜在的波段交易机会。该公式结合了多个技术指标,以确定股票的短期和波动性,进而发现可能的买入和卖出点。

       买入信号:观察选股公式生成的指标线。当指标线触发买入信号时,表示该股票可能处于上升趋势,可以考虑买入。买入信号可能基于移动平的、波动性指标的放大、交叉信号等。

       卖出信号:当股票价格上涨到一定程度或指标线出现卖出信号时,可以考虑卖出股票。卖出信号可能基于移动平均线的拐头、波动性指标的缩小、交叉信号等。


    通达信超强的波段选股公式源码:

       VAR1:=LLV(LOW,5);

       VAR2:=HHV(HIGH,5);

       买:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,4),COLORWHITE;

       卖:EMA(0.667*REF(买,1)+0.333*买,2),COLORMAGENTA;

       VAR3:=(2*CLOSE+HIGH+LOW)/4;

       VAR4:=LLV(LOW,34);

       VARA:=HHV(HIGH,34);

       方:EMA((VAR3-VAR4)/(VARA-VAR4)*100,12),COLORRED;

       向:EMA(0.667*REF(方,1)+0.333*方,2),COLORGREEN;

       DRAWTEXT(CROSS(78.89,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))AND买 35,方,'跑'),COLOR00FF00;

       VAR01:=EMA(((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25)))*100,5);

       VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);

       VAR03:=CROSS(VAR02,VAR01);

       VAR04:=REF(VAR02,2) REF(VAR02,1)ANDVAR02 REF(VAR02,1);

       VAR05:=COUNT(VAR03,7) 0ANDVAR04;

       VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

       VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);

       VAR08:=EMA(VAR07,10);

       VAR09:=EMA(C,5);

       VAR10:=LLV(LOW,33);

       VAR11:=EMA(IF(LOW =VAR10,VAR09,0),3)*40;

       VAR12:=IF(VAR11 100,VAR11*0.312,VAR11);

       VAR13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

       VAR14:=SMA(VAR13,3,1);

       VAR15:=SMA(VAR13,3,1);

       VAR16:=3*VAR14-2*VAR15;

       VAR17:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

       VAR19:=REF(CLOSE,1);

       VAR20:=SMA(MAX(CLOSE-VAR19,0),6,1)/SMA(ABS(CLOSE-VAR19),6,1)*100;

       VAR21:=CROSS(VAR20,11);DRAWTEXT(VAR21,5,'★'),COLORYELLOW;

       VAR22:=REF(LOW,1);

       VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;

       VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);

       VAR25:=LLV(LOW,30);

       VAR26:=HHV(VAR24,30);

       VAR27:=IF(MA(CLOSE,58),1,0);

       VAR28:=EMA(IF(LOW =VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;

       VAR29:=IF(VAR28 100,100,VAR28);

       VAR30:=(3*CLOSE+LOW+OPEN+HIGH)/6;

       VAR31:=(20*VAR30+19*REF(VAR30,1)+18*REF(VAR30,2)+17*REF(VAR30,3)+16*REF(VAR30,4)+15*REF(VAR30,5)+14*REF(VAR30,6)

       +13*REF(VAR30,7)+12*REF(VAR30,8)+11*REF(VAR30,9)+10*REF(VAR30,10)+9*REF(VAR30,11)+8*REF(VAR30,12)

       +7*REF(VAR30,13)+6*REF(VAR30,14)+5*REF(VAR30,15)+4*REF(VAR30,16)+3*REF(VAR30,17)+2*REF(VAR30,18)+

       REF(VAR30,20))/211;

       VAR32:=EMA(EMA(EMA(VAR31,2),2),2);

       STICKLINE(VAR05ANDCOUNT(VAR05,5)=1ANDVAR16 80,0,20,2,0),COLORRED;

       搞:IF(CROSS(VAR17,8),30,0),STICK,COLORYELLOW;

       吸货:STICKLINE(VAR29 -120,0,VAR29/2,0,0),COLORAA9728;

       DRAWTEXT(CROSS(VAR31,VAR32),10,'▲'),COLOR0099FF;

       VARA5:=IF(((SMA(SMA(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100),3,1),3,1)+100)-(SMA(((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70),9,1)+100)) 60,((SMA(SMA(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100),3,1),3,1)+100)-(SMA(((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70),9,1)+100))-60,0);

       波段机会:VARA5*0.1819,COLORRED;

       机会大于0参与:MA(波段机会,3),COLOR196829;

       平衡位:50,COLORGRAY,POINTDOT;

       LC:=REF(CLOSE,1);

       RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);

       TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);

       HD:=(HIGH-REF(HIGH,1));

       LD:=(REF(LOW,1)-LOW);

       DMP:=SUM(IF(((HD 0)AND(HD LD)),HD,0),10);

       DMM:=SUM(IF(((LD 0)AND(LD HD)),LD,0),10);

       PDI:=((DMP*100)/TR1);

       MDI:=((DMM*100)/TR1);

       ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);

       AV:=(RSI5+ADX);

       DXR:=(((ADX+REF(ADX,5))/2)+RSI5);

       0,COLORFF00FF;

       WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));

       NEWVOL:=(RSI5-WR10);

       阶段底部:=(AV+NEWVOL);

       STICKLINE((阶段底部 0),0,-10,0.8,1),LINETHICK6,COLORYELLOW;

       趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;

       STICKLINE(CROSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;

       STICKLINE((趋势线 230),100,90,0.3,1),LINETHICK6,COLORGREEN;

       LOWV:=LLV(LOW,9);

       HIGHV:=HHV(HIGH,9);

       RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

       K:EMA(RSV,3);

       D:MA(K,3);

       STICKLINE(K D,K,D,2.5,0),COLORRED,LINETHICK2;

       STICKLINE(D K,K,D,2.5,0),COLORGREEN,LINETHICK2;

       线:90,COLORGREEN;

       中轴线:50,COLORRED;

       线:10,COLORGREEN;

       DRAWICON(CROSS(K,D),12,1)COLORRED;

       DRAWICON(CROSS(D,K),88,2)COLORGREEN;

       警戒:阶段底部 0,LINETHICK0,COLORYELLOW;

       出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;

       均5:MA(CLOSE,5),COLORYELLOW;

       均10:MA(CLOSE,10),COLORF00FF0;

       均30:MA(CLOSE,30),COLOR00FF00;

       均60:MA(CLOSE,60),COLORRED,POINTDOT,LINETHICK2;

       均250:MA(CLOSE,250),COLORBLUE,LINETHICK2;

       上轨:均30+2*STD(CLOSE,30),COLORYELLOW,POINTDOT,LINETHICK2,COLORLIGREEN;

       下轨:均30-2*STD(CLOSE,30),COLORYELLOW,POINTDOT,LINETHICK2,COLORLIRED;

       N:=13;

       L0:=0.02;

       L5:=ABS(L-REF(L,N)) =L0

       ORABS(C-REF(L,N)) =L0

       ORABS(O-REF(L,N)) =L0

       ORABS(L-REF(O,N)) =L0

       ORABS(C-REF(O,N)) =L0

       ORABS(O-REF(O,N)) =L0

       ORABS(L-REF(C,N)) =L0

       ORABS(C-REF(C,N)) =L0

       ORABS(O-REF(C,N)) =L0

       ORABS(L-REF(H,N)) =L0

       ORABS(C-REF(H,N)) =L0

       ORABS(O-REF(H,N))

       精准线首次:=L5;

       精准左:=FILTER(精准线首次,N);

       天数:=BARSLAST(精准左);

       LTS:=REF(L,天数);

       精准右:=ABS(L-LTS)

       STICKLINE(精准左,L,L,190,-1),COLORMAGENTA;

       DRAWLINE(精准左,L,精准右,LTS,0),COLORMAGENTA;

       JJ:=(CLOSE+HIGH+LOW)/3;

       A:=EMA(JJ,7);

       B:=REF(A,1);

       STICKLINE(A B,A,B,2,0),COLORMAGENTA;

       STICKLINE(A B,A,B,2,0),COLORGREEN;

       M1:=EMA(CLOSE,3);

       M2:=EMA(CLOSE,8);

       M3:=EMA(M2,13);

       M4:=EMA(M2,55);

       VAR1:=EMA(M3,55);

       M5:=EMA(M4,81),COLORRED,LINETHICK2;

       VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

       VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);

       DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);

       DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,''),COLORGREEN;

       VAR4:=REF(CLOSE,1);

       VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;

       VAR6:=CROSS(79,VAR5);

       VAR7:=FILTER(VAR6,4);

       DRAWICON(VAR7,HIGH*1.035,2);

       DRAWTEXT(VAR7,HIGH*1.02,''),COLORGREEN;

       A7:=(2*C+H+L)/4;

       VAR10:=LLV(LOW,34);

       VAR11:=HHV(HIGH,34);

       SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);

       SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

       DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),8)/8 6/10ANDVOL =1.5*MA(VOL,5)AND

       COUNT(SK =SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进'),COLORRED;

       DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10AND

       COUNT(SK SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE =OPEN,4)AND

       REF(CLOSE OPEN,3)ANDREF(CLOSE OPEN,2)ANDREF(OPEN CLOSE,1)AND

       OPEN REF(CLOSE,1),1,0),LOW,'●买进'),COLORRED;

       D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

       DRAWTEXT(IF(CLOSE DANDVOL/240 MA(VOL,5)/240ANDCLOSE REF(CLOSE,1)*1.08

       ANDCLOSE MA(CLOSE,13)*1.3,1,0)ANDMA(C,120) =REF(MA(C,120),1),LOW,'●抄底'),COLORRED;

       VAR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAR56:=INDEXC;VAR57:=MA(VAR56,5);VAR58:=MA(VAR56,20);VAR59:=MA(VAR56,30);VAR5B:=VAR57 VAR56*1.03ANDVAR58 VAR56*1.13;VAR5C:=VAR5B;VAR5D:=IF(FILTER(VAR55 6,5)=1,1,0);VAR5A:=VAR59 VAR57*1.08ANDVAR58 VAR57*1.055;VAR5F:=VAR55 6ANDVAR5C;VAR60:=IF(FILTER(VAR5F,1)=1,1,0)*80;VAR61:=VAR5FANDVAR5D*80;VAR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16) =0.85ANDCLOSE/REF(CLOSE,1) 0.905ANDCLOSE/REF(CLOSE,1) 1.05ANDVOL/CAPITAL*100 5,50,0);VAR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;VAR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;VAR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;VAR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;VAR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;VAR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;VAR83:=(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6;VAR85:=ABS(VAR80-VAR82);VAR86:=(VAR83+VAR85)/2;VAR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VAR88:=VAR87+VAR86;VAR89:=IF(VAR7C 0ANDVAR88 0,200,0);VAR8A:=IF(VAR86 0ANDCLOSE=LLV(CLOSE,5)ANDCLOSE/REF(CLOSE,1) 0.905ANDCLOSE/REF(CLOSE,1) 1.05ANDVOL/CAPITAL*100 5,-50,0);VAR8B:=IF(VAR88 0ANDVAR8A=-50,100,0);VAR8D:=REF(CLOSE,2)*0.865;VAR8E:=REF(CLOSE,13)*0.772;VAR8F:=MIN(VAR8D,VAR8E);VAR90:=100*VOL/CAPITAL;VAR92:=IF((CLOSE-VAR8F)/CLOSE 0.03ANDSUM(VAR90,5)/5 1.8,1,0);VAR96:=(VAR89 0ANDVAR8B 0ANDSUM(VOL/CAPITAL*100,5)/5 1ORVAR92 0)AND(VAR8A 0ORVAR7C VAR97:=VAR89 0ANDVAR8B 0ANDSUM(VOL/CAPITAL*100,5)/5 1ORVAR92 0ANDREF(CLOSE,1)/REF(CLOSE,2) 0.902;VAR98:=VAR96ORVAR97;PP:(VAR61ORVAR98)=1;



    通达信超强的波段选股公式截图


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超强的波段选股公式,通达信公式 加入收藏