VARA:=MA(CLOSE,20);
RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
D2:=SMA(K,2,1);
T1:=(3*K-2*D)*100;
天空:STICKLINE(T1,0,120,0.5,0),LINETHICK7,COLORFF8000;
山:=(3*K-2*D)*100;
桂山:STICKLINE(山,0,山,5,0),COLOR00FFDD;
STICKLINE(山,0,山*0.95,5,0),COLOR00FFBB;
STICKLINE(山,0,山*0.88,5,0),COLOR00FF99;
STICKLINE(山,0,山*0.8,5,0),COLOR00DD99;
STICKLINE(山,0,山*0.71,5,0),COLOR00BB99;
STICKLINE(山,0,山*0.6,5,0),COLOR00AA99;
STICKLINE(山,0,山*0.5,5,0),COLOR009999;
STICKLINE(山,0,山*0.4,5,0),COLOR008899;
T2:=((100-山)-100)*2/3;
漓江水:STICKLINE(T2,T2,-72,0.1,0),LINETHICK7,,COLORFFBB00;
风景:T2,COLOR00FFCC,STICK;
STICKLINE(风景,0,风景*4/5,0.1,0),COLOR00CC99;
STICKLINE(风景,0,风景*3/5,0.1,0),COLOR009999;
STICKLINE(风景,0,风景*2/5,0.1,0),COLOR006699;
顶线:=100-((HIGH-VARA)/VARA);
RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1:=SMA(RSV2,3,1);
VAR2:=SMA(VAR1,3,1);
买入:=VAR1 16 AND VAR2
卖出预警:=T1 =88 OR 顶线
卖出:=CROSS(顶线,T1) OR CROSS(90,T1);
T3:=买入;
打渔船:DRAWTEXT(FILTER(T3,2),山-45,'︼'),COLOR0000FF,;
T4:=卖出预警 OR 卖出;
南归雁:DRAWTEXT(FILTER(T4,2),山+20,' '),,COLOR0000FF;