本指标提示点较多,可做波段可做短线,非常全面清晰明了,个人钟爱指标之一。
DRAWGBK(O>C,RGB(40,40,40),RGB(0,0,40),0,'01',0); {背景不要可删除}
N:=2.5;P:=5;A:=9;
VAR8:=LLV(LOW,10);
VAR9:=HHV(HIGH,25);
清仓:17.5*N,POINTDOT,COLORGREEN,LINETHICK2;
卖出:14.5*N,COLORGREEN,LINETHICK1;
分界线:0,COLORRED,LINETHICK1;
底部:-15.5*N,COLORRED,LINETHICK2;
关注:-55,POINTDOT,COLORRED,LINETHICK2;
动力线:= (EMA((CLOSE-VAR8)/(VAR9-VAR8)*4,4)*10-17.5)*N;
RSV:=((((HHV(HIGH,P) - CLOSE) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 125);
散户:SMA(RSV,A,1)+15,COLORGREEN,LINETHICK1;
RSV1:=((((CLOSE - LLV(LOW,P)) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 105);
主力:SMA(RSV1,A,1)+15,COLORRED,LINETHICK1;
T1:=CROSS(主力,关注);
T2:=CROSS(主力,底部);
T3:=CROSS(清仓,主力);
T4:=CROSS(卖出,主力);
准备起爆:=CROSS(主力,散户);
STICKLINE(准备起爆,15,-15,2,0),COLOR00FFFF;
小心阴跌:=CROSS(散户,主力);
STICKLINE(小心阴跌,15,-15,2,0),COLORBLUE;
STICKLINE(T3 OR T4 ,卖出,清仓,2,0),COLORGREEN;
STICKLINE(T1 OR T2 ,关注,底部,2,0),COLORFF00FF;
正差:主力>=REF(主力,1);
STICKLINE( 正差,-50,-47,3,0 ),COLORRED;
负差:主力<REF(主力,1);
STICKLINE( 负差,-50,-47,3,0 ),COLORGREEN;
REFLINE:0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD := 2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:IF(X2>0,X2,0),POINTDOT,COLORRED;
X4:=IF(X2<0,X2,0),POINTDOT,COLORGREEN;
资金动能A:X2,COLORWHITE,LINETHICK0;
资金动能B:X1,COLORBROWN,LINETHICK0;
VAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1);
VAR4:=EMA(VAR3,5);
大底部:=IF(CROSS(VAR4,10) AND VAR4>10,14,0);
中底部:=IF(CROSS(VAR4,20) AND VAR4>10,13,0);
小底部:=IF(CROSS(VAR4,30) AND VAR4>10,12,0);
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
红柱:DRAWICON(CROSS(资金动能A,0) AND AA,14.5*N,38);
持币:IF(SAR(10,2,20)>=H,0,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;
持股:IF(SAR(10,2,20)<=L,0,DRAWNULL),CROSSDOT,LINETHICK3,COLORRED;
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
短线反弹:IF(CROSS(个股,9),30,0),STICK,LINETHICK3,COLORFF00FF;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7; LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);