獲利比例:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK; {籌碼空間:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;} STICKLINE(獲利比例<10,0,獲利比例,2,0),COLORWHITE; STICKLINE(獲利比例>=10 AND 獲利比例<45,0,獲利比例,2,0),COLORYELLOW; STICKLINE(獲利比例>=45 AND 獲利比例<=85,0,獲利比例,2,0),COLORRED; STICKLINE(獲利比例>=85 AND 獲利比例<=100,0,獲利比例,2,0),COLOR9900FF; DRAWICON(獲利比例<1,80,3),COLORGREEN,LINETHICK3; TX80:80,POINTDOT COLORYELLOW; DX20:20,POINTDOT COLORGREEN; {VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED; D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN; DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED; DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN;} 短:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORGREEN; 長(zhǎng):100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV,3,1); D1:=SMA(K1,3,1); J:3*K1-2*D1,COLORBLUE; BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS1:=IF(BIAS<-5,0.35,0),LINETHICK2,COLOR008080; HA:=CONST(LLV(L,200))*0.75; HB:=CONST(HHV(H,200))*1.05; HC:=EMA(EMA(EMA(LLV(L,2),2),2),2); HD:=EMA(EMA(EMA(HHV(H,2),2),2),2); H1:=H>HC;O1:=O>HC;L1:=L>HC;C1:=C>HC; H2:=H>HD;O2:=O>HD;L2:=L>HD;C2:=C>HD; 底背離1:=IF(H1+O1+L1+C1<=1,0.5,0); 短買:IF(BIAS1 AND 底背離1,60,100),COLORYELLOW; EMA5:=EMA(C,5),COLOR00FF00; EMA10:=EMA(C,10),COLORYELLOW; EMA20:=EMA(C,20),COLORFF00FF;{20日均線通常被稱為脊梁線} EMA30:=EMA(C,30),COLORFFCCCC;{30日均線通常被稱為生命線} 看趨勢(shì)1:=H>EMA5 AND H>EMA10 AND H>EMA20 AND H>EMA30 AND L<EMA5 AND L<EMA10 AND L<EMA20 AND L<EMA30; 可能底部1:=H<EMA5 AND H<EMA10 AND H<EMA20 AND H<EMA30; 看趨勢(shì):IF(看趨勢(shì)1,95,100),LINETHICK2; 可能底:IF(可能底部1,90,100),LINETHICK2; 考慮買:IF(COUNT(看趨勢(shì)1,4)>=1 AND 可能底部1,85,100),LINETHICK2; 倍量:IF(VOL/REF(VOL,1)>1.9,88,100),LINETHICK3; 五天前倍量:IF(REF(VOL,4)/REF(VOL,5)>1.9,66,100),LINETHICK3; 復(fù)牌:=DAY-IF(WEEKOFYEAR=REF(WEEKOFYEAR,1),1,3)>REF(DAY,1) OR WEEKOFYEAR-1>REF(WEEKOFYEAR,1); 停牌:=REFX(復(fù)牌,1); DRAWTEXT(停牌,0,'停'),COLORYELLOW; |
|