趋势指标
zyd1:=ema(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5);
zyd2:=ref(zyd1,1);
STICKLINE(zyd1>=ref(zyd1,1),zyd1,zyd2,8,0),COLOR0055AA;
STICKLINE(zyd1<ref(zyd1,1),zyd1,zyd2,8,0),COLOR006600;
STICKLINE(zyd1>=ref(zyd1,1),zyd1,zyd2,5,0),COLOR0077CC;
STICKLINE(zyd1>=ref(zyd1,1),zyd1,zyd2,3,0),COLOR0099DD;
STICKLINE(zyd1<ref(zyd1,1),zyd1,zyd2,5,0),COLOR009900;
STICKLINE(zyd1<ref(zyd1,1),zyd1,zyd2,3,0),COLOR00BB00;
zyVAR1:=HHV(HIGH,25);
zyVAR2:=LLV(LOW,25);
阻力线:EMA((CLOSE-zyVAR2)/(zyVAR1-zyVAR2)*100,20),ColorFF8000,LINETHICK1,PRECISION1,LINEDOT;
突破线:= EMA((CLOSE-zyVAR2)/(zyVAR1-zyVAR2)*100,5);
操作线:突破线,LINETHICK1,Color761CE3,PRECISION1,LINEDOT;