RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
Lwr1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,5,1);
STICKLINE((LWR1>=LWR2),HIGH,LOW,0.05,0),ColorFFDDC0;
STICKLINE((LWR1>=LWR2),OPEN,CLOSE,5,0),ColorFFDDC0;
STICKLINE((LWR1<LWR2),HIGH,LOW,0.05,0),Color0000FF;
STICKLINE((LWR1<LWR2),OPEN,CLOSE,5,1),Color0000FF;
VAR1:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2:=vol;
多头线:(SUM((VAR1)*(VAR2),8))/(SUM(VAR2,8)),Color0000FF;
空头线:LLV(多头线,8),Color00FF00;
STICKLINE((多头线>=空头线),多头线,空头线,1,0),ColorFF0000;
趋势线:MA(CLOSE,30),ColorFFFFFF;
脊梁线:MA(CLOSE,20),ColorFF1B00;
VAR3:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3>0),91,0);
DRAWTEXT((VAR4>90),(LOW)*(0.94999998),'加仓'),Color00FFFF;
DRAWTEXT((VAR4>90),(LOW)*(0.99000001),'★'),Color00FFFF;
A1:=9;
A2:=(REF(CLOSE,A1+1)<CLOSE);
DRAWTEXT(FILTER((A2>0),5),(HIGH)*(1.02),'快跑'),ColorFFFFFF ;