今天給大家分享一個(gè)很實(shí)用的漲停公式,非常有收藏價(jià)值,還有漲停前選股哦。我不說(shuō)公式有多好,但是很多朋友用過(guò)都說(shuō)還不錯(cuò)。呵呵,說(shuō)的再多還不如看效果。以圖為證
{上下影線漲停}
工作線:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;
生命線:(MA(C,25)),LINETHICK1,COLORMAGENTA;
不惑線:(MA(C,40)),COLORCYAN,LINETHICK1;
姊妹線:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A4:=EMA(C,10);
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);
A8:=LLV(L,21);
A9:=HHV(H,21);
A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);
A13:=LLV(L,55);
A14:=HHV(H,34);
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);
A16:=(A11 + A15) / 2;
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);
A18:=EMA(A16,5);
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);
A20:=CROSS(A10,A11);
A21:=(CROSS(A10,A19)) AND (A19 < 30);
A22:=A21 * 0.6;
A23:=((C + L) + H) / 3;
A24:=EMA(A23,6);
A25:=EMA(A24,5);
A26:=CROSS(A24,A25);
DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;
DRAWTEXT(CROSS(A4,A3),L,'線上陰線買(mǎi)停板'),LINETHICK4,COLOR22ACDE;
STICKLINE(((C >= 工作線) AND (C >= O)),H,L,0,1),COLORRED;
STICKLINE(((C >= 工作線) AND (C >= O)),O,C,2,1),COLORRED;
STICKLINE(((C >= 工作線) AND (C <= O)),H,L,0,0),COLORRED;
STICKLINE(((C >= 工作線) AND (C <= O)),O,C,2,0),COLORRED;
STICKLINE(((C < 工作線) AND (C >= O)),H,L,0,1),COLORGREEN;
STICKLINE(((C < 工作線) AND (C >= O)),O,C,2,1),COLORGREEN;
STICKLINE(((C < 工作線) AND (C <= O)),H,L,0,0),COLORGREEN;
STICKLINE(((C < 工作線) AND (C <= O)),O,C,2,0),COLORGREEN;
七天線:MA(C,7),COLORGRAY,LINETHICK2;
{漲停選股}
TJ:="MACD.DIF"-"MACD.DEA"<=0.02 AND "MACD.DIF"<=REF("MACD.DIF",1)AND
REF("MACD.DIF",1)<REF("MACD.DIF",2) AND "MACD.DIF"> "MACD.DEA" AND
"MACD.DEA" >0 AND"MACD.DEA">REF("MACD.DEA",1) AND "MACD.MACD"<REF("MACD.MACD",1)
AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
XG:REF(TJ,1)AND "MACD.DIF">=REF("MACD.DIF",1) AND "MACD.MACD">REF("MACD.MACD",1);
|