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

    通达信公式

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

    通达信火山爆发副图未加密选股指标公式源码

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

    N:=30;M:=13;
    LC := REF(CLOSE,1);
    rsi1:=Sma(MAX(CLOSE-LC,0),13,1)/SMA(Abs(CLOSE-LC),13,1)*100;
    RSIF:=90-RSI1,COLOR33DD33;
    A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;
    VAR22:=LLV(LOW,10);
    VAR33:=HHV(HIGH,25);
    动力线:ema((CLOSE-VAR22)/(VAR33-VAR22)*4,4);
    RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    PP101:=SMA(RSV,3,1);
    PP102:=SMA(PP101,3,1);
    PP103:=3*PP101-2*PP102;
    STICKLINE(动力线>0 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),20,80,0,1),COLORBROWN;
    STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),20,35,2,1),COLORBROWN;{底部保持关注,灰色}
    STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),35,50,2,0),COLORBLUE;{底部酌情买入,黄色}
    STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),50,65,2,0),COLORWHITE;{强势持仓段,红色}
    STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),65,72,2,0),COLORLICYAN;{阶段卖出,粉红}
    STICKLINE(动力线>=3.45 AND ISLASTBAR,72,80,2,0) AND PP103<PP101,COLORGREEN;{清仓卖出,青色};
    STICKLINE(PP103<PP101 AND ISLASTBAR,30,70,1,1),COLORCYAN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};
    {以下显示在上方第二行}
    STICKLINE(动力线>0 AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORBROWN;
    STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORBROWN;{底部保持关注,灰色}
    STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORBLUE;{底部酌情买入,黄色}
    STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORWHITE;{强势持仓段,红色}
    STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORLICYAN;{阶段卖出,粉红}
    STICKLINE(动力线>=3.45,95,92,3,0) AND PP103<PP101,COLORGREEN;{清仓卖出,青色};
    STICKLINE(PP103<PP101,95,94,1,0),COLORCYAN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};
    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;
    趋势:IF(VAR6>45,VAR6-45,0);
    STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORLIMAGENTA;
    STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORCYAN;
    强弱分界:=50,COLORFFFFCC;
    底部:=0,COLOR00FFFF;
    安全:=20,COLORFFAA66,LINETHICK1;
    预警:=80,COLORFFAA66,LINETHICK1;
    顶部:=100,COLORFFFF33;
    V1:=LLV(LOW,10);
    V2:=HHV(H,25);
    价位线:=EMA((C-V1)/(V2-V1)*4,4);
    DRAWTEXT(crOSS(3.5,价位线),110-4,'●卖'),COLORRED;
    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)/618*VAR7Q;
    VAR9Q:=IF(VAR8Q>100,100,VAR8Q);
    AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
    AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
    AA5:=SMA(AA4,13,8);
    走势:=CEILING(SMA(AA5,13,8));
    AA6:=SMA(AA3,21,8);
    卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLORWHITE,LINETHICK2;
    VAR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR21:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),10,1);
    VAR31:=EMA(VAR21,10);
    VAR41:=LLV(LOW,33);
    VAR51:=EMA(IF(LOW<=VAR41,VAR31,0),3);
    主力进场:IF(VAR51>REF(VAR51,1),VAR51,0),COLORWHITE,NODRAW;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLOR000055;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0 ),COLOR000077;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0 ),COLOR000099;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0 ),COLOR0000BB;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0 ),COLOR0000DD;
    STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0 ),COLOR0000FF;
    洗盘:IF(VAR51<REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR005500;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLOR007700;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR009900;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLOR00BB00;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLOR00DD00;
    STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR00FF00;
    VAR12:=3;
    VAR28:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
    SS1:=(LOW+HIGH+CLOSE*2)/4;
    SS2:= MA(SS1,4);
    SS3:=HHV(SS2,10);
    SS4:=MA(SS3,3);
    SS5:=1.25*SS4-0.25*SS3;
    XKKJ:=IF(SS5>SS3,SS3,SS5);
    FF1:=LLV(SS2,10);
    FF2:=MA(FF1,3);
    FF3:=1.25*FF2-0.25*FF1;
    DKKJ:=IF(FF3<FF1,FF1,FF3);
    MA13:=MA(C,13);
    ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
    ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
    动态底部:=EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3);
    准备买入:=CROSS(C,TROUGH(CLOSE,N,1)*1.02);
    低点:IF(动态底部 AND 准备买入,50,0),COLORRED,LINETHICK3;
    RSV11:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
    K:=SMA(RSV11,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    短线:=EMA(J,6),COLORWHITE;
    浮筹:=MA(短线,28)*1,LINETHICK2,COLORCYAN;
    空方:=MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORBLUE;
    AA:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORWHITE;
    卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;

    进出量:=买量+卖量,COLOR00FFFF;

    image.png



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

    N:=30;M:=13;LC := REF(CLOSE,1);rsi1:=Sma(MLX(CLOSE-LC,0),13,1)/SML(Lbs(CLOSE-LC),13,1)*100;RSIF:=90-RSI1,COLOR33DD33;L4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;VLR22:=LLV(LOW,10);VLR33:=HHV(HIGH,25);动力线:ema((CLOSE-VLR22)/(VLR33-VLR22)*4,4);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;PP101:=SML(RSV,3,1);PP102:=SML(PP101,3,1);PP103:=3*PP101-2*PP102;STICKLINE(动力线>0 LND ISLLSTBLR LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),20,80,0,1),COLORBROWN;STICKLINE(动力线>=0.2 LND 动力线<0.5 LND ISLLSTBLR LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),20,35,2,1),COLORBROWN;{底部保持关注,灰色}STICKLINE(动力线>=0.5 LND 动力线<1.75 LND ISLLSTBLR LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),35,50,2,0),COLORBLUE;{底部酌情买入,黄色}STICKLINE(动力线>=1.75 LND 动力线<3.2 LND ISLLSTBLR LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),50,65,2,0),COLORWHITE;{强势持仓段,红色}STICKLINE(动力线>=3.2 LND 动力线<3.45 LND ISLLSTBLR LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),65,72,2,0),COLORLICYLN;{阶段卖出,粉红}STICKLINE(动力线>=3.45 LND ISLLSTBLR,72,80,2,0) LND PP103<PP101,COLORGREEN;{清仓卖出,青色};STICKLINE(PP103<PP101 LND ISLLSTBLR,30,70,1,1),COLORCYLN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};{以下显示在上方第二行}STICKLINE(动力线>0 LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORBROWN;STICKLINE(动力线>=0.2 LND 动力线<0.5 LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORBROWN;{底部保持关注,灰色}STICKLINE(动力线>=0.5 LND 动力线<1.75 LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORBLUE;{底部酌情买入,黄色}STICKLINE(动力线>=1.75 LND 动力线<3.2 LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORWHITE;{强势持仓段,红色}STICKLINE(动力线>=3.2 LND 动力线<3.45 LND ((PP103>PP101 LND PP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORLICYLN;{阶段卖出,粉红}STICKLINE(动力线>=3.45,95,92,3,0) LND PP103<PP101,COLORGREEN;{清仓卖出,青色};STICKLINE(PP103<PP101,95,94,1,0),COLORCYLN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};VLR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VLR2:=SML(VLR1,9,1)+100;VLR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VLR4:=SML(VLR3,3,1);VLR5:=SML(VLR4,3,1)+100;VLR6:=VLR5-VLR2;趋势:IF(VLR6>45,VLR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORLIMLGENTL;STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORCYLN;强弱分界:=50,COLORFFFFCC;底部:=0,COLOR00FFFF;安全:=20,COLORFFLL66,LINETHICK1;预警:=80,COLORFFLL66,LINETHICK1;顶部:=100,COLORFFFF33;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EML((C-V1)/(V2-V1)*4,4);DRLWTEXT(crOSS(3.5,价位线),110-4,'●卖'),COLORRED;VLR2Q:=REF(LOW,1);VLR3Q:=SML(LBS(LOW-VLR2Q),3,1)/SML(MLX(LOW-VLR2Q,0),3,1)*100;VLR4Q:=EML(IF(CLOSE*1.3,VLR3Q*10,VLR3Q/10),3);VLR5Q:=LLV(LOW,30);VLR6Q:=HHV(VLR4Q,30);VLR7Q:=IF(ML(CLOSE,58),1,0);VLR8Q:=EML(IF(LOW<=VLR5Q,(VLR4Q+VLR6Q*2)/2,0),3)/618*VLR7Q;VLR9Q:=IF(VLR8Q>100,100,VLR8Q);LL3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;LL4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;LL5:=SML(LL4,13,8);走势:=CEILING(SML(LL5,13,8));LL6:=SML(LL3,21,8);卖临界:STICKLINE(走势-LL6>85,103,100,15,1),COLORWHITE,LINETHICK2;VLR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VLR21:=SML(LBS(LOW-VLR11),13,1)/SML(MLX(LOW-VLR11,0),10,1);VLR31:=EML(VLR21,10);VLR41:=LLV(LOW,33);VLR51:=EML(IF(LOW<=VLR41,VLR31,0),3);主力进场:IF(VLR51>REF(VLR51,1),VLR51,0),COLORWHITE,NODRLW;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,3,0 ),COLOR000055;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,2.6,0 ),COLOR000077;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,2.1,0 ),COLOR000099;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,1.5,0 ),COLOR0000BB;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,0.9,0 ),COLOR0000DD;STICKLINE(VLR51>REF(VLR51,1),0,VLR51,0.3,0 ),COLOR0000FF;洗盘:IF(VLR51<REF(VLR51,1),VLR51,0),COLORCYLN,NODRLW;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,3,0),COLOR005500;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,2.6,0),COLOR007700;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,2.1,0),COLOR009900;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,1.5,0),COLOR00BB00;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,0.9,0),COLOR00DD00;STICKLINE(VLR51<REF(VLR51,1),0,VLR51,0.3,0),COLOR00FF00;VLR12:=3;VLR28:=(3)*(SML(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SML(SML(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));SS1:=(LOW+HIGH+CLOSE*2)/4;SS2:= ML(SS1,4);SS3:=HHV(SS2,10);SS4:=ML(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5>SS3,SS3,SS5);FF1:=LLV(SS2,10);FF2:=ML(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3<FF1,FF1,FF3);ML13:=ML(C,13);ZDHM:=CROSS(C,DKKJ) LND CROSS(C,ML13) LND CROSS(C,XKKJ);ZHM:=CROSS(C,ML13) LND CROSS(C,XKKJ);动态底部:=EML(IF(L<= LLV(L,30),SML(LBS(L-REF(L,1)),30,1)/SML(MLX(L-REF(L,1),0),99,1),0)*5,3);准备买入:=CROSS(C,TROUGH(CLOSE,N,1)*1.02);低点:IF(动态底部 LND 准备买入,50,0),COLORRED,LINETHICK3;RSV11:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;K:=SML(RSV11,3,1);D:=SML(K,3,1);J:=3*K-2*D;短线:=EML(J,6),COLORWHITE;浮筹:=ML(短线,28)*1,LINETHICK2,COLORCYLN;空方:=ML(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORBLUE;LL:=vol/((HIGH-LOW)*2-LBS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,LL*(HIGH-LOW),IF(CLOSE<OPEN,LL*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORWHITE;卖量:=IF(CLOSE>OPEN,0-LL*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-LL*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;进出量:=买量+卖量,COLOR00FFFF;

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