最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 非常准的通达信九转指标源代码

    正文概述    2024-05-04 04:36:40  

    以下是非常准的通达信九转指标源码和使用说明


    非常准的通达信九转指标源码:

       DRAWTEXT_FIX(1,0.01,0.01,0,'【★★仓位控制的量化标准★★】'),COLORMAGENTA;

       DRAWTEXT_FIX(1,0.01,0.08,0,'【★★1、粉+红=满,2、粉+绿=6,3、蓝+红=4,4、蓝+绿=空★★】'),COLORYELLOW;

       E1:=EXPMA(C,5);

       E2:=EXPMA(C,10);

       E3:=EXPMA(C,20);

       E4:=EXPMA(C,30);

       E5:=EXPMA(C,60);

       VARE1:=(E1+E2+E3+E4)/4;

       VARE2:=(E1+E2+E3+E5)/4;

       N:=IF(CODELIKE('9999')ORCODELIKE('3990')ORCODELIKE('880')ORCODELIKE('0000'),1,0);

       D1:=IF(N=1,0.013,0.03);

       D2:=IF(N=1,0.018,0.03);

       C1:=IF(N=1,0.015,0.03);

       C2:=IF(N=1,0.015,0.03);

       多:EXPMA(VARE1,5)+EXPMA(VARE1,5)*D1,COLORRED;

       短线空:EXPMA(VARE1,5)-EXPMA(VARE1,5)*D2,COLORRED;

       多:EXPMA(VARE2,70)+EXPMA(VARE2,70)*C1,COLORMAGENTA;

       长线空:EXPMA(VARE2,70)-EXPMA(VARE2,70)*C2,COLORMAGENTA;

       {DRAWKLINE(H,O,L,C);}

       TJ1:=RANGE(C,短线空,短线多);

       TJ2:=RANGE(C,长线空,长线多);

       STICKLINE(短线多 REF(短线多,1)ANDTJ1=0,短线多,短线空,0.1,1),COLORRED;

       STICKLINE(短线多 REF(短线多,1)ANDTJ1=0,短线多,短线空,0.1,1),COLORGREEN;

       STICKLINE(长线多 REF(长线多,1)ANDTJ2=0,长线多,长线空,0.1,1),COLORMAGENTA;

       STICKLINE(长线多 REF(长线多,1)ANDTJ2=0,长线多,长线空,0.1,1),COLORBLUE;

       NOTEXT短线多:IF(短线多 REF(短线多,1),短线多,DRAWNULL),COLORGREEN;

       NOTEXT短线空:IF(短线空 REF(短线空,1),短线空,DRAWNULL),COLORGREEN;

       NOTEXT长线多:IF(长线多 REF(长线多,1),长线多,DRAWNULL),COLORBLUE;

       NOTEXT长线空:IF(长线空 REF(长线空,1),长线空,DRAWNULL),COLORBLUE;

       空:=REF(C,1) REF(短线空,1)ANDC 短线空ANDC REF(C,1){ANDCOUNT(C 短线多,5)

       多:=REF(C,1) REF(短线多,1)ANDC 短线多ANDC REF(C,1){ANDCOUNT(C 长线多,5)

       空1:=TFILTER(多,空,2);

       多1:=TFILTER(多,空,1);

       DRAWTEXT(空1,短线多*1.04,'空'),COLORGREEN;

       DRAWTEXT(多1,短线空*0.96,'多'),COLORRED;

       DRAWICON(空1,短线多*1.02,2);

       DRAWICON(多1,短线空*0.98,1);

       A1:=C REF(C,4);

       A2:=BARSLASTCOUNT(A1);

       A3:=REF(A2,1)=8ANDA2 REF(A2,1);

       A4:=REF(BETWEEN(A2,5,8),1)ANDA2 REF(A2,1);

       A5:=ISLASTBARANDBETWEEN(A2,6,8);

       A6:=(BACKSET(A3 0,9)ORBACKSET(A4 0,A2+1)*0ORBACKSET(A5 0,A2))*A2;

       DRAWTEXT(A6 0,H+H*0.02,VAR2STR(A6,0)),COLORFF00FF{COLOR00FFFF};

       DRAWTEXT(A2=9,H+H*0.02,'9'),COLOR00FF00;

       B1:=C REF(C,4);

       B2:=BARSLASTCOUNT(B1);

       B3:=REF(B2,1)=8ANDB2 REF(B2,1);

       B4:=REF(BETWEEN(B2,5,8),1)ANDB2 REF(B2,1);

       B5:=ISLASTBARANDBETWEEN(B2,6,8);

       B6:=(BACKSET(B3 0,9)ORBACKSET(B4 0,B2+1)*0ORBACKSET(B5 0,B2))*B2;

       DRAWTEXT(B6 0,L-L*0.02,VAR2STR(B6,0)),COLOR00FF00{COLORFFFFFF};

       DRAWTEXT(B2=9,L-L*0.02,'9'),COLORFF00FF;

       通达信:=MA((HIGH+LOW+2*CLOSE)/4,5);

       九转指标:=EMA(通达信,10)-EMA(通达信,30);

       源代码:=EMA(九转指标,5);

       vvdd4:=(九转指标-源代码)*5;

       vvdd5:=IF(vvdd4 =通达信,通达信,vvdd4);

       vvdaa1:=FORCAST(FORCAST(vvdd5,10),10);

       vvdaa2:=IF(vvdd5 vvdaa1,vvdd5,通达信);

       vvdaa3:=MA(通达信,5);

       vvdaa4:=MA(HHV(通达信,10),5);

       vvdaa5:=SMA(CLOSE,10,1);

       vvdaa6:=DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL);

       vvdaa7:=DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL);

       vvdaa9:CROSS(vvdaa2,vvdaa3)ANDCROSS(vvdaa2,vvdaa5)ANDvvdaa5 REF(vvdaa5,1)ANDvvdaa6 REF(vvdaa6,1)ANDvvdaa7 REF(vvdaa7,1);

       A1:=C REF(C,4);

       A2:=C REF(C,4);

       T1:=A2ANDREF(A1,1);

       T2:=A2ANDREF(T1,1);

       T3:=A2ANDREF(T2,1);

       T4:=A2ANDREF(T3,1);

       T5:=A2ANDREF(T4,1);

       T6:=A2ANDREF(T5,1);

       T7:=A2ANDREF(T6,1);

       T8:=A2ANDREF(T7,1);

       T9:=A2ANDREF(T8,1);

       九转:T9;




    非常准的通达信九转指标截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 非常准的通达信九转指标源代码 加入收藏