VAR1:=(HIGH+LOW+CLOSE)/3;
出招:SUM(MAX(0,HIGH-REF(VAR1,1)),26)/SUM(MAX(0,REF(VAR1,1)-LOW),26)*100,COLORRED;
A:= REF(MA(出招,10),5);
B:= REF(MA(出招,20),9);
E:= REF(MA(出招,40),17);
顶:IF(A>B,IF(A>E,A,E),IF(B>E,B,E)),COLORCYAN;
底:IF(A<B,IF(A<E,A,E),IF(B<E,B,E)),COLORBLUE;