顶底强弱: LC:=REF(CLOSE,1); 顶底:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; DRAWTEXT_FIX(1,0.95,0,0,'减仓 '),COLOR0000FF; DRAWTEXT_FIX(1,0.95,0.47,0,'强弱 '),COLOR00FFFF; DRAWTEXT_FIX(1,0.95,0.94,0,'买进 '),COLOR00FF00; 减仓:67,COLOR0000FF; 强弱:50,COLOR00FFFF; 买进:34,COLOR00FF00; 六四:64,COLOR00FF00; DRAWICON(CROSS(顶底,67),70,14); DRAWICON(CROSS(顶底,64),67,24); DRAWICON(CROSS(34,顶底),30,13); 抄底逃顶: Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,3,1); Var3:=SMA(Var2,3,1); Var4:=SMA(Var3,3,1); 波: Var3; 段: Var4; Var6:=CROSS(Var3,Var4) AND Var3<20; DRAWTEXT(FILTER(Var6,10)=1,40,'抄底'),LINETHICK3 , ; STICKLINE(FILTER(Var6,10)=1,0,30,10,0),colorgreen , ; Var7:=CROSS(Var4,Var3) AND Var3>80; STICKLINE(FILTER(Var7,5)=1,80,100,10,0),coloryellow , ; DRAWTEXT(FILTER(Var7,5)=1,70,'逃顶'),LINETHICK3 ,coloryellow, ; Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4; STICKLINE(Var8,85,100,10,0), , ; 90; 0; XXLZ活跃度(顶尖财经:股票学院 http://www.58188.com): MAX1:=MAX(MA(CLOSE,5),MA(CLOSE,10)); MAX2:=MAX(MA(CLOSE,10),MA(CLOSE,20)); MAX3:=MAX(MAX1,MAX2); MAX4:=MAX(MAX3,MA(CLOSE,30)); MAX5:=MAX(MAX4,MA(CLOSE,60)); MAX6:=MAX(MAX5,MA(CLOSE,120)); MIN1:=MIN(MA(CLOSE,5),MA(CLOSE,10)); MIN2:=MIN(MA(CLOSE,10),MA(CLOSE,20)); MIN3:=MIN(MIN1,MIN2); MIN4:=MIN(MIN3,MA(CLOSE,30)); MIN5:=MIN(MIN4,MA(CLOSE,60)); MIN6:=MIN(MIN5,MA(CLOSE,120)); 粘合程度:(MAX6-MIN6)/CLOSE*100,COLORFF6666; 收盘MAX:(CLOSE-MAX6)/CLOSE*100; 收盘MIN:(CLOSE-MIN6)/CLOSE*100; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); WIN1:=IF(CROSS(DIF,DEA),1,0); WIN2:=IF(CROSS(MA(CLOSE,5),MA(CLOSE,10)),1,0); WIN:=IF(WIN1+WIN2=2,1,0); DRAWICON(WIN1=1,粘合程度,1); |