F1:=ZIG(3,5);
VERTLINE(F1<REF(F1,1),2),coloraa8800;
Var10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
Var12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
Var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
Var14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
Var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
Var16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
Var17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
Var18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
Var19:=EMA(CLOSE,2)-EMA(CLOSE,150);
Var1A:=EMA(Var19,100);
Var1B:=2*(Var19-Var1A);
Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);
Var1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
Var1E:=EMA(Var1D*0.97,3);
Var1F:=(HIGH+LOW+CLOSE)/3;
买点1:=Var10;
买点2:=(Var11+Var13+Var15+Var17);
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VAR5:=EMA(COST(85),7);
VAR6:=EMA(COST(15),7);
VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8:=INTPART(VAR7*100)/100;
VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA:=INTPART(VAR9*100)/100;
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR19:=OPEN;
买点3:=IF(VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0,0.5,0);
VERLINE(买点3>0 OR 买点1>0 OR 买点2>0, 2),Color0000FF;
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RR81:=MA(CLOSE,5);
RR91:=(CLOSE-RR81)/RR81*100;
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
超跌买点:IF(MA(RR9,2)<-20 AND BARSLAST(CROSS(-10,MA(RR9,2))=1)>3 AND CROSS(MA(RR9,2)-REF(MA(RR9,2),1),0),-10.45,0);
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
黄金坑:IF(RRD,-10.40,0),coloryellow,LINETHICK2;
DRAWICON(REF(C,4)>REF(O,4) AND REF(C,3)<REF(C,4) AND REF(C,2)<REF(C,4) AND REF(C,1)<REF(C,4) AND C>REF(C,4),L*0.96,22);
DRAWICON(REF(C,3)>REF(O,3) AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,3) AND C>REF(C,3),L*0.96,22);
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
中:SMA(SMA(RSV,3,1),3,1),colorgray;
中2:EMA(中,3),colorgreen;
a=SMA(RSV,3,1);
b=SMA(a,3,1);
e=3*a-2*b;
IF(e>100) e=100;
IF(e<=0) e=0;
短:e,colorliblue,LINETHICK2;
PARTLINE(中,中>=50,colorred),LINETHICK3;
DF : =EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DA : =EMA(DF,9),colorliblue;
MACD:40*(DF-DA),nodraw;
STICKLINE(da>0 AND MACD>0 AND MACD>REF(MACD,1),100,100-MACD,8,0) ,colorred;
STICKLINE(da>0 AND MACD>0 AND MACD<REF(MACD,1),100,100-MACD,8,0) ,colorliblue;
STICKLINE(da>0 AND MACD<0 AND MACD>REF(MACD,1) ,100,100+MACD,8,0),colorgreen;
STICKLINE(da>0 AND MACD<0 AND MACD<REF(MACD,1) ,100,100+MACD,8,0),colorgreen;
STICKLINE(da<0 AND MACD>0 AND MACD>REF(MACD,1),0,MACD,8,0) ,colorred;
STICKLINE(da<0 AND MACD>0 AND MACD<REF(MACD,1),0,MACD,8,0) ,colorliblue;
STICKLINE(da<0 AND MACD<0 AND MACD>REF(MACD,1) ,0,-MACD,8,0),colorgreen;
STICKLINE(da<0 AND MACD<0 AND MACD<REF(MACD,1) ,0,-MACD,8,0),colorgreen;
STICKLINE(VOL=LLV(VOL,250),80,0,10,0),colorblue;
STICKLINE(VOL=HHV(VOL,250),80,0,10,0),coloryellow;
VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR3:=BARSCOUNT(CLOSE);
VAR4:=VAR1<20 AND VAR2<23 AND VAR3>35;
VAR5:=VAR4 AND COUNT(VAR4,1)=1;
VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAR7:=EMA(VAR6,5);
VAR8:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR6,VAR7);
VAR9:=(HIGH+LOW+CLOSE)/3;//www.fxjgsw.com
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14));
VAR18:=IF(TROUGHBARS(3,8,1)=0 AND HIGH>LOW+0.04,4,0);
见底:=VAR10;
底1:=EXIST(见底,2);
底:IF(见底>0 OR 底1>0,70,0),VOLSTICK;
VAR1:="DMI.+DI";
VAR2:="DMI.-MDI";
VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);
VAR4:=LLV(VAR1,0);
VAR5:=BARSLAST(VAR4=VAR1);
VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
VAR7:=VAR1>REF(VAR1,1);
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-"MACD.DIFF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);//www.fxjgsw.com
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
VAR17:=HHV(VAR1,VAR16);
VAR18:=BARSLAST(VAR1=VAR17);
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,60,0,30,0),coloryellow;
STICKLINE(FILTER(VARF=1,5),60,0,15,0),coloryellow;
VAR19:=VAR3 OR VAR12 OR VAR13*100;
VAR1A:=VAR13*100;
DRAWICON(FILTER(VARF=1,3),60,1);
DRAWTEXT(FILTER(VARF=1,3),60,'黄金底'),coloryellow;
抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,20.80,0),coloryellow ,LINETHICK2 ;
DRAWTEXT(抄底=20.80,20.90,'抄底'),colorred;
VARC:=(ZIG(3,8)>REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)<=REF(ZIG(3,8),2)) AND (REF(ZIG
(3,8),2)<=REF(ZIG(3,8),3));
STICKLINE((VARC=1),80.60,0,8,1),colormagenta;
DRAWTEXT((VARC=1),0.30,''),colorwhite;
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*-0.028,'★绝佳') ,LINETHICK1,colorred;
VAR3:=PEAKBARS(3,5,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),colorgreen, LINETHICK2;
DRAWTEXT(顶A=1,50,'逃顶'),COLOR00FF00
|