VAR1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),34)/10000;
能量:SMA(VAR1,13,3),LINETHICK0;
累积能量:EMA(EMA(能量,3),3),LINETHICK0;
STICKLINE(累积能量>REF(累积能量,1),0,累积能量,2,0),COLORLIMAGENTA;
STICKLINE(累积能量<REF(累积能量,1),0,累积能量,2,0),COLORLIBLUE;