同花顺主力观察副图指标 源码介绍
同花顺主力观察副图指标 源码
简单说明:没有百分之百的指标公式,指标只是一种参考,其中的冲顶,和敌军潜入提示,有一定的参考价值,本指标要配合KDJ,一起使用,效果更好。最后要注意的是,敌军潜入提示,一定是要到调整到位的时候,出现提示才可出手。
使用时请结合其他技术指标、成交量、大盘走势等多因素进行综合判断。
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:CROSS(J,J1) AND AA;
STICKLINE(买点,0,30,6,0),colorblue;
STICKLINE(买点,30,60,4,0),colorwhite;
STICKLINE(买点,60,80,2,0),coloryellow;
DRAWTEXT(买点,70,'敌军潜入'),colorred;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen;
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;
主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),coloryellow,NODRAW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0 ),coloryellow;
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:IF(A2<19,19,0),colorwhite;
gd46845