赢在起跑线 发表于 2022-9-26 21:40:21

动态买卖气文华指标公式 源码分享


用法参考:

1.该指标在+1到-1之间波动;

2.低于-0.5时为很好的买入点,高于+0.5时需注意风险。




N:=23;
M:=8;
DTM:=IFELSE(OPEN<=REF(OPEN,1),0,MAX((HIGH-OPEN),(OPEN-REF(OPEN,1))));
DBM:=IFELSE(OPEN>=REF(OPEN,1),0,MAX((OPEN-LOW),(REF(OPEN,1)-OPEN)));
STM:=SUM(DTM,N);
SBM:=SUM(DBM,N);
ADTM:IFELSE(STM>SBM,(STM-SBM)/STM,IFELSE(STM=SBM,0,(STM-SBM)/SBM));
ADTMMA:MA(ADTM,M);
页: [1]
查看完整版本: 动态买卖气文华指标公式 源码分享