大智慧反DDX指标公式

[复制链接]
查看204 | 回复0 | 2021-8-21 14:01:28 | 显示全部楼层 |阅读模式

REFLINE:0;成交量:VOL,PRECIS2,LINETHICK0;
AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{系数=成交量/((最高价-最低价)*2-绝对值(收盘价-开盘价))}
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2));
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-AAA*(HIGH-LOW),0-成交量/2));
净额:主买-主卖,linethick0;;

A1:=MIN((COUNT(ORDER(2),0)),60);
DDX1:EMA(净额,A1) * A1;
DDX2:MA(DDX1,5);
DDX3:MA(DDX1,10);
STICKLINE((净额 > 0),0,净额,5,0),COLOR3D,colorred;
STICKLINE((净额 < 0),0,净额,5,0),COLOR3D,COLOR33FF33;

202108211315.jpg

202108211315.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则