通达信炮击金门指标公式
2020/5/30 19:14:12
M1:=5;
M2:=10;
M3:=20;
M:=6;
aa:=ema(c,m);
bb:=100*(aa-ref(aa,1))/ref(aa,1);
xx:=sum(if(bb>2,v,if(bb<-2,-v,0)),0);
zz:=ref(xx,1);
炮击金门:if(xx<zz,10,0);
Var1:=19;
Var2:=(VOL-LLV(VOL,Var1))/(HHV(VOL,Var1)-LLV(VOL,Var1));
Var3:=IF(CLOSE>REF(CLOSE,1),Var2*VOL,0);
Var4:=IF(CLOSE<REF(CLOSE,1),(1-Var2)*VOL,0);
Var5:=SUM((HIGH/REF(HIGH,1)-REF(LOW,1)/LOW)/(HIGH-LOW)*Var3,Var1)/Var1/100;
Var6:=SUM((REF(LOW,1)/LOW-HIGH/REF(HIGH,1))/(HIGH-LOW)*Var4,Var1)/Var1/100;
中台分界线: Var5-Var6, COLORSTICK;
投 股票网 www .tou18.cn
股市公式下载推荐