改良型原碼!!!!! 參數(shù)與前相同!!!!!!!! 80, POINTDOT,COLORBROWN; 20, POINTDOT,COLORGREEN; Var2:=LLV(LOW,P1); Var3:=HHV(HIGH,P1); LF: EMA((CLOSE-Var2)/(Var3-Var2)*100,P2),COLORMAGENTA; OK: EMA(0.667*REF(LF,1)+0.333*LF,3),COLORGREEN; Var4:=(2*CLOSE+HIGH+LOW)/4; Var5:=LLV(LOW,34); Var6:=HHV(HIGH,34); 散戶: EMA((Var4-Var5)/(Var6-Var5)*100,12),COLORwhite; 新莊: EMA(0.667*REF(散戶,1)+0.333*散戶,4),LINETHICK2,colorred; 高拋低吸分界線: 50,LINEDOT,; Var7:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); Var8:=EMA(Var7,7); VarA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; VarB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; 波段買入: IF(VarA+VarB<7 AND CROSS(Var7,Var8) AND Var8<-18 AND Var8<VarB,60,50), COLORGRAY; DRAWICON(CROSS(散戶,30) AND 新莊<散戶,35,4); DRAWICON(CROSS(散戶,65) AND 新莊<散戶,70,12); DRAWICON(CROSS(散戶,75) AND 新莊<散戶,80,7); DRAWICON(CROSS(新莊,散戶) AND 新莊>75,85,5); 低吸: IF(CROSS(散戶,新莊) AND 散戶<25,25,10),COLORYELLOW; 高減: IF(CROSS(新莊,散戶) AND 新莊>80,75,90),COLORGRAY; Var9:=REF(LOW,1); Var10:=SMA(ABS(LOW-Var9),3,1)/SMA(MAX(LOW-Var9,0),3,1)*100; Var11:=EMA(IF(CLOSE*1.3,Var10*10,Var10/10),3); Var12:=LLV(LOW,30); Var13:=HHV(Var11,30); Var14:=IF(MA(CLOSE,58),1,0); Var15:=EMA(IF(LOW<=Var12,(Var11+Var13*2)/2,0),3)/618*Var14; Var16:=IF(Var15>100,100,Var15); 吸籌:STICKLINE(Var16>-120,0,Var16,6,1),COLORMAGENTA; |
|