同花顺的决策操盘密码原码:
Var1=MONEY/VOL;
A=SMA(Var1,5,1)-SMA(Var1,55,1);
B=SMA((A-SMA(A,5,1)),5,1);
IF(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1))
RETURN ("colorred");
IF(CLOSEREF(A,1) AND B>REF(B,1))
RETURN ("colorwhite");
IF(A
RETURN ("colorgreen");
IF(A>REF(A,1) AND B
RETURN ("colorwhite");
IF(AREF(B,1))
RETURN ("colorwhite");
RETURN "colorgreen";
仅提供源码,并无公式下载 |