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

    通达信公式

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

    通达信阴阳双带主图主图未加密选股指标公式源码

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


    DRAWTEXT_FIX(1,0.88,5,0,''),COLORWHITE;
    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    Z4:=STRCAT(Z3,GNBLOCK);
    Z5:=STRCAT(Z4,' ');
    Z6:=STRCAT(Z5,FGBLOCK);
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),LINETHICK1,COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z5,FGBLOCK)),LINETHICK1,COLORBLUE;
    DRAWKLINE(H,O,L,C);
    DRAWNUMBER(ISLASTBAR ,C,C),COLORRED;
    M1:ma(CLOSE,5),COLORRED,LINETHICK1;
    M2:MA(CLOSE,13),COLORBLUE,LINETHICK1;
    M3:=MA(CLOSE,25),POINTDOT,COLORLIMAGENTA,LINETHICK1;
    M4:MA(CLOSE,34),COLORCYAN,LINETHICK1;
    M5:MA(CLOSE,55),COLORLIGREEN,LINETHICK2;
    M6:=MA(CLOSE,108),POINTDOT,COLOR00CC99,LINETHICK1;
    M7:=MA(CLOSE,108),COLOR0000FF,LINETHICK1;
    M8:=MA(CLOSE,181),COLORYELLOW,LINETHICK1;
    YZB:=L=H AND (C+0.005-REF(C,1))/REF(C,1)*100>=10;
    STICKLINE(YZB,REF(C,1),C,2.8,-1),COLORFFEEBB;
    {DRAWBAND(M1,RGB(200,18,11),M2,RGB(2,191,0));
    DRAWBAND(M4,RGB(96,18,21),M5,RGB(2,91,0));}
    STICKLINE(M4>=M5,M4,M5,2,1),COLORFF00FF;
    STICKLINE(M4<M5,M5,M4,2,1),COLOR66FF66;
    STICKLINE(M1>=M2,M1,M2,1,1),COLOR99FFFF;
    STICKLINE(M1<M2,M2,M1,1,1),COLORFF9933;
    {DRAWBAND(M2,RGB(200,18,11),M3,RGB(2,191,0));
    DRAWBAND(M7,RGB(96,18,21),M8,RGB(2,91,0));
    STICKLINE(M7>=M8,M7,M8,0.02,1),COLORFF00FF;
    STICKLINE(M7<M8,M7,M8,0.02,1),COLOR66FF66;
    STICKLINE(M2>=M3,M2,M3,0.02,1),COLOR99FFFF;
    STICKLINE(M2<M3,M3,M2,0.02,1),COLORFF9933; }
    DRAWKLINE(H,O,L,C);
    预警ZK1:=(xma(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,LINETHICK4,COLORCYAN;
    操盘ZD1:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK4,COLORWHITE;
    趋势ZD2:=ema(操盘ZD1,25),LINETHICK4,COLORYELLOW;
    DRAWKLINE(H,O,L,C);
    STICKLINE(操盘ZD1>LOW AND 操盘ZD1<HIGH,操盘ZD1,MIN(MIN(OPEN,CLOSE),操盘ZD1),2,0),COLORBLUE;
    STICKLINE(操盘ZD1>MIN(C,O) AND 操盘ZD1<MAX(C,O),操盘ZD1,MIN(OPEN,CLOSE),2,0),COLORBLUE;
    STICKLINE(操盘ZD1>HIGH,OPEN,CLOSE,2,0),COLORBLUE;
    STICKLINE(操盘ZD1>HIGH,HIGH,LOW,0,0),COLORBLUE;
    VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(Abs((C-REF(C,1))),6),6);
    回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND crOSS(VAR23,MA(VAR23,2));
    XG:=操盘ZD1>HIGH AND 回调买 AND L<=操盘ZD1;
    DRAWTEXT(XG,L-0.3,'▲资金异动▲'),COLOR0033FF;
    JJ:=(HIGH+LOW+CLOSE)/3;
    QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
    QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
    QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
    QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
    QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
    ddx:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
    V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
    V5:=SMA(V2*120/FROMOPEN*5,2,1);
    V10:=SMA(V5,5,1);
    V20:=SMA(V10,5,1);
    DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
    DY2:=REF(V2,1)-DY;
    XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<预警ZK1;
    DRAWTEXT(XG2 AND L<操盘ZD1,L,'-----主力强买'),COLOR0033FF;
    C2:=REF(C,1),NODRAW;
    涨停:=REF(C,1)*1.1-C<0.01 AND H=C,NODRAW;
    STICKLINE(涨停,OPEN,CLOSE,0001,0),COLORBLUE;
    STICKLINE(涨停,H,L,0,0),COLORWHITE;
    跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2) AND L=C,1,0),NODRAW;
    STICKLINE(跌停,OPEN,CLOSE,1,0),COLORYELLOW;
    {DRAWTEXT(涨停,L-0.1,'涨停'),COLORBLUE;
    DRAWTEXT(跌停,H+0.3,'跌停'),COLORCYAN;}
    AA1:=AMOUNT/V;
    BB1:=L<AA1*0.9;
    CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
    DD1:=L<MA(C,5)*0.921;
    EE1:=V<MA(V,5)*1.5;
    FF1:=BB1 AND CC1 AND DD1 AND EE1;
    DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;image.png



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

    DRAWTEXT_FIX(1,0.88,5,0,''),COLORWHITE;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');Z4:=STRCAT(Z3,GNBLOCK);Z5:=STRCAT(Z4,' ');Z6:=STRCAT(Z5,FGBLOCK);DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),LINETHICK1,COLORWHITE;DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z5,FGBLOCK)),LINETHICK1,COLORBLUE; DRAWKLINE(H,O,L,C);DRAWNUMBER(ISLASTBAR ,C,C),COLORRED;M1:ma(CLOSE,5),COLORRED,LINETHICK1;M2:MA(CLOSE,13),COLORBLUE,LINETHICK1;M3:=MA(CLOSE,25),POINTDOT,COLORLIMAGENTA,LINETHICK1;M4:MA(CLOSE,34),COLORCYAN,LINETHICK1;M5:MA(CLOSE,55),COLORLIGREEN,LINETHICK2;M6:=MA(CLOSE,108),POINTDOT,COLOR00CC99,LINETHICK1; M7:=MA(CLOSE,108),COLOR0000FF,LINETHICK1;M8:=MA(CLOSE,181),COLORYELLOW,LINETHICK1;YZB:=L=H AND (C+0.005-REF(C,1))/REF(C,1)*100>=10;STICKLINE(YZB,REF(C,1),C,2.8,-1),COLORFFEEBB;{DRAWBAND(M1,RGB(200,18,11),M2,RGB(2,191,0));DRAWBAND(M4,RGB(96,18,21),M5,RGB(2,91,0));}STICKLINE(M4>=M5,M4,M5,2,1),COLORFF00FF;STICKLINE(M4<M5,M5,M4,2,1),COLOR66FF66; STICKLINE(M1>=M2,M1,M2,1,1),COLOR99FFFF;STICKLINE(M1<M2,M2,M1,1,1),COLORFF9933; {DRAWBAND(M2,RGB(200,18,11),M3,RGB(2,191,0));DRAWBAND(M7,RGB(96,18,21),M8,RGB(2,91,0));STICKLINE(M7>=M8,M7,M8,0.02,1),COLORFF00FF;STICKLINE(M7<M8,M7,M8,0.02,1),COLOR66FF66; STICKLINE(M2>=M3,M2,M3,0.02,1),COLOR99FFFF;STICKLINE(M2<M3,M3,M2,0.02,1),COLORFF9933; }DRAWKLINE(H,O,L,C);预警ZK1:=(xma(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,LINETHICK4,COLORCYAN;操盘ZD1:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK4,COLORWHITE;趋势ZD2:=ema(操盘ZD1,25),LINETHICK4,COLORYELLOW;DRAWKLINE(H,O,L,C);STICKLINE(操盘ZD1>LOW AND 操盘ZD1<HIGH,操盘ZD1,MIN(MIN(OPEN,CLOSE),操盘ZD1),2,0),COLORBLUE;STICKLINE(操盘ZD1>MIN(C,O) AND 操盘ZD1<MAX(C,O),操盘ZD1,MIN(OPEN,CLOSE),2,0),COLORBLUE;STICKLINE(操盘ZD1>HIGH,OPEN,CLOSE,2,0),COLORBLUE;STICKLINE(操盘ZD1>HIGH,HIGH,LOW,0,0),COLORBLUE;VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(Abs((C-REF(C,1))),6),6);回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND crOSS(VAR23,MA(VAR23,2));XG:=操盘ZD1>HIGH AND 回调买 AND L<=操盘ZD1;DRAWTEXT(XG,L-0.3,'▲资金异动▲'),COLOR0033FF;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));ddx:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);DY:=CURRBARSCOUNT=1 AND C<REF(C,1);DY2:=REF(V2,1)-DY;XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<预警ZK1;DRAWTEXT(XG2 AND L<操盘ZD1,L,'-----主力强买'),COLOR0033FF;C2:=REF(C,1),NODRAW;涨停:=REF(C,1)*1.1-C<0.01 AND H=C,NODRAW;STICKLINE(涨停,OPEN,CLOSE,0001,0),COLORBLUE;STICKLINE(涨停,H,L,0,0),COLORWHITE;跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2) AND L=C,1,0),NODRAW;STICKLINE(跌停,OPEN,CLOSE,1,0),COLORYELLOW;{DRAWTEXT(涨停,L-0.1,'涨停'),COLORBLUE;DRAWTEXT(跌停,H+0.3,'跌停'),COLORCYAN;}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;

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