最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信涨停启动指标公式(通达信涨停先兆主图指标公式)

    正文概述    2024-05-04 04:25:05  

    公式解读:

    一、通达信启动指标公式


    N:=5;M:=3;

    TRTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);

    HD :=HIGH-REF(HIGH,1);

    LD :=REF(LOW,1)-LOW;

    DMP:=EXPMEMA(IF(HD 0 amp; amp;HD LD,HD,0),N);

    DMM:=EXPMEMA(IF(LD 0 amp; amp;LD HD,LD,0),N);

    PDI: DMP*100/TRTR;

    MDI: DMM*100/TRTR;

    ADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);

    ADXR:EXPMEMA(ADX,M);

    BB:=ADX-REF(ADX,1);

    IF(BB =0,ADX,DRAWNULL),COLORRED,LINETHICK2;

    :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),POINTDOT,COLORRED;

    启动在即: IF(CROSS(趋势,3),100,0),COLORFF00FF;秘密买点: IF(趋势 =3,25,0),COLORRED;

    建仓: IF(趋势 5,45,0),COLORWHITE;

    Var1:=EMA(HHV(HIGH,500),21);

    Var2:=EMA(HHV(HIGH,250),21);

    Var3:=EMA(HHV(HIGH,90),21);

    Var4:=EMA(LLV(LOW,500),21);

    Var5:=EMA(LLV(LOW,250),21);

    Var6:=EMA(LLV(LOW,90),21);

    Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);

    Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);

    Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);

    VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);

    VarB:=REF(LOW,1);

    VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;

    VarD:=EMA(IF(CLOSE*1.35 =VarA,VarC*10,VarC/10),3);

    VarE:=LLV(LOW,30);

    VarF:=HHV(VarD,30);

    Var10:=IF(MA(CLOSE,58),1,0);

    QZG: EMA(IF(LOW =VarE,(VarD+VarF*2)/2,0),3)/618*Var10, colorred;

    QZG2:EMA(IF(LOW =VarE,(VarD+VarF*2)/2,0),3)/-618*Var10, coloryellow;

    RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;

    Km:=SMA(RSV,3,1);

    Kt:=SMA(Km,3,1),linethick1;

    Dt:=SMA(Km,11,1),linethick1;

    LOWV:=LLV(LOW,8);

    HIGHV:=HHV(HIGH,8);

    RSV2:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

    At:=EMA(RSV,3),colorffff00,linethick1;

    Bt:=MA(At,3),colorffff00,linethick1;

    VAR1j:=3;

    VAR2j:=((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(CROSS(VAR2j,VAR1j),1,0),colorffffff;

    STICKLINE(底,0,10,2,0),colorffffff;

    涨停:=IF(REF(C,1)*1.1-C 0.2 ,1,0);

    STICKLINE(涨停,OPEN,CLOSE,4,2),COLORRED;

    STICKLINE(涨停,OPEN,CLOSE,0.8,0),COLORYELLOW;

    STICKLINE(涨停,H,L,0,0),COLORYELLOW;

    ZT:=C/REF(C,1) 1.095;

    STICKLINE(MA(CLOSE,5) REF(MA(CLOSE,5),1) AND ZT,O,C,0.6,0),COLORYELLOW;

    STICKLINE(MA(CLOSE,5) =REF(MA(CLOSE,5),1) AND ZT,O,C,0.6,0),COLORRED;

    VAR6:=REF(C,1);

    VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;

    DRAWTEXT(CROSS(82,VAR7),H*1.02, ),COLORYELLOW;

    N:=9;

    M1:=3;

    M2:=3;

    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,NODRAW;

    K:=SMA(RSV,M1,1),NODRAW;

    D:=SMA(K,M2,1),NODRAW;

    J:=3*K-2*D,NODRAW;

    CJ_K:=MA(K,15),LINETHICK2,NODRAW;

    CJ_D:=MA(D,15),LINETHICK2,NODRAW;

    CJ_J:=MA(J,15),LINETHICK2,NODRAW;

    DRAWICON(CROSS(CJ_K,CJ_D) amp; amp;CJ_D 30,L*0.92,11);

    DRAWICON(CROSS(CJ_D,CJ_K) amp; amp;CJ_D 70,H*1.05,12);

    DRAWICON(CROSS(CCI,-100),L*0.98,1);

    DRAWICON(CROSS(CCI,0),L*0.98,1);

    DRAWICON(CROSS(CCI,100),L*0.98,1);

    DRAWICON(CROSS(100,CCI),H*1.02,2);

    {DRAWICON(CROSS(50,CCI),H*1.02,12);};

    PT1:=CONST(HHV(H,20))/1.2;

    IF(CURRBARSCOUNT =10,PT1,DRAWNULL),COLORGREEN;

    DRAWTEXT(ISLASTBAR,PT1, 回马枪观测 ),COLORWHITE;

    PT2:=CONST(HHV(H,10))/1.2;

    IF(CURRBARSCOUNT =10,PT2,DRAWNULL),COLORGREEN;

    DRAWTEXT(ISLASTBAR,PT2, 回马枪观测 ),COLORWHITE;

    DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26));

    DEA:=EMA(DIF,9);

    MACD:=(DIF-DEA)*2;

    ZSC:=CROSS(DEA#WEEK,DIF#WEEK);

    ZSC1:=CROSS(DEA,DIF);

    PC:=IF(EXISTR(ZSC,7,1),0,1);

    PC1:=IF(EXISTR(ZSC1,7,1),0,1);

    Q1:=MACD 0 AND MACD REF(MACD ,1) AND

    REF(MACD ,1) REF(MACD ,2) AND REF(MACD ,2) REF(MACD ,3)

    AND REF(MACD ,3) REF(MACD ,4); 

    SCL:=EXISTR(CROSS(DEA,DIF),9,1);

    C1:=BARSLAST(REF(Q1,1));

    C2:REF(MACD,C1+1) MACD AND Q1 AND DIF 0 ;


    image.png

    公式解读:

    [源码注释]通达信公式动态公式解读


    M赋值:10

    HH赋值:N日内收盘价的最高值

    LL赋值:N日内收盘价的最低值

    输出创新高:如果收盘价=HHANDVOL 1,返回1,否则返回0

    输出创新低:如果收盘价=LLANDVOL 1,返回1,否则返回0



    推荐阅读:通达信涨停瞬间公式

     

    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; 

    S:IF(Var6 100,Var6-100,0); 

    顶:(S REF(S,1)ANDREF(S,1) REF(S,2))*3; 

    底:(S 0ANDREF(S,1)=0)*3; 

    STICKLINE(REF(S,1) S,S,REF(S,1),5,0),COLORFF00F0; 

    STICKLINE(REF(S,1) S,S,REF(S,1),5,0); 

    N:=5; 

    AAD:=1120330; 

    AAB:=REF(H,10)=HHV(H,2*11); 

    QQHY:=BACKSET(AAB,10+1); 

    CCW:=FILTER(QQHY,10)ANDH=HHV(H,11); 

    卖出:DRAWICON(CCW,H*1.02,12); 

    AAB1:=REF(L,10)=LLV(L,2*11); 

    QYY1:=BACKSET(AAB1,11); 

    CCD1:=FILTER(QYY1,10)ANDL=LLV(L,11); 

    买入:=DRAWICON(CCD1,L*0.98,11); 

    ZGD:=HHV(H,60); 

    ZGD2:=CONST(ZGD); 

    ZDD:=LLV(L,60); 

    ZDD2:=CONST(ZDD); 

    GJ:=(C+H+L+O)/4; 

    明日阻力:=L+(GJ-L)+(C-L); 

    明日支撑:=L+(C-GJ); 

    KOH:=L REF(H,1); 

    KOL:=H REF(L,1); 

    HIF:=L REF(H,BARSLAST(KOH)+1); 

    NHIF:=L =REF(H,BARSLAST(KOH)+1); 

    LIF:=H REF(L,BARSLAST(KOL)+1); 

    NLIF:=H =REF(L,BARSLAST(KOL)+1); 

    下档线:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100); 

    RRRSV:=SMA(下档线,3,1); 

    KKK:=SMA(RRRSV,3,1); 

    DDDDD:=((3*RRRSV)-(2*KKK)); 

    JJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100); 

    RSV24:=SMA(JJ12,3,1); 

    K24:=SMA(RSV24,3,1); 

    D24:=((3*RSV24)-(2*K24)); 

    压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF; 

    底部:=LLV(HIGH,30),COLOR00FF00; 

    AA:=REF(H,N)=HHV(H,2*N+1); 

    AA1:=REF(L,N)=LLV(L,2*N+1); 

    QY:=BACKSET(AA,N+1); 

    QY1:=BACKSET(AA1,N+1); 

    CC:=FILTER(QY,N)ANDH=HHV(H,N+1); 

    CC1:=FILTER(QY1,N)ANDL=LLV(L,N+1); 

    DDD:=BARSLAST(CC); 

    DD1:=BARSLAST(CC1); 

    GDTS:=IF(CC,CURRBARSCOUNT,0); 

    DDTS:=IF(CC1,CURRBARSCOUNT,0); 

    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); 

    DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); 

    GDCS1:=CONST(DINGBUTS); 

    DDCS1:=CONST(DDTS1); 

    S13:=CONST(REF(HIGH,GDCS1-1)); 

    GDCS13:=IF(DATE AAD,S13,0); 

    DDCS13:=CONST(REF(L,DDCS1-1)); 

    DINGBUTS1:=REF(DINGBUTS,DDD+1); 

    DDTS2:=REF(DDTS1,DD1+1); 

    GDCS2:=CONST(DINGBUTS1); 

    DDCS2:=CONST(DDTS2); 

    S23:=CONST(REF(HIGH,DINGBUTS1-1)); 

    GDCS23:=IF(DATE AAD,S23,0); 

    DDCS23:=CONST(REF(L,DDTS2-1)); 

    XG1:=BACKSET(ISLASTBAR,GDCS1); 

    XD1:=BACKSET(ISLASTBAR,DDCS1); 

    XG2:=BACKSET(ISLASTBAR,DINGBUTS1); 

    XD2:=BACKSET(ISLASTBAR,DDTS2); 

    XDD:=IF(DDCS13 =DDCS23,XD1,XD2); 

    BCG:=SUM(XG1,0); 

    BCD:=SUM(XDD,0); 

    今日阻力:=REF(明日阻力,1),NODRAW; 

    今日支撑:=REF(明日支撑,1),NODRAW; 

    压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW; 

    底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW; 

    高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),COLORGREEN,LINETHICK2; 

    低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),COLORGREEN,LINETHICK2; 

    高:=CONST(MAX(MAX(MAX(ZGD2,高点压力),GDCS13),GDCS23)); 

    低:=CONST(MIN(MIN(MIN(ZDD2,DDCS23),DDCS13),低点支撑)); 

    ZGSTAR:=(高点压力+低点支撑)/2; 

    ZGEND:=CONST((高点压力+低点支撑)/2); 

    STARDAY:=IF(DDCS2 GDCS2,DDCS2,GDCS2); 

    中轨:=DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLOR555555,LINETHICK2; 

    M:=INTPART(3*N/5); 

    AAA:=REF(H,M)=HHV(H,2*M+1); 

    QYY:=BACKSET(AAA,M+1); 

    CCC:=FILTER(QYY,M)ANDH=HHV(H,M+1); 

    DDDD:=BARSLAST(CCC),NODRAW; 

    GDTSS:=IF(CCC,CURRBARSCOUNT,0); 

    DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS); 

    GDCS11:=CONST(DINGBUTSS); 

    DINGBUTS11:=REF(DINGBUTSS,DDDD+1); 

    GDCS22:=CONST(DINGBUTS11); 

    高点压力M:DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,1),COLORRED,LINETHICK1; 

    AA11:=REF(L,M)=LLV(L,2*M+1); 

    QY11:=BACKSET(AA11,M+1); 

    CC11:=FILTER(QY11,M)ANDL=LLV(L,M+1); 

    DD11:=BARSLAST(CC11); 

    DDTSS:=IF(CC11,CURRBARSCOUNT,0); 

    DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS); 

    DDCS11:=CONST(DDTS11); 

    DDTS22:=REF(DDTS11,DD11+1); 

    DDCS22:=CONST(DDTS22); 

    低点支撑M:DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,1)COLORRED,LINETHICK1; 

    STICKLINE(XG2,GDCS23,GDCS23,2.5,1), 

    COLORWHITE; 

    STICKLINE(XG1,GDCS13,GDCS13,2.3,1), 

    COLORYELLOW; 

    STICKLINE(XD2,DDCS23,DDCS23,0.5,1),COLORMAGENTA; 

    STICKLINE(XD1,DDCS13,DDCS13,0.5,1),COLORCYAN; 

    STICKLINE(ISLASTBAR,压力位,压力位,120,0),COLORFFFFFF; 

    STICKLINE(ISLASTBAR,底部位,底部位,100,0),COLOR00FF00; 

    控筹:=MA(EMA(WINNER(C),3),40); 

    VARS:=庄家控筹 REF(庄家控筹,4); 

    :=VOL*5/SUM(REF(VOL,1),5) 1; 

    换手:=V/CAPITAL*100 3; 

    VAR1:=EMA(EMA(CLOSE,9),9); 

    KP:=(VAR1-REF(VAR1,1))/REF(VAR1,1); 

    VAR2:=100*WINNER(CLOSE*0.95); 

    GKP:=VARSAND量比AND换手; 

    高控盘:=IF(DATE AAD,GKP,0); 

    DRAWICON(CROSS(C,GDCS23)AND高控盘,L-0.20,5);{前高的信号}; 

    DRAWICON(CROSS(C,GDCS13)AND高控盘,L-0.80,5);{突破前高的信号}; 

    DRAWICON(CROSS(C,DDCS23)AND高控盘,L-0.60,5);{突破前高的信号}; 

    N:=8; 

    AAB:=REF(H,10)=HHV(H,2*11); 

    QQHY:=BACKSET(AAB,10+1); 

    CCW:=FILTER(QQHY,10)ANDH=HHV(H,11); 

    卖出:DRAWICON(CCW,H*1.02,12); 

    AAB1:=REF(L,10)=LLV(L,2*11); 

    QYY1:=BACKSET(AAB1,11); 

    CCD1:=FILTER(QYY1,10)ANDL=LLV(L,11); 

    买入:DRAWICON(CCD1,L*0.98,11); 

    ZGD:=HHV(H,60); 

    ZGD2:=CONST(ZGD); 

    ZDD:=LLV(L,60); 

    ZDD2:=CONST(ZDD); 

    GJ:=(C+H+L+O)/4; 

    明日阻力:=L+(GJ-L)+(C-L); 

    明日支撑:=L+(C-GJ); 

    KOH:=L REF(H,1); 

    KOL:=H REF(L,1); 

    HIF:=L REF(H,BARSLAST(KOH)+1); 

    NHIF:=L =REF(H,BARSLAST(KOH)+1); 

    LIF:=H REF(L,BARSLAST(KOL)+1); 

    NLIF:=H =REF(L,BARSLAST(KOL)+1); 

    下档线:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100); 

    RRRSV:=SMA(下档线,3,1); 

    KKK:=SMA(RRRSV,3,1); 

    DDDDD:=((3*RRRSV)-(2*KKK)); 

    JJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100); 

    RSV24:=SMA(JJ12,3,1); 

    K24:=SMA(RSV24,3,1); 

    D24:=((3*RSV24)-(2*K24)); 

    压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF; 

    底部:=LLV(HIGH,30),COLOR00FF00; 

    AA:=REF(H,N)=HHV(H,2*N+1); 

    AA1:=REF(L,N)=LLV(L,2*N+1); 

    QY:=BACKSET(AA,N+1); 

    QY1:=BACKSET(AA1,N+1); 

    CC:=FILTER(QY,N)ANDH=HHV(H,N+1); 

    CC1:=FILTER(QY1,N)ANDL=LLV(L,N+1); 

    DDD:=BARSLAST(CC); 

    DD1:=BARSLAST(CC1); 

    GDTS:=IF(CC,CURRBARSCOUNT,0); 

    DDTS:=IF(CC1,CURRBARSCOUNT,0); 

    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); 

    DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); 

    GDCS1:=CONST(DINGBUTS); 

    DDCS1:=CONST(DDTS1); 

    S13:=CONST(REF(HIGH,GDCS1-1)); 

    GDCS13:=S13; 

    DDCS13:=CONST(REF(L,DDCS1-1)); 

    DINGBUTS1:=REF(DINGBUTS,DDD+1); 

    DDTS2:=REF(DDTS1,DD1+1); 

    GDCS2:=CONST(DINGBUTS1); 

    DDCS2:=CONST(DDTS2); 

    S23:=CONST(REF(HIGH,DINGBUTS1-1)); 

    GDCS23:=S23; 

    DDCS23:=CONST(REF(L,DDTS2-1)); 

    XG1:=BACKSET(ISLASTBAR,GDCS1); 

    XD1:=BACKSET(ISLASTBAR,DDCS1); 

    XG2:=BACKSET(ISLASTBAR,DINGBUTS1); 

    XD2:=BACKSET(ISLASTBAR,DDTS2); 

    XDD:=IF(DDCS13 =DDCS23,XD1,XD2); 

    BCG:=SUM(XG1,0);BCD:=SUM(XDD,0); 

    今日阻力:=REF(明日阻力,1),NODRAW; 

    今日支撑:=REF(明日支撑,1),NODRAW; 

    压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW; 

    底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW; 

    高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),COLORGREEN,LINETHICK2; 

    低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),COLORGREEN,LINETHICK2; 

    高:=CONST(MAX(MAX(MAX(ZGD2,高点压力),GDCS13),GDCS23)); 

    低:=CONST(MIN(MIN(MIN(ZDD2,DDCS23),DDCS13),低点支撑)); 

    ZGSTAR:=(高点压力+低点支撑)/2; 

    ZGEND:=CONST((高点压力+低点支撑)/2); 

    STARDAY:=IF(DDCS2 GDCS2,DDCS2,GDCS2); 

    中轨:=DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLOR555555,LINETHICK2; 

    M:=INTPART(3*N/5); 

    AAA:=REF(H,M)=HHV(H,2*M+1); 

    QYY:=BACKSET(AAA,M+1); 

    CCC:=FILTER(QYY,M)ANDH=HHV(H,M+1); 

    DDDD:=BARSLAST(CCC),NODRAW; 

    GDTSS:=IF(CCC,CURRBARSCOUNT,0); 

    DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS); 

    GDCS11:=CONST(DINGBUTSS); 

    DINGBUTS11:=REF(DINGBUTSS,DDDD+1); 

    GDCS22:=CONST(DINGBUTS11); 

    高点压力M:DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,1),COLORRED,LINETHICK1; 

    AA11:=REF(L,M)=LLV(L,2*M+1); 

    QY11:=BACKSET(AA11,M+1); 

    CC11:=FILTER(QY11,M)ANDL=LLV(L,M+1); 

    DD11:=BARSLAST(CC11); 

    DDTSS:=IF(CC11,CURRBARSCOUNT,0); 

    DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS); 

    DDCS11:=CONST(DDTS11); 

    DDTS22:=REF(DDTS11,DD11+1); 

    DDCS22:=CONST(DDTS22); 

    低点支撑M:DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,1)COLORRED,LINETHICK1; 

    STICKLINE(XG2,GDCS23,GDCS23,2.5,1),COLORWHITE; 

    STICKLINE(XG1,GDCS13,GDCS13,2.3,1),COLORYELLOW; 

    STICKLINE(XD2,DDCS23,DDCS23,0.5,1),COLORMAGENTA; 

    STICKLINE(XD1,DDCS13,DDCS13,0.5,1),COLORCYAN; 

    STICKLINE(ISLASTBAR,压力位,压力位,120,0),COLORFFFFFF; 

    STICKLINE(ISLASTBAR,底部位,底部位,100,0),COLOR00FF00; 

    庄家控筹:=MA(EMA(WINNER(C),3),40); 

    VARS:=庄家控筹 REF(庄家控筹,4); 

    量比:=VOL*5/SUM(REF(VOL,1),5) 1; 

    换手:=V/CAPITAL*100 3; 

    VAR1:=EMA(EMA(CLOSE,9),9); 

    KP:=(VAR1-REF(VAR1,1))/REF(VAR1,1); 

    VAR2:=100*WINNER(CLOSE*0.95); 

    GKP:=VARSAND量比AND换手; 

    高控盘:=GKP; 

    DRAWICON(CROSS(C,GDCS23)AND高控盘,L-0.20,5);{突破前高的信号}; 

    DRAWICON(CROSS(C,GDCS13)AND高控盘,L-0.80,5);{突破前高的信号}; 

    DRAWICON(CROSS(C,DDCS23)AND高控盘,L-0.60,5);{突破前高的信号}; 

    预量:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW; 

    STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,预量,0,-1,-1),COLOR00C0C0; 

    实量:VOL,VOLSTICK,COLORLIGREEN; 

    STICKLINE(C=REF(C,1),0,V,0,0),COLORYELLOW; 

    STICKLINE(C REF(C,1)ANDC O,0,V,0,0),COLOR3232FF; 

    STICKLINE(C REF(C,1)ANDC O,0,V,0,0),COLORFFFF54; 

    BASED:=IF(O!=C,VOL/((H-L)*2-ABS(C-O)),IF(C REF(C,1),VOL/((H-REF(C,1))*2-ABS(C-REF(C,1))),VOL/((REF(C,1)-L)*2-ABS(C-REF(C,1))))); 

    BUY:=IF(C O,BASED*(H-L),IF(C O,BASED*((H-O)+(C-L)),IF(C REF(C,1),BASED*(H-REF(C,1)),IF(C REF(C,1),BASED*((REF(C,1)-REF(C,1))+(C-L)),V*0.5)))); 

    SALE:=IF(C O,BASED*((H-C)+(O-L)),IF(C O,BASED*(H-L),IF(C REF(C,1),BASED*((H-C)+(REF(C,1)-REF(C,1))),IF(C REF(C,1),BASED*(REF(C,1)-L),V*0.5)))); 

    买净值%:IF(BUY =SALE,(BUY-SALE)/VOL*100,0),NODRAW; 

    卖净值%:IF(BUY =SALE,(SALE-BUY)/VOL*100,0),NODRAW; 

    LEN:=IF(BUY SALE,BUY-SALE,SALE-BUY); 

    STICKLINE(BUY SALE,0,LEN,0.1,0),COLOR00F7F7; 

    STICKLINE(BUY SALE,0,LEN,0.1,0),COLORFF1717; 

    DDX:=BUY-SALE; 

    MADDX:=MA(DDX,5)*5; 

    DDX1:SMA(MADDX,3,1),COLORFFFFFF,LINETHICK1; 

    DDX2:SMA(DDX1,3,1),COLORF100F1,LINETHICK1; 

    DDX3:SMA(DDX2,3,1),COLOR00D900,LINETHICK1

    image.png






    每日公式解答:


    股票公式编写要求:

    放量突破后缩量回踩年线的公式。

    股票公式编写结果:

    N:=9;{自定义}
    M:=2;{自定义}
    TJ:=UPNDAY(V,M) AND CROSS(C,MA(C,250));
    XG:EXIST(TJ,N) AND DOWNNDAY(V,M) AND L MA(C,250) AND C MA(C,250);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信涨停启动指标公式(通达信涨停先兆主图指标公式) 加入收藏