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

    通达信公式

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

    通达信多空预警副图原飞狐未加密选股指标公式源码

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

    CHECK1:=-1;

    VAR1:=IF(CHECK1<0,(HIGH+LOW+CLOSE)/3,0);
    VAR2:=IF(CHECK1<0,(VAR1-ma(VAR1,14))/(0.015*AVEDEV(VAR1,14)),0);
    VAR3:=IF(CHECK1<0,(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70)),0);
    VAR4:=IF(CHECK1<0,IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,10,0),0);
    VAR5:=IF(CHECK1<0,IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-10,VAR4),0);
    VAR6:=IF(CHECK1<0,(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,0);
    VAR7:=IF(CHECK1<0,100-Abs(VAR6),0);
    VAR8:=IF(CHECK1<0,IF(VAR7<90,VAR7,100),0);
    PJX:=IF(CHECK1<0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0);
    短期强弱:PJX,COLORBLUE;
    VAR1A:=IF(PJX>0,PJX,0);
    VAR1B:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,VAR5))+60;
    VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR8<100;
    VAR1D:=VAR1A<48 AND VAR1B<60 AND VAR8<100;
    DRAWTEXT(VAR1D AND COUNT(VAR1D,30)=1,80,'短线反弹'),COLORWHITE;
    STICKLINE(VAR1D AND COUNT(VAR1D,30)=1,60,80,5,0),COLORWHITE;
    DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,80,'短线高点'),COLORFFCC66;
    STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,60,80,5,0),COLORFFCC66;
    VAR2C:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,0))+30;
    VAR2E:=VAR1A<48 AND VAR2C<30 AND VAR8<100;
    VAR2F:=VAR1A<48 AND VAR2C>30 AND VAR8<100;
    DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,50,'短线反弹2'),COLORWHITE;
    STICKLINE(VAR2E AND COUNT(VAR2E,30)=1,30,50,5,0),COLORWHITE;
    DRAWTEXT(VAR2F AND COUNT(VAR2F,30)=1,50,'短线高点2'),COLORFFCC66;
    STICKLINE(VAR2F AND COUNT(VAR2F,30)=1,30,50,5,0),COLORFFCC66;
    VAR3D:=IF(VAR3<=200 AND VAR2<=150,-15,IF(VAR3>=-200 AND VAR2>=-150,15,VAR5));
    VAR3E:=VAR3D>0 AND VAR8<100;
    VAR3F:=VAR1A<48 AND VAR3D<0 AND VAR8<100;
    DRAWTEXT(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,'短线反弹3'),COLORWHITE;
    STICKLINE(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,0,5,0),COLORWHITE;
    DRAWTEXT(VAR3E AND COUNT(VAR3E,30)=1,20,'短线高点3'),COLORFFCC66;
    STICKLINE(VAR3E AND COUNT(VAR3E,30)=1,20,0,5,0),COLORFFCC66;
    强势线:60,COLORWHITE;
    VAR9:=IF(VAR7<90,40,30);
    分界线:30,COLORFFFFFF;
    STICKLINE(FILTER(VAR1B=45,5),-20,-10,5,0),COLORFFFFFF;
    DRAWTEXT(FILTER(VAR1B=45,5),0,'强支撑'),COLORFFFFFF;
    STICKLINE(FILTER(VAR1B=75,5),75,60,5,0),COLORFFFFFF;
    DRAWTEXT(FILTER(VAR1B=75,5),75,'高压'),COLORFFFFFF;
    STICKLINE(PJX<=-19,-25,-20,12,0),COLORFF00FF;
    STICKLINE(PJX>=70,85,80,12,0),COLORCYAN;
    DRAWTEXT(FILTER(VAR5<0,5),30,'★'),COLORWHITE;
    DRAWTEXT(FILTER(VAR5>0,5),30,'★'),COLORFFCC66;
    多空预警:0,COLORFFCC66;
    IF(VAR9=40 AND VAR2>=0 AND VAR3>=0,多空预警,DRAWNULL),LINETHICK2,COLORCYAN;
    IF(VAR9=40 AND VAR2<=0 AND VAR3<=0,多空预警,DRAWNULL),LINETHICK2,COLORWHITimage.pngE;



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

    CHECK1:=-1;VAR1:=IF(CHECK1<0,(HIGH+LOW+CLOSE)/3,0);VAR2:=IF(CHECK1<0,(VAR1-ma(VAR1,14))/(0.015*AVEDEV(VAR1,14)),0);VAR3:=IF(CHECK1<0,(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70)),0);VAR4:=IF(CHECK1<0,IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,10,0),0);VAR5:=IF(CHECK1<0,IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-10,VAR4),0);VAR6:=IF(CHECK1<0,(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,0);VAR7:=IF(CHECK1<0,100-Abs(VAR6),0);VAR8:=IF(CHECK1<0,IF(VAR7<90,VAR7,100),0);PJX:=IF(CHECK1<0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0);短期强弱:PJX,COLORBLUE;VAR1A:=IF(PJX>0,PJX,0);VAR1B:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,VAR5))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR8<100;VAR1D:=VAR1A<48 AND VAR1B<60 AND VAR8<100;DRAWTEXT(VAR1D AND COUNT(VAR1D,30)=1,80,'短线反弹'),COLORWHITE;STICKLINE(VAR1D AND COUNT(VAR1D,30)=1,60,80,5,0),COLORWHITE;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,80,'短线高点'),COLORFFCC66;STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,60,80,5,0),COLORFFCC66;VAR2C:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,0))+30;VAR2E:=VAR1A<48 AND VAR2C<30 AND VAR8<100;VAR2F:=VAR1A<48 AND VAR2C>30 AND VAR8<100;DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,50,'短线反弹2'),COLORWHITE;STICKLINE(VAR2E AND COUNT(VAR2E,30)=1,30,50,5,0),COLORWHITE;DRAWTEXT(VAR2F AND COUNT(VAR2F,30)=1,50,'短线高点2'),COLORFFCC66;STICKLINE(VAR2F AND COUNT(VAR2F,30)=1,30,50,5,0),COLORFFCC66;VAR3D:=IF(VAR3<=200 AND VAR2<=150,-15,IF(VAR3>=-200 AND VAR2>=-150,15,VAR5));VAR3E:=VAR3D>0 AND VAR8<100;VAR3F:=VAR1A<48 AND VAR3D<0 AND VAR8<100;DRAWTEXT(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,'短线反弹3'),COLORWHITE;STICKLINE(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,0,5,0),COLORWHITE;DRAWTEXT(VAR3E AND COUNT(VAR3E,30)=1,20,'短线高点3'),COLORFFCC66;STICKLINE(VAR3E AND COUNT(VAR3E,30)=1,20,0,5,0),COLORFFCC66;强势线:60,COLORWHITE;VAR9:=IF(VAR7<90,40,30);分界线:30,COLORFFFFFF;STICKLINE(FILTER(VAR1B=45,5),-20,-10,5,0),COLORFFFFFF;DRAWTEXT(FILTER(VAR1B=45,5),0,'强支撑'),COLORFFFFFF;STICKLINE(FILTER(VAR1B=75,5),75,60,5,0),COLORFFFFFF;DRAWTEXT(FILTER(VAR1B=75,5),75,'高压'),COLORFFFFFF;STICKLINE(PJX<=-19,-25,-20,12,0),COLORFF00FF;STICKLINE(PJX>=70,85,80,12,0),COLORCYAN;DRAWTEXT(FILTER(VAR5<0,5),30,'★'),COLORWHITE;DRAWTEXT(FILTER(VAR5>0,5),30,'★'),COLORFFCC66;多空预警:0,COLORFFCC66;IF(VAR9=40 AND VAR2>=0 AND VAR3>=0,多空预警,DRAWNULL),LINETHICK2,COLORCYAN;IF(VAR9=40 AND VAR2<=0 AND VAR3<=0,多空预警,DRAWNULL),LINETHICK2,COLORWHITE;

    未发现: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号