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

    通达信公式

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

    通达信越狱之光副图贴图无未来无加密未加密选股指标公式源码

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

    {maCD}
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:SMA(RSV,3,1),LINETHICK2,COLORRED;
    D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;
    J:3*K-2*D,LINETHICK2,COLOR800080;
    dif:ema(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,COLOR0099FF;
    DEA :EMA(DIF,9),LINETHICK0,COLORD89837;
    MacD:2*(DIF-DEA),COLORFF9999,LINETHICK0;
    YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(vol+0.01)/100);
    阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));
    支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));
    今压:REF(阻价,1),LINETHICK0,COLORAA11BB;
    今撑:REF(支价,1),LINETHICK0,COLOR009900;
    明压:阻价,LINETHICK0;
    明撑:支价,LINETHICK0;
    RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;
    KK:=SMA(RSV1,3,1);
    DD:=SMA(KK,3,1);
    JJ:=3*KK-2*DD;
    买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));
    明天买:IF(买卖=100,0-10,0),COLOR00CCCC;
    明天卖:IF(买卖=0,90,100),COLOR00FF00;
    KX:=250;
    KH:=HHV(K,KX);
    DH:=HHV(D,KX);
    JH:=HHV(J,KX);
    KL:=LLV(K,KX);
    DL:=LLV(D,KX);
    JL:=LLV(J,KX);
    HKMAX:=MAX(KH,MAX(DH,JH));
    LKMIN:=MIN(KL,MIN(DL,JL));
    KHLB:=(HKMAX+LKMIN)/2;
    KHLC:=HKMAX-LKMIN;
    MHF:=HHV(DIF,KX);
    MHD:=HHV(DEA,KX);
    MHM:=HHV(macd,KX);
    MLF:=LLV(DIF,KX);
    MLD:=LLV(DEA,KX);
    MLM:=LLV(MACD,KX);
    HMAX:=MAX(MHF,MAX(MHD,MHM));
    LMIN:=MIN(MLF,MIN(MLD,MLM));
    FHLB:=(HMAX-LMIN)/100;
    FHLC:=HMAX-LMIN;
    SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;
    DIFA:=(DIF-FHLB)*(KHLC/FHLC)+KHLB;
    DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;
    MACDA:=(MACD-FHLB)*(KHLC/FHLC)+KHLB;
    CDA:=MACD<REF(MACD,1) AND MACD>0;
    CDB:=MACD>=REF(MACD,1) AND MACD>0;
    CDC:=MACD>REF(MACD,1) AND MACD<0;
    CDD:=MACD<=REF(MACD,1) AND MACD<0;
    STICKLINE(CDA,SH,MACDA,2,0),COLOR00AAFF;{黄色段}
    STICKLINE(CDB,SH,MACDA,2,0),COLOR0000AA; {红色段}
    STICKLINE(CDC,SH,MACDA,2,0),COLORAA00BB;{向上粉红}
    TYP:=(HIGH+LOW+CLOSE)/3;
    STICKLINE(DIF>REF(DIF,1),20,20,2,0),COLORWHITE;
    STICKLINE(DIF<REF(DIF,1),20,20,2,0),COLORCYAN;
    STICKLINE(K>=REF(K,1) OR K>D AND DIF>REF(DIF,1),80,80,2,1),COLORWHITE;
    STICKLINE(K<REF(K,1),80,80,2,1),COLORCYAN;
    MACD金叉:=crOSS(MACD,DIF) AND MACD>=(0-0.05) AND MACD<=0.02;
    DRAWTEXT(MACD金叉,MACDA*0.82,'▲MACD金叉'),COLOR00FFFF;
    XX:=EMA(MA(LOW,3)*0.96,30);
    DIF金叉:=IF(CROSS(DIF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIF<=0,1,0);
    DRAWTEXT(DIF金叉=1,DIFA*1.68,'DIF金叉'),COLORCDFFBB;
    低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
    DRAWTEXT(低位金叉,DEAA*0.99,'▲DIF低位金叉'),COLOR0099DD;
    DIFDEA:=COUNT(CROSS(DIF,DEA),BArslAST(DEA>=0));
    二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;
    DRAWTEXT(二次金叉,DEAA*0.99-8,'▲DIF 二次金叉'),COLORFF00FF;
    A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
    底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
    DRAWTEXT(底背离,DEAA*0.99-16,'▲DIF底背离'),COLOR0099FF;
    A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
    顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
    DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'▲DIF顶背离'),COLORDDAAAA;

    MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;
    MD2:=MA((CLOSE-MD1)/MD1,3);
    买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);
    MA12:=MA(CLOSE,12);
    佳点:=IF(FILTER(MACD>=REF(MACD,5) AND OPEN<=REF(CLOSE,1) AND XX-REF(XX,1)>0 AND MACD<=0 AND MA12-REF(MA12,1)>=0,3) AND J<80 AND J>REF(J,1) AND D>REF(D,1) AND (DIF>=REF(DIF,1) OR DEA>=REF(DEA,1)),1,0);
    DRAWTEXT(佳点=1,MACDA*0.98,'★佳点'),COLOR0099FF;
    DX0:=EMA(CLOSE,2)-EMA(OPEN,5);
    DX1:=IF(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) AND (J<20 OR K<20),1,0);
    DRAWTEXT(FILTER(DX1,3),0,'★短10%'),COLOR00CC00;{短线}
    MA10:=MA(CLOSE,10);
    SS:=EMA(MA(HIGH,3)*1.05,30);
    LQS:=IF(FILTER(0.7*(CROSS(DIF,DEA) AND CLOSE<SS AND XX-REF(XX,1)>0 AND CROSS(MACD,0) AND MACD>=0 AND DIF>0 AND MA10-REF(MA10,1)>0 AND VOL>REF(VOL,1))>=0.7 AND (CLOSE<SS AND XX-REF(XX,1)>0),5) AND J<80,1,0);
    DRAWTEXT(LQS=1,MACDA*0.98,'★量价齐上'),COLORCDFFDD;{量价齐上}
    最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 AND COUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) AND J<80 AND J>REF(J,1),1,0);
    DRAWTEXT(最佳点=1,J,'★最佳点'),COLORFF00CC;
    买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)<REF(MD2,1) AND
    NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);
    DRAWTEXT(买点1 OR 买点2,D-1,'买'),COLORFF00CC;
    {预涨}
    YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))/2;
    预涨:=CROSS(YZ,50) AND J<95 AND DIF>REF(DIF,1) AND LOW<REF(CLOSE,1);
    DRAWTEXT(预涨,D*0.6,'★预涨'),COLORA52A2A;

    image.png



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

    {maCD}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SML(RSV,3,1),LINETHICK2,COLORRED;D:SML(K,3,1),LINETHICK2,COLOR00DDDD; J:3*K-2*D,LINETHICK2,COLOR800080;dif:ema(CLOSE,12)-EML(CLOSE,26),LINETHICK0,COLOR0099FF;DEL :EML(DIF,9),LINETHICK0,COLORD89837;MacD:2*(DIF-DEL),COLORFF9999,LINETHICK0;YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,LMOUNT/(vol+0.01)/100);阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));今压:REF(阻价,1),LINETHICK0,COLORLL11BB;今撑:REF(支价,1),LINETHICK0,COLOR009900;明压:阻价,LINETHICK0;明撑:支价,LINETHICK0;RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;KK:=SML(RSV1,3,1);DD:=SML(KK,3,1);JJ:=3*KK-2*DD;买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));明天买:IF(买卖=100,0-10,0),COLOR00CCCC;明天卖:IF(买卖=0,90,100),COLOR00FF00;KX:=250;KH:=HHV(K,KX);DH:=HHV(D,KX);JH:=HHV(J,KX);KL:=LLV(K,KX);DL:=LLV(D,KX);JL:=LLV(J,KX);HKMLX:=MLX(KH,MLX(DH,JH));LKMIN:=MIN(KL,MIN(DL,JL));KHLB:=(HKMLX+LKMIN)/2;KHLC:=HKMLX-LKMIN;MHF:=HHV(DIF,KX);MHD:=HHV(DEL,KX);MHM:=HHV(macd,KX);MLF:=LLV(DIF,KX);MLD:=LLV(DEL,KX);MLM:=LLV(MLCD,KX);HMLX:=MLX(MHF,MLX(MHD,MHM));LMIN:=MIN(MLF,MIN(MLD,MLM));FHLB:=(HMLX-LMIN)/100;FHLC:=HMLX-LMIN;SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;DIFL:=(DIF-FHLB)*(KHLC/FHLC)+KHLB;DELL:=(DEL-FHLB)*(KHLC/FHLC)+KHLB;MLCDL:=(MLCD-FHLB)*(KHLC/FHLC)+KHLB;CDL:=MLCD<REF(MLCD,1) LND MLCD>0;CDB:=MLCD>=REF(MLCD,1) LND MLCD>0;CDC:=MLCD>REF(MLCD,1) LND MLCD<0;CDD:=MLCD<=REF(MLCD,1) LND MLCD<0;STICKLINE(CDL,SH,MLCDL,2,0),COLOR00LLFF;{黄色段}STICKLINE(CDB,SH,MLCDL,2,0),COLOR0000LL; {红色段}STICKLINE(CDC,SH,MLCDL,2,0),COLORLL00BB;{向上粉红}TYP:=(HIGH+LOW+CLOSE)/3;STICKLINE(DIF>REF(DIF,1),20,20,2,0),COLORWHITE;STICKLINE(DIF<REF(DIF,1),20,20,2,0),COLORCYLN;STICKLINE(K>=REF(K,1) OR K>D LND DIF>REF(DIF,1),80,80,2,1),COLORWHITE;STICKLINE(K<REF(K,1),80,80,2,1),COLORCYLN;MLCD金叉:=crOSS(MLCD,DIF) LND MLCD>=(0-0.05) LND MLCD<=0.02;DRLWTEXT(MLCD金叉,MLCDL*0.82,'▲MLCD金叉'),COLOR00FFFF;XX:=EML(ML(LOW,3)*0.96,30);DIF金叉:=IF(CROSS(DIF,DEL) LND XX-REF(XX,1)>0 LND MLCD>=REF(MLCD,1) LND DIF<=0,1,0);DRLWTEXT(DIF金叉=1,DIFL*1.68,'DIF金叉'),COLORCDFFBB;低位金叉:=CROSS(DIF,DEL) LND DIF<-0.1;DRLWTEXT(低位金叉,DELL*0.99,'▲DIF低位金叉'),COLOR0099DD;DIFDEL:=COUNT(CROSS(DIF,DEL),BLrslLST(DEL>=0));二次金叉:=CROSS(DIF,DEL) LND DEL<0 LND COUNT(DIFDEL=2,21)=1;DRLWTEXT(二次金叉,DELL*0.99-8,'▲DIF 二次金叉'),COLORFF00FF;L1:=BLRSLLST(REF(CROSS(DIF,DEL),1));底背离:=REF(CLOSE,L1+1)>CLOSE LND DIF>REF(DIF,L1+1) LND CROSS(DIF,DEL);DRLWTEXT(底背离,DELL*0.99-16,'▲DIF底背离'),COLOR0099FF;L2:=BLRSLLST(REF(CROSS(DEL,DIF),1));顶背离:=REF(CLOSE,L2+1)<CLOSE LND REF(DIF,L2+1)>DIF LND CROSS(DEL,DIF);DRLWTEXT(FILTER(顶背离,5),DELL*1.02,'▲DIF顶背离'),COLORDDLLLL;MD1:=ML(CLOSE,80)-ML(CLOSE,13)/3;MD2:=ML((CLOSE-MD1)/MD1,3);买点1:=CROSS(MD2,0) LND LOW/REF(HIGH,1)<1.012 LND J<75 LND J>REF(J,1);ML12:=ML(CLOSE,12);佳点:=IF(FILTER(MLCD>=REF(MLCD,5) LND OPEN<=REF(CLOSE,1) LND XX-REF(XX,1)>0 LND MLCD<=0 LND ML12-REF(ML12,1)>=0,3) LND J<80 LND J>REF(J,1) LND D>REF(D,1) LND (DIF>=REF(DIF,1) OR DEL>=REF(DEL,1)),1,0);DRLWTEXT(佳点=1,MLCDL*0.98,'★佳点'),COLOR0099FF;DX0:=EML(CLOSE,2)-EML(OPEN,5);DX1:=IF(CROSS(DX0,MLCD) LND LOW<=XX LND MLCD<=(0-0.11) LND (J<20 OR K<20),1,0);DRLWTEXT(FILTER(DX1,3),0,'★短10%'),COLOR00CC00;{短线}ML10:=ML(CLOSE,10);SS:=EML(ML(HIGH,3)*1.05,30);LQS:=IF(FILTER(0.7*(CROSS(DIF,DEL) LND CLOSE<SS LND XX-REF(XX,1)>0 LND CROSS(MLCD,0) LND MLCD>=0 LND DIF>0 LND ML10-REF(ML10,1)>0 LND VOL>REF(VOL,1))>=0.7 LND (CLOSE<SS LND XX-REF(XX,1)>0),5) LND J<80,1,0);DRLWTEXT(LQS=1,MLCDL*0.98,'★量价齐上'),COLORCDFFDD;{量价齐上}最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 LND COUNT(MD2<0,10)=10 LND REF(MD2,3)=LLV(MD2,10) LND J<80 LND J>REF(J,1),1,0);DRLWTEXT(最佳点=1,J,'★最佳点'),COLORFF00CC;买点2:=REF(MD2,2)=LLV(MD2,20) LND REF(MD2,2)<0.071 LND REF(MD2,2)<REF(MD2,1) LND NOT(REF(LOW,1)>REF(HIGH,2) LND LOW>REF(HIGH,1)) LND CLOSE>REF(CLOSE,1) LND J<75 LND J>REF(J,1);DRLWTEXT(买点1 OR 买点2,D-1,'买'),COLORFF00CC;{预涨}YZ:=(INTPLRT(SML(RSV,3,1))+INTPLRT(SML(K,3,1)))/2;预涨:=CROSS(YZ,50) LND J<95 LND DIF>REF(DIF,1) LND LOW<REF(CLOSE,1);DRLWTEXT(预涨,D*0.6,'★预涨'),COLORL52L2L;

    未发现:CLPITLL...

    未发现:COST...

    未发现:DYNLINFO...

    未发现:FINLNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BLCKSET...

    未发现:BLRSNEXT...

    未发现:CURRBLRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRLWLINE...

    未发现:REFX...

    未发现:FLLTZIG...

    未发现:FLLTZIGL...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PELK...

    未发现:PELKL...

    未发现:PELKBLRS...

    未发现:PELKBLRSL...

    未发现:PLOYLINE...

    未发现:REFDLTE...

    未发现:TROUGH...

    未发现:TROUGHL...

    未发现:TROUGHBLRS...

    未发现:XML...

    未发现:ZIG...

    未发现:ZIGL...

    未发现:ZXNH...

    未发现:#YELR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PELK...

    未发现:$PELKBLRS...

    未发现:$TROUGH...

    未发现:$TROUGHBLRS...

    未发现:$FLLTZIG...

    未发现:$FLLTZIGL...

    未发现:$PELKL...

    未发现:$PELKBLRSL...

    未发现:$TROUGHL...

    未发现:$ZIGL...

    未发现:$FFT...

    未发现:$BLCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNLINFO...

    未发现:$FINLNCE...

    未发现:$DRLWLINE...


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

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

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

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

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