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

    正文概述    2024-05-04 04:26:22  

           打开通达信,按ctrl+f,弹出公式编辑器。有2个选择:    1、导入公式。这时,你要保证要导入的公式跟通达信的函数一致。    2、重新编写。就是按“新建”按钮,然后自己按要求敲入就可以了。    海洋寻底    P1:=5;    P2:=4;    SSRCJL:=EMA(VOL,13);    SSRCJE:=EMA(AMOUNT,13);    SSRCBJX:=((SSRCJE/SSRCJL)/100);    SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);    绝对底:=SSRGL (0-18);    大底:=SSRGL (0-14);    中底:=SSRGL (0-10);    短底:=SSRGL (0-6);    STICKLINE((SSRGL (0-18)),60,80,1,0),COLORRED;    STICKLINE((SSRGL (0-14)),40,60,1,0),COLORBLUE;    STICKLINE((SSRGL (0-10)),20,40,1,0),COLORYELLOW;    STICKLINE((SSRGL (0-6)),0,20,1,0),COLORWHITE;    高卖:80,POINTDOT,COLORRED;    低吸:20,POINTDOT,COLORGREEN;    VAR1:=LLV(LOW,5);    VAR2:=HHV(HIGH,4);    K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P1),COLORRED,LINETHICK1;    D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK1;    捕捞季节    {捕捞季节}    WY1001:=(2*CLOSE+HIGH+LOW)/4;    WY1002:=EMA(WY1001,4);    WY1003:=EMA(WY1002,4);    WY1004:=EMA(WY1003,4);    XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;    STICKLINE(XYS0 =0,XYS0,0,2,0),COLORRED;    STICKLINE(XYS0 0,XYS0,0,2,0),COLORGREEN;    PJGJ:=AMOUNT/VOL/100;    SSRYDJX:=MA(PJGJ,13);    SSRCJL:=EMA(VOL,13);    SSRCJE:=EMA(AMOUNT,13);    SSRCBJX:=SSRCJE/SSRCJL/100;    CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;    XYSHSL:=EMA(VOL/CAPITAL*100,13);    ZZX:0,COLORWHITE;    STICKLINE(XYSHSL 6.1ANDCYS13 5,2,0,2,0),COLORGREEN;    STICKLINE(XYSHSL 3.8ANDCYS13 5,1.5,0,2,0),COLORYELLOW;    STICKLINE(XYSHSL 2.1ANDCYS13 5,1,0,2,0),COLORCYAN;    STICKLINE(XYSHSL 1.8ANDCYS13 5,0.5,0,2,0),COLORBLUE;    XYS1:MA(XYS0,2);    XYS2:MA(XYS0,1);    主力追踪    {主力追踪}    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+    16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+    13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+    10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+    7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+    4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;    智能辅助线    {智能辅助线}    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    取舍线:    (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,    5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*    REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(M    ID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,LINETHICK1,COLORYELLOW ;    生命线:MA(取舍线,6),LINETHICK1,COLORRED;    五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;    水平面:MA(CLOSE,60),CIRCLEDOT,COLORLIMAGENTA;    MA1:=MA(CLOSE,5);    MA2:=MA(CLOSE,10);    MA3:=MA(CLOSE,30);    MA4:=MA(CLOSE,60);    WYA001:=(2*CLOSE+HIGH+LOW)/4;    WYA002:=EMA(WYA001,4);    WYA003:=EMA(WYA002,4);    WYA004:=EMA(WYA003,4);    WYA柱:=(WYA004-REF(WYA004,1))/REF(WYA004,1)*100;    WYA线1:=MA(WYA柱,2);    WYA线2:=MA(WYA柱,1);    WY分时1线:=MA(CLOSE,1);    WY分时21线:=MA(CLOSE,21);    DRAWICON(WYA线1 0.25ANDWYA线2 0.25ANDCROSS(WYA线1,WYA线    2),HIGH*1.0128,6);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线1,WYA线    2),HIGH*1.0128,6);    DRAWICON(CROSS(WY分时21线,WY分时1线),HIGH*1.0128,6);    DRAWICON(WYA线1 -0.25ANDWYA线2 -0.25ANDCROSS(WYA线2,WYA线    1),LOW*0.99,5);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线2,WYA线    1),LOW*0.99,5),COLORYELLOW;    DRAWICON(CROSS(WY分时1线,WY分时21线),LOW*0.99,5),COLORYELLOW;    笑脸图    {笑脸图}    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    取舍    线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MI    D,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+    9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(    MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,LINETHICK1,COLORYELLO    W;    生命线:MA(取舍线,6),LINETHICK1,COLORRED;    五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;    水平面:MA(CLOSE,60),CIRCLEDOT,COLORLIMAGENTA;    MA1:=MA(CLOSE,5);    MA2:=MA(CLOSE,10);    MA3:=MA(CLOSE,30);    MA4:=MA(CLOSE,60    );    WYA001:=(2*CLOSE+HIGH+LOW)/4;    WYA002:=EMA(WYA001,4);    WYA003:=EMA(WYA002,4);    WYA004:=EMA(WYA003,4);    WYA柱:=(WYA004-REF(WYA004,1))/REF(WYA004,1)*100;    WYA线1:=MA(WYA柱,2);    WYA线2:=MA(WYA柱,1);    WY分时1线:=MA(CLOSE,1);    WY分时21线:=MA(CLOSE,21);    DRAWICON(WYA线1 0.25ANDWYA线2 0.25ANDCROSS(WYA线1,WYA线    2),HIGH*1.0128,6);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线1,WYA线    2),HIGH*1.0128,6);    DRAWICON(CROSS(WY分时21线,WY分时1线),HIGH*1.0128,6);    DRAWICON(WYA线1 -0.25ANDWYA线2 -0.25ANDCROSS(WYA线2,WYA线    1),LOW*0.99,5);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线2,WYA线    1),LOW*0.99,5),COLORYELLOW;    DRAWICON(CROSS(WY分时1线,WY分时21线),LOW*0.99,5),COLORYELLOW;    DRAWICON(CROSS(MA3,MA1),MA3+2,2);    STICKLINE((MA1     =MA3),MA1,MA3,4,1),COLORRED;    STICKLINE((MA1 =    MA3),MA1,MA3,4,1),COLORGREEN;    K线图    {K线图}    V1:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);    HY1:=REF(EMA(V1,3),1);    实时线:MA(CLOSE,1),COLOR006400;    神秘线:HY1,COLOR400080;    STICKLINE(C HY1,LOW,HIGH,1,0),COLORRED;    STICKLINE(C HY1,CLOSE,OPEN,4.5,0),COLORRED;    STICKLINE(C HY1,CLOSE,OPEN,4,0),COLORRED;    STICKLINE(C HY1,CLOSE,OPEN,3,0),COLORRED;    STICKLINE(C HY1,CLOSE,OPEN,2,0),COLORRED;    STICKLINE(C =HY1,CLOSE,OPEN,4.5,0),COLORFF4242;    STICKLINE(C =HY1,CLOSE,OPEN,4,0),COLORFF4242;    STICKLINE(C =HY1,CLOSE,OPEN,3,0),COLORFF4242;    STICKLINE(C =HY1,CLOSE,OPEN,2,0),COLORFF4242;    STICKLINE(C =HY1,LOW,HIGH,1,0),COLORFF4242;    DRAWTEXT(CROSS(CLOSE,HY1),LOW, ↑ ),LINETHICK2,COLORYELLOW;    DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.05, ↓ ),LINETHICK3,COLORWHITE;    APP:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));    ZL:=IF((CLOSE OPEN),(APP*(HIGH-LOW)),IF((CLOSE OPEN),(APP*((HIGH-    OPEN)+(CLOSE-LOW))),(VOL/2)));    SF:=IF((CLOSE OPEN),(0-(APP*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE    OPEN),(0-(APP*(HIGH-LOW))),(0-(VOL/2))));    库存能量:=MA((ZL+SF),2);    库存平均:=MA((ZL+SF),5);    DRAWTEXT(CROSS(库存能量,库存平均),L*0.97, ↑ ),COLORFF00FF,LINETHICK4;    支撑压力线    {支撑压力线}    N:=75;P:=5;P1:=10;{N为多少天内的高低值参数,我以自已的初始K线根数定义。P1、P2    为短、长支撑压力取点参数}    A1:=REF(H,P)=HHV(H,2*P+1);    B1:=FILTER(A1,P);    C1:=BACKSET(B1,P+1);    D1:=FILTER(C1,P);    E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);    F1:=E1 REF(E1,1);    短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;    A2:=REF(L,P)=LLV(L,2*P+1);    B2:=FILTER(A2,P);    C2:=BACKSET(B2,P+1);    D2:=FILTER(C2,P);    E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);    F2:=E2 REF(E2,1);    短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;    AA1:=REF(H,P1)=HHV(H,2*P1+1);    BB1:=FILTER(AA1,P1);    CC1:=BACKSET(BB1,P1+1);    DD1:=FILTER(CC1,P1);    EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);    FF1:=EE1 REF(EE1,1);    长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;    AA2:=REF(L,P1)=LLV(L,2*P1+1);    BB2:=FILTER(AA2,P1);    CC2:=BACKSET(BB2,P1+1);    DD2:=FILTER(CC2,P1);    EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);    FF2:=EE2 REF(EE2,1);    长支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;    STICKLINE(C =O,C,O,3,0),COLOR000045;    STICKLINE(C =O,C,O,2.5,0),COLOR000065;    STICKLINE(C =O,C,O,2,0),COLOR000085;    STICKLINE(C =O,C,O,1.5,0),COLOR0000A5;    STICKLINE(C =O,C,O,1,0),COLOR0000C5;    STICKLINE(C =O,C,O,0.5,0),COLOR0000E5;    STICKLINE(C =O,H,L,0,0),COLOR0000F5;    STICKLINE(C O,C,O,3,0),COLOR353500;    STICKLINE(C O,C,O,2.5,0),COLOR454500;    STICKLINE(C O,C,O,2,0),COLOR555500;    STICKLINE(C O,C,O,1.5,0),COLOR656500;    STICKLINE(C O,C,O,1,0),COLOR757500;    STICKLINE(C O,C,O,0.5,0),COLOR858500;    STICKLINE(C O,H,L,0,0),COLOR959500;    高:=REFDATE(HHV(H,N),DATE);    低:=REFDATE(LLV(L,N),DATE);    H1:=高-(高-低)*0.191;    H2:=高-(高-低)*0.382;    H3:=高-(高-低)*0.5;    H4:=高-(高-低)*0.618;    H5:=高-(高-低)*0.809;    DRAWTEXT(CURRBARSCOUNT=1,高, 高 ),COLORGREEN;    DRAWTEXT(CURRBARSCOUNT=1,H1, 809 ),COLORCYAN;    DRAWTEXT(CURRBARSCOUNT=1,H2, 618 ),COLORGRAY;    DRAWTEXT(CURRBARSCOUNT=1,H3, 中 ),COLORYELLOW;    DRAWTEXT(CURRBARSCOUNT=1,H4, 382 ),COLORLIRED;    DRAWTEXT(CURRBARSCOUNT=1,H5, 191 ),COLORMAGENTA;    DRAWTEXT(CURRBARSCOUNT=1,低, 低 ),COLORRED;    STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORGREEN;    STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;    STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORGRAY;    STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;    STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;    STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;    STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;    主力显示    {主力显示}    主力持    仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF,LIN    ETHICK2;    指数趋势:    EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFF    AA66,LINETHICK3;    强弱分界:80,COLORYELLOW;    主力筹码集中度:WINNER(C)*100    ,COLORRED,LINETHICK2;    散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100    ,COLORGREEN,LINETHICK2;    苦茶资金流    {苦茶资金流}    JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);    TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);    XD1:=QJ0*(JJ-MIN(CLOSE,OPEN));    XD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));    TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);    日净额:((TD1+XD1)-(TD2+XD2))/10000,NODRAW;    周净额:SUM(日净额,5),NODRAW;    月净额:SUM(日净额,22),NODRAW;    DRAWBAND(周净额,RGB(80,0,0),0,RGB(0,50,0));    STICKLINE(日净额 0,0,日净额,3,0),COLOR0000AA;    STICKLINE(日净额 0,0,日净额,2,0),COLOR0000CC;    STICKLINE(日净额 0,0,日净额,1,0),COLOR0000FF;    STICKLINE(日净额 0,日净额,0,3,0),COLOR00AA00;    STICKLINE(日净额 0,日净额,0,2,0),COLOR00CC00;    STICKLINE(日净额 0,日净额,0,1,0),COLOR00FF00;    资金监视    {资金监视}    ZLCM:=EMA(WINNER(CLOSE)*70,3);    SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);    ZZLKP:=ZLCM/(ZLCM+SHCM)*100;    ZZLJJ:=EMA(ZZLKP,89);    ZJLRQD:=ZZLKP-ZZLJJ;    AA:=EMA(ZJLRQD,3);    BB:=EMA(AA,5);    CC:=AA-BB;    STICKLINE(CC REF(CC,2),CC,0,1,1),    COLOR00FF00;    STICKLINE(CC REF(CC,2),CC,0,1,1),    COLORRED;    资金进场:IF(CROSS(AA,BB),3,0),STICK,LINETHICK3,COLORFF00FF;    资金出场:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK3,COLOR00FF00;    DRAWICON(资金进场 0,4,1);    DRAWICON(资金出场 0,-4,2);    短线英豪    {短线英豪}    动力线:MA(C,5),LINETHICK3,COLOR00CCFF;    牛熊线:MA(C,13),COLORFFFFFF;    生命线:MA(C,34),CIRCLEDOT,COLORFF9D3C;    MA05:=MA(C,5);    MA10:=MA(C,10);    MA20:=MA(C,20);    MA30:=MA(C,30);    五日乖离率:=(C-MA05)/MA05*100;    BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;    速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);    加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;    IF(BB05 30    ANDMA05 REF(MA05,1),    MA05,DRAWNULL),LINETHICK3,COLORRED;    BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;    IF(BB05 0    ANDMA05 REF(MA05,1),    MA05,DRAWNULL),LINETHICK3,COLORGREEN;    三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;    VAR1:=(MA20-MA30) REF((MA20-MA30),1)    ANDMA20 REF(MA20,1)AND    MA30 REF(MA30,1);    VAR2:=(MA30-MA20) REF((MA30-MA20),1)AND    MA20 REF(MA20,1)AND    MA30 REF(MA30,1);    BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;    强势狙击:=FILTER(BB30 30    ANDBB10 45AND    CROSS(BB05,60),10);    加仓:=FILTER(COUNT(CROSS(BB05,30),5) =1AND    MA05 REF(MA05,1)AND三拾日乖离率 REF(三拾日乖离率,1)ANDMA10 REF(MA10,1)    AND    加速度5 REF(加速度5,1)AND速度5 REF(速度5,1),10)    ;    清仓:=FILTER(COUNT(CROSS(30,BB05),5) =1AND(C MA30ORO MA30)AND    MA05 REF(MA05,1)AND三拾日乖离率 REF(三拾日乖离率,1)AND    MA10 REF(MA10,1),10);    DRAWTEXT(加仓    ,LOW*0.98, 加二 ),COLORYELLOW;    JC:=CROSS(0,五日乖离率)AND三拾日乖离率 REF(三拾日乖离率,1)    ANDMA10 REF(MA10,1)    ;    减仓:=FILTER(JC,10);    MR:=COUNT(CROSS(五日乖离率,0),3) =1AND    三拾日乖离率 REF(三拾日乖离率,1)ANDMA05 REF(MA05,1)AND(C/REF(C,1)-1)*100 5    AND    REF(C,1) MA30;    买入:=FILTER(MR,10);    DRAWTEXT(减仓,HIGH*1.03, 风险 ),COLORCYAN;    DRAWTEXT(买入,LOW*0.92, 买二 ),COLORYELLOW;    DRAWTEXT(清仓    ,HIGH*1.01, 清仓 ),COLORGREEN;    VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));    VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);    MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;    压力:MA(REF(HHV(C,30),1),2),COLORFF00FF;    支撑:MA(REF(LLV(C,30),1),2),COLORFFFF00;    {彩色K线}    TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);    TYX4:=MA((C+L+O+H)/4,13);    TYX5:=EMA((C+L+O+H)/4,21);    {空心红}    STICKLINE(C TYX5    ANDC O,H,L,0,0),COLORRED;    STICKLINE(C TYX5AND    C O,C,O,3,1),COLORRED;    {深绿}    STICKLINE(C TYX5AND    C O,H,L,0,0),COLOR007700;    STICKLINE(C TYX5AND    C O,C,O,3,0),COLOR005500;    STICKLINE(C TYX5AND    C O,C,O,2,0),COLOR006600;    STICKLINE(C TYX5AND    C O,C,O,1,0),COLOR007700;    {蓝}    STICKLINE(C TYX5AND    C O,H,L,0,0),COLORFFDD44;    STICKLINE(C TYX5ANDC O,C,O,3,0    ),COLORFF7700;    STICKLINE(C TYX5ANDC O,C,O,2,0    ),COLORFFAA22;    STICKLINE(C TYX5ANDC O,C,O,1,0),COLORFFDD44;    {黄}    STICKLINE(C TYX5ANDC O,H,L,0,0    ),COLOR00EEFF;    STICKLINE(C TYX5ANDC O,C,O,3,0),COLOR00AAFF;    STICKLINE(C TYX5ANDC O,C,O,2,0),COLOR00CCFF;    STICKLINE(C TYX5ANDC O,C,O,1,0    ),COLOR00EEFF;    {粉红}    STICKLINE(C TYX4AND    C O,H,L,0,0),COLORFF66AA;    STICKLINE(C TYX4ANDC O,C,O,3,0    ),COLORFF11FF;    STICKLINE(C TYX4ANDC O,C,O,2,0    ),COLORFF44FF;    STICKLINE(C TYX4ANDC O,C,O,1,0),COLORFF66FF;    {亮灰}    STICKLINE(C TYX4AND    C O,H,L,0,0),COLOR999999;    STICKLINE(C TYX4AND    C O,C,O,3,0),COLOR555555;    STICKLINE(C TYX4AND    C O,C,O,2,0),COLOR777777;    STICKLINE(C TYX4AND    C O,C,O,1,0),COLOR999999;    {深红}    STICKLINE(C TYX3AND    C O,H,L,0,0),COLOR0000DD;    STICKLINE(C TYX3AND    C O,C,O,3,0),COLOR000099;    STICKLINE(C TYX3AND    C O,C,O,2,0),COLOR0000BB;    STICKLINE(C TYX3AND    C O,C,O,1,0),COLOR0000DD;    {涨跌停K线}    STICKLINE(HIGH=LOWANDCLOSE=OPEN    AND(CLOSE/REF(CLOSE,1)) 1.048,HIGH,LOW,3,0),COLORRED;    STICKLINE(HIGH=LOW    ANDCLOSE=OPENAND(REF(CLOSE,1)/CLOSE) 1.048,HIGH,LOW,3,0)    ,COLOR00FF00;    {突破}    STICKLINE(REF(COUNT(C TYX3,5)=5,1)ANDC TYX3AND    C O,C,O,1,0),COLOR00CCFF;    {买卖主图}    MA18:=MA(CLOSE,18);    MTM:=C-REF(C,1);    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);    买:=LLV(DX,2)=LLV(DX,7)    ANDCOUNT(DX 0,2)AND    CROSS(DX,MA(DX,2));    DRAWTEXT(FILTER(买=1,5),LOW, 买一 ),COLORRED;    加1:=MA18 =REF(MA18,3)    AND    CROSS(CLOSE,MA18);    DRAWTEXT(加1,LOW*0.91, 加一 ),COLORCC66FF;    卖一:=HHV(DX,2)=HHV(DX,7)    ANDCOUNT(DX 50,2)AND    CROSS(MA(DX,2),DX);    DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01, 卖一 ),COLORGREEN;    {牛熊通吃}    AA1:=AMOUNT/V;    BB1:=L1.2;    DD1:=L MA(C,5)*0.921;    EE1:=V MA(V,5)*1.5;    FF1:=BB1    ANDCC1ANDDD1AND    EE1;    DRAWTEXT(FF1,LOW*0.94, 鼠仓 ),COLOR4080FF;    {预测明天}    XXS:=MA(LOW,5)*(1-5/100);    XXS1:=MA(HIGH,5)*(1+5/100);    均线:=C,COLORGREEN;    AAAA:=CLOSE/REF(CLOSE,3) =0.85ANDCROSS(C,XXS)AND    C REF(C,1),LINETHICK0;    DRAWTEXT(AAAA,L*0.90, 下影买 ),COLORRED;    BBAA:=CROSS(XXS1,C);    DRAWTEXT(CROSS(XXS1,C),H, 开盘逃 ),COLORWHITE;    DDDD:=CROSS(C,XXS1);    DRAWTEXT(DDDD,H, 明日走 ),COLORYELLOW;    {兄弟指标}    AAA:=MA(LOW,5)*(1-5/100);    BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;    DRAWTEXT(CROSS(BBB,L)ANDBBB REF(BBB,1),L*0.98, ←     ),COLORWHITE;    兄弟回马枪    {天河指标}    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);    DEA:=EMA(DIF,9);    DRAWTEXT(REF(CROSS(DEA,DIF),1)AND    CROSS(DIF,DEA),L*0.97, ←天河回马抢 ),COLORMAGENTA;    {见好就收}    VSR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;    VSR3:=SMA(VSR2,4,1);    VSR4:=SMA(VSR3,2,1);    DRAWTEXT(VSR4 82    ANDVSR3 89,HHV(C,30)*1.02, 收 ),COLORGREEN;    智能辅助线:    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    牛    线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4    )+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(    MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6    *REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,    18)+REF(MID,20))/210,COLORRED;    马线:MA(牛线,6),COLORGREEN;    五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;    水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;    是主图公式。    这还有几个航海家的指标:    {水手突破}    上趋势:MA(LOW,20)*1.2,color0080ff,linethick2;    次上趋势:MA(LOW,20)*1.1,COLORYELLOW;    次下趋势:MA(HIGH,20)*0.9,COLORWHITE;    下趋势:MA(HIGH,20)*0.8,COLORGREEN,linethick2;    ZD:=(C-REF(C,1))/REF(C,1)*100;    HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));    趋势强度:=IF(C 次上趋势,IF(C 上趋势,4,3),IF(C 次下趋势ANDC 次上趋    势,2,IF(C 下趋势,0,1)));    STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;    STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;    STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;    STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;    STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;    STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;    STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;    STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;    STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;    STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;    代码:    {智能辅助线1}    {主图}    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    牛    线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4    )+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(    MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6    *REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,    18)+REF(MID,20))/210,COLORRED;    马线:MA(牛线,6),COLORGREEN;    五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;    水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;    代码:    {智能辅助2}    {主图叠加}    HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;    HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(H    HJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)    +13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJ    sjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)    +7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJs    jda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+    REF(HHJsjda,20))/210,coloryellow;    HHJSJDC:MA(HHJSJDB,5),colorred;    代码:    {主力追踪}    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;    主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+    16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+    13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+    10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+    7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+    4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLOR    RED;    代码:    {捕捞季节}    WY1001:=(2*CLOSE+HIGH+LOW)/4;    WY1002:=EMA(WY1001,4);    WY1003:=EMA(WY1002,4);    WY1004:=EMA(WY1003,4);    XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;    STICKLINE(XYS0 =0,XYS0,0,2,0),COLORRED;    STICKLINE(XYS0 0,XYS0,0,2,0),COLORGREEN;    PJGJ:=AMOUNT/VOL/100;    SSRYDJX:=MA(PJGJ,13);    SSRCJL:=EMA(VOL,13);    SSRCJE:=EMA(AMOUNT,13);    SSRCBJX:=SSRCJE/SSRCJL/100;    CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;    XYSHSL:=EMA(VOL/CAPITAL*100,13);    ZZX:0,COLORWHITE;    STICKLINE(XYSHSL 6.1ANDCYS13 5,2,0,2,0),COLORGREEN;    STICKLINE(XYSHSL 3.8ANDCYS13 5,1.5,0,2,0),COLORYELLOW;    STICKLINE(XYSHSL 2.1ANDCYS13 5,1,0,2,0),COLORCYAN;    STICKLINE(XYSHSL 1.8ANDCYS13 5,0.5,0,2,0),COLORBLUE;    XYS1:MA(XYS0,2);    XYS2:MA(XYS0,1);    代码:    {海洋追涨}    HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;    HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*    REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJ    SJDA,6)    +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF    (HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)    +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(    HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+    REF(HHJSJDA,20))/210;    HHJSJDC:=MA(HHJSJDB,5);    QQ1:=MA(MA(CLOSE,3),3);    QQ2:=MA(MA(CLOSE,15),9);    XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100;    XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100;    XYSHSL:=EMA(VOL/CAPITAL*100,13);    STICKLINE(XYSQS2 =REF(XYSQS2,1)AND    XYSHSL 1,0,40,2,0),COLORYELLOW;    STICKLINE(XYSQS2 =REF(XYSQS2,1)ANDXYSHSL 1ANDC HHJSJDB    AND    HHJSJDB HHJSJDC,41,88,2,0),COLORRED;    IF(XYSQS2 =REF(XYSQS2,1)ANDXYSHSL 1,XYSQS1*178,0);    代码:    {海洋寻底}    P1:=5;    P2:=4;    SSRCJL:=EMA(VOL,13);    SSRCJE:=EMA(AMOUNT,13);    SSRCBJX:=((SSRCJE/SSRCJL)/100);    SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);    绝对底:=SSRGL (0-18);    大底:=SSRGL (0-14);    中底:=SSRGL (0-10);    短底:=SSRGL (0-6);    STICKLINE((SSRGL (0-18)),60,80,3,0),COLORRED;    STICKLINE((SSRGL (0-14)),40,60,3,0),COLORBLUE;    STICKLINE((SSRGL (0-10)),20,40,3,0),COLORYELLOW;    STICKLINE((SSRGL (0-6)),0,20,3,0),COLORWHITE;    高卖:80,POINTDOT,COLORRED;    低吸:20,POINTDOT,COLORGREEN;    VAR1:=LLV(LOW,P1);    VAR2:=HHV(HIGH,P1);    牛线:    EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;    马线:EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;    代码:    {分时买卖}    {主图叠加}    input:p1(5,0,300),p2(10,0,300),p3(30,0,300),p4(60,0,300);    MA1:MA(CLOSE,P1);    MA2:MA(CLOSE,P2);    MA3:MA(CLOSE,P3);    MA4:MA(CLOSE,P4);    wyA001:=(2*Close+High+Low)/4;    wyA002:=EMA(wyA001,4);    wyA003:=EMA(wyA002,4);    wyA004:=EMA(wyA003,4);    wyA柱:=(wyA004-REF(wyA004,1))/REF(wyA004,1)*100;    wyA线1:=MA(wyA柱,2);    wyA线2:=MA(wyA柱,1);    wy分时1线:=MA(CLOSE,1);    wy分时21线:=MA(CLOSE,21);    DRAWICON(WYA线1 0.25ANDWYA线2 0.25ANDCROSS(WYA线    1,WYA线2),high*1.0128,9);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线1,WYA    线2),high*1.0128,9);    DRAWICON(CROSS(wy分时21线,wy分时1线),high*1.0128,9);    DRAWICON(WYA线1 -0.25ANDWYA线2 -0.25ANDCROSS(WYA线    2,WYA线1),LOW,8);    DRAWICON(WYA线1 0ANDWYA线2 0ANDCROSS(WYA线2,WYA    线1),LOW,8),coloryellow;    DRAWICON(cross(wy分时1线,wy分时21线),low,8),coloryellow;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 指标资讯 加入收藏