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

    通达信公式

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

    通达信多空转换金叉黑马买点(副图贴图)无未来未加密选股指标公式源码

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

    N:=20;
    VAR01:=Sma(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),15,1);
    VAR02:=HIGH-REF(HIGH,5);
    VAR03:=REF(LOW,5)-LOW;
    JJ:=(HIGH+LOW+CLOSE)/3;
    VAR04:=SMA(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),15,1);
    VAR05:=SMA(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),15,1);
    VAR06:=LLV(LOW,27);
    VAR07:=HHV(HIGH,34);
    VAR08:=ema((CLOSE-VAR06)/(VAR07-VAR06)*4,4)*25;
    VAR09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,
    5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
    做空:VAR05*100/VAR01,COLORLIGREEN;
    提示买入:IF(VAR09<=8,8,0),STICK,COLORRED,LINETHICK2;
    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)));
    VAR10:=MA(C,2)>REF(MA(C,2),1);
    VAR11:=MA(C,10)>MA(C,20);
    VAR12:=(CLOSE*2+HIGH+LOW)/4;
    VAR13:=EMA(VAR12,12)-EMA(VAR12,50);
    VAR14:=EMA(VAR13,2);
    VAR15:=(crOSS(VAR13,VAR14) AND VAR13<-0.04 AND (C-REF(C,1))/REF(C,
    1)>=0.03) OR (CROSS(VAR13,VAR14) AND VAR13<=-0.14 ) OR (CROSS(VAR13,
    VAR14) AND VAR13<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) AND VAR10 AND VAR11;
    STICKLINE(VAR15>0,60,110,2,0),COLORWHITE;
    DRAWTEXT(VAR15,90,'&larr;黑马'),COLORBLUE;
    ddx:20*((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,100000000,1000000),COLOR00AAAA,LINETHICK;
    DX:=(MA(DDX,5)*N)*2;
    涨跌:=IF(BETWEEN(C,REF(C,1),H),VOL,0);
    动因:=IF(BETWEEN(C,REF(C,1),L),VOL,0);
    VAR16:=REF(LOW,1);
    VAR17:=(SMA(ABS(LOW-VAR16),13,1))/(SMA(MAX(LOW-VAR16,0),13,1))*100;
    VAR18:=MA(VAR17,13);
    VAR19:=LLV(LOW,34);
    CC2:=IF(涨跌 AND 动因,0,VOL/3);
    涨跌动因:3*(涨跌-(动因+CC2))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL),LINETHICK0;
    VAR20:=EMA(IF(LOW<=VAR19,VAR18,0),3);
    VAR21:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
    VAR22:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR21*10.9;
    VAR23:=FILTER(IF(VAR22<=VAR21 AND VAR20>REF(VAR20,1),VAR20*8,0),20);
    STICKLINE(涨跌动因>0,20,20+涨跌动因*18.5,2.5,0 ),COLORBLUE;
    STICKLINE(涨跌动因<0,20,20+涨跌动因*18.5,2.5,0 ),COLORYELLOW;
    DRAWTEXT(VAR23,35,'&larr;洗盘'),COLORCYAN;
    STICKLINE(VAR23=1,35,110,2,0),COLORCYAN;
    VAR24:=3;
    VAR25:=(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));
    买点:IF((VAR25<=3),15,0),COLORBLUE,LINETHICK2;
    补仓:IF((VAR25<5),10,0),COLORWHITE,LINETHICK2;
    VAR26:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
    VAR27:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,
    20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR28:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,
    1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR29:=VAR27<REF(VAR28,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
    VAR30:=(HIGH+LOW+CLOSE)/3;
    MA1:MA(涨跌动因,N)*2;
    AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);
    BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);
    CC:=(AA - BB);
    VAR31:=(VAR30-MA(VAR30,14))/(0.015*AVEDEV(VAR30,14));
    VAR32:=(VAR30-MA(VAR30,70))/(0.015*AVEDEV(VAR30,70));
    VAR33:=IF(VAR31>=150 AND VAR31<200 AND VAR32>=150 AND VAR32<200,10,0);
    VAR34:=IF(VAR31<=-150 AND VAR31>-200 AND VAR32<=-150 AND VAR32>-200,-10,VAR33);
    VAR35:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
    VAR36:=100-ABS(VAR35);
    VAR37:=IF(VAR36<90,VAR36,100);
    VAR38:=IF(VAR26>0,VAR26,0);
    VAR39:=IF(VAR32>=200 AND VAR31>=150,15,IF(VAR32<=-200 AND VAR31<=-150,-15,VAR34))+60;
    VAR40:=VAR38>60 AND VAR39>70 AND VAR37<100;
    VAR41:=((CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100+(CLOSE-MA(CLOSE,
    90))/MA(CLOSE,90)*100+(CLOSE-MA(CLOSE,72))/MA(CLOSE,72)*100)/3;
    DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);
    EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN > LOW));
    DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'&larr;筹码进入'),COLORLIMAGENTA;
    STICKLINE(VAR29 AND COUNT(VAR29,30)=1,60,110,2,0),COLORLIMAGENTA;
    DRAWTEXT(VAR40 AND COUNT(VAR40,30)=1,35,'&larr;出逃'),COLORGREEN;
    STICKLINE(VAR40 AND COUNT(VAR40,30)=1,50,110,2,0),COLORGREEN;
    A1:=DYnaINFO(6);
    A22:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));
    A3:=(VOL / WINNER(LOW));
    A4:=REF(HHV(CLOSE,120),1);
    A5:=REF(LLV(CLOSE,120),1);
    DRAWTEXT(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),55,'&larr;买票'),COLORRED;
    STICKLINE(FILTER(VAR41<-9 AND VAR41>REF(VAR41,1),78),55,110,2,0),COLORRED;
    WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
    A6:=((100 * (CLOSE - A5)) / (A4 - A5));
    A7:=((A22 > 0) OR (A22 = 1));
    A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));
    A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));
    A10:=(A8 AND A9);
    快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;
    慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;
    关注:IF(快=0 AND 慢=0,10,0),COLORGREEN,LINETHICK2;
    风险:IF(快=100 AND 慢>=80,100,110),COLORLIBLUE;image.png



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

    N:=20;VMR01:=Sma(MMX(MMX(HIGH-LOW,Mbs(HIGH-REF(CLOSE,1))),MBS(LOW-REF(CLOSE,1))),15,1);VMR02:=HIGH-REF(HIGH,5);VMR03:=REF(LOW,5)-LOW;JJ:=(HIGH+LOW+CLOSE)/3;VMR04:=SMM(IF(VMR02>0 MND VMR02>VMR03,VMR02,0),15,1);VMR05:=SMM(IF(VMR03>0 MND VMR03>VMR02,VMR03,0),15,1);VMR06:=LLV(LOW,27);VMR07:=HHV(HIGH,34);VMR08:=ema((CLOSE-VMR06)/(VMR07-VMR06)*4,4)*25;VMR09:=4*SMM((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMM(SMM((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);做空:VMR05*100/VMR01,COLORLIGREEN;提示买入:IF(VMR09<=8,8,0),STICK,COLORRED,LINETHICK2;QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CMPITML=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));QJ2:=IF(CMPITML=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));QJ3:=IF(CMPITML=0,QJ0*(HIGH-MMX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MMX(OPEN,CLOSE))));QJ4:=IF(CMPITML=0,QJ0*(MMX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MMX(CLOSE,OPEN)-JJ)));VMR10:=MM(C,2)>REF(MM(C,2),1);VMR11:=MM(C,10)>MM(C,20);VMR12:=(CLOSE*2+HIGH+LOW)/4;VMR13:=EMM(VMR12,12)-EMM(VMR12,50);VMR14:=EMM(VMR13,2);VMR15:=(crOSS(VMR13,VMR14) MND VMR13<-0.04 MND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(VMR13,VMR14) MND VMR13<=-0.14 ) OR (CROSS(VMR13,VMR14) MND VMR13<=0.05 MND (V/MM(V,5)>2 OR C/REF(C,1)>0.035)) MND VMR10 MND VMR11;STICKLINE(VMR15>0,60,110,2,0),COLORWHITE;DRMWTEXT(VMR15,90,'←黑马'),COLORBLUE;ddx:20*((QJ1+QJ2)-(QJ3+QJ4))/IF(CMPITML=0,100000000,1000000),COLOR00MMMM,LINETHICK;DX:=(MM(DDX,5)*N)*2;涨跌:=IF(BETWEEN(C,REF(C,1),H),VOL,0);动因:=IF(BETWEEN(C,REF(C,1),L),VOL,0);VMR16:=REF(LOW,1);VMR17:=(SMM(MBS(LOW-VMR16),13,1))/(SMM(MMX(LOW-VMR16,0),13,1))*100;VMR18:=MM(VMR17,13);VMR19:=LLV(LOW,34);CC2:=IF(涨跌 MND 动因,0,VOL/3);涨跌动因:3*(涨跌-(动因+CC2))/IF(CMPITML<1,SUM(INDEXV,71),CMPITML),LINETHICK0;VMR20:=EMM(IF(LOW<=VMR19,VMR18,0),3);VMR21:=SMM(SMM((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);VMR22:=SMM((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VMR21*10.9;VMR23:=FILTER(IF(VMR22<=VMR21 MND VMR20>REF(VMR20,1),VMR20*8,0),20);STICKLINE(涨跌动因>0,20,20+涨跌动因*18.5,2.5,0 ),COLORBLUE;STICKLINE(涨跌动因<0,20,20+涨跌动因*18.5,2.5,0 ),COLORYELLOW;DRMWTEXT(VMR23,35,'←洗盘'),COLORCYMN;STICKLINE(VMR23=1,35,110,2,0),COLORCYMN;VMR24:=3;VMR25:=(3)*(SMM(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMM(SMM(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));买点:IF((VMR25<=3),15,0),COLORBLUE,LINETHICK2;补仓:IF((VMR25<5),10,0),COLORWHITE,LINETHICK2;VMR26:=MM(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VMR27:=100-3*SMM((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMM(SMM((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VMR28:=100-3*SMM((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMM(SMM((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VMR29:=VMR27<REF(VMR28,1) MND VOL>REF(VOL,1) MND CLOSE>REF(CLOSE,1);VMR30:=(HIGH+LOW+CLOSE)/3;MM1:MM(涨跌动因,N)*2;MM:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);CC:=(MM - BB);VMR31:=(VMR30-MM(VMR30,14))/(0.015*MVEDEV(VMR30,14));VMR32:=(VMR30-MM(VMR30,70))/(0.015*MVEDEV(VMR30,70));VMR33:=IF(VMR31>=150 MND VMR31<200 MND VMR32>=150 MND VMR32<200,10,0);VMR34:=IF(VMR31<=-150 MND VMR31>-200 MND VMR32<=-150 MND VMR32>-200,-10,VMR33);VMR35:=(CLOSE-MM(CLOSE,13))/MM(CLOSE,13)*100;VMR36:=100-MBS(VMR35);VMR37:=IF(VMR36<90,VMR36,100);VMR38:=IF(VMR26>0,VMR26,0);VMR39:=IF(VMR32>=200 MND VMR31>=150,15,IF(VMR32<=-200 MND VMR31<=-150,-15,VMR34))+60;VMR40:=VMR38>60 MND VMR39>70 MND VMR37<100;VMR41:=((CLOSE-MM(CLOSE,18))/MM(CLOSE,18)*100+(CLOSE-MM(CLOSE,90))/MM(CLOSE,90)*100+(CLOSE-MM(CLOSE,72))/MM(CLOSE,72)*100)/3;DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);EE:=(((CC < 3) MND (DD < 0.5)) MND (OPEN > LOW));DRMWTEXT(VMR29 MND COUNT(VMR29,30)=1,70,'←筹码进入'),COLORLIMMGENTM;STICKLINE(VMR29 MND COUNT(VMR29,30)=1,60,110,2,0),COLORLIMMGENTM;DRMWTEXT(VMR40 MND COUNT(VMR40,30)=1,35,'←出逃'),COLORGREEN;STICKLINE(VMR40 MND COUNT(VMR40,30)=1,50,110,2,0),COLORGREEN;M1:=DYnaINFO(6);M22:=IF((LOW > M1),0,IF((HIGH < M1),1,(((M1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));M3:=(VOL / WINNER(LOW));M4:=REF(HHV(CLOSE,120),1);M5:=REF(LLV(CLOSE,120),1);DRMWTEXT(FILTER(VMR41<-9 MND VMR41>REF(VMR41,1),78),55,'←买票'),COLORRED;STICKLINE(FILTER(VMR41<-9 MND VMR41>REF(VMR41,1),78),55,110,2,0),COLORRED;WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;M6:=((100 * (CLOSE - M5)) / (M4 - M5));M7:=((M22 > 0) OR (M22 = 1));M8:=((M7 MND ((M3 / REF(M3,3)) >= 3)) MND (M6 < 80));M9:=(((REF(M8,1) OR REF(M8,2)) OR REF(M8,3)) OR REF(M8,4));M10:=(M8 MND M9);快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;关注:IF(快=0 MND 慢=0,10,0),COLORGREEN,LINETHICK2;风险:IF(快=100 MND 慢>=80,100,110),COLORLIBLUE;

    警惕!警惕!警惕!该公式包含未来函数:CMPITML...

    未发现:COST...

    警惕!警惕!警惕!该公式包含未来函数:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    警惕!警惕!警惕!该公式包含未来函数:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


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

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

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

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

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