Var6:=((2*c+h+l+o)/5-LLV(CLOSE,9))/(HHV(high,9)-LLV(CLOSE,9))*100; Var7:=SMA(Var6,3,1); Var8:=(HHV(high,9)-(2*c+h+l+o)/5)/(HHV(high,9)-LLV(CLOSE,9))*100; Var9:=REF((2*c+h+l+o)/5,1); VarA:=SMA(MAX((2*c+h+l+o)/5-Var9,0),13,1)/SMA(ABS((2*c+h+l+o)/5-Var9),13,1)*100; VarB:=SMA(MAX((2*c+h+l+o)/5-Var9,0),5,1)/SMA(ABS((2*c+h+l+o)/5-Var9),5,1)*100; VarD:=MA(INDEXC,3)*100/MA(INDEXC,10)-100; Var10:=IF(VarD> 10,10,VarD); Var11:=IF(Var10< -10,-10,Var10); Var14:=REF(VarD,1); Var15:=100*((2*c+h+l+o)/5-REF((2*c+h+l+o)/5,1))/REF((2*c+h+l+o)/5,1); Var16:=INDEXC; Var17:=REF(Var16,1); Var18:=100*(Var16-Var17)/Var16; Var19:=MA(Var15,3); Var1A:=MA(Var18,3); Var1B:=(3*c+h+l+o)/6; Var1C:=(20*Var1B+19*REF(Var1B,1)+18*REF(Var1B,2)+17*REF(Var1B,3)+16*REF(Var1B,4)+15*REF(Var1B,5)+14*REF(Var1B,6)+13*REF(Var1B,7)+12*REF(Var1B,8)+11*REF(Var1B,9)+10*REF(Var1B,10)+9*REF(Var1B,11)+8*REF(Var1B,12)+7*REF(Var1B,13)+6*REF(Var1B,14)+5*REF(Var1B,15)+4*REF(Var1B,16)+3*REF(Var1B,17)+2*REF(Var1B,18)+REF(Var1B,20))/210; Var1D:=MA(Var1C,12); Var1F:=ABS(Var1C-Var1D); Var20:=REF((2*c+h+l+o)/5,1)*0.015; Var26:=ZIG(3,10)> REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)< REF(ZIG(3,10),2); Var27:=ZIG(3,10)< REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)> REF(ZIG(3,10),2); Var28:=ma(c,26); Var29:=Var28+2*STD((2*c+h+l+o)/5,26); Var2A:=Var28-2*STD((2*c+h+l+o)/5,26); Var2D:=IF(Var26 AND CLOSE< Var2A,1,0); Var2E:=IF(Var27 AND high> Var29,2,Var2D); Var2F:=IF(Var2E=1,80,45); Var30:=IF(Var2E=2,0,Var2F); 陽1:(SMA(Var7,3,1)/2+40)*1.1,COLORRED; 陰1:SMA(Var8,3,1)/2*1.1, COLORBLUE; Y1A:SMA(陽1,3,1); Y2A:SMA(陰1,3,1); 注意短期吃貨:IF((CROSS(VarB,Y2A) OR Var30> 45),95,90),STICK,LINETHICK2 , COLORRED;90,STICK,LINETHICK2 , COLOR000000; 注意短期出貨:IF((CROSS(Y1A,VarB) OR Var30< 45),85,80),STICK,LINETHICK2 , COLORf0f000;80,STICK,LINETHICK2 , COLOR000000; 個股強于大盤:IF( Var19> Var1A,75,70),STICK,LINETHICK2 , COLORF00FF0;70,STICK,LINETHICK2 , COLOR000000; 注意風(fēng)險:IF( Var14> Var11,65,60), STICK,LINETHICK2, COLORWHITE;60,STICK,LINETHICK2 , COLOR000000; 個股弱于大盤:IF( Var1A>=Var19,55,50),STICK,LINETHICK2 , COLOR00FF00;50,STICK,LINETHICK2 , COLOR000000; 中期持股待漲:IF( Var1C> Var1D AND Var1F> Var20 AND NOT(CROSS(75,VarA)),45,40),STICK,LINETHICK2 , COLOR000999;40,STICK,LINETHICK2 , COLOR000000; 下調(diào)減持:IF(Var1C< Var1D AND Var1F> Var20 AND NOT(CROSS(VarB,20)),35,30), STICK,LINETHICK2, COLORYELLOW;30,STICK,LINETHICK2 , COLOR000000; 盤整階段:IF(Var1F<=Var20,25,20),STICK,LINETHICK2 , COLORgreen;20,STICK,LINETHICK2 , COLOR000000; 陽:陽1,COLORRED; 陰:陰1,COLORBLUE; Y1:Y1A,,; Y2:Y2A,,; 滑頭:VarB,color00FF00; 主力:VarA,COLORYELLOW; |