这个指标是本人自用,效果非常好,现分享大家,使用很简单,红线持有,绿线卖掉,虽然有时会卖早了点,但是肯定不会亏着卖。
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*4000;
STICKLINE(控盘 0,控盘,0,1,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘 0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2 50 AND COST(85) CLOSE AND 控盘 0,控盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR2 50 AND COST(85) CLOSE AND 控盘 0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,1,0),COLOR00FF00;
主力出货:IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0),COLOR00FF00,NODRAW;
NVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
NVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
NVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
NVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
NVAR5:=(NVAR2+2*NVAR3+3*NVAR4)/6;
NVAR6:=MA(NVAR5,3);
{STICKLINE(NVAR6 =-8,5,25,7,0) ;}
STICKLINE(NVAR6 =-10,80,100,5,0),COLORYELLOW;
STICKLINE(NVAR6 =-10,65,35,4,0),COLORYELLOW;
STICKLINE(NVAR6 =-10,40,0,4,1), COLORRED;
STICKLINE(NVAR6 =-10,80,30,3,0), COLORGREEN;
STICKLINE(NVAR6 =-10,80,60,3,0), COLORWHITE;
雷达:IF(NVAR6 =-10,20,0),LINETHICK3 , COLORRED,NODRAW;
SAR1:=IF(YEAR =2298 AND MONTH =1,0,1);
SAR2:=REF(LOW,1)*SAR1;
SAR3:=SMA(ABS(LOW-SAR2),3,1)/SMA(MAX(LOW-SAR2,0),3,1)*100*SAR1;
SAR4:=EMA(IF(CLOSE*1.3,SAR3*10,SAR3/10),3)*SAR1;
SAR5:=LLV(LOW,30)*SAR1;
SAR6:=HHV(SAR4,30)*SAR1;
SAR7:=IF(MA(CLOSE,58),1,0)*SAR1;
SAR8:=EMA(IF(LOW =SAR5,(SAR4+SAR6*2)/2,0),3)/618*SAR7*SAR1;
吸筹:IF(SAR8 100,100,SAR8)*SAR1,COLORRED;
庄家吸筹:STICKLINE(吸筹 -150,0,吸筹,5,0),COLORRED;
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
{2指.RSI}
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK0;
{3指.KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D,LINETHICK0;
{4指.W&R}
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
{5指.CCI} {www.9m8.cn 九毛八公式指标网}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
五指A:=WMA((能量线+RSI+J-威廉WR+CCI)/5,5);
五指B:=WMA((能量线+RSI+J-威廉WR+CCI)/5,13);
DRAWBAND(五指A,RGB(255,155,0),五指B,RGB(0,40,255));
NOTEXTA:WMA((能量线+RSI+J-威廉WR+CCI)/5,5),COLOR00FF00,LINETHICK2;
持股:IF(五指A REF(五指A,1),五指A,-200),COLOR0000FF,LINETHICK3,NODRAW;
NOTEXTB:IF(五指A REF(五指A,1),五指A,DRAWNULL),COLOR0000FF,LINETHICK3;
KC:=FORCAST(((2*C+H+L)/4*0.618+C*0.382),3);
AAX:=(KC-MA(KC,9))/MA(KC,9)*100; VAR0:=MIN(EXIST(KC,55),9);
AAX1:=EMA(AAX,VAR0)*VAR0; AAX2:=MA(AAX1,3);
AAX3:=MA(AAX1,5); 卖:=AAX3 3 AND AAX1 REF(AAX1,1) AND CROSS(AAX2,AAX1);
卖出:=FILTER(卖,5),NODRAW;
DRAWICON(卖出,五指A*1.2,2);
VB2:=EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6)*100;
VB3:=IF(LLV(VB2,3)=LLV(VB2,11) AND COUNT(VB2 0,2) AND CROSS(VB2,MA(VB2,2)),1,0);
买入:FILTER(VB3=1,5),NODRAW;
DRAWICON(买入,五指A*0.95,1);
X_1:=150;
X_2:=3;
X_3:=REF(HHV(HIGH,X_1),X_2);
X_4:=REF(LLV(LOW,X_1),X_2);
X_5:=X_3-(X_3-X_4)*0.618;
X_6:=REFDATE(X_5,DATE);
横盘天数:=BARSLASTCOUNT(CLOSE X_6),COLORGREEN;
X_7:=CROSS(CLOSE,X_6);
X_8:=横盘天数
X_9:=REF(X_8,1);
X_10:=X_9 AND X_7;
DRAWICON(X_10,50,34);