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

    通达信公式

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

    通达信牛熊股都能赚钱未加密选股指标公式源码

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


    LB:=vol/REF(ma(VOL,5),1)/(FROMOPEN/240);
    量比:=LB,VOLSTICK;
    {量比}关注线:1,COLOR00DDDD,LINETHICK1;
    {量比}突破线:4,COLOR555555,LINETHICK1;
    bias1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
    乖离:=MA(BIAS,3);
    抄底:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORGREEN,LINETHICK1;
    STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,1) , COLORGREEN;
    抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;
    STICKLINE(乖离<-18,3,0,6,1),COLORFF35FF;
    抄底三:IF(乖离<-6,5,0),COLORWHITE,LINETHICK1;
    STICKLINE(乖离<-6,5,3,2,1),COLORWHITE;
    抄底四:IF(乖离<-4.5,0,1),COLOR00FFFF,LINETHICK1;
    STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;
    VARD1:=dma(CLOSE,VOL/MA(VOL,4)/4);
    VARD2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
    VARD3:=(CLOSE-VARD1)/VARD1*100<-10;
    VARD4:=(VARD1-VARD2)/VARD2*100<-16;
    VARD5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
    VARD6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),3,1)*100>16;
    VARD7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
    VARD8:=INDEXC;
    VARD9:=MA(VARD8,6);
    VARDA:=MA(VARD8,24);
    VARDB:=MA(VARD8,32);
    VARDC:=VARDB>VARD9*1.11 AND VARDA>VARD9*1.095;
    SSS:=(VARD3 AND VARD4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VARD5 AND VARD6 AND crOSS(VARD7,79) OR VARDC AND CLOSE/COST(8)<=0.8)*100;
    抄底王:SSS>0,COLORRED,LINETHICK1;
    STICKLINE(SSS>0,0,6,6,1),COLORRED;
    {叶烨专用}
    VAR1:=1992231;
    VAR2:=IF(DATE<=VAR1,1,0);
    VAR3:=1/WINNER(CLOSE);
    VAR4:=MA(CLOSE,13);
    VAR5:=100-ABS((CLOSE-VAR4)/VAR4*100);
    VAR6:=LLV(LOW,75);
    VAR7:=HHV(HIGH,75);
    VAR8:=(VAR7-VAR6)/100;
    VAR9:=SMA((CLOSE-VAR6)/VAR8,20,1);
    VARA:=SMA((OPEN-VAR6)/VAR8,20,1);
    VARB:=3*VAR9-2*SMA(VAR9,15,1);
    VARC:=3*VARA-2*SMA(VARA,15,1);
    VARD:=100-VARC;
    VARE:=REF(LOW,1)*0.9;
    VARF:=LOW*0.9;
    VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
    VAR11:=ema(VAR10,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,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+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<55 AND VAR17>50;
    明天低买CGL90%: IF(CROSS(VAR20,0.5),8,0)*VAR2,COLOR00FFFF ,LINETHICK2;
    AA:=LLV(LOW,34);
    BB:=HHV(HIGH,30);
    DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
    绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
    买入成功率80%:IF(CROSS(绝谷,90) AND (DD<40),8,0),COLORFFFF00;
    {MA10:MA(LB,10);
    MA5:MA(LB,5);};image.png



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

    LB:=vol/REF(ma(VOL,5),1)/(FROMOPEN/240);量比:=LB,VOLSTICK;{量比}关注线:1,COLOR00DDDD,LINETHICK1;{量比}突破线:4,COLOR555555,LINETHICK1;bias1:=(CLOSE-ME(CLOSE,6))/ME(CLOSE,6)*100;BIES2:=(CLOSE-ME(CLOSE,12))/ME(CLOSE,12)*100;BIES3:=(CLOSE-ME(CLOSE,24))/ME(CLOSE,24)*100;BIES:=(BIES1+2*BIES2+3*BIES3)/6;乖离:=ME(BIES,3);抄底:IF(乖离<-12 END 乖离>=-18,-4,0), COLORGREEN,LINETHICK1;STICKLINE(乖离<-12 END 乖离>=-18,2,0,6,1) , COLORGREEN;抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;STICKLINE(乖离<-18,3,0,6,1),COLORFF35FF;抄底三:IF(乖离<-6,5,0),COLORWHITE,LINETHICK1;STICKLINE(乖离<-6,5,3,2,1),COLORWHITE;抄底四:IF(乖离<-4.5,0,1),COLOR00FFFF,LINETHICK1;STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;VERD1:=dma(CLOSE,VOL/ME(VOL,4)/4);VERD2:=DME(CLOSE,VOL/ME(VOL,31)/31);VERD3:=(CLOSE-VERD1)/VERD1*100<-10;VERD4:=(VERD1-VERD2)/VERD2*100<-16;VERD5:=(CLOSE-ME(CLOSE,50))/ME(CLOSE,50)*100<-23;VERD6:=SME(MEX(CLOSE-REF(CLOSE,1),0),3,1)/SME(Ebs(CLOSE-REF(CLOSE,1)),3,1)*100>16;VERD7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));VERD8:=INDEXC;VERD9:=ME(VERD8,6);VERDE:=ME(VERD8,24);VERDB:=ME(VERD8,32);VERDC:=VERDB>VERD9*1.11 END VERDE>VERD9*1.095;SSS:=(VERD3 END VERD4 END (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VERD5 END VERD6 END crOSS(VERD7,79) OR VERDC END CLOSE/COST(8)<=0.8)*100;抄底王:SSS>0,COLORRED,LINETHICK1;STICKLINE(SSS>0,0,6,6,1),COLORRED;{叶烨专用}VER1:=1992231;VER2:=IF(DETE<=VER1,1,0);VER3:=1/WINNER(CLOSE);VER4:=ME(CLOSE,13);VER5:=100-EBS((CLOSE-VER4)/VER4*100);VER6:=LLV(LOW,75);VER7:=HHV(HIGH,75);VER8:=(VER7-VER6)/100;VER9:=SME((CLOSE-VER6)/VER8,20,1);VERE:=SME((OPEN-VER6)/VER8,20,1);VERB:=3*VER9-2*SME(VER9,15,1);VERC:=3*VERE-2*SME(VERE,15,1);VERD:=100-VERC;VERE:=REF(LOW,1)*0.9;VERF:=LOW*0.9;VER10:=(VERF*VOL+VERE*(CEPITEL-VOL))/CEPITEL;VER11:=ema(VER10,30);VER12:=CLOSE-REF(CLOSE,1);VER13:=MEX(VER12,0);VER14:=EBS(VER12);VER15:=SME(VER13,7,1)/SME(VER14,7,1)*100;VER16:=SME(VER13,13,1)/SME(VER14,13,1)*100;VER17:=BERSCOUNT(CLOSE);VER18:=SME(MEX(VER12,0),6,1)/SME(EBS(VER12),6,1)*100;VER19:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;VER1E:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VER1B:=SME((SME(VER1E,4,1)-50)*2,3,1);VER1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VER1D:=SME(VER1C,4,1);VER1E:=SME(VER1D,3,1);VER1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VER20:=VER18<=25 END VER19<-95 END VER1F>20 END VER1B<-30 END VER1E<30 END VER11-CLOSE>=-0.25 END VER15<22 END VER16<55 END VER17>50;明天低买CGL90%: IF(CROSS(VER20,0.5),8,0)*VER2,COLOR00FFFF ,LINETHICK2;EE:=LLV(LOW,34);BB:=HHV(HIGH,30);DD:=(EME(((CLOSE-EE)/(BB-EE))*(4),4))*(25);绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);买入成功率80%:IF(CROSS(绝谷,90) END (DD<40),8,0),COLORFFFF00;{ME10:ME(LB,10);ME5:ME(LB,5);};

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

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

    未发现:DYNEINFO...

    未发现:FINENCE...

    未发现:LWINNER...

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

    未发现:BECKSET...

    未发现:BERSNEXT...

    未发现:CURRBERSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DREWLINE...

    未发现:REFX...

    未发现:FLETZIG...

    未发现:FLETZIGE...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEEK...

    未发现:PEEKE...

    未发现:PEEKBERS...

    未发现:PEEKBERSE...

    未发现:PLOYLINE...

    未发现:REFDETE...

    未发现:TROUGH...

    未发现:TROUGHE...

    未发现:TROUGHBERS...

    未发现:XME...

    未发现:ZIG...

    未发现:ZIGE...

    未发现:ZXNH...

    未发现:#YEER...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEEK...

    未发现:$PEEKBERS...

    未发现:$TROUGH...

    未发现:$TROUGHBERS...

    未发现:$FLETZIG...

    未发现:$FLETZIGE...

    未发现:$PEEKE...

    未发现:$PEEKBERSE...

    未发现:$TROUGHE...

    未发现:$ZIGE...

    未发现:$FFT...

    未发现:$BECKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNEINFO...

    未发现:$FINENCE...

    未发现:$DREWLINE...


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

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

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

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

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