求公式一个
倚天的公式源码,哪位哥们能帮着改成mt的?万分感谢
VAR2:=IF(HIGH=CLOSE,1.11*CLOSE,HIGH);
VAR3:=IF(HIGH=CLOSE,0.89*CLOSE,LOW);
VAR4:=(REF(CLOSE,1)+REF(LOW,1)+REF(HIGH,1)+REF(OPEN,1))/4;
VAR5:=IF(REF(LOW,1)=REF(HIGH,1),1.1*REF(CLOSE,1),VAR4)-REF(LOW,1);
VAR6:=REF(CLOSE,3)-VAR5;
VAR7:=REF(CLOSE,1)+VAR5;
短期值: MA((HIGH+LOW)/2,5);
顶部线: EMA(EMA(VAR2,6)*1.05,8);
底部线: EMA(EMA(VAR3,6)*0.97,8);