N:=100;M:=1;P:=20;
MAV:=(C*2+H+L)/4;
SK := EMA(MAV,1) - EMA(MAV,40);
SD := EMA(SK,5);
B:=(SK-SD)*n;
短线拉升:if(B<-20,-20,if(B>100,100,B)),colorred,linethick2;
t:=(C-LLV(1.02*L,20))/(HHV(H,20)-LLV(L,20))*100;
上涨量能:if(t>100,100,if(t<0,0,t)),colorff00ff;
A:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20;
A1:=(3*A-2*SMA(A,3,1))*M;
短线阻力:if(A1>100,100,if(A1<-5,-5,A1)),colorblue,linethick2;
Q1:=(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120,color009900,linethick2;
中线阻力:if(Q1>100,100,Q1),color009900;
STICKLINE(短线阻力>短线拉升 ,短线拉升,短线阻力,1,0),colorblue;