以下是同花顺短线出击副图指标
同花顺短线出击副图指标
源码
n:=21;
VAR1B:=((INDEXC-LLV(INDEXL,n))/(HHV(INDEXH,n)-LLV(INDEXL,n)))*(100);
股势:SMA(VAR1B,3,1),colormagenta,LINETHICK1;
股力:SMA(股势,3,1),colorblue,LINETHICK1;
VAR1F:=((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n)))*(100);
VAR21:=SMA(VAR1F,3,1);
趋势:SMA(VAR21,3,1),colorcyan,LINETHICK2;
人气:SMA(趋势,3,1),coloryellow,LINETHICK2;
短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),colorgreen,LINETHICK2;