飞狐附图[文华财经公式]
标签: 公式 文华 财经 标签 源码 飞狐附图源码:
[code]
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);
VAR4:=REF(CLOSE,1)-CLOSE;
VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);
VAR6:=SUM(VAR3,P1)/SUM(VAR5,P1);
VAR7:=100-100/(1+VAR6);
VAR8:=EMA(VAR7,P1);
VAR9:=EMA(VAR8,P2);
VARA:=EMA(VAR8,P3);
M0:(VAR8-VARA)*1;
ML:(VAR9-VARA)*1;
MODE:M0*1,COLORSTICK;
[/code]
页:
[1]