绝非原创!完全只是修改!
完全只是在别人的指标上修改的,绝非原创!一个主图,感觉还是有点用的!好久没发过贴了,啥也不说,能加分就加分吧,呵呵
Var1:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
Var2:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
Var3:=REF(Var1,1)<-20 AND Var2;
Var4:=REF(Var1,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
Var5:=FILTER(Var3 OR Var4,3);
Var6:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
Var7:=REF(Var1,1)>ABS(-20) AND Var6;
Var8:=REF(Var1,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
Var9:=FILTER(Var7 OR Var8,3);
VarA:=REF(Var1,1)<-13 AND Var2;
VarB:=REF(Var1,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VarC:=FILTER(VarA OR VarB,3);
VarD:=REF(Var1,1)>ABS(-13) AND Var6;
VarE:=REF(Var1,1)>ABS(-13) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VarF:=FILTER(VarD OR VarE,3);
DRAWICON(Var5*Var1>0,LOW,1);
DRAWICON(Var9*Var1>0,HIGH,2);
DRAWTEXT(VarC*Var1>0,1.02*REF(CLOSE,1),'关注');
DRAWTEXT(VarF*Var1>0,0.99*REF(CLOSE,1),'风险');
Var10:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(Var10,3)+EMA(Var10,6)+EMA(Var10,12)+EMA(Var10,24))/4;
PARTLINE(A1>ref(A1,1),A1),COLORRED;
PARTLINE(A1<=ref(A1,1),A1),COLORGREEN;
A2:=EMA(A1,2);
PARTLINE(A2>ref(A2,1),A2),COLORRED;
PARTLINE(A2<=ref(A2,1),A2),COLORGREEN;
A3:=EMA(A2,2);
PARTLINE(A3>ref(A3,1),A3),COLORRED;
PARTLINE(A3<=ref(A3,1),A3),COLORGREEN;
A4:=EMA(A3,2);
PARTLINE(A4>ref(A4,1),A4),COLORRED;
PARTLINE(A4<=ref(A4,1),A4),COLORGREEN;
A5:=EMA(A4,2);
PARTLINE(A5>ref(A5,1),A5),COLORRED;
PARTLINE(A5<=ref(A5,1),A5),COLORGREEN;
A6:=EMA(A5,2);
PARTLINE(A6>ref(A6,1),A6),COLORRED;
PARTLINE(A6<=ref(A6,1),A6),COLORGREEN;
A7:=EMA(A6,2);
PARTLINE(A7>ref(A7,1),A7),COLORRED;
PARTLINE(A7<=ref(A7,1),A7),COLORGREEN;
生命线: EMA(CLOSE,55);
Var11:=LLV(LOW,5);
Var12:=HHV(HIGH,4);
Var13:=EMA((Var10-Var11)/(Var12-Var11)*100,4);
Var14:=EMA(0.667*REF(Var13,1)+0.333*Var13,2);
DRAWTEXT(CROSS(Var13,Var14) AND Var13<40,LOW,'买');
Var15:=EMA(Var10,13)-EMA(Var10,34);
Var16:=EMA(Var15,5);
Var17:=(-2)*(Var15-Var16)*3.8;
DRAWTEXT(CROSS(Var17,MA(Var17,3)) AND Var16,HIGH,'卖');
Var18:=(2*CLOSE+LOW+HIGH)/4;
天堂: EMA(Var18,45)*1.15;
地狱: EMA(Var18,40)*0.85;
高:=REF(HHV(H,80),3);
低:=REF(LLV(L,80),3);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
顶点:DRAWSL(BARSTATUS=2,高,0,0,1),POINTDOT,LINETHICK1,COLORWHITE;
%19点8:DRAWSL(BARSTATUS=2,H19,0,0,1),POINTDOT,LINETHICK1,COLORYELLOW;
%38点2:DRAWSL(BARSTATUS=2,H38,0,0,1),POINTDOT,LINETHICK1,COLOR3399ff;
%50点0:DRAWSL(BARSTATUS=2,H中,0,0,1),POINTDOT,LINETHICK1,COLORRED;
%61点8:DRAWSL(BARSTATUS=2,H61,0,0,1),POINTDOT,LINETHICK1,COLORMAGENTA;
%80点9:DRAWSL(BARSTATUS=2,H80,0,0,1),POINTDOT,LINETHICK1,COLORff9933;
低点:DRAWSL(BARSTATUS=2,低,0,0,1),,POINTDOT,LINETHICK1,COLORWHITE; |