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

    通达信公式

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

    通达信神仙脚详解附图未加密选股指标公式源码

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

    N:=6;
    VAR1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*1000-700;
    VAR2:=Sma(VAR1,N,1)+100;
    VAR3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10000;
    VAR4:=SMA(VAR3,3,1);
    VAR5:=SMA(VAR4,3,1)+100;
    VAR6:=VAR5-VAR2;
    DDDD:= IF(VAR6>100,VAR6-100,0);
    STICKLINE(REF(DDDD,1)<DDDD,DDDD,REF(DDDD,1),8,0),COLORWHITE;
    STICKLINE(REF(DDDD,1)>DDDD,DDDD,REF(DDDD,1),8,0),COLORGREEN;
    低吸:IF(crOSS(rsi,11),8000,0),COLORFF9900,LINETHICK3;
    STICKLINE(低吸,6000,0,3,0),COLORFF9900;
    DRAWTEXT(低吸,8500,'低吸!') ,COLORRED;
    VAR7:=ema(AMOUNT/vol/100,3);
    VAR8:=EMA(VAR7,88);
    VAR9:=EMA(VAR7,88)*0.85;
    VARA:=VAR9*0.87;
    VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;
    STICKLINE(FILTER(VARB,6),1500,0,7,0),COLORWHITE;
    坚决买进:IF(FILTER(VARB,6),2000,0),COLORGREEN,LINETHICK3;
    VAR1R:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
    VAR2R:=SMA(VAR1R,3,1);
    VAR3R:=SMA(VAR2R,3,1)*VAR1R,LINETHICK2,COLORWHITE;
    VAR4R:=SMA(VAR3R,3,1),LINETHICK2,COLOR0099FF;
    VAR9R:=CROSS(VAR4R,VAR3R) AND VAR3R>80;
    STICKLINE(VAR9R,VAR3R-5,100,1,0),LINETHICK2,COLORBLUE;
    HL99 := MA(COST(99 ),5);{获利99}
    HL80:=MA(COST(80),5);{获利80}
    HL20:=MA(COST(20),5);{获利20}
    A5:=(HL99-HL80)/HL80*100;
    A6:=(HL80-HL20)/HL20*100;
    A8:=IF(A6<10 ,10000 ,0 );
    A9:=IF(A6<15 ,5000 ,0 );
    A10:=IF(A6<20 ,2500 ,0 );
    高密集:A8,COLORFF1493,LINETHICK2;
    中密集:A9,COLORRED,LINETHICK2;
    低密集:A10,COLORC187FF,LINETHICK2;
    VARF:=(2*CLOSE+HIGH+LOW)/4;
    VA4:=LLV(LOW,34);
    VA5:=HHV(HIGH,34);
    VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
    VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
    出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
    CLOSE>OPEN,1,0),5000,0),COLORWHITE,POINTDOT;
    STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND
    REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),5000,0,3,0),COLORWHITE;
    A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
    +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
    +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
    REF(A,20))/211;
    D2:=EMA(D1,2);
    D3:=EMA(D2,2);
    K1:=EMA(D3,2);
    波段买入:IF(CROSS(D1,K1),2500,0),COLOR0099FF,POINTDOT;
    STICKLINE(CROSS(D1,K1),2500,0,3,0),COLOR0099FF;
    多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
    -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
    -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
    ,3,1),2,1);
    天线:=7500.8900;
    STICKLINE(CROSS(天线,多方趋势),7500,8900,6,0),COLOR00FF00;
    DRAWTEXT(CROSS(天线,多方趋势),8000,'卖吧!别贪了!') ,COLORRED;
    DRAWICON(CROSS(天线,多方趋势),8000,5);
    VARL:=TROUGHBARS(3,15,1)<10;
    VARK:=PEAKBARS(3,15,1)<10;
    VARJ:=IF(VARL=1,5000,0);
    VARH:=IF(VARK=1,5000,0);
    底部:=IF(VARJ=5000,1000,0);
    多头能量:0,COLORRED,LINETHICK2;
    神仙脚买入:IF(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,5000,0),COLORFFFF00,LINETHICK3;
    DRAWTEXT(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,7000,'神仙脚买入')COLORGREEN;
    买入延迟线:底部,LINETHICK3 ,COLOR00CCFF;
    VARQ:=LLV(LOW,3)<=LLV(LOW,240);
    VARW:= C>O AND (C/O>1.08 OR C>=1.08*REF(C,1));
    绝地反击:IF(VARQ AND VARW,2500,0),COLORBLUE,LINETHICK2;
    吸货线:1500,POINTDOT,LINETHICK5,COLORGREEN;
    DRAWTEXT(ISLASTBAR,1500,'吸货线'),COLORFF9900;
    强弱分界线:5000,POINTDOT,LINETHICK5,COLOR70DB93;
    DRAWTEXT(ISLASTBAR,5000,'强弱分界'),COLOR70DB93;
    卖股线:8000,POINTDOT,LINETHICK5,COLORGREEN;
    DRAWTEXT(ISLASTBAR,8000,'卖股线'),COLORBLUE;
    DRAWTEXT(FILTER(VARB,6),4000,'买吧!别等了!'),COLORBLUE;
    DRAWTEXT(VAR9R AND COUNT(VAR9R,10)=1,VAR3R-15,'庄逃了!'),LINETHICK2,COLORREDimage.png;



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

    N:=6;VAR1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*1000-700;VAR2:=Sma(VAR1,N,1)+100;VAR3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10000;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;DDDD:= IF(VAR6>100,VAR6-100,0);STICKLINE(REF(DDDD,1)<DDDD,DDDD,REF(DDDD,1),8,0),COLORWHITE;STICKLINE(REF(DDDD,1)>DDDD,DDDD,REF(DDDD,1),8,0),COLORGREEN;低吸:IF(crOSS(rsi,11),8000,0),COLORFF9900,LINETHICK3;STICKLINE(低吸,6000,0,3,0),COLORFF9900;DRAWTEXT(低吸,8500,'低吸!') ,COLORRED;VAR7:=ema(AMOUNT/vol/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;STICKLINE(FILTER(VARB,6),1500,0,7,0),COLORWHITE;坚决买进:IF(FILTER(VARB,6),2000,0),COLORGREEN,LINETHICK3;VAR1R:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2R:=SMA(VAR1R,3,1);VAR3R:=SMA(VAR2R,3,1)*VAR1R,LINETHICK2,COLORWHITE;VAR4R:=SMA(VAR3R,3,1),LINETHICK2,COLOR0099FF;VAR9R:=CROSS(VAR4R,VAR3R) AND VAR3R>80;STICKLINE(VAR9R,VAR3R-5,100,1,0),LINETHICK2,COLORBLUE;HL99 := MA(COST(99 ),5);{获利99}HL80:=MA(COST(80),5);{获利80}HL20:=MA(COST(20),5);{获利20}A5:=(HL99-HL80)/HL80*100;A6:=(HL80-HL20)/HL20*100;A8:=IF(A6<10 ,10000 ,0 );A9:=IF(A6<15 ,5000 ,0 );A10:=IF(A6<20 ,2500 ,0 );高密集:A8,COLORFF1493,LINETHICK2;中密集:A9,COLORRED,LINETHICK2;低密集:A10,COLORC187FF,LINETHICK2;VARF:=(2*CLOSE+HIGH+LOW)/4;VA4:=LLV(LOW,34);VA5:=HHV(HIGH,34);VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) ANDCLOSE>OPEN,1,0),5000,0),COLORWHITE,POINTDOT;STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) ANDREF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),5000,0,3,0),COLORWHITE;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);波段买入:IF(CROSS(D1,K1),2500,0),COLOR0099FF,POINTDOT;STICKLINE(CROSS(D1,K1),2500,0,3,0),COLOR0099FF;多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);天线:=7500.8900;STICKLINE(CROSS(天线,多方趋势),7500,8900,6,0),COLOR00FF00;DRAWTEXT(CROSS(天线,多方趋势),8000,'卖吧!别贪了!') ,COLORRED;DRAWICON(CROSS(天线,多方趋势),8000,5);VARL:=TROUGHBARS(3,15,1)<10;VARK:=PEAKBARS(3,15,1)<10;VARJ:=IF(VARL=1,5000,0);VARH:=IF(VARK=1,5000,0);底部:=IF(VARJ=5000,1000,0);多头能量:0,COLORRED,LINETHICK2;神仙脚买入:IF(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,5000,0),COLORFFFF00,LINETHICK3;DRAWTEXT(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,7000,'神仙脚买入')COLORGREEN;买入延迟线:底部,LINETHICK3 ,COLOR00CCFF;VARQ:=LLV(LOW,3)<=LLV(LOW,240);VARW:= C>O AND (C/O>1.08 OR C>=1.08*REF(C,1));绝地反击:IF(VARQ AND VARW,2500,0),COLORBLUE,LINETHICK2;吸货线:1500,POINTDOT,LINETHICK5,COLORGREEN;DRAWTEXT(ISLASTBAR,1500,'吸货线'),COLORFF9900;强弱分界线:5000,POINTDOT,LINETHICK5,COLOR70DB93;DRAWTEXT(ISLASTBAR,5000,'强弱分界'),COLOR70DB93;卖股线:8000,POINTDOT,LINETHICK5,COLORGREEN;DRAWTEXT(ISLASTBAR,8000,'卖股线'),COLORBLUE;DRAWTEXT(FILTER(VARB,6),4000,'买吧!别等了!'),COLORBLUE; DRAWTEXT(VAR9R AND COUNT(VAR9R,10)=1,VAR3R-15,'庄逃了!'),LINETHICK2,COLORRED;

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