VAR400:=(REF(CLOSE,1)+REF(LOW,1)+REF(HIGH,1)+REF(OPEN,1))/4;
VAR500:=IF(REF(LOW,1)=REF(HIGH,1),1.1*REF(CLOSE,1),VAR400)-REF(LOW,1);
DN:=REF(CLOSE,3)-VAR500;
NP:= REF(CLOSE,1)+VAR500;
短期值:MA((HIGH+LOW)/2,5);
顶部线: EMA(EMA(VAR200,T)*1.05,N);
底部线: EMA(EMA(VAR300,T)*0.97,N);
JJ:=(HIGH+LOW+CLOSE)/3;
VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,20);VAR4:=MA(CLOSE,30);H1A:=(VAR1+VAR2+VAR3+VAR4)/4;
多空线:MA(H1A,M);
KL:=多空线-短期值;
趋势线:IF(KL =0,多空线,短期值);