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

    通达信公式

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

    通达信趋势先机副图趋势未加密选股指标公式源码

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

    M1:=WINNER( ma(CLOSE,1))*200;
    M2:=WINNER(MA(CLOSE,20))*200;
    VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
    VAR2:=SMA(VAR1,3,1);
    VAR3:=SMA(VAR2,3,1);
    VAR4:=3*VAR2-2*VAR3;
    VAR5:=LLV(LOW,5);
    VAR6:=HHV(HIGH,5);
    VAR7:=ema((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
    VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
    VAR9:=3*VAR7-2*VAR8;
    VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
    VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
    VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
    VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
    VARE:=SMA(VARD,3,1)*1.5-100;
    VARF:=SMA(VARE,3,1);
    VAR10:=3*VARE-2*VARF;
    VAR11:=(HIGH+LOW+CLOSE*2)/4;
    VAR12:=EMA(VAR11,13);
    VAR13:=STD(VAR11,13);
    VAR14:=(VAR11-VAR12)*100/VAR13;
    VAR15:=EMA(VAR14,5);
    VAR17:=EMA(VAR15,13)+200-100;
    VAR18:=EMA(VAR17,10);
    VAR19:=3*VAR17-2*VAR18;
    VAR1A:=VAR2+VAR7+VARE+VAR17;
    VAR1B:=VAR3+VAR8+VARF+VAR18;
    VAR1C:=VAR4+VAR9+VAR10+VAR19;
    VAR1D:=(HIGH+LOW+CLOSE)/3;
    VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
    VAR21:=dma(AMOUNT/vol/100,VOL/CAPITAL);
    VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
    VAR23:=EMA(VAR22,24);
    VAR24:=STD(VAR22,24);
    VAR25:=(VAR22-VAR23)/VAR24*100;
    VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
    VAR27:=EMA(VAR25,5);
    VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
    VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
    VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
    VAR2D:=EMA(VAR2C,13);{13}
    VAR2E:=(VAR2A+VAR2C)/2/1.1;  
    VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR31:=REF(CLOSE,1);
    VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(Abs(CLOSE-VAR31),5,1)*100;
    VAR33:=(HIGH+LOW+CLOSE)/3;
    VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));
    VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;
    基础线:IF(VAR35>0 ,100 ,0 ),COLORF00FF0;
    多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000;
    超短:EMA(VAR2E,3),COLORWHITE ;
    短线:EMA(超短,5),COLORRED;
    趋势线:EMA((VAR2B+VAR2D)/2,2) ,COLORBLUE;image.png



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

    M1:=WINNER( ma(CLOSE,1))*200;M2:=WINNER(MA(CLOSE,20))*200;VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=ema((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));VAR21:=dma(AMOUNT/vol/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));VAR27:=EMA(VAR25,5);VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2D:=EMA(VAR2C,13);{13}VAR2E:=(VAR2A+VAR2C)/2/1.1; VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR31:=REF(CLOSE,1);VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(Abs(CLOSE-VAR31),5,1)*100;VAR33:=(HIGH+LOW+CLOSE)/3;VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;基础线:IF(VAR35>0 ,100 ,0 ),COLORF00FF0;多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000;超短:EMA(VAR2E,3),COLORWHITE ;短线:EMA(超短,5),COLORRED;趋势线:EMA((VAR2B+VAR2D)/2,2) ,COLORBLUE;

    警惕!警惕!警惕!该公式包含未来函数: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号