申万宏源技术指标测试大全之十九— Demarker
由crisvalentine创建,最终由crisvalentine 被浏览 40 用户
指标介绍
德马克指标(Demarker):简称Dem
所需数据和参数:Dem(high,close,nDay,threshold1,threshold2 )
指标伪码:
DEMAX:=MAX(HIGH-REF(HIGH,1),0);
DEMIN:=MAX(REF(LOW,1)-LOW,0);SUMDEMAX:=SUM(DEMAX,NDAY);
SUMDEMIN:=SUM(DEMIN,NDAY);
DEMARKER:IF(SUMDEMAX+SUMDEMIN>0,SUMDEMAX/(SUMDEMAX+SUMDEMIN)*100,50);
指标含义
/wiki/static/upload/2a/2ae59c6e-2db5-40ad-bd84-27f8e9a62d33.pdf
\