BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:BBI+3*STD(BBI,10); DWN:BBI-3*STD(BBI,10); A1:(EMA(CLOSE,2.7)+MA(CLOSE,6)+MA(CLOSE,10.8))/3; A2:(EMA(CLOSE,3)+MA(CLOSE,7.5)+MA(CLOSE,13))/3; A3:(EMA(CLOSE,4)+MA(CLOSE,8.5)+MA(CLOSE,16.5))/3; A4:(EMA(CLOSE,4.8)+MA(CLOSE,10.2)+MA(CLOSE,18.6))/3; A5:(EMA(CLOSE,6.5)+MA(CLOSE,11.8)+MA(CLOSE,21))/3; A6:(EMA(CLOSE,7)+MA(CLOSE,13.5)+MA(CLOSE,23))/3; 安全線:MA(CLOSE,60); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(DATE>700101 and CROSS(84,RSI) , HIGH,'賣出') COLORff9966; A7:=(2*C+H+L)/4; Var1:=LLV(LOW,34); Var2:=HHV(HIGH,34); SK:=EMA((A7-Var1)/(Var2-Var1)*100,n); SD:=EMA(0.667*REF(SK,1)+0.333*SK,p); Var3:=LLV(LOW,120); Var4:=HHV(HIGH,60); Var5:=Var4-Var3; 最低價: Var3; 最高價: Var4; DRAWTEXT(IF(count(close<ref(close,1),x)/x>q/10 and vol>=1.5*ma(vol,5) and count(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW,'買進(jìn)') COLOR0099ff; DRAWTEXT(IF(count(close<ref(close,1),13)/13>6/10 and count(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) and ref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) and open>ref(close,1),1,0),LOW,'買進(jìn)') COLOryellow; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底')coloryellow;股票論壇 www.55188.com |
|