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

    通达信公式

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

    通达信放心买入【主图配图】未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2023-02-21|栏目:通达信公式


    DPZX:=EMA(C,1),NODRAW;
    GGZX:=AMOUNT/V/100;
    重心:=IF(C<300,GGZX,DPZX),NODRAW;
    今重心:LLV(重心,2)COLORCYAN,NODRAW;
    ZC1:=CONST(LLV(重心,2));
    ZC2:=CONST(LLV(重心,4));
    VAR1:=(C+H+O+L)/4;
    卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORCYAN,LINETHICK3;
    买入:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORLIMAGENTA,LINETHICK3;
    多空趋势彩带:DRAWBAND(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0,128,0));
    MA5:=MA(C,5),COLOR000099;
    MA10:=MA(C,10),COLOR006600;
    MA20:=MA(C,20),COLOR005555;
    ZB1:=EMA(C,34);
    长期趋势:EMA(ZB1,13),COLORWHITE,LINETHICK3;
    SQX:=(C-MA(CLOSE,13))*100;
    DIFF:=EMA(MA(SQX,7),1),COLORRED;
    DEA:=EMA(DIFF,7),COLORBLUE;
    MACD:=(DIFF-DEA)*2,COLORSTICK;
    VAR10B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
    VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
    VAR12B:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
    VAR13B:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
    VAR14B:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
    VAR15B:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
    VAR16B:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
    VAR17B:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
    VAR18B:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
    VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);
    买1B:=VAR10B;
    买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);
    BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORBLUE;
    红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORRED;
    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    TTJ:=CROSS(FF,MA15);
    上:=EMA(C,3),COLORYELLOW,LINETHICK1;
    中:=EMA(C,5),COLORRED,LINETHICK1;
    下:=EMA(中,5),COLOR00FF00,LINETHICK1;
    QQ:= C<中;
    MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;
    V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    V2:=(1-7/100)*(DMA(CLOSE,V1));
    V3:=(1+7/100)*(DMA(CLOSE,V1));
    V5:=MA((LOW+HIGH+CLOSE)/3,5);
    MA1Q:=MEMA(CLOSE,5);
    MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;
    MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);
    MA5Q:=MA(CLOSE,5),COLOR888899;
    MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;
    VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
    OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
    REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
    C>=REF(C,1) AND C>=REF(C,2);
    VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
    VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
    REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
    REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
    C<REF(C,1) AND C<REF(C,2);
    VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
    REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
    VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND
    REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
    REF(C,2)>=REF(C,4) AND C<REF(C,1);
    VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);
    VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
    VAR08:=VAR07 AND COUNT(VAR06,2);
    VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
    VAR10:=EMA(MA(C,13),13);
    VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND
    CROSS(VAR09,MA(VAR09,2)))=1,5);
    VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND
    CROSS(MA(VAR09,2),VAR09))=1,1);
    VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
    VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
    VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
    VAR16:=VAR08 AND NOT(REF(VAR08,1));
    RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSVQ,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    金叉:=CROSS(J,D);
    死叉:=CROSS(D,J);
    买1:=(VAR14 OR VAR15) AND VAR11;
    买2:=(VAR14 OR VAR15) AND VAR04;
    买3:=(VAR14 OR VAR15) AND VAR02;
    买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
    买5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);
    TTJ0:=VAR16;
    TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;
    XG0:=TTJ AND TTJ0;
    XG1:=TTJ AND TTJ1;
    XG11:=XG0 OR XG1;
    PL5:=ZIG(3,5);
    EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
    EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
    PL10:=ZIG(3,10);
    EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
    EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
    PL20:=ZIG(3,20);
    EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
    EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
    PL40:=ZIG(3,40);
    走强1:=BARSLAST(PL5<REF(PL5,1));
    走弱1:=BARSLAST(PL5>REF(PL5,1));
    走强2:=BARSLAST(PL10<REF(PL10,1));
    走弱2:=BARSLAST(PL10>REF(PL10,1));
    走强3:=BARSLAST(PL20<REF(PL20,1));
    走弱3:=BARSLAST(PL20>REF(PL20,1));
    ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
    ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
    ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
    DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
    DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
    TJ11:=EN2 AND ZTJZ5=1;
    TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
    TJ33:=EN2 AND DTJZ10=1;
    TJ44:=EN3 AND ZTJZ10=1;
    TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;
    XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;
    XGQ:=XG11 OR XG22;
    放心买:XGQ,COLORWHITE,NODRAW;
    DRAWTEXT(XGQ,L*0.99,'●放心买'),COLORWHITE;
    MA1:=MA(C,5);
    MA2:=MA(C,10);
    MA3:=MA(C,21);
    破N:=REF(MA1,1)<REF(MA2,1)AND MA2>REF(MA2,1);
    试摸N:=C>MA(C,10) OR H>=MA2;
    再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)<MA(C,10);
    有行情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));
    DRAWTEXT(有行情,LOW*0.98,'●'),COLORCYAN;
    VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
    VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    {红K}
    STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,O,3,0),COLOR000099;
    STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,O,2,0),COLOR0000BB;
    STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,O,1,0),COLOR0000DD;
    VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
    VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    {绿K}
    STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,O,3 ,0 ),COLOR00BB00;
    STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,O,2 ,0 ),COLOR00DD00;
    STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,O,1,0 ),COLOR00FF00;
    VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),1) AND VAR1MZ);
    VAR1AMZ:=(REF((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),1) AND VARDMZ);
    {粉红}
    CAX:=MAX(REF(CLOSE,2),REF(CLOSE,1));
    STICKLINE(VAR19MZ,CAX,O,3 ,0 ),COLORBB11BB;
    STICKLINE(VAR19MZ,CAX,O,2 ,0 ),COLORDD44DD;
    STICKLINE(VAR19MZ,CAX,O,1 ,0 ),COLORFF66FF;
    {黄色}
    CIN:=MIN(REF(CLOSE,2),REF(CLOSE,1));
    STICKLINE(VAR1AMZ,CIN,O,3,0),COLOR00AAFF;
    STICKLINE(VAR1AMZ,CIN,O,2,0),COLOR00CCFF;
    STICKLINE(VAR1AMZ,CIN,O,1,0),COLOR00EEFF;
    牛节点:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));
    DRAWICON(牛节点,L*0.99,13);
    CSAR:=SAR(10,2,20);
    持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORWHITE{持股};
    短期趋势:=EMA(SLOPE(C,21)*20+C,42),POINTDOT,LINETHICK1,COLORBLUE;
    STICKLINE(1,短期趋势,短期趋势,1,0),COLORBLUE;
    止损:=EMA(C,5),COLORBLUE,LINETHICK1;
    菩提B:=XMA(H,20);
    参买:=IF(止损>=REF(止损,1),止损,DRAWNULL),LINETHICK2,COLORWHITE;
    DRAWICON(CROSS(L,CSAR) AND 参买>0 AND H<菩提B AND 持股>0
    AND H>长期趋势,(LOW*0.99),5);
    VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
    短底:=EMA(VVAR1D,5);
    支撑:=HHV(短底,60);
    MAN:=(SMA(HIGH,21,2) * 1.05);
    下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
    中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
    X1D:=EMA(中D,10);
    RSVD:=SMA(下档线,3,1);
    K大:=SMA(RSVD,3,1);
    D大:=((3 * RSVD) - (2 * K大));
    J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
    RSV24:=SMA(J12,3,1);
    K24:=SMA(RSV24,3,1);
    D24:=((3 * RSV24) - (2 * K24));
    压力位:=IF(CROSS(D24,D大),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D大)))),COLORFFFFFF;
    牛浮面:=CROSS(CLOSE,MA20) AND HIGH < 压力位 AND OPEN < MA20
    AND HIGH < 支撑 AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 AND
    D大 < 63 AND MA20 - REF(MA20,1) > 0,COLORRED;
    DRAWTEXT(牛浮面,L,'●牛浮面'),COLORRED;
    全绿K2:=C>卖出 OR (H>卖出 AND O>C);
    STICKLINE(全绿K2,C,O,3,0),COLOR00BB00;
    STICKLINE(全绿K2,C,O,2,0),COLOR00DD00;
    STICKLINE(全绿K2,C,O,1,0),COLOR00FF00;
    STICKLINE(C>=O,C,H,0,0),COLOR0000FF;
    STICKLINE(C>=O,O,L,0,0),COLOR0000FF;
    STICKLINE(C<O,O,H,0,0),COLOR00FF00;
    STICKLINE(C<O,C,L,0,0),COLOR00FF00;
    {关键价位&支撑}
    STICKLINE(ISLASTBAR,ZC1,ZC1,120,0),LINETHICK1,COLORCYAN;
    DRAWTEXT(CURRBARSCOUNT=15,ZC1*1.02,'关键价位'),COLORCYAN;
    DRAWNUMBER(ISLASTBAR,ZC1*1.02,ZC1+000),COLORCYAN;
    STICKLINE(ISLASTBAR,ZC2,ZC2,120,0),LINETHICK1,COLORBLUE;
    DRAWTEXT(CURRBARSCOUNT=15,ZC2*0.99,'支撑价位'),COLORBLUE;
    DRAWNUMBER(ISLASTBAR,ZC2*0.99,ZC2+000),COLORBLUE;
    决策:=IF(ISLASTBAR,压力位,DRAWNULL),COLORLIMAGENTA;
    STICKLINE(ISLASTBAR ,决策,决策,60,1),LINETHICK3,COLORFFFFFF;
    底部:=LLV(HIGH,30),COLOR00FF00;
    超跌:=IF(ISLASTBAR,底部,DRAWNULL),COLORWHITE;
    STICKLINE(ISLASTBAR ,超跌,超跌,60,1),LINETHICK3,COLORWHITE;
    STICKLINE(ISLASTBAR,REF(今重心,1),REF(今重心,1),10,0),COLORCYAN;

    T1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),STRCAT('敢死队席位:',EXTERNSTR(0,13)),'');
    T2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),STRCAT('智能诊断:',EXTERNSTR(0,12)),'');
    T3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),STRCAT('年报业绩:',EXTERNSTR(0,8)),'');
    T4:=IF(FINDSTR(EXTERNSTR(0,10),','),STRCAT('主题投资:',EXTERNSTR(0,10)),'');
    T5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),STRCAT('解禁日期:',EXTERNSTR(0,15)),'');
    T6:=IF(FINDSTR(EXTERNSTR(0,1),','),STRCAT('千股千评:',EXTERNSTR(0,1)),'');
    T7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),STRCAT('业绩预报:',EXTERNSTR(0,14)),'');
    T8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),STRCAT('机构评级:',EXTERNSTR(0,11)),'');
    T9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),STRCAT('中报业绩:',EXTERNSTR(0,9)),'');
    N:=IF(TOTALBARSCOUNT>=120,120,TOTALBARSCOUNT);
    {本输出适用于锁定K线数为120,N可改为你习惯的K线数,见下图}
    HH0:=HHV(H,N);
    LL0:=LLV(L,N);
    MM0:=CONST((HH0+LL0)*0.5);
    S01:=CONST(IF(REF(C,N-15)>MM0,1.00,-0.08));
    S02:=CONST(IF(REF(C,N-15)>MM0,-1,1));
    S1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),S01+(0.08*S02),S01),NODRAW;
    S2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),S1+(0.08*S02),S1),NODRAW;
    S3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),S2+(0.08*S02),S2),NODRAW;
    S4:=IF(FINDSTR(EXTERNSTR(0,10),','),S3+(0.08*S02),S3);
    S5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),S4+(0.08*S02),S4);
    S6:=IF(FINDSTR(EXTERNSTR(0,1),','),S5+(0.08*S02),S5);
    S7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),S6+(0.08*S02),S6);
    S8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),S7+(0.08*S02),S7);
    S9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),S8+(0.08*S02),S8);
    KK:=IF(S1<=0,0.05,IF(S1>=0,-0.05,0));
    DRAWTEXT_FIX(1,0,S1+KK,0,T1)COLOR00FFFF;
    DRAWTEXT_FIX(1,0,S2+KK,0,T2)COLORFFFFFF;
    DRAWTEXT_FIX(1,0,S3+KK,0,T3)COLORFF00FF;
    DRAWTEXT_FIX(1,0,S4+KK,0,T4)COLOR0088FF;
    DRAWTEXT_FIX(1,0,S5+KK,0,T5)COLOR00FF00;
    DRAWTEXT_FIX(1,0,S6+KK,0,T6)COLOR0000FF;
    DRAWTEXT_FIX(1,0,S7+KK,0,T7)COLOR00CCFF;
    DRAWTEXT_FIX(1,0,S8+KK,0,T8)COLORFF88FF;
    DRAWTEXT_FIX(1,0,S9+KK,0,T9)COLORBBFFFF;

    image.png



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

    DPZX:=EMM(C,1),NODRMW;GGZX:=MMOUNT/V/100;重心:=IF(C<300,GGZX,DPZX),NODRMW;今重心:LLV(重心,2)COLORCYMN,NODRMW;ZC1:=CONST(LLV(重心,2));ZC2:=CONST(LLV(重心,4));VMR1:=(C+H+O+L)/4;卖出:=XMM(VMR1,20)*(1+80/1000),POINTDOT,COLORCYMN,LINETHICK3;买入:=XMM(VMR1,32)*(1-100/1000),POINTDOT,COLORLIMMGENTM,LINETHICK3;多空趋势彩带:DRMWBMND(SMM(C,6.5,1),RGB(255,97,0),SMM(C,13.5,1),RGB(0,128,0));MM5:=MM(C,5),COLOR000099;MM10:=MM(C,10),COLOR006600;MM20:=MM(C,20),COLOR005555;ZB1:=EMM(C,34);长期趋势:EMM(ZB1,13),COLORWHITE,LINETHICK3;SQX:=(C-MM(CLOSE,13))*100;DIFF:=EMM(MM(SQX,7),1),COLORRED;DEM:=EMM(DIFF,7),COLORBLUE;MMCD:=(DIFF-DEM)*2,COLORSTICK;VMR10B:=IF(TROUGHBMRS(3,16,1)=0 MND HIGH>LOW+0.04,4,0);VMR11B:=ZIG(3,6)>REF(ZIG(3,6),1) MND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) MND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VMR12B:=ZIG(3,6)<REF(ZIG(3,6),1) MND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) MND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VMR13B:=ZIG(3,22)>REF(ZIG(3,22),1) MND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) MND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VMR14B:=ZIG(3,22)<REF(ZIG(3,22),1) MND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) MND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VMR15B:=ZIG(3,51)>REF(ZIG(3,51),1) MND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) MND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VMR16B:=ZIG(3,51)<REF(ZIG(3,51),1) MND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) MND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VMR17B:=ZIG(3,72)>REF(ZIG(3,72),1) MND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) MND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VMR18B:=ZIG(3,72)<REF(ZIG(3,72),1) MND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) MND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VMR19B:=EMM(CLOSE,2)-EMM(CLOSE,150);买1B:=VMR10B;买2B:=(VMR11B+VMR13B+VMR15B+VMR17B);BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRMWNULL),CROSSDOT,LINETHICK3,COLORBLUE;红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRMWNULL),CROSSDOT,LINETHICK5,COLORRED;FF:=EMM(CLOSE,3);MM15:=EMM(CLOSE,21);TTJ:=CROSS(FF,MM15);上:=EMM(C,3),COLORYELLOW,LINETHICK1;中:=EMM(C,5),COLORRED,LINETHICK1;下:=EMM(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) MND REF(上,1)<REF(上,2) ;V1:=MBS((2*CLOSE+HIGH+LOW)/4-MM(CLOSE,20))/MM(CLOSE,20); V2:=(1-7/100)*(DMM(CLOSE,V1));V3:=(1+7/100)*(DMM(CLOSE,V1));V5:=MM((LOW+HIGH+CLOSE)/3,5);MM1Q:=MEMM(CLOSE,5);MM2Q:=MTMN((MM1Q/REF(MM1Q,1)-1)*100)*180/3.1416;MM3Q:=IF(MM2Q>0,MM2Q,MM2Q);MM5Q:=MM(CLOSE,5),COLOR888899;MM13:=MM(CLOSE,13),COLORFF00F0,LINETHICK2;VMR01:=CLOSE=HHV(C,4) MND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) MND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) MND REF(C,3)=LLV(C,4) MND C>=REF(C,1) OR REF(C,3)=HHV(C,4) MND C>=REF(C,1) MND C>=REF(C,2);VMR02:=CLOSE=HHV(C,4) MND REF(C,1)=LLV(C,4);VMR03:=CLOSE=LLV(C,4) MND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) MND C<REF(C,2) OR REF(C,2)=LLV(C,4) MND REF(C,1)=HHV(C,4) MND C<REF(C,1) OR REF(C,3)=LLV(C,4) MND C<REF(C,1) MND C<REF(C,2);VMR04:=REF(C,1)=LLV(C,4) MND C>=REF(C,2) OR REF(C,2)=LLV(C,4) MND REF(C,1)<=REF(C,3) MND REF(C,2)<REF(C,4) MND C>=REF(C,1);VMR05:=REF(C,1)=HHV(C,4) MND C<REF(C,2) OR (REF(C,2)=HHV(C,4) MND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) MND REF(C,1)>REF(C,2)) MND REF(C,2)>=REF(C,4) MND C<REF(C,1);VMR06:=V5>REF(V5,1) MND REF(V5,1)<REF(V5,2);VMR07:=LOW<HHV(V5,13) MND HIGH>HHV(V5,13) MND CLOSE>REF(C,1) MND CLOSE>OPEN;VMR08:=VMR07 MND COUNT(VMR06,2);VMR09:=100*EMM(EMM(C-REF(C,1),6),6)/EMM(EMM(MBS(C-REF(C,1)),6),6);VMR10:=EMM(MM(C,13),13);VMR11:=FILTER((LLV(VMR09,2)=LLV(VMR09,7) MND COUNT(VMR09<0,2) MND CROSS(VMR09,MM(VMR09,2)))=1,5);VMR12:=FILTER((HHV(VMR09,2)=HHV(VMR09,7) MND COUNT(VMR09>50,2) MND CROSS(MM(VMR09,2),VMR09))=1,1);VMR13:=SMM(EMM((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VMR14:=FILTER(((CROSS(VMR13,0) OR CROSS(C,VMR10)) MND VMR11)=1,3);VMR15:=MM(C,18)>=REF(MM(C,18),3) MND CROSS(C,MM(C,18));VMR16:=VMR08 MND NOT(REF(VMR08,1));RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMM(RSVQ,3,1);D:=SMM(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VMR14 OR VMR15) MND VMR11;买2:=(VMR14 OR VMR15) MND VMR04;买3:=(VMR14 OR VMR15) MND VMR02;买4:=(VMR02 MND VMR11) OR (VMR04 MND VMR11);买5:=(金叉 MND VMR04) OR (金叉 MND VMR02) OR (金叉 MND VMR11);TTJ0:=VMR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 MND MM;XG0:=TTJ MND TTJ0;XG1:=TTJ MND TTJ1;XG11:=XG0 OR XG1;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) MND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) MND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) MND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) MND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) MND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) MND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) MND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) MND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) MND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) MND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) MND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) MND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BMRSLMST(PL5<REF(PL5,1));走弱1:=BMRSLMST(PL5>REF(PL5,1));走强2:=BMRSLMST(PL10<REF(PL10,1));走弱2:=BMRSLMST(PL10>REF(PL10,1));走强3:=BMRSLMST(PL20<REF(PL20,1));走弱3:=BMRSLMST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 MND ZTJZ5=1;TJ22:=EN1 MND PL10>REF(PL10,1) MND ZTJZ5=2;TJ33:=EN2 MND DTJZ10=1;TJ44:=EN3 MND ZTJZ10=1;TJ55:=EN2 MND PL20>REF(PL20,1) MND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;放心买:XGQ,COLORWHITE,NODRMW;DRMWTEXT(XGQ,L*0.99,'●放心买'),COLORWHITE;MM1:=MM(C,5);MM2:=MM(C,10);MM3:=MM(C,21);破N:=REF(MM1,1)<REF(MM2,1)MND MM2>REF(MM2,1);试摸N:=C>MM(C,10) OR H>=MM2;再上N:=C>O MND REF(C,1)< MM(C,10) MND 试摸N MND 破N MND MM(C,21)<MM(C,10);有行情:=再上N MND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));DRMWTEXT(有行情,LOW*0.98,'●'),COLORCYMN;VMR1MZ:=((CLOSE > REF(CLOSE,1)) MND (CLOSE > REF(CLOSE,2)));VMR2MZ:=((REF(VMR1MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR3MZ:=((REF(VMR2MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR4MZ:=((REF(VMR3MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR5MZ:=((REF(VMR4MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR6MZ:=((REF(VMR5MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR7MZ:=((REF(VMR6MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR8MZ:=((REF(VMR7MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR9MZ:=((REF(VMR8MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMRMMZ:=((REF(VMR9MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMRBMZ:=((REF(VMRMMZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMRCMZ:=((REF(VMRBMZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));{红K}STICKLINE((((((((((((VMR1MZ OR VMR2MZ) OR VMR3MZ) OR VMR4MZ) OR VMR5MZ) OR VMR6MZ) OR VMR7MZ) OR VMR8MZ) OR VMR9MZ) OR VMRMMZ) OR VMRBMZ) OR VMRCMZ),C,O,3,0),COLOR000099;STICKLINE((((((((((((VMR1MZ OR VMR2MZ) OR VMR3MZ) OR VMR4MZ) OR VMR5MZ) OR VMR6MZ) OR VMR7MZ) OR VMR8MZ) OR VMR9MZ) OR VMRMMZ) OR VMRBMZ) OR VMRCMZ),C,O,2,0),COLOR0000BB;STICKLINE((((((((((((VMR1MZ OR VMR2MZ) OR VMR3MZ) OR VMR4MZ) OR VMR5MZ) OR VMR6MZ) OR VMR7MZ) OR VMR8MZ) OR VMR9MZ) OR VMRMMZ) OR VMRBMZ) OR VMRCMZ),C,O,1,0),COLOR0000DD;VMRDMZ:=((CLOSE < REF(CLOSE,1)) MND (CLOSE < REF(CLOSE,2)));VMREMZ:=((REF(VMRDMZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMRFMZ:=((REF(VMREMZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR10MZ:=((REF(VMRFMZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR11MZ:=((REF(VMR10MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR12MZ:=((REF(VMR11MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR13MZ:=((REF(VMR12MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR14MZ:=((REF(VMR13MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR15MZ:=((REF(VMR14MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR16MZ:=((REF(VMR15MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));VMR17MZ:=((REF(VMR16MZ,1) MND (CLOSE <= REF(CLOSE,1))) MND (CLOSE >= REF(CLOSE,2)));VMR18MZ:=((REF(VMR17MZ,1) MND (CLOSE >= REF(CLOSE,1))) MND (CLOSE <= REF(CLOSE,2)));{绿K}STICKLINE((((((((((((VMRDMZ OR VMREMZ) OR VMRFMZ) OR VMR10MZ) OR VMR11MZ) OR VMR12MZ) OR VMR13MZ) OR VMR14MZ) OR VMR15MZ) OR VMR16MZ) OR VMR17MZ) OR VMR18MZ),C,O,3 ,0 ),COLOR00BB00;STICKLINE((((((((((((VMRDMZ OR VMREMZ) OR VMRFMZ) OR VMR10MZ) OR VMR11MZ) OR VMR12MZ) OR VMR13MZ) OR VMR14MZ) OR VMR15MZ) OR VMR16MZ) OR VMR17MZ) OR VMR18MZ),C,O,2 ,0 ),COLOR00DD00;STICKLINE((((((((((((VMRDMZ OR VMREMZ) OR VMRFMZ) OR VMR10MZ) OR VMR11MZ) OR VMR12MZ) OR VMR13MZ) OR VMR14MZ) OR VMR15MZ) OR VMR16MZ) OR VMR17MZ) OR VMR18MZ),C,O,1,0 ),COLOR00FF00;VMR19MZ:=(REF((((((((((((VMRDMZ OR VMREMZ) OR VMRFMZ) OR VMR10MZ) OR VMR11MZ) OR VMR12MZ) OR VMR13MZ) OR VMR14MZ) OR VMR15MZ) OR VMR16MZ) OR VMR17MZ) OR VMR18MZ),1) MND VMR1MZ);VMR1MMZ:=(REF((((((((((((VMR1MZ OR VMR2MZ) OR VMR3MZ) OR VMR4MZ) OR VMR5MZ) OR VMR6MZ) OR VMR7MZ) OR VMR8MZ) OR VMR9MZ) OR VMRMMZ) OR VMRBMZ) OR VMRCMZ),1) MND VMRDMZ);{粉红}CMX:=MMX(REF(CLOSE,2),REF(CLOSE,1));STICKLINE(VMR19MZ,CMX,O,3 ,0 ),COLORBB11BB;STICKLINE(VMR19MZ,CMX,O,2 ,0 ),COLORDD44DD;STICKLINE(VMR19MZ,CMX,O,1 ,0 ),COLORFF66FF;{黄色}CIN:=MIN(REF(CLOSE,2),REF(CLOSE,1));STICKLINE(VMR1MMZ,CIN,O,3,0),COLOR00MMFF;STICKLINE(VMR1MMZ,CIN,O,2,0),COLOR00CCFF;STICKLINE(VMR1MMZ,CIN,O,1,0),COLOR00EEFF;牛节点:=CROSS(EMM(C,5),EMM(C,30))MND CROSS(EMM(C,10),EMM(C,20));DRMWICON(牛节点,L*0.99,13);CSMR:=SMR(10,2,20); 持股:=IF(CSMR<=L,CSMR,0),CIRCLEDOT,COLORWHITE{持股};短期趋势:=EMM(SLOPE(C,21)*20+C,42),POINTDOT,LINETHICK1,COLORBLUE;STICKLINE(1,短期趋势,短期趋势,1,0),COLORBLUE;止损:=EMM(C,5),COLORBLUE,LINETHICK1; 菩提B:=XMM(H,20);参买:=IF(止损>=REF(止损,1),止损,DRMWNULL),LINETHICK2,COLORWHITE; DRMWICON(CROSS(L,CSMR) MND 参买>0 MND H<菩提B MND 持股>0 MND H>长期趋势,(LOW*0.99),5);VVMR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMM(VVMR1D,5);支撑:=HHV(短底,60);MMN:=(SMM(HIGH,21,2) * 1.05);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMM(中D,10);RSVD:=SMM(下档线,3,1);K大:=SMM(RSVD,3,1);D大:=((3 * RSVD) - (2 * K大));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMM(J12,3,1);K24:=SMM(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力位:=IF(CROSS(D24,D大),HIGH,REF(HIGH,BMRSLMST(CROSS(D24,D大)))),COLORFFFFFF;牛浮面:=CROSS(CLOSE,MM20) MND HIGH < 压力位 MND OPEN < MM20 MND HIGH < 支撑 MND MMN - REF(MMN,1) > 0 MND X1D - REF(X1D,1)>0 MND D大 < 63 MND MM20 - REF(MM20,1) > 0,COLORRED;DRMWTEXT(牛浮面,L,'●牛浮面'),COLORRED;全绿K2:=C>卖出 OR (H>卖出 MND O>C);STICKLINE(全绿K2,C,O,3,0),COLOR00BB00;STICKLINE(全绿K2,C,O,2,0),COLOR00DD00;STICKLINE(全绿K2,C,O,1,0),COLOR00FF00;STICKLINE(C>=O,C,H,0,0),COLOR0000FF;STICKLINE(C>=O,O,L,0,0),COLOR0000FF;STICKLINE(C<O,O,H,0,0),COLOR00FF00;STICKLINE(C<O,C,L,0,0),COLOR00FF00;{关键价位&支撑}STICKLINE(ISLMSTBMR,ZC1,ZC1,120,0),LINETHICK1,COLORCYMN;DRMWTEXT(CURRBMRSCOUNT=15,ZC1*1.02,'关键价位'),COLORCYMN;DRMWNUMBER(ISLMSTBMR,ZC1*1.02,ZC1+000),COLORCYMN;STICKLINE(ISLMSTBMR,ZC2,ZC2,120,0),LINETHICK1,COLORBLUE;DRMWTEXT(CURRBMRSCOUNT=15,ZC2*0.99,'支撑价位'),COLORBLUE;DRMWNUMBER(ISLMSTBMR,ZC2*0.99,ZC2+000),COLORBLUE;决策:=IF(ISLMSTBMR,压力位,DRMWNULL),COLORLIMMGENTM;STICKLINE(ISLMSTBMR ,决策,决策,60,1),LINETHICK3,COLORFFFFFF;底部:=LLV(HIGH,30),COLOR00FF00;超跌:=IF(ISLMSTBMR,底部,DRMWNULL),COLORWHITE;STICKLINE(ISLMSTBMR ,超跌,超跌,60,1),LINETHICK3,COLORWHITE;STICKLINE(ISLMSTBMR,REF(今重心,1),REF(今重心,1),10,0),COLORCYMN;T1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),STRCMT('敢死队席位:',EXTERNSTR(0,13)),'');T2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),STRCMT('智能诊断:',EXTERNSTR(0,12)),'');T3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),STRCMT('年报业绩:',EXTERNSTR(0,8)),'');T4:=IF(FINDSTR(EXTERNSTR(0,10),','),STRCMT('主题投资:',EXTERNSTR(0,10)),'');T5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),STRCMT('解禁日期:',EXTERNSTR(0,15)),'');T6:=IF(FINDSTR(EXTERNSTR(0,1),','),STRCMT('千股千评:',EXTERNSTR(0,1)),'');T7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),STRCMT('业绩预报:',EXTERNSTR(0,14)),'');T8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),STRCMT('机构评级:',EXTERNSTR(0,11)),'');T9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),STRCMT('中报业绩:',EXTERNSTR(0,9)),'');N:=IF(TOTMLBMRSCOUNT>=120,120,TOTMLBMRSCOUNT);{本输出适用于锁定K线数为120,N可改为你习惯的K线数,见下图}HH0:=HHV(H,N);LL0:=LLV(L,N);MM0:=CONST((HH0+LL0)*0.5);S01:=CONST(IF(REF(C,N-15)>MM0,1.00,-0.08));S02:=CONST(IF(REF(C,N-15)>MM0,-1,1));S1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),S01+(0.08*S02),S01),NODRMW;S2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),S1+(0.08*S02),S1),NODRMW;S3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),S2+(0.08*S02),S2),NODRMW;S4:=IF(FINDSTR(EXTERNSTR(0,10),','),S3+(0.08*S02),S3);S5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),S4+(0.08*S02),S4);S6:=IF(FINDSTR(EXTERNSTR(0,1),','),S5+(0.08*S02),S5);S7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),S6+(0.08*S02),S6);S8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),S7+(0.08*S02),S7);S9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),S8+(0.08*S02),S8);KK:=IF(S1<=0,0.05,IF(S1>=0,-0.05,0));DRMWTEXT_FIX(1,0,S1+KK,0,T1)COLOR00FFFF;DRMWTEXT_FIX(1,0,S2+KK,0,T2)COLORFFFFFF;DRMWTEXT_FIX(1,0,S3+KK,0,T3)COLORFF00FF;DRMWTEXT_FIX(1,0,S4+KK,0,T4)COLOR0088FF;DRMWTEXT_FIX(1,0,S5+KK,0,T5)COLOR00FF00;DRMWTEXT_FIX(1,0,S6+KK,0,T6)COLOR0000FF;DRMWTEXT_FIX(1,0,S7+KK,0,T7)COLOR00CCFF;DRMWTEXT_FIX(1,0,S8+KK,0,T8)COLORFF88FF;DRMWTEXT_FIX(1,0,S9+KK,0,T9)COLORBBFFFF;

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