• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信只做牛市或跌幅达70%以上的个股未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-04-26|栏目:通达信公式

    HR:=HHV(HIGH,55);

    HRY:=LLV(LOW,55);

    HRY11:=HR*HRY;

    HRY33:SQRT(HRY11),COLORCYAN,LINETHICK2;

    IF(C>HRY33 AND HRY33 >=REF(HRY33 ,1), HRY33 ,DRAWNULL),LINETHICK2,COLORWHITE;

    WLT1:=Ema(C,3);

    WLT2:=ema(C,5);

    WLT3:=EMA(WLT2,5);

    DRAWBAND(WLT1,RGB(255,255,0),WLT2,RGB(0,0,220));

    HP:=(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE<0.10;

    LB:=vol/MA(VOL,5);

    X1:=(C+L+H)/3;

    BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;

    EMA3:=EMA(C,3);

    DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),

    LOW*0.99,'★∠45'),COLORFFFFFF;

    TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);

    MM:=WLT1>REF(WLT1,1) AND REF(WLT1,1)<REF(WLT1,2) ;

    GG1:=crOSS(WLT1,WLT2);

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

    cci1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));

    差值1:=Abs(REF(CCI1,1)-CCI1),LINETHICK0;

    CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));

    差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;

    CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));

    差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;

    CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));

    差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;

    CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));

    差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;

    CCI:=(CCI1+CCI2+CCI3+CCI4+CCI5)/2,COLORWHITE,LINETHICK2;

    WLT91:=HHV(CCI,13);

    WLT92:=LLV(CCI,13)<-100;

    WLT95:=COUNT(WLT92,13)>=3;

    WLT93:=CCI>WLT91;

    WLT96:=CROSS(CCI,100);

    TJ91:=WLT95 AND WLT96;

    JLP:=FILTER(TJ91,5);

    超买:=MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORCYAN,LINETHICK2;

    超卖:=MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORWHITE,LINETHICK2;

    TEND:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;

    DD:=TEND>REF(TEND,1) AND REF(TEND,1) >REF(TEND,2);

    GG2:=CROSS(WLT1,TEND);

    HRY1:=LLV(LOW,55);

    HRY2:=HHV(HIGH,21);

    GG3:=C<HRY2*0.8 AND C>HRY33;

    JJ1:=C<HRY1*1.62;

    TJ1:=GG1;

    TJ2:=GG2 AND JJ1;

    TJ3:=GG1 AND GG3 ;

    XG:=TJ1 OR TJ3 ;

    XG2:=C<HRY2*0.86 OR LB>1;

    XG1:=XG AND XG2 AND C>HRY33 AND JLP;

    XG3:=XG AND C<HHV(HIGH,250)*0.3;

    XG11:=XG1 OR XG3;

    DRAWICON(XG11,LOW*0.97,23);

    DRAWTEXT(XG1,LOW*0.95,'全'),COLORWHITE;

    DRAWTEXT(XG1,LOW*0.93,'仓'),COLORWHITE;

    STICKLINE(XG,C,O,4,0),COLOR009999;

    STICKLINE(XG,C,O,3,0),COLOR00BBBB;

    STICKLINE(XG,C,O,1.5,0),COLOR00DDDD;

    STICKLINE(XG,C,O,0.3,0),COLOR00FFFF;

    SAL1:=HIGH>超买;

    SAL2:=C<O AND (O-C)/C>0.03;

    QQ:= C<WLT2;

    QQ1:=CROSS(WLT2,WLT1);

    QQ3:=HIGH>HRY1*1.38;

    SAL01:= SAL1 AND SAL2 AND QQ AND QQ3;

    SAL02:=QQ3 AND QQ1;

    SAL:=SAL01 OR SAL02;

    DRAWICON(SAL,HIGH*1.03,15);

    STICKLINE(SAL,C,O,4,0),COLOR009900;

    STICKLINE(SAL,C,O,3,0),COLOR00BB00;

    STICKLINE(SAL,C,O,1.5,0),COLOR00DD00;

    STICKLINE(SAL,C,O,0.3,0),COLOR00FF00;

    image.png



    未来函数检测公式代码域:

    HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:SQRT(HRY11),COLORCYAN,LINETHICK2;IF(C>HRY33 AND HRY33 >=REF(HRY33 ,1), HRY33 ,DRAWNULL),LINETHICK2,COLORWHITE;WLT1:=Ema(C,3);WLT2:=ema(C,5);WLT3:=EMA(WLT2,5);DRAWBAND(WLT1,RGB(255,255,0),WLT2,RGB(0,0,220));HP:=(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE<0.10;LB:=vol/MA(VOL,5);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),LOW*0.99,'★∠45'),COLORFFFFFF;TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);MM:=WLT1>REF(WLT1,1) AND REF(WLT1,1)<REF(WLT1,2) ;GG1:=crOSS(WLT1,WLT2);TYP:= (HIGH + LOW + CLOSE)/3;cci1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));差值1:=Abs(REF(CCI1,1)-CCI1),LINETHICK0;CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;CCI:=(CCI1+CCI2+CCI3+CCI4+CCI5)/2,COLORWHITE,LINETHICK2;WLT91:=HHV(CCI,13);WLT92:=LLV(CCI,13)<-100;WLT95:=COUNT(WLT92,13)>=3;WLT93:=CCI>WLT91;WLT96:=CROSS(CCI,100);TJ91:=WLT95 AND WLT96;JLP:=FILTER(TJ91,5);超买:=MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORCYAN,LINETHICK2;超卖:=MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORWHITE,LINETHICK2;TEND:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;DD:=TEND>REF(TEND,1) AND REF(TEND,1) >REF(TEND,2);GG2:=CROSS(WLT1,TEND);HRY1:=LLV(LOW,55);HRY2:=HHV(HIGH,21);GG3:=C<HRY2*0.8 AND C>HRY33;JJ1:=C<HRY1*1.62;TJ1:=GG1;TJ2:=GG2 AND JJ1;TJ3:=GG1 AND GG3 ;XG:=TJ1 OR TJ3 ;XG2:=C<HRY2*0.86 OR LB>1;XG1:=XG AND XG2 AND C>HRY33 AND JLP;XG3:=XG AND C<HHV(HIGH,250)*0.3;XG11:=XG1 OR XG3;DRAWICON(XG11,LOW*0.97,23);DRAWTEXT(XG1,LOW*0.95,'全'),COLORWHITE;DRAWTEXT(XG1,LOW*0.93,'仓'),COLORWHITE;STICKLINE(XG,C,O,4,0),COLOR009999;STICKLINE(XG,C,O,3,0),COLOR00BBBB;STICKLINE(XG,C,O,1.5,0),COLOR00DDDD;STICKLINE(XG,C,O,0.3,0),COLOR00FFFF;SAL1:=HIGH>超买;SAL2:=C<O AND (O-C)/C>0.03;QQ:= C<WLT2;QQ1:=CROSS(WLT2,WLT1);QQ3:=HIGH>HRY1*1.38;SAL01:= SAL1 AND SAL2 AND QQ AND QQ3;SAL02:=QQ3 AND QQ1;SAL:=SAL01 OR SAL02;DRAWICON(SAL,HIGH*1.03,15);STICKLINE(SAL,C,O,4,0),COLOR009900;STICKLINE(SAL,C,O,3,0),COLOR00BB00;STICKLINE(SAL,C,O,1.5,0),COLOR00DD00;STICKLINE(SAL,C,O,0.3,0),COLOR00FF00;

    警惕!警惕!警惕!该公式包含未来函数:CAPITAL...

    未发现:COST...

    未发现:DYNAINFO...

    未发现:FINANCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BACKSET...

    未发现:BARSNEXT...

    未发现:CURRBARSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRAWLINE...

    未发现:REFX...

    未发现:FLATZIG...

    未发现:FLATZIGA...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEAK...

    未发现:PEAKA...

    未发现:PEAKBARS...

    未发现:PEAKBARSA...

    未发现:PLOYLINE...

    未发现:REFDATE...

    未发现:TROUGH...

    未发现:TROUGHA...

    未发现:TROUGHBARS...

    未发现:XMA...

    未发现:ZIG...

    未发现:ZIGA...

    未发现:ZXNH...

    未发现:#YEAR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEAK...

    未发现:$PEAKBARS...

    未发现:$TROUGH...

    未发现:$TROUGHBARS...

    未发现:$FLATZIG...

    未发现:$FLATZIGA...

    未发现:$PEAKA...

    未发现:$PEAKBARSA...

    未发现:$TROUGHA...

    未发现:$ZIGA...

    未发现:$FFT...

    未发现:$BACKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNAINFO...

    未发现:$FINANCE...

    未发现:$DRAWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号