AA:=V*1000/CAPITAL;
主力:MA(AA,4),COLORYELLOW,POINTDOT; 游資:MA(AA,9),COLORRED,POINTDOT; 大戶:MA(AA,17),COLORRED,POINTDOT; STICKLINE(主力>0,0,主力,6,0),COLORYELLOW; STICKLINE(游資>0,0,游資,6,0),COLORRED; STICKLINE(大戶>0,0,大戶,6,0),COLORGREEN; 獲利平均值:EMA(100*WINNER(C),20),COLOR9933FF;獲利99 := MA(COST(99 ),5); 獲利80:=MA(COST(80),5); 均線5日:= MA(C,5); 獲利20:=MA(COST(20),5); 獲利1 :=MA(COST(1),5); RSV:=(((CLOSE - LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100)); 趨勢:(EMA((3)*(SMA(RSV,6,1)) - (2)*(SMA(SMA(RSV,5,1),5,1)),2)),,COLORRED; VAR2:=(3)*(SMA(((OPEN - LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN - LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1),15,1)); VAR3:=VAR2 - 100; 背離:(FORCAST(((-1))*(VAR3),21)),LINETHICK1,COLOR00FF00; DRAWTEXT((CROSS(趨勢,背離)),背離,'黑馬'),COLORRED; B:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12)); ●黑牛:FILTER(B,28)*100,STICK,COLORRED LINETHICK3;全倉買: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)<REF(ZIG(3,35),2)) *20,STICK,COLOR990066,LINETHICK3;V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,21); V3:=EMA(V2,5); V4:=2*(V2-V3)*100; 籌碼進: IF(V4>=0,V4,0),COLORWHITE,LINETHICK2;STICKLINE((V4 > 0),0,V4 ,0,0),LINETHICK2,COLORYELLOW; 籌碼撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V4 < 0),0,V4,0,0),LINETHICK1,COLORBLUE; |
|