同花顺股侠关注副图指标 源码介绍
同花顺股侠关注副图指标 源码
红色表示波段买入指标
VAR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR3:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR4:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
趋势线:SMA(SMA(VAR1,3,1),3,1),colorblue,LINETHICK2;
买入线:=3*SMA(VAR1,3,1)-2*趋势线,colorred;
股侠买入: IF(VAR3<MA(VAR4,6),MA(VAR4,6),VAR3),colorred;
股侠卖出: IF(VAR2>MA(VAR4,6),MA(VAR4,6),VAR2),colorgreen ;
强弱线: MA(VAR4,6),coloryellow ,LINETHICK1 ;
股侠关注: STICKLINE(SMA(VAR1,3,1)>趋势线,SMA(VAR1,3,1),趋势线,2,0),colorred;
关注线:20,colorred,LINETHICK2;
警戒线:90,colorgreen,LINETHICK2;
DRAWICON(CROSS(90,买入线),90,2);
gd47933