大智慧核心拉力指标公式
2020/9/18 18:22:55
v1:=BARSLAST(ref(cross("macd.diff","macd.dea"),1));
MACD底背离:ref(c,v1+1)>c and ref("macd.diff",v1+1)<"macd.diff" and cross("macd.diff","macd.dea");
v2:=BARSLAST(ref(cross("macd.dea","macd.diff"),1));
MACD顶背离:ref(c,v2+1)>c and ref("macd.diff",v2+1)<"macd.diff" and cross("macd.dea","macd.diff");DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
GG:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
Var1:=IF(DP>0.01,0.9,IF(DP<-0.05,1,1.2));
Var2:=Var1*(GG-DP)*100;
核心拉力:SUM(Var2,5),colorff6666,linethick2;
-5,colorff33ff,pointdot;0,pointdot;6,pointdot;
r5:if(核心拉力>REF(核心拉力,1) and ref(核心拉力,1)<ref(核心拉力,2) and ref(核心拉力,1)<-6,5,0),colorred;
投股票 网 www.tou18.c n
股市公式下载推荐