源码
V1:=IF(HIGH=CLOSE,1.11*CLOSE,HIGH);
V2:=IF(HIGH=CLOSE,0.89*CLOSE,LOW);
V3:=(REF(CLOSE,1)+REF(LOW,1)+REF(HIGH,1)+REF(OPEN,1))/4;
V4:=IF(REF(LOW,1)=REF(HIGH,1),1.1*REF(CLOSE,1),V3)-REF(LOW,1);
DN:=REF(CLOSE,3)-V4;
NP:= REF(CLOSE,1)+V4;
短期值:MA((HIGH+LOW)/2,5);
顶部线:EMA(EMA(V1,13)*1.05,8);
底部线: EMA(EMA(V2,13)*0.97,8);
JJ:=(HIGH+LOW+CLOSE)/3;
V5:=MA(CLOSE,5);
V6:=MA(CLOSE,10);
V7:=MA(CLOSE,20);
V8:=MA(CLOSE,30);
H1A:=(V5+V6+V7+V8)/4;
多空线:MA(H1A,6);
KL:=多空线-短期值;
趋势线:IF(KL>=0,多空线,短期值);
阻力:EMA(EMA(HIGH,5),5)*1.04;