V11:=MA(C,3)=LLV(MA(C,3),7); V12:=MA(C,3)<MA(C,5); V13:=MA(V,5)<MA(V,10)*0.99; V14:=COUNT(MA(C,1)<REF(C,1),2)=2; 黃:IF(V11 AND V12 AND V13 AND V14,60,50),LINETHICK2; V1:=MA(C,3)=HHV(MA(C,3),7); V2:=MA(C,3)>MA(C,5); V3:=MA(V,5)>MA(V,10)*1.01; V4:=COUNT(MA(C,1)>REF(C,1),2)=2; 賣:IF(V1 AND V2 AND V3 AND V4,30,20),LINETHICK2; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1),; D:SMA(K,3,1); VAR5:=COST(10); VAR6:=(CLOSE-VAR5)/VAR5*100; VAR7:=COUNT(VAR6<-2.05,3); 主力蓄勢(shì):IF(VAR7>=3,60,50),COLORFFCC66; 買線:=EMA (C,2); 賣線:=EMA(SLOPE(C,8)*1+C,8); 現(xiàn)牛:IF(CROSS(賣線,買線),88,80); LC:=REF(CLOSE,1); RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORRED,DOTLINE; 跳水2:IF(MA(C,20)>C*(1+0.01*6),85,80),LINETHICK2; 跳水1:IF(MA(C,10)>C*(1+0.01*5),82,80),LINETHICK2; 短低:IF((LLV(L,5)=L AND REF(C,1)>C*1.03) OR (LLV(REF(L,1),5)=REF(L,1) AND REF(C,1)>C*1.03),70,50); 短期:60*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))+20,COLORWHITE; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); CCI1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2+50; CCI2:=IF(CCI1>100,100,CCI1); CCII:0.6*IF(CCI2<0,0,CCI2)+20,COLORCYAN,DOTLINE; 振大:IF((H-L)/L>0.08,1.2,1); 漲大:IF(IF((C-REF(C,1))/REF(C,1)>0.05,0.4,0),1.3,1); 三天:IF((C-REF(C,3))/REF(C,3)>0.15,1.8,1); 四天:IF((C-REF(C,4))/REF(C,4)>0.15,1.6,1); 漲停:IF(IF((C-REF(C,1))/REF(C,1)>0.095,1.2,0),1.5,1); DRAWTEXT_FIX(1,0.01,0,0,'疊加KDJ MACD,低位橫盤創(chuàng)新低,全倉買進(jìn)好時(shí)機(jī)'),COLORYELLOW; 橫盤跳水:IF((HHV(REF(C,1),5)-LLV(REF(C,1),5))/LLV(REF(C,1),5)<0.05 AND (LLV(REF(C,1),5)-L)/LLV(REF(C,1),5)>0.05,0.8,0); COUNT(REF(橫盤跳水,1)=0.8,5)>=1 AND REF(C,1)>C*1.04; 橫跳:IF((HHV(REF(C,1),5)-LLV(REF(C,1),5))/LLV(REF(C,1),5)<0.09 AND (LLV(REF(C,2),5)-C)/LLV(REF(C,2),5)>0.05,0.4,0),LINETHICK2; 橫盤跳漲:IF((HHV(REF(C,1),5)-LLV(REF(C,1),5))/LLV(REF(C,1),5)<0.09 AND (C-HHV(REF(C,1),5))/HHV(REF(C,1),5)>0.02,1.5,1); |
|