对老趋势指标进行了修改增加一个方向线,简化了一些使趋势线指标简单了,一看就明白。
N1:=10;
先锋:4*SMA((CLOSE-LLV(LOW,n1))/(HHV(HIGH,n1)-LLV(LOW,n1))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n1))/(HHV(HIGH,n1)-LLV(LOW,n1))*100,5,1),3.2,1), Color00FFFF ,linethick1;
N2:=30;
方向:4*SMA((CLOSE-LLV(LOW,n2))/(HHV(HIGH,n2)-LLV(LOW,n2))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n2))/(HHV(HIGH,n2)-LLV(LOW,n2))*100,5,1),3.2,1),ColorFF6EC7 ,linethick1;
底:5,ColorCD7F32 ,linethick1,DOTLINE;
强线:25,Color0000FF,LINETHICK1,DOTLINE;
小顶:90,colorgray,linethick1,DOTLINE;
大顶:105,colorgreen,linethick1,DOTLINE;
STICKLINE(先锋>强线,先锋,强线,1,0,0), colorred ;
DRAWICON(CROSS(先锋,强线),20,1);