最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 轨道趋势分型主图指标公式

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

    以下是轨道分型主图指标公式源码和使用说明


    轨道趋势分型主图指标公式源码:


       重心线:=(H+L+O+C*3)/6;

       NX:=(3*CLOSE+LOW+OPEN+HIGH)/6;

       牛线:=(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)

       +15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)

       +10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)

       +5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17)+2*REF(NX,18)+REF(NX,20))/210;

       牛熊线:=ma(牛线,6),COLORGREEN,LINETHICK2;

       V00:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);

       V01:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);

       V02:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);

       V03:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);

       V04:=REF(HIGH,2) HIGHANDREF(LOW,2) LOW

       ANDREF(HIGH,2) REF(HIGH,1)ANDREF(LOW,2) REF(LOW,1);

       V1:=COUNT(V00,6) =3ANDCOUNT(V01ORV02,5)=0ANDLLVBARS(LOW,6)=1ANDHHVBARS(HIGH,6) =5ANDV03;

       V2:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=2ANDHHVBARS(HIGH,7) =6ANDV04;

       V3:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=1ANDHHVBARS(HIGH,7) =6ANDV03;

       V4:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=2ANDHHVBARS(HIGH,8) =7ANDV04;

       V5:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=1ANDHHVBARS(HIGH,8) =7ANDV03;

       V6:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=2ANDHHVBARS(HIGH,9) =8ANDV04;

       V7:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=1ANDHHVBARS(HIGH,9) =8ANDV03;

       V8:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=2ANDHHVBARS(HIGH,10) =9ANDV04;

       V9:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=1ANDHHVBARS(HIGH,10) =9ANDV03;

       V10:=COUNT(V00,11) =3ANDCOUNT(V01ORV02,10) =5ANDLLVBARS(LOW,11)=2ANDHHVBARS(HIGH,11) =10ANDV04;

       XG:=V1ORV2ORV3ORV4ORV5ORV6ORV7ORV8ORV9ORV10;

       底分型:FILTER(XG=1,5)AND重心线 10.5AND牛线 12AND牛熊线 10.2;

       JJ:=(CLOSE+HIGH+LOW)/3;

       A:=EMA(JJ,13);

       B:=REF(A,1);

       M1:=EMA(CLOSE,3);

       M2:=EMA(CLOSE,8);

       M3:=EMA(M2,13);

       M4:EMA(M2,55);

       持股区域:STICKLINE(A B,A,B,6,0),COLORRED;

       持币区域:STICKLINE(A B,A,B,6,0),COLORGREEN;

       DRAWKLINE(H,O,L,C);

       MA5:=MA(CLOSE,5),COLORWHITE;

       MA10:=MA(CLOSE,10),COLORYELLOW;

       MA20:=MA(CLOSE,24),COLORMAGENTA;

       MA60:=MA(CLOSE,60),COLORGREEN;

       MA120:=MA(CLOSE,120),COLORLIMAGENTA;

       MA240:=MA(CLOSE,240),COLORBLUE;

       DRAWICON(CROSS(MA10,MA20),MA20,1);

       DRAWICON(CROSS(MA20,MA60),MA60,1);

       DRAWICON(CROSS(MA20,MA120),MA120,1);

       反弹托:=MA5 MA20ANDMA5 MA20ANDMA20 MA60ANDMA60 MA120ANDCROSS(MA10,MA20);

       月价托:=MA5 MA20ANDMA20 MA60ANDMA60 MA120ANDMA5 MA20ANDCROSS(MA10,MA20);

       季价托:=MA20 MA60ANDMA20 MA60ANDCROSS(MA20,MA60);

       短长价托:=MA5 MA60ANDMA5 MA10ANDCROSS(MA10,MA60);

       半年托:=MA60 MA120ANDMA60 MA120ANDCROSS(MA60,MA120);

       熊来:=MA60 MA120ANDMA60 MA120ANDCROSS(MA120,MA60);

       年托:=MA120 MA240ANDMA120 MA240ANDCROSS(MA120,MA240);

       月蜘蛛:=MA5 MA10ANDMA10 MA20ANDCROSS(MA5,MA20)ANDCROSS(MA10,MA20);

       DRAWTEXT(月蜘蛛,MA20-0.08,'金蜘蛛'),COLORMAGENTA;

       DRAWTEXT(反弹托,MA20-0.08,'反弹托'),COLORMAGENTA;

       DRAWTEXT(月价托,MA20-0.2,'月托'),COLORMAGENTA;

       DRAWTEXT(季价托,MA60-0.0158,'季价托'),COLORMAGENTA;

       DRAWTEXT(短长价托,L+0.015,'短长托'),COLOR36C0C1;

       DRAWTEXT(半年托,MA120-0.08,'牛市来'),COLORRED;

       DRAWTEXT(熊来,MA60+0.08,'小心熊'),COLORGREEN;

       DRAWTEXT(年托,MA240-0.08,'年托'),COLORRED;

       压:=MA10 MA20ANDMA20 MA10ANDCROSS(MA20,MA10);

       DRAWTEXT(压,MA20+0.012,'压'),COLORYELLOW;

       VOL5:=MA(VOL,5),COLORWHITE;

       VOL10:=MA(VOL,10),COLORYELLOW;

       VOL40:=MA(VOL,40),COLORFF00FF;

       量托:=VOL5 =VOL40ANDCROSS(VOL10,VOL40)ANDREF(VOL10,1) REF(VOL40,1);

       DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;

       AA1:=BARSLAST(MA60 MA20AND(MA20=MA10ORMA20 MA10));

       BB1:=REF(COUNT(C MA60,AA1)=AA1,1);

       CC1:=CROSS(C,MA60)ANDVOL MA(VOL,5)AND(C-REF(C,1))/REF(C,1)*100

       芙蓉出水:=BB1ANDCC1,COLOR00FF00;

       DRAWTEXT(芙蓉出水,H+0.12,'芙蓉出水'),COLORFF00FF;

       STICKLINE(芙蓉出水,H,L,0.5,1),COLORFF00FF;

       STICKLINE(芙蓉出水,O,C,4,1),LINETHICK2,COLORFF00FF;

       MA1:=MA(CLOSE,5);

       MA2:=MA(CLOSE,10);

       MA3:=MA(CLOSE,30);

       ZJ:=AMOUNT/10000;

       TM:=V-MA(V,10);

       一穿三:=MA1 OANDMA2 OANDMA3 OANDMA1 CANDMA2 CANDMA3 CANDCLOSE OPEN;

       DRAWTEXT(一穿三,L-0.012,'穿三线'),COLORFF00FF;

       C6:=REF(C,1);

       :=IF((C-C6)*100/C6 =(10-0.01*100/C6),1,0);

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

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

       TY:=C;

       A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);

       A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);

       前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;

       STICKLINE(C,前期高位,前期高位,8,0),COLORYELLOW;

       MAA5:MA(C,5),COLORLIRED,LINETHICK2;

       MAA10:MA(C,10),COLORCYAN;

       MAA30:MA(C,30),COLORRED;

       KS:IF(MAA10 MAA30,MAA10,MAA30),COLORYELLOW;

       A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

       A4:=SMA(A3,3,1);

       A5:=SMA(A4,3,1);

       A6:=3*A4-2*A5;

       A7:=C-REF(C,1);

       A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);

       买:=LLV(A8,2)=LLV(A8,7)ANDCOUNT(A8 0,2)ANDCROSS(A8,MA(A8,2));

       DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买'),COLORYELLOW;

       STICKLINE(买,OPEN,CLOSE,2,0),COLORMAGENTA;

       卖:=HHV(A8,2)=HHV(A8,7)ANDCOUNT(A8 0,2)ANDCROSS(MA(A8,3),A8);

       DRAWTEXT(FILTER(卖=1,5),HIGH+0.05,'↙卖'),COLORYELLOW;

       STICKLINE(卖,OPEN,CLOSE,2,0),COLORGREEN;

       UR:=6;

       LR:=6;

       TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL);

       TC2:=CONST(BARSLAST(TC1=H))+1;

       UP:CONST(IF(TC2=1,H,REF(H,TC2-1)));

       BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL);

       BC2:=CONST(BARSLAST(BC1=L))+1;

       LL:CONST(IF(BC2=1,L,REF(L,BC2-1)));

       LP:=CURRBARSCOUNT =BC2ANDL=LL;

       HP:=CURRBARSCOUNT =TC2ANDH=UP;

       STICKLINE(IF(BC2 TC2,HP,LP),LL,UP,0,0),COLORLIMAGENTA;

       STICKLINE(IF(BC2 TC2,LP,HP),LL,UP,0,0),COLORLIMAGENTA;

       NOD:=(IF(TC2 BC2,TC2,BC2)-IF(TC2 BC2,BC2,TC2));

       LR1:=FORCAST(C,NOD+1);

       NP:IF(CURRBARSCOUNT =MAX(BC2,TC2),CONST(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1))),DRAWNULL),POINTDOT,COLOR93BDA8;

       LR2:=SLOPE(C,NOD+1);

       LR3:=CONST(IF(MIN(TC2,BC2)=1,LR2,REF(LR2,MIN(TC2,BC2)-1)));

       FP:NP-LR3*(NOD),POINTDOT,COLOR93BDA8;

       EQU:(NP+FP)/2,POINTDOT,COLOR93BDA8;

       AD:=ABS(NP-FP);

       DBL:=BARSLAST(BC1!=DRAWNULL)+1;

       DBH:=BARSLAST(TC1!=DRAWNULL)+1;

       BSP:=IF(BC2 TC2,DBL,DBH)-1;

       LRL:=IF(NP FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP);

       AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2)ANDH LRL,H,LRL);

       AT2:=HHV(AT1-LRL,MAX(BC2,TC2));

       AT3:=CONST(BARSLAST(AT1-LRL=AT2));

       AT4:=CONST(IF(AT3=0,H,REF(H,AT3)));

       AT5:=CONST(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3)));

       ATL:=LRL+AT5;

       UT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2)ANDL LRL,L,LRL);

       UT2:=HHV(LRL-UT1,MAX(BC2,TC2));

       UT3:=CONST(BARSLAST(LRL-UT1=UT2));

       UT4:=CONST(IF(UT3=0,H,REF(H,UT3)));

       UT5:=CONST(IF(UT3=0,LRL-UT1,REF(LRL-UT1,UT3)));

       UTL:=LRL-UT5;

       RH:=IF(CURRBARSCOUNT =MIN(BC2,TC2)-10,ATL,CONST(REF(ATL,MIN(BC2,TC2)-11)));

       RL:=IF(CURRBARSCOUNT =MIN(BC2,TC2)-10,UTL,CONST(REF(UTL,MIN(BC2,TC2)-11)));



    轨道趋势分型主图指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 轨道趋势分型主图指标公式 加入收藏