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

    通达信公式

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

    通达信阴阳转换副图未加密选股指标公式源码

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

    VAR1:=1;
    VAR3:=ma(CLOSE,13);
    VAR4:=100-Abs((CLOSE-VAR3)/VAR3*100);
    VAR5:=LLV(LOW,75);
    VAR6:=HHV(HIGH,75);
    VAR7:=(VAR6-VAR5)/100;
    VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
    VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
    VARA:=3*VAR8-2*SMA(VAR8,15,1);
    VARB:=3*VAR9-2*SMA(VAR9,15,1);
    VARC:=100-VARB;
    主力趋势: (100-VARA)*VAR1,COLOR0099FF;
    VARD:=主力趋势>VAR4;
    VARE:=REF(LOW,1)*0.9;
    VARF:=LOW*0.9;
    VAR11:=ema(VARF,30);
    VAR12:=CLOSE-REF(CLOSE,1);
    VAR13:=MAX(VAR12,0);
    VAR14:=ABS(VAR12);
    VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
    VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
    VAR17:=BARSCOUNT(CLOSE);
    VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
    VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
    VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
    VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
    VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
    VAR1D:=SMA(VAR1C,4,1);
    VAR1E:=SMA(VAR1D,3,1);
    VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
    VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
    STICKLINE(VARD,VAR4,主力趋势,1,0),COLOR0099FF;
    STICKLINE(VAR20,0,80,1,0),COLORWHITE,LINETHICK3 ;
    主力做底轴线:95,COLORBLUE ,LINETHICK2 ;
    主力做大底轴线:100,COLORLIMAGENTA ,LINETHICK3 ;
    主力做顶轴线:0,COLORGREEN ,LINETHICK2 ;
    中线轴: 15,COLORRED ,LINETHICK2 ;
    买:=IF("KDJ.J"<0,10,0);
    条件1:=crOSS(9.5,买);
    VVAR1:=(2*CLOSE+HIGH+LOW)/4;
    VVAR2:=LLV(LOW,7);
    VVAR3:=HHV(HIGH,7);
    VVAR4:=EMA((VVAR1-VVAR2)/(VVAR3-VVAR2)*100,5);
    MA1:=MA(VVAR4,2);
    AA:STICKLINE(VVAR4>MA1,VVAR4,MA1,6,1),COLORWHITE;
    BBB:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4,MA1,6,1),COLORWHITE;
    STICKLINE(VVAR4<=MA1,VVAR4,MA1,6,1),COLORLIGREEN;
    DRAWICON(CROSS(9.9,买),VVAR4-12,17);
    STICKLINE(CROSS(9.9,买),VVAR4+5,MA1-4,6,1),COLORLIGREEN;
    DRAWICON(CROSS(9.9,买),VVAR4-12,17);
    XXX:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4+5,MA1-4,6,1),COLORLICYAN;image.png



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

    VAR1:=1;VAR3:=ma(CLOSE,13);VAR4:=100-Abs((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,15,1);VARB:=3*VAR9-2*SMA(VAR9,15,1);VARC:=100-VARB;主力趋势: (100-VARA)*VAR1,COLOR0099FF;VARD:=主力趋势>VAR4;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR11:=ema(VARF,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;STICKLINE(VARD,VAR4,主力趋势,1,0),COLOR0099FF;STICKLINE(VAR20,0,80,1,0),COLORWHITE,LINETHICK3 ;主力做底轴线:95,COLORBLUE ,LINETHICK2 ;主力做大底轴线:100,COLORLIMAGENTA ,LINETHICK3 ;主力做顶轴线:0,COLORGREEN ,LINETHICK2 ;中线轴: 15,COLORRED ,LINETHICK2 ;买:=IF("KDJ.J"<0,10,0);条件1:=crOSS(9.5,买);VVAR1:=(2*CLOSE+HIGH+LOW)/4;VVAR2:=LLV(LOW,7);VVAR3:=HHV(HIGH,7);VVAR4:=EMA((VVAR1-VVAR2)/(VVAR3-VVAR2)*100,5);MA1:=MA(VVAR4,2);AA:STICKLINE(VVAR4>MA1,VVAR4,MA1,6,1),COLORWHITE;BBB:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4,MA1,6,1),COLORWHITE;STICKLINE(VVAR4<=MA1,VVAR4,MA1,6,1),COLORLIGREEN;DRAWICON(CROSS(9.9,买),VVAR4-12,17);STICKLINE(CROSS(9.9,买),VVAR4+5,MA1-4,6,1),COLORLIGREEN;DRAWICON(CROSS(9.9,买),VVAR4-12,17);XXX:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4+5,MA1-4,6,1),COLORLICYAN;

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