同花顺趋势线狼行公式
趋势指标,主要用于抄底逃顶。首次使用观察好不好用
源码
rsv:=(HIGH+LOW+OPEN+CLOSE)/4;
mm1:SMA(SMA(rsv,2,1),2,1),coloryellow;
mm3:SMA(SMA(rsv,4,1),4,1),Coiorred;
mm4:SMA(SMA(rsv,5,1),5,1),Coiorred;
mm5:SMA(SMA(rsv,6,1),6,1),Coiorred;
mm6:SMA(SMA(rsv,7,1),7,1),Coiorred;
mm7:SMA(SMA(rsv,8,1),8,1),Coiorred;
mm8:SMA(SMA(rsv,9,1),9,1),Coiorwhite;
mm9:SMA(SMA(rsv,10,1),10,1),Coiorgreen;
mm10:SMA(SMA(rsv,11,1),11,1),Coiorgreen;
mm11:SMA(SMA(rsv,12,1),12,1),Coiorgreen;
mm12:SMA(SMA(rsv,13,1),13,1),Coiorgreen;
mm13:SMA(SMA(rsv,14,1),14,1),Coiorgreen;
mm14:SMA(SMA(rsv,15,1),15,1),Coiorgreen;
mm15:SMA(SMA(rsv,16,1),16,1),Coiorwhite,Linethick2;
m16:SMA(CLOSE,50,1);
m16:SMA(CLOSE,100,1);
m16:SMA(CLOSE,150,1);
m16:SMA(CLOSE,200,1);