同花顺上涨能量副图指标
源码
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;