aa:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
aaa:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
cc:=SMA(aa,2,1);
bb:=MA(cc,2);
dd:=(cc*3+bb*2)/5;
ss:=MA(dd,3);
hh:=(cc*8+ss*3)/11;
hhh:=(cc+hh)/2;
ee:=aa-LLV(aa,36);
sz:=(hhh-LLV(hhh,36)+ee)/2;
sj:=MA(sz,2);
dqzj:=MIN(sz,sj)*10,STICK;
zqzj:=MA(sz,13)*10,COLORSTICK;
zcqzj:=MA(sz,28);
aa8:=REF(CLOSE,1);
bbb8:=SMA(MAX(CLOSE-aa8,0),34,1)/SMA(Abs(CLOSE-aa8),34,1)*100;
hhh8:=bbb8-LLV(bbb8,36);
ss8:=(MA(hhh8,2)*3+hhh8*13)/16*40,STICK;
zz8:=MA(hhh8,10)*40,COLORSTICK;
ccc8:=LLV(bbb8,36)-bbb8;
hh8:=(MA(ccc8,2)*3+ccc8*13)/16;
jj8:=MA(ccc8,10);
短期能量:IF(YEAR<2002,ss8,dqzj),STICK;
中期能量:IF(YEAR<2002,zz8,zqzj),COLORSTICK;