通达信DDE-JCS/JCM/JCL公式
源码:
Var1:=(CLOSE+LOW+HIGH)/3; a=HIGH-LOW; IF(HIGH==LOW)a=0.01; Var2:=SUM(((Var1-REF(LOW,1))-(HIGH-Var1))*VOL/10000000/a,0); Var3:=EMA(Var2,1); JCS:Var3; JCM:MA(Var3,12); JCL:MA(Var3,26); a:var2;