VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:= EMA(VAR6,2)*1.22;
AD1:=EMA(AK,2);
AJ:=3*AK-2*AD1;
AA:=100;
BB:=0;
CC:=80;
买进:=IF(CROSS(AK,AD1),60,20);
卖出:=IF(CROSS(AD1,AK),60,20);
M:=80;M1:=50;
B1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线:= SMA(B1,2,1);
B2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线:= SMA(B2,5,1)-8;
LH:= M;{九毛八公式指标www.9m8.cn}
LH1:= M1;
G:=REF(CROSS(机构做多能量线,买进),1);
T:=机构做多能量线/REF((机构做多能量线),1)>1.01;
XG:G AND T AND 机构做多能量线>48.5 ;