var1:=((close-ma(close,21))/ma(close,13)*100); stickline(var1>20 and filter(var1< ref(var1,1),5),var1+5,0,7,1),color00ff00; 大顶:var1>20 and filter(var1< ref(var1,1),5),color00ff00; stickline(var1>9 and filter(var1< ref(var1,1),5),var1+2,0,3,1),colorgreen; var2:=hhv(var1>20,10); stickline(var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),var1,0,7,0),colorblue; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} 危险: STICKLINE(Var2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),Var1+10,0,4,0),COLOR9400D3; stickline(var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2)),var1,0,7,0); 短底: STICKLINE(Var1<-9 AND Var1> REF(Var1,1),Var1-2,0,3,0), COLOR7CFC00, linethick3; 大底: STICKLINE(Var1<-20 AND Var1> REF(Var1,1),Var1-5,0,7,0), COLORyellow; 持币区域:var1,colorfedcba; 持股区域:if(var1>0,var1,0),colorred; ema(var1,3);ema(ema(var1,3),3); |