龙听期货论坛's Archiver

龙听 发表于 2018-11-30 10:48

文华财经步步高指标模型[文华财经公式]

文华财经步步高指标源码[code]
Z:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),COLORWHITE;
A:=HHV(Z,10);
B:=LLV(Z,10);
A1:=HHVBARS(Z,10)=0;
B1:=LLVBARS(Z,10)=0;
STICKLINE(A,A,REF(A,1),COLORRED,0);
STICKLINE(B,B,REF(B,1),COLORGREEN,0);
DRAWTEXT(A1,Z,'S'); DRAWTEXT(B1,Z,'B');
[/code]

页: [1]