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

    正文概述    2024-04-14 17:42:47  

    M:=13;N:=200;

    股价96:="Y395";
    增幅96:=XMA(XMA(XMA(股价96,3),3),3)-REF(XMA(XMA(XMA(股价96,3),3),3),1);
    X396:=XMA(股价96,3);
    J396:=(XMA(股价96,3)*3+0.5*股价96-0.5*REF(股价96,1)+增幅96)/3;
    Y396:IFF(CURRBARSCOUNT=1,J396,X396),LINETHICK2,COLORGREEN;
    IF(Y396>REF(Y396,1),Y396,DRAWNULL),COLORRED,LINETHICK2;
    高险区1:Y396*1.1,COLORLIRED,COLORFFFF00;
    高风区2:Y396*1.125,COLORLIRED,COLORFF0000;
    高风区3:Y396*1.15,COLORLIRED,COLOR00FF00;
    良机区1:Y396*0.9,COLORLIBLUE,COLOR00FFFF;
    良机区2:Y396*0.875,COLORLIBLUE,COLORFF00FF;
    良机区3:Y396*0.85,COLOR0000FF;
    WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
    WSR2:=CROSS(WSR1,5);
    WSR3:=CROSS(8,WSR1);
    WSR4:=CROSS(WSR1,-5);
    WSR5:=CROSS(WSR1,-8);
    WSR6:=WSR3;
    WSR7:=WSR4 OR WSR5;
    WSR8:=WSR7 AND FILTER(WSR7,5);
    WSR10:DRAWICON(WSR8,L-0.01,1);
    WSR9:=WSR6 AND FILTER(WSR6,5);
    WSR11:DRAWICON(WSR9,H+0.01,2);
    WSR12:=O<良机区3;
    DRAWICON(WSR12 AND FILTER(WSR12,12),L-0.03,9);
    W1:=C>REF(C,1) AND MACD0 AND V W2:=C>REF(C,1) AND MACD<0 AND MACD XG:=W1 OR W2;
    VAR1:=AMOUNT/VOL/7;
    VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    VAR3:=SUM(AMOUNT,10)/VAR1/7;
    VAR4:=DMA(VAR2,VOL/VAR3);
    VAR5:=(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA;
    XG1:=CROSS(VAR5,MA(VAR5,2)) AND VAR5<0 AND C<(HHV(H,5)*0.88) AND REF(O>C,1) AND REF(O>C,2);
    XG3:=XG AND XG1 AND L<良机区1;
    WSR13:=O>良机区3 AND L<良机区1 OR XG3;
    DRAWICON(WSR13 AND FILTER(WSR13,10),L-0.03,23);
    WSR14:=H>高风区3;DRAWICON(WSR14 AND FILTER(WSR14,15),H+0.03,19);
    WSR15:=H<高风区3 AND H>高风区2;DRAWICON(WSR15 AND FILTER(WSR15,5),H+0.03,15);

    WSR16:=(INDEXC-MA(INDEXC,3))/MA(INDEXC,3);
    WSR17:=(INDEXC-MA(INDEXC,8))/MA(INDEXC,8);
    WSR18:=(INDEXC-MA(INDEXC,18))/MA(INDEXC,18);
    WSR19:=(WSR16 + WSR17 + WSR18)/3;

    WSR20:=(C-MA(C,3))/MA(C,3);
    WSR21:=(C-MA(C,8))/MA(C,8);
    WSR22:=(C-MA(C,18))/MA(C,18);
    WSR23:=(WSR20 + WSR21 + WSR22)/3;
    WSR24:=(WSR19>REF(WSR19,1) AND CROSS(WSR23,WSR19))*50;

    WSR25:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6);
    WSR26:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12);
    WSR27:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24);
    WSR28:=(WSR25 + WSR26 + WSR27)/3;

    WSR29:=(C-MA(C,6))/MA(C,6);
    WSR30:=(C-MA(C,12))/MA(C,12);
    WSR31:=(C-MA(C,24))/MA(C,24);
    WSR32:=(WSR29 + WSR30 + WSR31)/3;
    WSR33:=(WSR28>REF(WSR28,1) AND CROSS(WSR32,WSR28))*20;


    WSR34:=(INDEXC-MA(INDEXC,13))/MA(INDEXC,13);
    WSR35:=(INDEXC-MA(INDEXC,34))/MA(INDEXC,34);
    WSR36:=(INDEXC-MA(INDEXC,55))/MA(INDEXC,55);
    WSR37:=(WSR34 + WSR35 + WSR36)/3;

    WSR38:=(C-MA(C,13))/MA(C,13);
    WSR39:=(C-MA(C,34))/MA(C,34);
    WSR40:=(C-MA(C,55))/MA(C,55);
    WSR41:=(WSR38 + WSR39 + WSR40)/3;
    WSR42:=(WSR37>REF(WSR37,1) AND CROSS(WSR41,WSR37));

    WSR43:=(INDEXC-MA(INDEXC,13))/MA(INDEXC,13);
    WSR44:=(INDEXC-MA(INDEXC,34))/MA(INDEXC,34);
    WSR45:=(INDEXC-MA(INDEXC,55))/MA(INDEXC,55);
    WSR46:=(WSR43 + WSR44 + WSR45)/3;

    WSR47:=(C-MA(C,30))/MA(C,30);
    WSR48:=(C-MA(C,60))/MA(C,60);
    WSR49:=(C-MA(C,90))/MA(C,90);
    WSR50:=(WSR47 + WSR48 + WSR49)/3;
    WSR51:=(WSR46>REF(WSR46,1) AND CROSS(WSR50,WSR46));

    WSR52:=(INDEXC-MA(INDEXC,34))/MA(INDEXC,34);
    WSR53:=(INDEXC-MA(INDEXC,55))/MA(INDEXC,55);
    WSR54:=(INDEXC-MA(INDEXC,89))/MA(INDEXC,89);
    WSR55:=(WSR52 + WSR53 + WSR54)/3;

    WSR56:=(C-MA(C,60))/MA(C,60);
    WSR57:=(C-MA(C,120))/MA(C,120);
    WSR58:=(C-MA(C,220))/MA(C,220);
    WSR59:=(WSR56 + WSR57 + WSR58)/3;
    WSR60:=(WSR59>REF(WSR59,1) AND CROSS(WSR59,WSR55));
    WSR61:=WSR24 OR WSR33 OR WSR42 OR WSR51 OR WSR60;
    DRAWTEXT(WSR61 AND H DRAWTEXT(WSR61 AND H

    时间之窗:=HHVBARS(ZIG(3,M)>REF(ZIG(3,M),1)
    AND REF(ZIG(3,M), 1) DRAWTEXT(时间之窗=2,L*0.94,'★3天'),COLORRED;
    DRAWTEXT(时间之窗=4,H*1.06,'★5天'),COLORGREEN;
    DRAWTEXT(时间之窗=7,L*0.94,'★8天'),COLORRED;
    DRAWTEXT(时间之窗=12,H*1.06,'★13天'),COLORGREEN;
    DRAWTEXT(时间之窗=20,L*0.94,'★21天'),COLORLIRED;
    DRAWTEXT(时间之窗=33,H*1.06,'★34天'),COLORLIGREEN;
    DRAWTEXT(时间之窗=54,L*0.94,'★55天'),COLORLIRED;
    {DRAWTEXT(时间之窗=88,H*1.06,'★89天'),COLORLIGREEN;
    DRAWTEXT(时间之窗=143,L*0.94,'★144天'),COLORLIRED;
    DRAWTEXT(时间之窗=232,H*1.06,'★233天'),COLORLIGREEN;
    DRAWTEXT(时间之窗=376,L*0.94,'★377天'),COLORLIRED;
    DRAWTEXT(时间之窗=609,H*1.06,'★610天'),COLORLIGREEN; }

    GET:ZIG(3,3),COLORFFFFFF;
    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),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),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),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
    PL40:=ZIG(3,40);
    走强1:=BARSLAST(PL5 走弱1:=BARSLAST(PL5>REF(PL5,1));
    走强2:=BARSLAST(PL10 走弱2:=BARSLAST(PL10>REF(PL10,1));
    走强3:=BARSLAST(PL20 走弱3:=BARSLAST(PL20>REF(PL20,1));
    ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
    ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
    DTJZ5:=IF(PL10 DTJD5:=IF(PL10 ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
    ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
    DTJZ10:=IF(PL20 DTJD10:=IF(PL20 DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'(A)'),COLORFFFF00;
    DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)'),COLORFF00FF;
    DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'(C)'),COLOR0000FF;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;
    DRAWTEXT(EN2 AND DTJZ10=1,L*0.93,'Ⅰ'),COLORFF00FF;
    DRAWTEXT(EX2 AND DTJD10=2,H*1.05,'Ⅱ'),COLORFFFF00;
    DRAWTEXT(EN3 AND ZTJZ10=1,L*0.93,'Ⅲ'),COLOR0000FF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.03,'①'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.95,'②'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2)
    AND EX2,H*1.03,'③'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.95,'④'),LINETHICK3,COLOR00FFFF;
    V1:=(C+H+L)/3;
    MA3:=MA(V1,2);
    MA5:=MA(V1,5);
    DRAWBAND(MA2,RGB(200,50,55),MA5,RGB(0,100,50));
    遵:IF(MA2>=MA5,MA2,DRAWNULL),COLORRED; 
    守:IF(MA5>=MA2,MA5,DRAWNULL),COLORFF9900;
    纪:IF(MA2>=MA5,MA5,DRAWNULL),COLOR00FFFF;
    律:IF(MA5>=MA2,MA2,DRAWNULL),COLOR00FF00;
    N1:=BARSLAST(CROSS(MA3,MA5));
    N2:=BARSLAST(CROSS(MA5,MA3));
    N:=IF(N1 STICKLINE(N>0,C,O,3,0),COLOR000099;
    STICKLINE(N>0,C,O,0.9,0),COLOR0000CC;
    STICKLINE(N>0,C,O,0.2,0),COLOR0000FF;
    STICKLINE(N<0,C,O,3,0),COLOR888800;
    STICKLINE(N<0,C,O,0.9,0),COLORCCCC00;
    STICKLINE(N<0,C,O,0.2,0),COLORFFFF00;

     

    ======================================================

     

    {Y395}


    股价67:="Y366";
    增幅67:=XMA(XMA(XMA(股价67,3),3),3)-REF(XMA(XMA(XMA(股价67,3),3),3),1);
    X367:=XMA(股价67,3);
    J367:=(XMA(股价67,3)*3+0.5*股价67-0.5*REF(股价67,1)+增幅67)/3;
    Y367:=IFF(CURRBARSCOUNT=1,J367,X367);

    股价68:=Y367;
    增幅68:=XMA(XMA(XMA(股价68,3),3),3)-REF(XMA(XMA(XMA(股价68,3),3),3),1);
    X368:=XMA(股价68,3);
    J368:=(XMA(股价68,3)*3+0.5*股价68-0.5*REF(股价68,1)+增幅68)/3;
    Y368:=IFF(CURRBARSCOUNT=1,J368,X368);

    股价69:=Y368;
    增幅69:=XMA(XMA(XMA(股价69,3),3),3)-REF(XMA(XMA(XMA(股价69,3),3),3),1);
    X369:=XMA(股价69,3);
    J369:=(XMA(股价69,3)*3+0.5*股价69-0.5*REF(股价69,1)+增幅69)/3;
    Y369:=IFF(CURRBARSCOUNT=1,J369,X369);

    股价70:=Y369;
    增幅70:=XMA(XMA(XMA(股价70,3),3),3)-REF(XMA(XMA(XMA(股价70,3),3),3),1);
    X370:=XMA(股价70,3);
    J370:=(XMA(股价70,3)*3+0.5*股价70-0.5*REF(股价70,1)+增幅70)/3;
    Y370:=IFF(CURRBARSCOUNT=1,J370,X370);

    股价71:=Y370;
    增幅71:=XMA(XMA(XMA(股价71,3),3),3)-REF(XMA(XMA(XMA(股价71,3),3),3),1);
    X371:=XMA(股价71,3);
    J371:=(XMA(股价71,3)*3+0.5*股价71-0.5*REF(股价71,1)+增幅71)/3;
    Y371:=IFF(CURRBARSCOUNT=1,J371,X371);

    股价72:=Y371;
    增幅72:=XMA(XMA(XMA(股价72,3),3),3)-REF(XMA(XMA(XMA(股价72,3),3),3),1);
    X372:=XMA(股价72,3);
    J372:=(XMA(股价72,3)*3+0.5*股价72-0.5*REF(股价72,1)+增幅72)/3;
    Y372:=IFF(CURRBARSCOUNT=1,J372,X372);

    股价73:=Y372;
    增幅73:=XMA(XMA(XMA(股价73,3),3),3)-REF(XMA(XMA(XMA(股价73,3),3),3),1);
    X373:=XMA(股价73,3);
    J373:=(XMA(股价73,3)*3+0.5*股价73-0.5*REF(股价73,1)+增幅73)/3;
    Y373:=IFF(CURRBARSCOUNT=1,J373,X373);

    股价74:=Y373;
    增幅74:=XMA(XMA(XMA(股价74,3),3),3)-REF(XMA(XMA(XMA(股价74,3),3),3),1);
    X374:=XMA(股价74,3);
    J374:=(XMA(股价74,3)*3+0.5*股价74-0.5*REF(股价74,1)+增幅74)/3;
    Y374:=IFF(CURRBARSCOUNT=1,J374,X374);

    股价75:=Y374;
    增幅75:=XMA(XMA(XMA(股价75,3),3),3)-REF(XMA(XMA(XMA(股价75,3),3),3),1);
    X375:=XMA(股价75,3);
    J375:=(XMA(股价75,3)*3+0.5*股价75-0.5*REF(股价75,1)+增幅75)/3;
    Y375:=IFF(CURRBARSCOUNT=1,J375,X375);

    股价76:=Y375;
    增幅76:=XMA(XMA(XMA(股价76,3),3),3)-REF(XMA(XMA(XMA(股价76,3),3),3),1);
    X376:=XMA(股价76,3);
    J376:=(XMA(股价76,3)*3+0.5*股价76-0.5*REF(股价76,1)+增幅76)/3;
    Y376:=IFF(CURRBARSCOUNT=1,J376,X376);

    股价77:=Y376;
    增幅77:=XMA(XMA(XMA(股价77,3),3),3)-REF(XMA(XMA(XMA(股价77,3),3),3),1);
    X377:=XMA(股价77,3);
    J377:=(XMA(股价77,3)*3+0.5*股价77-0.5*REF(股价77,1)+增幅77)/3;
    Y377:=IFF(CURRBARSCOUNT=1,J377,X377);

    股价78:=Y377;
    增幅78:=XMA(XMA(XMA(股价78,3),3),3)-REF(XMA(XMA(XMA(股价78,3),3),3),1);
    X378:=XMA(股价78,3);
    J378:=(XMA(股价78,3)*3+0.5*股价78-0.5*REF(股价78,1)+增幅78)/3;
    Y378:=IFF(CURRBARSCOUNT=1,J378,X378);

    股价79:=Y378;
    增幅79:=XMA(XMA(XMA(股价79,3),3),3)-REF(XMA(XMA(XMA(股价79,3),3),3),1);
    X379:=XMA(股价79,3);
    J379:=(XMA(股价79,3)*3+0.5*股价79-0.5*REF(股价79,1)+增幅79)/3;
    Y379:=IFF(CURRBARSCOUNT=1,J379,X379);

    股价80:=Y379;
    增幅80:=XMA(XMA(XMA(股价80,3),3),3)-REF(XMA(XMA(XMA(股价80,3),3),3),1);
    X380:=XMA(股价80,3);
    J380:=(XMA(股价80,3)*3+0.5*股价80-0.5*REF(股价80,1)+增幅80)/3;
    Y380:=IFF(CURRBARSCOUNT=1,J380,X380);

    股价81:=Y380;
    增幅81:=XMA(XMA(XMA(股价81,3),3),3)-REF(XMA(XMA(XMA(股价81,3),3),3),1);
    X381:=XMA(股价81,3);
    J381:=(XMA(股价81,3)*3+0.5*股价81-0.5*REF(股价81,1)+增幅81)/3;
    Y381:=IFF(CURRBARSCOUNT=1,J381,X381);

    股价82:=Y381;
    增幅82:=XMA(XMA(XMA(股价82,3),3),3)-REF(XMA(XMA(XMA(股价82,3),3),3),1);
    X382:=XMA(股价82,3);
    J382:=(XMA(股价82,3)*3+0.5*股价82-0.5*REF(股价82,1)+增幅82)/3;
    Y382:=IFF(CURRBARSCOUNT=1,J382,X382);

    股价83:=Y382;
    增幅83:=XMA(XMA(XMA(股价83,3),3),3)-REF(XMA(XMA(XMA(股价83,3),3),3),1);
    X383:=XMA(股价83,3);
    J383:=(XMA(股价83,3)*3+0.5*股价83-0.5*REF(股价83,1)+增幅83)/3;
    Y383:=IFF(CURRBARSCOUNT=1,J383,X383);

    股价84:=Y383;
    增幅84:=XMA(XMA(XMA(股价84,3),3),3)-REF(XMA(XMA(XMA(股价84,3),3),3),1);
    X384:=XMA(股价84,3);
    J384:=(XMA(股价84,3)*3+0.5*股价84-0.5*REF(股价84,1)+增幅84)/3;
    Y384:=IFF(CURRBARSCOUNT=1,J384,X384);

    股价85:=Y384;
    增幅85:=XMA(XMA(XMA(股价85,3),3),3)-REF(XMA(XMA(XMA(股价85,3),3),3),1);
    X385:=XMA(股价85,3);
    J385:=(XMA(股价85,3)*3+0.5*股价85-0.5*REF(股价85,1)+增幅85)/3;
    Y385:=IFF(CURRBARSCOUNT=1,J385,X385);

    股价86:=Y385;
    增幅86:=XMA(XMA(XMA(股价86,3),3),3)-REF(XMA(XMA(XMA(股价86,3),3),3),1);
    X386:=XMA(股价86,3);
    J386:=(XMA(股价86,3)*3+0.5*股价86-0.5*REF(股价86,1)+增幅86)/3;
    Y386:=IFF(CURRBARSCOUNT=1,J386,X386);

    股价87:=Y386;
    增幅87:=XMA(XMA(XMA(股价87,3),3),3)-REF(XMA(XMA(XMA(股价87,3),3),3),1);
    X387:=XMA(股价87,3);
    J387:=(XMA(股价87,3)*3+0.5*股价87-0.5*REF(股价87,1)+增幅87)/3;
    Y387:=IFF(CURRBARSCOUNT=1,J387,X387);

    股价88:=Y387;
    增幅88:=XMA(XMA(XMA(股价88,3),3),3)-REF(XMA(XMA(XMA(股价88,3),3),3),1);
    X388:=XMA(股价88,3);
    J388:=(XMA(股价88,3)*3+0.5*股价88-0.5*REF(股价88,1)+增幅88)/3;
    Y388:=IFF(CURRBARSCOUNT=1,J388,X388);


    股价89:=Y388;
    增幅89:=XMA(XMA(XMA(股价89,3),3),3)-REF(XMA(XMA(XMA(股价89,3),3),3),1);
    X389:=XMA(股价89,3);
    J389:=(XMA(股价89,3)*3+0.5*股价89-0.5*REF(股价89,1)+增幅89)/3;
    Y389:IFF(CURRBARSCOUNT=1,J389,X389);
    股价90:=Y389;
    增幅90:=XMA(XMA(XMA(股价90,3),3),3)-REF(XMA(XMA(XMA(股价90,3),3),3),1);
    X390:=XMA(股价90,3);
    J390:=(XMA(股价90,3)*3+0.5*股价90-0.5*REF(股价90,1)+增幅90)/3;
    Y390:=IFF(CURRBARSCOUNT=1,J390,X390);

    股价91:=Y390;
    增幅91:=XMA(XMA(XMA(股价91,3),3),3)-REF(XMA(XMA(XMA(股价91,3),3),3),1);
    X391:=XMA(股价91,3);
    J391:=(XMA(股价91,3)*3+0.5*股价91-0.5*REF(股价91,1)+增幅91)/3;
    Y391:=IFF(CURRBARSCOUNT=1,J391,X391);

    股价92:=Y391;
    增幅92:=XMA(XMA(XMA(股价92,3),3),3)-REF(XMA(XMA(XMA(股价92,3),3),3),1);
    X392:=XMA(股价92,3);
    J392:=(XMA(股价92,3)*3+0.5*股价92-0.5*REF(股价92,1)+增幅92)/3;
    Y392:=IFF(CURRBARSCOUNT=1,J392,X392);

    股价93:=Y392;
    增幅93:=XMA(XMA(XMA(股价93,3),3),3)-REF(XMA(XMA(XMA(股价93,3),3),3),1);
    X393:=XMA(股价93,3);
    J393:=(XMA(股价93,3)*3+0.5*股价93-0.5*REF(股价93,1)+增幅93)/3;
    Y393:=IFF(CURRBARSCOUNT=1,J393,X393);

    股价94:=Y393;
    增幅94:=XMA(XMA(XMA(股价94,3),3),3)-REF(XMA(XMA(XMA(股价94,3),3),3),1);
    X394:=XMA(股价94,3);
    J394:=(XMA(股价94,3)*3+0.5*股价94-0.5*REF(股价94,1)+增幅94)/3;
    Y394:=IFF(CURRBARSCOUNT=1,J394,X394);

    股价95:=Y394;
    增幅95:=XMA(XMA(XMA(股价95,3),3),3)-REF(XMA(XMA(XMA(股价95,3),3),3),1);
    X395:=XMA(股价95,3);
    J395:=(XMA(股价95,3)*3+0.5*股价95-0.5*REF(股价95,1)+增幅95)/3;
    Y395:IFF(CURRBARSCOUNT=1,J395,X395);
     

     

    ===============================================================

     

    {Y366}

    股价34:="Y333";
    增幅34:=XMA(XMA(XMA(股价34,3),3),3)-REF(XMA(XMA(XMA(股价34,3),3),3),1);

    X334:=XMA(股价34,3);
    J334:=(XMA(股价34,3)*3+0.5*股价34-0.5*REF(股价34,1)+增幅34)/3;
    Y334:=IFF(CURRBARSCOUNT=1,J334,X334);

    股价35:=Y334;
    增幅35:=XMA(XMA(XMA(股价35,3),3),3)-REF(XMA(XMA(XMA(股价35,3),3),3),1);

    X335:=XMA(股价35,3);
    J335:=(XMA(股价35,3)*3+0.5*股价35-0.5*REF(股价35,1)+增幅35)/3;
    Y335:=IFF(CURRBARSCOUNT=1,J335,X335);

    股价36:=Y335;
    增幅36:=XMA(XMA(XMA(股价36,3),3),3)-REF(XMA(XMA(XMA(股价36,3),3),3),1);

    X336:=XMA(股价36,3);
    J336:=(XMA(股价36,3)*3+0.5*股价36-0.5*REF(股价36,1)+增幅36)/3;
    Y336:=IFF(CURRBARSCOUNT=1,J336,X336);

    股价37:=Y336;
    增幅37:=XMA(XMA(XMA(股价37,3),3),3)-REF(XMA(XMA(XMA(股价37,3),3),3),1);

    X337:=XMA(股价37,3);
    J337:=(XMA(股价37,3)*3+0.5*股价37-0.5*REF(股价37,1)+增幅37)/3;
    Y337:=IFF(CURRBARSCOUNT=1,J337,X337);

    股价38:=Y337;
    增幅38:=XMA(XMA(XMA(股价38,3),3),3)-REF(XMA(XMA(XMA(股价38,3),3),3),1);

    X338:=XMA(股价38,3);
    J338:=(XMA(股价38,3)*3+0.5*股价38-0.5*REF(股价38,1)+增幅38)/3;
    Y338:=IFF(CURRBARSCOUNT=1,J338,X338);

    股价39:=Y338;
    增幅39:=XMA(XMA(XMA(股价39,3),3),3)-REF(XMA(XMA(XMA(股价39,3),3),3),1);

    X339:=XMA(股价39,3);
    J339:=(XMA(股价39,3)*3+0.5*股价39-0.5*REF(股价39,1)+增幅39)/3;
    Y339:=IFF(CURRBARSCOUNT=1,J339,X339);

    股价40:=Y339;
    增幅40:=XMA(XMA(XMA(股价40,3),3),3)-REF(XMA(XMA(XMA(股价40,3),3),3),1);

    X340:=XMA(股价40,3);
    J340:=(XMA(股价40,3)*3+0.5*股价40-0.5*REF(股价40,1)+增幅40)/3;
    Y340:=IFF(CURRBARSCOUNT=1,J340,X340);

    股价41:=Y340;
    增幅41:=XMA(XMA(XMA(股价41,3),3),3)-REF(XMA(XMA(XMA(股价41,3),3),3),1);

    X341:=XMA(股价41,3);
    J341:=(XMA(股价41,3)*3+0.5*股价41-0.5*REF(股价41,1)+增幅41)/3;
    Y341:=IFF(CURRBARSCOUNT=1,J341,X341);


    股价42:=Y341;
    增幅42:=XMA(XMA(XMA(股价42,3),3),3)-REF(XMA(XMA(XMA(股价42,3),3),3),1);

    X342:=XMA(股价42,3);
    J342:=(XMA(股价42,3)*3+0.5*股价42-0.5*REF(股价42,1)+增幅42)/3;
    Y342:=IFF(CURRBARSCOUNT=1,J342,X342);

    股价43:=Y342;
    增幅43:=XMA(XMA(XMA(股价43,3),3),3)-REF(XMA(XMA(XMA(股价43,3),3),3),1);

    X343:=XMA(股价43,3);
    J343:=(XMA(股价43,3)*3+0.5*股价43-0.5*REF(股价43,1)+增幅43)/3;
    Y343:=IFF(CURRBARSCOUNT=1,J343,X343);

    股价44:=Y343;
    增幅44:=XMA(XMA(XMA(股价44,3),3),3)-REF(XMA(XMA(XMA(股价44,3),3),3),1);

    X344:=XMA(股价44,3);
    J344:=(XMA(股价44,3)*3+0.5*股价44-0.5*REF(股价44,1)+增幅44)/3;
    Y344:=IFF(CURRBARSCOUNT=1,J344,X344);


    股价45:=Y344;
    增幅45:=XMA(XMA(XMA(股价45,3),3),3)-REF(XMA(XMA(XMA(股价45,3),3),3),1);

    X345:=XMA(股价45,3);
    J345:=(XMA(股价45,3)*3+0.5*股价45-0.5*REF(股价45,1)+增幅45)/3;
    Y345:=IFF(CURRBARSCOUNT=1,J345,X345);

    股价46:=Y345;
    增幅46:=XMA(XMA(XMA(股价46,3),3),3)-REF(XMA(XMA(XMA(股价46,3),3),3),1);

    X346:=XMA(股价46,3);
    J346:=(XMA(股价46,3)*3+0.5*股价46-0.5*REF(股价46,1)+增幅46)/3;
    Y346:=IFF(CURRBARSCOUNT=1,J346,X346);

    股价47:=Y346;
    增幅47:=XMA(XMA(XMA(股价47,3),3),3)-REF(XMA(XMA(XMA(股价47,3),3),3),1);
    X347:=XMA(股价47,3);
    J347:=(XMA(股价47,3)*3+0.5*股价47-0.5*REF(股价47,1)+增幅47)/3;
    Y347:=IFF(CURRBARSCOUNT=1,J347,X347);


    股价48:=Y347;
    增幅48:=XMA(XMA(XMA(股价48,3),3),3)-REF(XMA(XMA(XMA(股价48,3),3),3),1);
    X348:=XMA(股价48,3);
    J348:=(XMA(股价48,3)*3+0.5*股价48-0.5*REF(股价48,1)+增幅48)/3;
    Y348:=IFF(CURRBARSCOUNT=1,J348,X348);

    股价49:=Y348;
    增幅49:=XMA(XMA(XMA(股价49,3),3),3)-REF(XMA(XMA(XMA(股价49,3),3),3),1);
    X349:=XMA(股价49,3);
    J349:=(XMA(股价49,3)*3+0.5*股价49-0.5*REF(股价49,1)+增幅49)/3;
    Y349:=IFF(CURRBARSCOUNT=1,J349,X349);

    股价50:=Y349;
    增幅50:=XMA(XMA(XMA(股价50,3),3),3)-REF(XMA(XMA(XMA(股价50,3),3),3),1);
    X350:=XMA(股价50,3);
    J350:=(XMA(股价50,3)*3+0.5*股价50-0.5*REF(股价50,1)+增幅50)/3;
    Y350:=IFF(CURRBARSCOUNT=1,J350,X350);

    股价51:=Y350;
    增幅51:=XMA(XMA(XMA(股价51,3),3),3)-REF(XMA(XMA(XMA(股价51,3),3),3),1);
    X351:=XMA(股价51,3);
    J351:=(XMA(股价51,3)*3+0.5*股价51-0.5*REF(股价51,1)+增幅51)/3;
    Y351:=IFF(CURRBARSCOUNT=1,J351,X351);


    股价52:=Y351;
    增幅52:=XMA(XMA(XMA(股价52,3),3),3)-REF(XMA(XMA(XMA(股价52,3),3),3),1);
    X352:=XMA(股价52,3);
    J352:=(XMA(股价52,3)*3+0.5*股价52-0.5*REF(股价52,1)+增幅52)/3;
    Y352:=IFF(CURRBARSCOUNT=1,J352,X352);


    股价53:=Y352;
    增幅53:=XMA(XMA(XMA(股价53,3),3),3)-REF(XMA(XMA(XMA(股价53,3),3),3),1);
    X353:=XMA(股价53,3);
    J353:=(XMA(股价53,3)*3+0.5*股价53-0.5*REF(股价53,1)+增幅53)/3;
    Y353:=IFF(CURRBARSCOUNT=1,J353,X353);


    股价54:=Y353;
    增幅54:=XMA(XMA(XMA(股价54,3),3),3)-REF(XMA(XMA(XMA(股价54,3),3),3),1);
    X354:=XMA(股价54,3);
    J354:=(XMA(股价54,3)*3+0.5*股价54-0.5*REF(股价54,1)+增幅54)/3;
    Y354:=IFF(CURRBARSCOUNT=1,J354,X354);

    股价55:=Y354;
    增幅55:=XMA(XMA(XMA(股价55,3),3),3)-REF(XMA(XMA(XMA(股价55,3),3),3),1);
    X355:=XMA(股价55,3);
    J355:=(XMA(股价55,3)*3+0.5*股价55-0.5*REF(股价55,1)+增幅55)/3;
    Y355:=IFF(CURRBARSCOUNT=1,J355,X355);

    股价56:=Y355;
    增幅56:=XMA(XMA(XMA(股价56,3),3),3)-REF(XMA(XMA(XMA(股价56,3),3),3),1);
    X356:=XMA(股价56,3);
    J356:=(XMA(股价56,3)*3+0.5*股价56-0.5*REF(股价56,1)+增幅56)/3;
    Y356:=IFF(CURRBARSCOUNT=1,J356,X356);

    股价57:=Y356;
    增幅57:=XMA(XMA(XMA(股价57,3),3),3)-REF(XMA(XMA(XMA(股价57,3),3),3),1);
    X357:=XMA(股价57,3);
    J357:=(XMA(股价57,3)*3+0.5*股价57-0.5*REF(股价57,1)+增幅57)/3;
    Y357:=IFF(CURRBARSCOUNT=1,J357,X357);

    股价58:=Y357;
    增幅58:=XMA(XMA(XMA(股价58,3),3),3)-REF(XMA(XMA(XMA(股价58,3),3),3),1);
    X358:=XMA(股价58,3);
    J358:=(XMA(股价58,3)*3+0.5*股价58-0.5*REF(股价58,1)+增幅58)/3;
    Y358:=IFF(CURRBARSCOUNT=1,J358,X358);

    股价59:=Y358;
    增幅59:=XMA(XMA(XMA(股价59,3),3),3)-REF(XMA(XMA(XMA(股价59,3),3),3),1);
    X359:=XMA(股价59,3);
    J359:=(XMA(股价59,3)*3+0.5*股价59-0.5*REF(股价59,1)+增幅59)/3;
    Y359:=IFF(CURRBARSCOUNT=1,J359,X359);

    股价60:=Y359;
    增幅60:=XMA(XMA(XMA(股价60,3),3),3)-REF(XMA(XMA(XMA(股价60,3),3),3),1);
    X360:=XMA(股价60,3);
    J360:=(XMA(股价60,3)*3+0.5*股价60-0.5*REF(股价60,1)+增幅60)/3;
    Y360:=IFF(CURRBARSCOUNT=1,J360,X360);

    股价61:=Y360;
    增幅61:=XMA(XMA(XMA(股价61,3),3),3)-REF(XMA(XMA(XMA(股价61,3),3),3),1);
    X361:=XMA(股价61,3);
    J361:=(XMA(股价61,3)*3+0.5*股价61-0.5*REF(股价61,1)+增幅61)/3;
    Y361:=IFF(CURRBARSCOUNT=1,J361,X361);

    股价62:=Y361;
    增幅62:=XMA(XMA(XMA(股价62,3),3),3)-REF(XMA(XMA(XMA(股价62,3),3),3),1);
    X362:=XMA(股价62,3);
    J362:=(XMA(股价62,3)*3+0.5*股价62-0.5*REF(股价62,1)+增幅62)/3;
    Y362:=IFF(CURRBARSCOUNT=1,J362,X362);

    股价63:=Y362;
    增幅63:=XMA(XMA(XMA(股价63,3),3),3)-REF(XMA(XMA(XMA(股价63,3),3),3),1);
    X363:=XMA(股价63,3);
    J363:=(XMA(股价63,3)*3+0.5*股价63-0.5*REF(股价63,1)+增幅63)/3;
    Y363:=IFF(CURRBARSCOUNT=1,J363,X363);


    股价64:=Y363;
    增幅64:=XMA(XMA(XMA(股价64,3),3),3)-REF(XMA(XMA(XMA(股价64,3),3),3),1);
    X364:=XMA(股价64,3);
    J364:=(XMA(股价64,3)*3+0.5*股价64-0.5*REF(股价64,1)+增幅64)/3;
    Y364:=IFF(CURRBARSCOUNT=1,J364,X364);

    股价65:=Y364;
    增幅65:=XMA(XMA(XMA(股价65,3),3),3)-REF(XMA(XMA(XMA(股价65,3),3),3),1);
    X365:=XMA(股价65,3);
    J365:=(XMA(股价65,3)*3+0.5*股价65-0.5*REF(股价65,1)+增幅65)/3;
    Y365:=IFF(CURRBARSCOUNT=1,J365,X365);

    股价66:=Y365;
    增幅66:=XMA(XMA(XMA(股价66,3),3),3)-REF(XMA(XMA(XMA(股价66,3),3),3),1);
    X366:=XMA(股价66,3);
    J366:=(XMA(股价66,3)*3+0.5*股价66-0.5*REF(股价66,1)+增幅66)/3;
    Y366:IFF(CURRBARSCOUNT=1,J366,X366);
     

    ===========================================================

     

    {Y333}


    股价1:=(C+H+L)/3;
    增幅1:=XMA(XMA(XMA(股价1,3),3),3)-REF(XMA(XMA(XMA(股价1,3),3),3),1);
    X31:=XMA(股价1,3);
    J31:=(XMA(股价1,3)*3+0.5*股价1-0.5*REF(股价1,1)+增幅1)/3;
    Y31:=IFF(CURRBARSCOUNT=1,J31,X31);

    股价2:=Y31;
    增幅2:=XMA(XMA(XMA(股价2,3),3),3)-REF(XMA(XMA(XMA(股价2,3),3),3),1);
    X32:=XMA(股价2,3);
    J32:=(XMA(股价2,3)*3+0.5*股价2-0.5*REF(股价2,1)+增幅2)/3;
    Y32:=IFF(CURRBARSCOUNT=1,J32,X32);

    股价3:=Y32;
    增幅3:=XMA(XMA(XMA(股价3,3),3),3)-REF(XMA(XMA(XMA(股价3,3),3),3),1);
    X33:=XMA(股价3,3);
    J33:=(XMA(股价3,3)*3+0.5*股价3-0.5*REF(股价3,1)+增幅3)/3;
    Y33:=IFF(CURRBARSCOUNT=1,J33,X33);

    股价4:=Y33;
    增幅4:=XMA(XMA(XMA(股价4,3),3),3)-REF(XMA(XMA(XMA(股价4,3),3),3),1);
    X34:=XMA(股价4,3);
    J34:=(XMA(股价4,3)*3+0.5*股价4-0.5*REF(股价4,1)+增幅4)/3;
    Y34:=IFF(CURRBARSCOUNT=1,J34,X34);

    股价5:=Y34;
    增幅5:=XMA(XMA(XMA(股价5,3),3),3)-REF(XMA(XMA(XMA(股价5,3),3),3),1);
    X35:=XMA(股价5,3);
    J35:=(XMA(股价5,3)*3+0.5*股价5-0.5*REF(股价5,1)+增幅5)/3;
    Y35:=IFF(CURRBARSCOUNT=1,J35, X35);


    股价6:=Y35;
    增幅6:=XMA(XMA(XMA(股价6,3),3),3)-REF(XMA(XMA(XMA(股价6,3),3),3),1);
    X36:=XMA(股价6,3);
    J36:=(XMA(股价6,3)*3+0.5*股价6-0.5*REF(股价6,1)+增幅6)/3;
    Y36:=IFF(CURRBARSCOUNT=1,J36,X36); 


    股价7:=Y36;
    增幅7:=XMA(XMA(XMA(股价7,3),3),3)-REF(XMA(XMA(XMA(股价7,3),3),3),1);
    X37:=XMA(股价7,3);
    J37:=(XMA(股价7,3)*3+0.5*股价7-0.5*REF(股价7,1)+增幅7)/3;
    Y37:=IFF(CURRBARSCOUNT=1,J37,X37); 

    股价8:=Y37;
    增幅8:=XMA(XMA(XMA(股价8,3),3),3)-REF(XMA(XMA(XMA(股价8,3),3),3),1);
    X38:=XMA(股价8,3);
    J38:=(XMA(股价8,3)*3+0.5*股价8-0.5*REF(股价8,1)+增幅8)/3;
    Y38:=IFF(CURRBARSCOUNT=1,J38,X38); 

    股价9:=Y38;
    增幅9:=XMA(XMA(XMA(股价9,3),3),3)-REF(XMA(XMA(XMA(股价9,3),3),3),1);
    X39:=XMA(股价9,3);
    J39:=(XMA(股价9,3)*3+0.5*股价9-0.5*REF(股价9,1)+增幅9)/3;
    Y39:=IFF(CURRBARSCOUNT=1,J39,X39); 

    股价10:=Y39;
    增幅10:=XMA(XMA(XMA(股价10,3),3),3)-REF(XMA(XMA(XMA(股价10,3),3),3),1);
    X310:=XMA(股价10,3);
    J310:=(XMA(股价10,3)*3+0.5*股价10-0.5*REF(股价10,1)+增幅10)/3;
    Y310:=IFF(CURRBARSCOUNT=1,J310,X310); 

    股价11:=Y310;
    增幅11:=XMA(XMA(XMA(股价11,3),3),3)-REF(XMA(XMA(XMA(股价11,3),3),3),1);
    X311:=XMA(股价11,3);
    J311:=(XMA(股价11,3)*3+0.5*股价11-0.5*REF(股价11,1)+增幅11)/3;
    Y311:=IFF(CURRBARSCOUNT=1,J311,X311);

    股价12:=Y311;
    增幅12:=XMA(XMA(XMA(股价12,3),3),3)-REF(XMA(XMA(XMA(股价12,3),3),3),1);
    X312:=XMA(股价12,3);
    J312:=(XMA(股价12,3)*3+0.5*股价12-0.5*REF(股价12,1)+增幅12)/3;
    Y312:=IFF(CURRBARSCOUNT=1,J312,X312); 


    股价13:=Y312;
    增幅13:=XMA(XMA(XMA(股价13,3),3),3)-REF(XMA(XMA(XMA(股价13,3),3),3),1);
    X313:=XMA(股价13,3);
    J313:=(XMA(股价13,3)*3+0.5*股价13-0.5*REF(股价13,1)+增幅13)/3;
    Y313:=IFF(CURRBARSCOUNT=1,J313,X313);

    股价14:=Y313;
    增幅14:=XMA(XMA(XMA(股价14,3),3),3)-REF(XMA(XMA(XMA(股价14,3),3),3),1);
    X314:=XMA(股价14,3);
    J314:=(XMA(股价14,3)*3+0.5*股价14-0.5*REF(股价14,1)+增幅14)/3;
    Y314:=IFF(CURRBARSCOUNT=1,J314,X314); 

    股价15:=Y314;
    增幅15:=XMA(XMA(XMA(股价15,3),3),3)-REF(XMA(XMA(XMA(股价15,3),3),3),1);
    X315:=XMA(股价15,3);
    J315:=(XMA(股价15,3)*3+0.5*股价15-0.5*REF(股价15,1)+增幅15)/3;
    Y315:=IFF(CURRBARSCOUNT=1,J315,X315);

    股价16:=Y315;
    增幅16:=XMA(XMA(XMA(股价16,3),3),3)-REF(XMA(XMA(XMA(股价16,3),3),3),1);
    X316:=XMA(股价16,3);
    J316:=(XMA(股价16,3)*3+0.5*股价16-0.5*REF(股价16,1)+增幅16)/3;
    Y316:=IFF(CURRBARSCOUNT=1,J316,X316); 


    股价17:=Y316;
    增幅17:=XMA(XMA(XMA(股价17,3),3),3)-REF(XMA(XMA(XMA(股价17,3),3),3),1);
    X317:=XMA(股价17,3);
    J317:=(XMA(股价17,3)*3+0.5*股价17-0.5*REF(股价17,1)+增幅17)/3;
    Y317:=IFF(CURRBARSCOUNT=1,J317,X317); 

    股价18:=Y317;
    增幅18:=XMA(XMA(XMA(股价18,3),3),3)-REF(XMA(XMA(XMA(股价18,3),3),3),1);
    X318:=XMA(股价18,3);
    J318:=(XMA(股价18,3)*3+0.5*股价18-0.5*REF(股价18,1)+增幅18)/3;
    Y318:=IFF(CURRBARSCOUNT=1,J318,X318); 


    股价19:=Y318;
    增幅19:=XMA(XMA(XMA(股价19,3),3),3)-REF(XMA(XMA(XMA(股价19,3),3),3),1);
    X319:=XMA(股价19,3);
    J319:=(XMA(股价19,3)*3+0.5*股价19-0.5*REF(股价19,1)+增幅19)/3;
    Y319:=IFF(CURRBARSCOUNT=1,J319,X319); 


    股价20:=Y319;
    增幅20:=XMA(XMA(XMA(股价20,3),3),3)-REF(XMA(XMA(XMA(股价20,3),3),3),1);
    X320:=XMA(股价20,3);
    J320:=(XMA(股价20,3)*3+0.5*股价20-0.5*REF(股价20,1)+增幅20)/3;
    Y320:=IFF(CURRBARSCOUNT=1,J320,X320);

    股价21:=Y320;
    增幅21:=XMA(XMA(XMA(股价21,3),3),3)-REF(XMA(XMA(XMA(股价21,3),3),3),1);
    X321:=XMA(股价21,3);
    J321:=(XMA(股价21,3)*3+0.5*股价21-0.5*REF(股价21,1)+增幅21)/3;
    Y321:=IFF(CURRBARSCOUNT=1,J321,X321); 

    股价22:=Y321;
    增幅22:=XMA(XMA(XMA(股价22,3),3),3)-REF(XMA(XMA(XMA(股价22,3),3),3),1);
    X322:=XMA(股价22,3);
    J322:=(XMA(股价22,3)*3+0.5*股价22-0.5*REF(股价22,1)+增幅22)/3;
    Y322:=IFF(CURRBARSCOUNT=1,J322,X322);

    股价23:=Y322;
    增幅23:=XMA(XMA(XMA(股价23,3),3),3)-REF(XMA(XMA(XMA(股价23,3),3),3),1);
    X323:=XMA(股价23,3);
    J323:=(XMA(股价23,3)*3+0.5*股价23-0.5*REF(股价23,1)+增幅23)/3;
    Y323:=IFF(CURRBARSCOUNT=1,J323,X323); 

    股价24:=Y323;
    增幅24:=XMA(XMA(XMA(股价24,3),3),3)-REF(XMA(XMA(XMA(股价24,3),3),3),1);
    X324:=XMA(股价24,3);
    J324:=(XMA(股价24,3)*3+0.5*股价24-0.5*REF(股价24,1)+增幅24)/3;
    Y324:=IFF(CURRBARSCOUNT=1,J324,X324); 

    股价25:=Y324;
    增幅25:=XMA(XMA(XMA(股价25,3),3),3)-REF(XMA(XMA(XMA(股价25,3),3),3),1);
    X325:=XMA(股价25,3);
    J325:=(XMA(股价25,3)*3+0.5*股价25-0.5*REF(股价25,1)+增幅25)/3;
    Y325:=IFF(CURRBARSCOUNT=1,J325,X325); 

    股价26:=Y325;
    增幅26:=XMA(XMA(XMA(股价26,3),3),3)-REF(XMA(XMA(XMA(股价26,3),3),3),1);
    X326:=XMA(股价26,3);
    J326:=(XMA(股价26,3)*3+0.5*股价26-0.5*REF(股价26,1)+增幅26)/3;
    Y326:=IFF(CURRBARSCOUNT=1,J326,X326); 


    股价27:=Y326;
    增幅27:=XMA(XMA(XMA(股价27,3),3),3)-REF(XMA(XMA(XMA(股价27,3),3),3),1);
    X327:=XMA(股价27,3);
    J327:=(XMA(股价27,3)*3+0.5*股价27-0.5*REF(股价27,1)+增幅27)/3;
    Y327:=IFF(CURRBARSCOUNT=1,J327,X327); 

    股价28:=Y327;
    增幅28:=XMA(XMA(XMA(股价28,3),3),3)-REF(XMA(XMA(XMA(股价28,3),3),3),1);
    X328:=XMA(股价28,3);
    J328:=(XMA(股价28,3)*3+0.5*股价28-0.5*REF(股价28,1)+增幅28)/3;
    Y328:=IFF(CURRBARSCOUNT=1,J328,X328); 

    股价29:=Y328;
    增幅29:=XMA(XMA(XMA(股价29,3),3),3)-REF(XMA(XMA(XMA(股价29,3),3),3),1);
    X329:=XMA(股价29,3);
    J329:=(XMA(股价29,3)*3+0.5*股价29-0.5*REF(股价29,1)+增幅29)/3;
    Y329:=IFF(CURRBARSCOUNT=1,J329,X329); 


    股价30:=Y329;
    增幅30:=XMA(XMA(XMA(股价30,3),3),3)-REF(XMA(XMA(XMA(股价30,3),3),3),1);
    X330:=XMA(股价30,3);
    J330:=(XMA(股价30,3)*3+0.5*股价30-0.5*REF(股价30,1)+增幅30)/3;
    Y330:=IFF(CURRBARSCOUNT=1,J330,X330);

    股价31:=Y330;
    增幅31:=XMA(XMA(XMA(股价31,3),3),3)-REF(XMA(XMA(XMA(股价31,3),3),3),1);
    X331:=XMA(股价31,3);
    J331:=(XMA(股价31,3)*3+0.5*股价31-0.5*REF(股价31,1)+增幅31)/3;
    Y331:=IFF(CURRBARSCOUNT=1,J331,X331);

    股价32:=Y331;
    增幅32:=XMA(XMA(XMA(股价32,3),3),3)-REF(XMA(XMA(XMA(股价32,3),3),3),1);
    X332:=XMA(股价32,3);
    J332:=(XMA(股价32,3)*3+0.5*股价32-0.5*REF(股价32,1)+增幅32)/3;
    Y332:=IFF(CURRBARSCOUNT=1,J332,X332);

    股价33:=Y332;
    增幅33:=XMA(XMA(XMA(股价33,3),3),3)-REF(XMA(XMA(XMA(股价33,3),3),3),1);

    X333:=XMA(股价33,3);
    J333:=(XMA(股价33,3)*3+0.5*股价33-0.5*REF(股价33,1)+增幅33)/3;
    Y333:IFF(CURRBARSCOUNT=1,J333,X333);
     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信天地主图指标 加入收藏