最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 飞狐操盘手小护士二代副图指标

    正文概述    2024-04-14 15:36:23  

    源码

    -10,COLOR888888;
    80,COLOR888888;
    QW1:=(HIGH+LOW+CLOSE*2)/4;
    QW3:=EMA(QW1,10);
    QW4:=STD(QW1,10);
    QW5:=(QW1-QW3)*100/QW4;
    QW6:=EMA(QW5,5);
    RK7:=EMA(QW6,10);
    涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED,;
    跌:EMA(涨,4),LINETHICK1,COLORFFFF34,;
    多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF,;
    空线:IF(CROSS(跌,80),70,100),COLORFF9900,;
    买1:EMA(跌,4),COLORWHITE,;
    买2:EMA(买1,4),COLORGREEN,;
    买M3:=EMA(买2,4);
    买M4:=EMA(买M3,4);
    STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨 STICKLINE(涨

    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF,;
    STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF,;
    DRAWICON(多线,30,1);
    DRAWICON(CROSS(跌,80),70,2);
    DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99;
    DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;
    VAR811:=SUMBARS(VOL,(7)*100);
    VAR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
    VAR883:=(CLOSE-VAR822)/VAR822*100;
    VAR884:=HHV(VAR883,VAR811);
    VAR885:=LLV(VAR883,VAR811);
    VAR886:=(VAR883-VAR885)/(VAR884-VAR885)*100;
    K:=SMA(VAR886,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    MA1:=MA(J,3);
    STICKLINE(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,涨,涨+20,6,0),COLORYELLOW,;
    DRAWTEXT(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,60,'考虑买进'),COLORFFFFFF;
    VAR1:=MA(CLOSE,152);
    VAR2:=MA(CLOSE,194);
    VAR3:=VAR2+2*STD(CLOSE,170);
    VAR4:=VAR1+2*STD(CLOSE,170);
    顶:(CLOSE>VAR3)*13*10,COLORBLUE,LINETHICK2,;
    VAR6:=EMA(HHV(HIGH,500),21);
    VAR7:=EMA(HHV(HIGH,250),21);
    VAR8:=EMA(HHV(HIGH,90),21);
    VAR9:=EMA(LLV(LOW,500),21);
    VARA:=EMA(LLV(LOW,250),21);
    VARB:=EMA(LLV(LOW,90),21);
    VARC:=EMA((VAR9*0.96+VARA*0.96+VARB*0.96+VAR6*0.558+VAR7*0.558+VAR8*0.558)/6,21);
    VARD:=EMA((VAR9*1.25+VARA*1.23+VARB*1.2+VAR6*0.55+VAR7*0.55+VAR8*0.65)/6,21);
    VARE:=EMA((VAR9*1.3+VARA*1.3+VARB*1.3+VAR6*0.68+VAR7*0.68+VAR8*0.68)/6,21);
    VARF:=EMA((VARC*3+VARD*2+VARE)/6*1.738,21);
    VAR10:=REF(LOW,1);
    VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MAX(LOW-VAR10,0),3,1)*100;
    VAR12:=EMA(IF(CLOSE*1.35<=VARF,VAR11*10,VAR11/10),3);
    VAR13:=LLV(LOW,30);
    VAR14:=HHV(VAR12,30);
    VAR15:=IF(MA(CLOSE,58),1,0);
    VAR16:=EMA(IF(LOW<=VAR13,(VAR12+VAR14*2)/2,0),3)/618*VAR15;
    VAR17:=IF(VAR16>50,50,VAR16)/3.82*6;
    VAR18:=HHV(HIGH,30);
    VAR19:=LLV(LOW,30);
    NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10;
    VAR1A:=(EMA(AMOUNT,5)/EMA(VOL,5)/100-EMA(AMOUNT,125)/EMA(VOL,125)/100)/(EMA(AMOUNT,5)/EMA(VOL,5)/100)<-0.4;
    VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
    VAR1C:=SMA(VAR1B,3,1);
    VAR1D:=SMA(VAR1C,3,1);
    VAR1E:=(-100)*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
    VAR1F:=COUNT(VAR1A,5)>=1 AND (VAR1E<-99.9 OR VAR1D<15 AND VAR1C<12);
    VAR20:=VOL/(7);
    VAR21:=100*WINNER(CLOSE);
    VAR22:=MA(VAR21,3);
    VAR23:=MA(VAR20,34);
    VAR24:=VAR22 VAR25:=SUM(IF(CLOSE>REF(CLOSE,1),1,0),0);
    VAR26:=SUMBARS(VOL,CAPITAL);
    VAR27:=IF(CLOSE>LLV(CLOSE,VAR26),1,-1)*IF(VAR25>LLV(VAR25,VAR26),1,-1);
    VAR28:=COUNT(IF(VAR27=-1,1,0)=1,8)>2;
    VAR29:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100))*100<-18;
    VAR2A:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.01;
    VAR2B:=VAR28 AND VAR29 AND VAR2A;
    VAR2C:=VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2 AND OPEN=1.105;
    VAR2D:=VAR2C AND COUNT(VAR2C,5)=1;
    VAR2E:=VAR2B OR VAR2C;
    VAR2F:=REF(CLOSE,1);
    VAR30:=SMA(MAX(CLOSE-VAR2F,0),7,1)/SMA(ABS(CLOSE-VAR2F),7,1)*100;
    VAR31:=SMA(MAX(CLOSE-VAR2F,0),13,1)/SMA(ABS(CLOSE-VAR2F),13,1)*100;
    VAR32:=VAR30<20 AND VAR31<25;
    VAR33:=VAR32;
    VAR34:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE VAR35:=IF(CLOSE>LLV(CLOSE,VAR26),1,-1);
    VAR36:=IF(VAR34>LLV(VAR34,VAR26),1,-1);
    VAR37:=VAR35*VAR36;
    VAR38:=IF(VAR37=-1,1,0);
    VAR39:=VAR38 AND CLOSE=LLV(CLOSE,120) AND VAR21 VAR3A:=IF(FILTER(VAR1F AND VAR24 AND VAR2E AND VAR33 AND VAR39>0,4),70,0);
    DRAWTEXT(FILTER(VAR24 AND VAR2E AND VAR33 OR VAR33 AND VAR39,1),VAR2*4-13,'抄底'),COLORRED;
    STICKLINE(IF(VAR24 AND VAR2E AND VAR33 OR VAR33 AND VAR39,35,0),0,VAR2*4-4,15,0),;
    VAR3B:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
    VAR3C:=SMA(VAR3B,3,1);
    VAR3D:=SMA(VAR3C,3,1);
    VAR3E:=SMA(VAR3D,3,1);
    VAR3F:=CROSS(VAR3D,VAR3E) AND VAR3D<20;
    VAR40:=CROSS(VAR3E,VAR3D) AND VAR3D>80;
    VAR41:=5;
    DRAWTEXT(CROSS(VAR41,NL),30,'★做底'),COLORWHITE;
    VAR42:="RSI#WEEK"(12,12,12);
    VAR43:="RSI#WEEK"(55,55,55);
    VAR44:=REF(CLOSE,1);
    VAR45:=SMA(MAX(CLOSE-VAR44,0),6,1)/SMA(ABS(CLOSE-VAR44),6,1)*100;
    VAR46:=FILTER(VAR40,5)=1 AND BARSLAST(CROSS(VAR42,VAR43) AND VAR42<=60)>=20;
    STICKLINE(CROSS(VAR42,VAR43) AND VAR42<=60,0,VAR2*15+5,3,0),COLORMAGENTA,;
    DRAWTEXT(CROSS(VAR42,VAR43) AND VAR42<=60,(VAR2*12+3)/1,'加仓'),COLORMAGENTA;
    STICKLINE(CROSS(84,VAR45),0,VAR2*15+3,5,1),COLORGREEN,;
    STICKLINE(VAR46,VAR2*15+10,10,6,0.3),COLOR009900, ;
    DRAWTEXT(CROSS(84,VAR45),70,'防空警报'),COLORGREEN ;
    DRAWTEXT(VAR46,50,'减仓'),COLORGREEN ;

    VAR47:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
    VAR48:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
    VAR49:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR4A:=EMA(VAR49,100);
    VAR4B:=2*(VAR49-VAR4A);
    VAR4C:=POW(VAR4B,3)*0.1+POW(VAR4B,1);
    VAR4D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VAR4E:=EMA(VAR4D*0.97,3);
    VAR4F:=(HIGH+LOW+CLOSE)/3;
    VAR50:=(VAR4F-MA(VAR4F,14))/(0.015*AVEDEV(VAR4F,14));
    VAR51:=IF(VAR4B>0.1,VAR4C,0)*5;
    VAR52:=LLV(HIGH,240);
    VAR53:=100*(CLOSE-VAR52)/VAR52;
    VAR54:=AMOUNT/VOL;
    VAR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
    VAR56:=INDEXC;
    VAR57:=MA(VAR56,5);
    VAR58:=MA(VAR56,20);
    VAR59:=MA(VAR56,30);
    VAR5A:=VAR59>VAR57*1.08 AND VAR58>VAR57*1.055;
    VAR5B:=VAR57>VAR56*1.03 AND VAR58>VAR56*1.13;
    VAR5C:=VAR5B;
    VAR5D:=IF(FILTER(VAR55<6,5)=1,1,0);
    VAR5E:=(VAR5D AND VAR53<-2.5 AND VAR47<5 AND VAR48=0)*60;
    VAR5F:=VAR55<6 AND VAR5C;
    VAR60:=IF(FILTER(VAR5F,1)=1,1,0)*80;
    VAR61:=VAR5F AND VAR5D*80;
    VAR62:=CROSS(VAR51,2);
    VAR63:=CROSS(VAR51,4);
    VAR64:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    VAR65:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    VAR66:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR67:=REF(CLOSE,1);
    VAR68:=SMA(MAX(CLOSE-VAR67,0),5,1)/SMA(ABS(CLOSE-VAR67),5,1)*100;
    VAR69:=(HIGH+LOW+CLOSE)/3;
    VAR6A:=(VAR69-MA(VAR69,14))/(0.015*AVEDEV(VAR69,14));
    VAR6B:=(VAR64>=-15.8 AND VAR64<=-12.2 AND VAR65<=-20.8 AND VAR66<=-27.5 AND VAR68<=11.7 AND VAR6A<=-145)*100;
    VAR6C:=VAR48=0;
    VAR6D:=VAR48=100;
    VAR6E:=LLV(HIGH,240);
    VAR6F:=100*(CLOSE-VAR6E)/VAR6E;
    VAR70:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
    VAR71:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
    VAR72:=0;
    VAR73:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
    VAR74:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
    VAR75:=BARSCOUNT(CLOSE);
    VAR76:=VAR73<20 AND VAR74<23 AND VAR75>35;
    VAR77:=VAR76 AND COUNT(VAR76,1)=1;
    VAR78:=EMA(CLOSE,21)-EMA(CLOSE,8);
    VAR79:=EMA(VAR78,5);
    VAR7A:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR78,VAR79);
    VAR7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
    VAR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
    VAR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
    VAR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
    VAR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
    VAR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
    VAR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
    VAR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
    VAR83:=(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6;
    VAR84:=EMA(VAR83,3);
    VAR85:=ABS(VAR80-VAR82);
    VAR86:=(VAR83+VAR85)/2;
    VAR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
    VAR88:=VAR87+VAR86;
    VAR89:=IF(VAR7C>0 AND VAR88<0,200,0);
    VAR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
    VAR8B:=IF(VAR88<0 AND VAR8A=-50,100,0);
    VAR8C:=MA(CLOSE,3);
    VAR8D:=REF(CLOSE,2)*0.865;
    VAR8E:=REF(CLOSE,13)*0.772;
    VAR8F:=MIN(VAR8D,VAR8E);
    VAR90:=100*VOL/CAPITAL;
    VAR91:=MA(CLOSE,13);
    VAR92:=IF((CLOSE-VAR8F)/CLOSE<0.03 AND SUM(VAR90,5)/5<1.8,1,0);
    VAR93:=IF(VAR92>0 AND (VAR8A<0 OR VAR7C>0),100,0);
    VAR94:=VAR93;
    VAR95:=IF(VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0) AND VAR93<10,50,0);
    VAR96:=(VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0);
    VAR97:=VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
    VAR98:=VAR96 OR VAR97;
    VAR99:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
    VAR9A:=HIGH-REF(HIGH,1);
    VAR9B:=REF(LOW,1)-LOW;
    VAR9C:=SMA(IF(VAR9A>0 AND VAR9A>VAR9B,VAR9A,0),12,1);
    VAR9D:=SMA(IF(VAR9B>0 AND VAR9B>VAR9A,VAR9B,0),12,1);
    VAR9E:=VAR9C*100/VAR99;
    VAR9F:=VAR9D*100/VAR99;
    VARA0:=SMA(ABS(VAR9F-VAR9E)/(VAR9F+VAR9E)*100,12,1);
    VARA1:=(VARA0+REF(VARA0,5))/2;
    VARA2:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
    VARA3:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;
    VARA4:=AMOUNT/VOL/100;
    VARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    VARA6:=SUM(AMOUNT,5)/VARA4/100;
    VARA7:=SUM(AMOUNT,13)/VARA4/100;
    VARA8:=SUM(AMOUNT,34)/VARA4/100;
    VARA9:=SUM(AMOUNT,209)/VARA4/100;
    VARAA:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
    VARAB:=VARAA/CAPITAL;
    VARAC:=VOL/CAPITAL*VARA5+VARAB*REF(VARA4,1);
    VARAD:=DMA(VARA5,VOL/VARA6);
    VARAE:=DMA(VARA5,VOL/VARA7);
    VARAF:=DMA(VARA5,VOL/VARA8);
    VARB0:=DMA(VARA5,VOL/CAPITAL);
    VARB1:=MA(HHV(HIGH,488),18);
    VARB2:=MA(HHV(HIGH,220),18);
    VARB3:=MA(HHV(HIGH,98),18);
    VARB4:=MA(LLV(LOW,488),18);
    VARB5:=MA(LLV(LOW,220),18);
    VARB6:=MA(LLV(LOW,98),18);
    VARB7:=MA((VARB4*0.96+VARB5*0.96+VARB6*0.96+VARB1*0.558+VARB2*0.558+VARB3*0.558)/6,18);
    VARB8:=MA((VARB4*1.25+VARB5*1.23+VARB6*1.2+VARB1*0.55+VARB2*0.55+VARB3*0.65)/6,18);
    VARB9:=MA((VARB4*1.3+VARB5*1.3+VARB6*1.3+VARB1*0.68+VARB2*0.68+VARB3*0.68)/6,18);
    VARBA:=MA((VARB7*3+VARB8*2+VARB9)/6*1.738,18);
    VARBB:=IF(DATE<=1021231,VARBA,VARBA*DAY);
    VARBC:=LOW;
    VARBD:=REF(LOW,1);
    VARBE:=SMA(ABS(VARBC-VARBD),3,1)/SMA(MAX(VARBC-VARBD,0),3,1)*100;
    VARBF:=MA(IF(CLOSE*1.35<=VARBB,VARBE*10,VARBE/10),3);
    VARC0:=LLV(LOW,30);
    VARC1:=HHV(VARBF,30);
    VARC2:=IF(LOW<=VARC0,(VARBF+VARC1*2)/2,0);
    WXBM:(MA(VARC2 AND CLOSE STICKLINE(VAR7B>0,0,120,2,0),COLORWHITE,;
    STICKLINE(VAR60>0,0,80,8,0),COLORRED,;
    DRAWTEXT(VAR61 OR VAR98,70,'★大黑马'),COLORYELLOW;
    DRAWTEXT(VAR60>0,40,'★黑马'),COLORYELLOW;
    DRAWTEXT(VAR7B>0,60,'★探底'),COLORWHITE;
    DRAWTEXT(WXBM,100,'BM'),COLORRED ;
    STICKLINE(VAR61,0,120,8,0),COLOR006666,;
    STICKLINE(VAR98,0,90,8,0),COLOR009999 , ;
    X:=C-REF(MA(C,20),11);
    LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
    WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;
    WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
    WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;
    BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
    BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
    BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
    S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;
    S2:=EMA(S1,3);
    S3:=ABS(BIAS1-BIAS3);
    SX:=(S1+S3)/2;
    XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
    CCC:=XC1+SX;
    ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;
    LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
    JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;
    MA3:= MA(C,3);
    C0:=REF(C,2)*0.865;
    C1:=REF(C,13)*0.772;
    BOT:=MIN(C0,C1);
    HSL:=100*VOL/CAPITAL*X;
    MA13:=MA(C,13)*X;
    CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);
    VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0);
    满仓:IF((VMC>0),120,0),COLORRED,LINETHICK3,;
    DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORRED;
    半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,100,0),COLORMAGENTA,LINETHICK2,;
    V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;
    V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));
    买11:IF((V93 OR V90),80,0),COLORYELLOW,LINETHICK2,;
    VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
    神奇线:= MA((CLOSE-VAR2Q)/VAR2Q,2);
    买12:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,100,0),COLORMAGENTA,LINETHICK2;
    YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);
    YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);
    ST:=IF(CROSS(YT,YY),30,0);
    VAR5PT:=(HIGH+LOW+CLOSE)/3;
    VAR6PT:=(VAR5PT-MA(VAR5PT,14))/(0.015*AVEDEV(VAR5PT,14));
    VAR7PT:=(VAR5PT-MA(VAR5PT,85))/(0.015*AVEDEV(VAR5PT,85));
    SA:=IF(VAR7PT>=200 AND VAR6PT>=150,10,0);
    VAR3QQ:=REF(CLOSE,1);
    VAR4QQ:=SMA(MAX(CLOSE-VAR3QQ,0),6,1)/SMA(ABS(CLOSE-VAR3QQ),6,1)*100;
    SM:=IF(CROSS(80,VAR4QQ),100,0);
    卖11:IF((SM AND (SA OR ST)),120,0),COLORCCCC33,LINETHICK2,;
    DRAWTEXT( 卖11>0,110,'卖'),COLORCCCC33;
    VARG3:=LLV(HIGH,240);
    VARG4:=100*(CLOSE-VARG3)/VAR3;
    VARG5:=REF(LLV(CLOSE,480),1);
    VARG6:=REF(HHV(CLOSE,480),1);
    VARG7:=100*(CLOSE-VARG5)/(VARG6-VARG5);
    VARG8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
    VARG9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;
    VARGA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
    VARGB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
    VARGC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
    VARGD:=IF(VARC>23.16,VARC,0);
    VARGE:=VARGC<1;
    VARGF:=VARGD;
    VARG10:=IF(FILTER(VARG8=0 AND VARGA<1 AND VARG4<0,5)=1,1,0);
    VARG11:=IF(FILTER(VARG8=100 AND VARGA=100,5)=1,1,0);
    VARG12:=IF(FILTER(VARG9=0 AND VARGB<1 AND VARG7<0,5)=1,1,0);
    VARG13:=IF(FILTER(VARG9=100 AND VARGB=100,5)=1,1,0);
    VARG14:=IF(FILTER(VARG4<1 AND VARG7<1,30)=1,1,0);
    VARG15:=VARG10 AND VARG12;
    VARG16:=VARG11 AND VARG13;
    VARG17:=VARG8=0 AND VARGE AND VARG14;
    VARG18:=VARG15 AND VARGE AND VARG14;
    VARG19:=VARG8=100 AND VARGF;
    VARG1A:=VARG16 AND VARGF;
    大盘方向:= EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),15);
    获利:=VARG4;
    操盘手:=(CLOSE-LLV(CLOSE,153))/(HHV(CLOSE,153)-LLV(CLOSE,153))*100;
    VARG1B:=EMA(CLOSE,2)-EMA(CLOSE,89);
    VARG1C:=EMA(VARG1B,30);
    VARG1D:=2*(VARG1B-VARG1C)*10;
    VARG1E:=POW(VARG1D,3)*0.1+POW(VARG1D,2);
    VARG1F:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VARG20:=EMA(VARG1F*0.97,3);
    VARG21:=(HIGH+LOW+CLOSE)/3;
    VARG22:=(VARG21-MA(VARG21,14))/(0.015*AVEDEV(VARG21,14));
    VARG23:=IF(VARG1D>0.015,VARG1E,0)/4500;
    庄线:=VARG23;
    VARG24:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
    VARG25:=MA(VARG24,48);
    VARG26:=CROSS(VARG24,VARG25);
    VARG27:=IF(FILTER(VARG26,126)=1,70,0);
    VARG28:=REF(CLOSE,1);
    VARG29:=SMA(MAX(CLOSE-VARG28,0),6,1)/SMA(ABS(CLOSE-VARG28),6,1)*100;
    VARG2A:=SMA(MAX(CLOSE-VARG28,0),12,1)/SMA(ABS(CLOSE-VARG28),12,1)*100;
    VARG2B:=SMA(MAX(CLOSE-VARG28,0),24,1)/SMA(ABS(CLOSE-VARG28),24,1)*100;
    VARG2C:=IF(FILTER(CROSS(VARG29,VARG2A) AND CROSS(VARG2A,VARG2B) AND CROSS(VARG29,VARG2B),5)=1,50,0);
    VARG2D:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
    VARG2E:=SMA(VARG2D,3,1);
    VARG2F:=SMA(VARG2E,3,1);
    VARG30:=3*VARG2E-2*VARG2F;
    VARG31:=CROSS(VARG30,VARG2E) AND CROSS(VARG30,VARG2F) AND CROSS(VARG2E,VARG2F);
    VARG32:=IF(FILTER(VARG31 AND VARG30<25 AND VARG2F<20,5)=1,80,0);
    VARG33:=IF(FILTER(VARG17 OR VARG18,1)=1,100,0);
    VARG34:=大盘方向<5 AND 获利<0 AND 操盘手=0;
    J买: IF(FILTER(VARG34 OR VARG33,30)=1,120,0),LINETHICK2,COLOR009999,;
    DRAWTEXT(J买,100,'"J买"'),COLOR009999;
    DRAWICON(J买,J买,1),COLOR009999;
    VARG35:=大盘方向>80 AND 操盘手=100 AND VARG29>80 AND VARG30>100;
    VARG36:=IF(FILTER(VARG19 AND VARG16 AND VARGF,2)=1,100,0);
    J卖: IF(FILTER(VARG36 OR VARG35,9)=1,120,0),LINETHICK2,COLORGREEN;
    DRAWTEXT(J卖,100,'"J卖"'),COLORGREEN;
    DRAWICON(J卖,J卖,9),COLORGREEN;
    VARG37:=IF(FILTER(VARG2C AND VARG29<60 AND VARG2B<40,15)=1,80,0);
    M1: IF(FILTER(大盘方向<5 AND VARG2C AND VARG29<60 AND VARG2B<40,15)=1,100,0),COLORMAGENTA ;
    DRAWTEXT(M1,90,'"M1"'),COLORMAGENTA;
    VARG38:=IF(FILTER(VARG37 AND VARG32,5)=1,10,0);
    M2: IF(FILTER(大盘方向<5 AND VARG37 AND VARG32,5)=1,100,0),COLORYELLOW ;
    DRAWTEXT(M2,90,'"M2"'),COLORYELLOW;
    VARG39:=IF(FILTER(VARG37 AND VARG32 AND VARG27,5)=1,80,0);
    M3: IF(FILTER(大盘方向<5 AND VARG37 AND VARG32 AND VARG27,5)=1,100,0),COLORRED,LINETHICK2;
    DRAWTEXT(M3,90,'"M3买"'),COLORYELLOW;

    VARR2:=CLOSE-REF(CLOSE,1);
    VARR3:=IF(CLOSE-REF(CLOSE,1)>=0,VARR2,0);
    VARR4:=REF(CLOSE,1)-CLOSE;
    VARR5:=IF(CLOSE-REF(CLOSE,1)<=0,VARR4,0);
    VARR6:=SUM(VARR3,16)/SUM(VARR5,16);
    VARR7:=100-100/(1+VARR6);
    VARR8:=EMA(VARR7,16);
    VARR9:=EMA(VARR8,8);
    VARRA:=EMA(VARR8,45);
    VARRB:=VARR8-VARRA;

    ADVC:=AMOUNT/VOL;
    ASR:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);
    DPA:="1A0001$VOL"*"1A0001$CLOSE";
    DPMA:=EMA(DPA,5)/EMA("1A0001$VOL",5);
    CYS:=("1A0001$CLOSE"-DPMA)/DPMA*100; 
    A1:=INDEXC;
    A2:=MA(A1,5);
    A3:=MA(A1,20);
    A4:=MA(A1,30);
    B1:=A4>A2*1.08 AND A3>A2*1.055;
    B2:=A2>A1*1.03 AND A3>A1*1.13;
    ADVC0:=CYS<=-2 AND B2;
    刀:IF(ASR<6 AND CYS< -2 AND ADVC0,100,0),COLORRED,LINETHICK2,;
    DRAWICON( 刀,90, 5),COLORRED;
    龙:IF(ASR<6 ,110,0),COLOR66FFCC,LINETHICK2,;
    DRAWTEXT(CROSS(龙,2.6) OR CROSS(2.6,龙),90, '龙') ,COLOR66FFCC ;

    VARBB4:=MA(CLOSE,5);
    VARBB5:=MA(CLOSE,10);
    VARBB6:=MA(CLOSE,30);
    VARBB7:=MA(CLOSE,60);
    VARBB8:=EMA(COST(85),7);
    VARBB9:=EMA(COST(15),7);
    VARBBA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
    VARBBB:=INTPART(VARBBA*100)/100;
    VARBBC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
    VARBBD:=INTPART(VARBBC*100)/100;
    VARBBE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
    VARBBF:=INTPART(VARBBE*100)/100;
    DCS:=(EMA(CLOSE,5)-EMA(CLOSE,10))*100;
    ZCS:=EMA(DCS,9);
    VARBB10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
    VARBB11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
    VARBB12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
    VARBB13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
    VARBB14:=REF(ZCS,1);
    VARBB15:=ZCS;
    VARBB16:=(VARBB15-VARBB14)/3;
    VARBB17:=REF(DCS,1);
    VARBB18:=DCS;
    VARBB19:=VARBB18-VARBB17;
    VARBB1A:=OPEN;
    VARBB1B:=CLOSE;
    DHM:IF(VARBB1A<=VARBB4 AND VARBB1A<=VARBB5 AND VARBB1A<=VARBB6 AND VARBB1B>=VARBB4 AND VARBB1B>=VARBBF AND VARBB16>0 AND VARBB19>0,120,0),COLORMAGENTA,LINETHICK2,;
    DRAWTEXT(DHM,80,'"DHM"'),COLORMAGENTA;

    XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
    SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;
    买3:IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2,;
    稳赚:IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF,;
    买4: IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2,;
    DRAWTEXT( 买3>0,40 ,' 买3'),COLORWHITE;
    DRAWTEXT( 稳赚>0,40 ,'稳赚'),COLOR9999FF;
    DRAWTEXT( 买4>0,40 , '买4'),COLORFF00FF;
    IF(C>0,0,0),COLOR666666,LINETHICK4,;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐操盘手小护士二代副图指标 加入收藏