龙听期货论坛's Archiver

龙听 发表于 2018-11-30 11:01

文华KDJ盈利模型 源码[文华财经公式]

文华KDJ盈利模型 源码:
[code]
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/10000,COLORYELLOW;
MAOBV:=MA(OBV,8); // cxh99.com //
BU:=IF(OBV>=MAOBV,OBV,MAOBV),COLORRED;
SEL:=IF(MAOBV-OBV,MAOBV,OBV),COLORGREEN;
VAR1:=(2*CLOSE+HIGH+LOW)/4; // cxh99.com //
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:=MA(J,3);
K:=MA(J,1);
CROSS(BU,SEL),BPK;
CROSS(SEL,OBV),SPK;
[/code]

页: [1]