Var1:=REF(CLOSE,2);
A2:SMA(MAX(CLOSE-Var1,0),7,1)/SMA(Abs(CLOSE-Var1),7,1)*100,COLORWHITE;
超卖1:IF(A2<12,30,0),COLORGREEN;
Var2:=REF(CLOSE,1),COLORWHITE;
Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100;
超卖2:IF(Var3<12,30,0),COLORYELLOW;
逢高派发:STICKLINE(A2>80,A2+1,A2-1,8,0),COLORRED;
跑吧:IF(A279,A2,0),colormagenta;
趋势线:= 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);
见底信号:= 10;
买点准备: IF(趋势线<=10,50,0),COLORCYAN;
买入时间: IF(crOSS(趋势线,见底信号),50,0),COLORRED;