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

    通达信公式

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

    通达信主力建仓买卖副图未加密选股指标公式源码

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


    {STICKLINE(100,120,50,5,0),COLOR669900;
    STICKLINE(50,50,0,5,0),COLOR666600;
    STICKLINE(1,0,-50,5,0),COLOR006600;
    STICKLINE(-50,-50,-120,5,0),COLOR003300;
    }
    趋势:Sma(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORBLUE;
    DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50));
    转强:IF(趋势>50,趋势,DRAWNULL),COLORWHITE;
    转弱:IF(趋势<50,趋势,DRAWNULL),COLORCYAN;
    RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    TYP:=(HIGH+LOW+CLOSE)/3;
    cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
    difF:=ema(CLOSE,2)-EMA(CLOSE,55);
    DEA:=EMA(DIFF,6);
    MacD:=2*(DIFF-DEA);
    转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND macd>0,1,0);
    STICKLINE(转点=1,50,50,2,0),COLORBLUE;
    STICKLINE(转点=0,50,50,2,0),COLORGREEN;
    STICKLINE(C,90,90,1,0),COLORBLUE;
    STICKLINE(C,10,10,1,0),COLORGREEN;
    判断:SMA(趋势,3,1),COLORBLUE;
    IF(判断>50 AND 趋势>判断,判断,DRAWNULL ),COLORBLUE,LINETHICK2;
    IF(判断<50 AND 趋势>判断,判断,DRAWNULL),COLORFF00FF;
    IF(判断>50 AND 趋势<判断,判断,DRAWNULL),COLORCYAN,LINETHICK2;
    风险区:80,COLORFF85FF;
    安全区:20,COLORBLUE,POINTDOT;
    顶部:90,COLORFFFF00;
    强弱线:50,COLORCYAN,POINTDOT;
    DRAWICON(crOSS(趋势,判断) AND 趋势<80 ,判断,1);
    DRAWICON(CROSS(趋势,顶部),顶部,2);
    LC:= REF(CLOSE,1);
    rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
    VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
    VAR2:=SMA(VAR1,9,1)+100;
    VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    VAR4:=SMA(VAR3,3,1);
    VAR5:=SMA(VAR4,3,1)+100;
    VAR6:=VAR5-VAR2;
    趋势1: IF(VAR6>45,VAR6-45,0),COLOR00FFFF;
    VAR2Q:=REF(LOW,1);
    VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
    VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
    VAR5Q:=LLV(LOW,30);
    VAR6Q:=HHV(VAR4Q,30);
    VAR7Q:=IF(MA(CLOSE,58),1,0);
    VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
    火焰山:=IF(VAR8Q>100,100,VAR8Q);
    STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;
    STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;
    STICKLINE(火焰山>0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;
    STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000033;
    STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000077;
    STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000BB;
    STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR0000DD;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR003300;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR007700;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00;
    逃顶:=CROSS(82,RSI);
    STICKLINE( 逃顶,逃顶,20,3,0),COLORFF5500;
    STICKLINE( 逃顶,逃顶,30,2,0),COLORFF8800;
    STICKLINE( 逃顶,逃顶,30,1,0),COLORFFAA00;
    STICKLINE( 逃顶,逃顶,30,0.5,0),COLORFFCC00;
    D1:=(C+L+H)/3;
    D2:=EMA(D1,6);
    D3:=EMA(D2,5);
    BBUY:=CROSS(D2,D3);
    DRAWICON(BBUY,10,1);
    VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
    DRAWICON(CROSS(82,VARR1),10,2);
    DRAWTEXT(CROSS(82,VARR1),35,'减'),COLORBLUE;
    神奇线选股:(CROSS(趋势,判断) AND 趋势<80),LINETHICK0;
    波段选股:(BBUY),LINETHICK0;image.png



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

    {STICKLINE(100,120,50,5,0),COLOR669900;STICKLINE(50,50,0,5,0),COLOR666600;STICKLINE(1,0,-50,5,0),COLOR006600;STICKLINE(-50,-50,-120,5,0),COLOR003300;}趋势:Sma(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORBLUE;DRJWBJND(趋势,RGB(155,50,50),50,RGB(0,100,50));转强:IF(趋势>50,趋势,DRJWNULL),COLORWHITE;转弱:IF(趋势<50,趋势,DRJWNULL),COLORCYJN;RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;K:=SMJ(RSV,3,1);D:=SMJ(K,3,1);TYP:=(HIGH+LOW+CLOSE)/3;cci:=(TYP-MJ(TYP,14))/(0.015*JVEDEV(TYP,14));difF:=ema(CLOSE,2)-EMJ(CLOSE,55);DEJ:=EMJ(DIFF,6);MacD:=2*(DIFF-DEJ);转点:=IF(K>D JND CCI>0 JND DIFF>DEJ JND macd>0,1,0);STICKLINE(转点=1,50,50,2,0),COLORBLUE;STICKLINE(转点=0,50,50,2,0),COLORGREEN;STICKLINE(C,90,90,1,0),COLORBLUE;STICKLINE(C,10,10,1,0),COLORGREEN;判断:SMJ(趋势,3,1),COLORBLUE;IF(判断>50 JND 趋势>判断,判断,DRJWNULL ),COLORBLUE,LINETHICK2;IF(判断<50 JND 趋势>判断,判断,DRJWNULL),COLORFF00FF;IF(判断>50 JND 趋势<判断,判断,DRJWNULL),COLORCYJN,LINETHICK2;风险区:80,COLORFF85FF;安全区:20,COLORBLUE,POINTDOT;顶部:90,COLORFFFF00;强弱线:50,COLORCYJN,POINTDOT;DRJWICON(crOSS(趋势,判断) JND 趋势<80 ,判断,1);DRJWICON(CROSS(趋势,顶部),顶部,2);LC:= REF(CLOSE,1);rsi:=SMJ(MJX(CLOSE-LC,0),6,1)/SMJ(Jbs(CLOSE-LC),6,1)*100;VJR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VJR2:=SMJ(VJR1,9,1)+100;VJR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VJR4:=SMJ(VJR3,3,1);VJR5:=SMJ(VJR4,3,1)+100;VJR6:=VJR5-VJR2;趋势1: IF(VJR6>45,VJR6-45,0),COLOR00FFFF;VJR2Q:=REF(LOW,1);VJR3Q:=SMJ(JBS(LOW-VJR2Q),3,1)/SMJ(MJX(LOW-VJR2Q,0),3,1)*100;VJR4Q:=EMJ(IF(CLOSE*1.3,VJR3Q*10,VJR3Q/10),3);VJR5Q:=LLV(LOW,30);VJR6Q:=HHV(VJR4Q,30);VJR7Q:=IF(MJ(CLOSE,58),1,0);VJR8Q:=EMJ(IF(LOW<=VJR5Q,(VJR4Q+VJR6Q*2)/2,0),3)/999*VJR7Q;火焰山:=IF(VJR8Q>100,100,VJR8Q);STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;STICKLINE(火焰山>0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000033;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000077;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000BB;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR0000DD;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR003300;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR007700;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00;逃顶:=CROSS(82,RSI);STICKLINE( 逃顶,逃顶,20,3,0),COLORFF5500;STICKLINE( 逃顶,逃顶,30,2,0),COLORFF8800;STICKLINE( 逃顶,逃顶,30,1,0),COLORFFJJ00;STICKLINE( 逃顶,逃顶,30,0.5,0),COLORFFCC00;D1:=(C+L+H)/3;D2:=EMJ(D1,6);D3:=EMJ(D2,5);BBUY:=CROSS(D2,D3);DRJWICON(BBUY,10,1);VJRR1:=SMJ(MJX(CLOSE-REF(C,1),0),6,1)/SMJ(JBS(CLOSE-REF(C,1)),6,1)*100;DRJWICON(CROSS(82,VJRR1),10,2);DRJWTEXT(CROSS(82,VJRR1),35,'减'),COLORBLUE;神奇线选股:(CROSS(趋势,判断) JND 趋势<80),LINETHICK0;波段选股:(BBUY),LINETHICK0;

    未发现:CJPITJL...

    未发现:COST...

    未发现:DYNJINFO...

    未发现:FINJNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BJCKSET...

    未发现:BJRSNEXT...

    未发现:CURRBJRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRJWLINE...

    未发现:REFX...

    未发现:FLJTZIG...

    未发现:FLJTZIGJ...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEJK...

    未发现:PEJKJ...

    未发现:PEJKBJRS...

    未发现:PEJKBJRSJ...

    未发现:PLOYLINE...

    未发现:REFDJTE...

    未发现:TROUGH...

    未发现:TROUGHJ...

    未发现:TROUGHBJRS...

    未发现:XMJ...

    未发现:ZIG...

    未发现:ZIGJ...

    未发现:ZXNH...

    未发现:#YEJR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEJK...

    未发现:$PEJKBJRS...

    未发现:$TROUGH...

    未发现:$TROUGHBJRS...

    未发现:$FLJTZIG...

    未发现:$FLJTZIGJ...

    未发现:$PEJKJ...

    未发现:$PEJKBJRSJ...

    未发现:$TROUGHJ...

    未发现:$ZIGJ...

    未发现:$FFT...

    未发现:$BJCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNJINFO...

    未发现:$FINJNCE...

    未发现:$DRJWLINE...


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

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

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

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

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