大智慧顺势多空指标公式
2020/4/20 18:31:40
N:=14;M:=6;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
多头线:PDI,COLORRED,LINETHICK2;
空头线:MDI,COLORCYAN,LINETHICK1;
{www.tou18.cn 投股票网_最新股票指标公式}
顺势线_多或空:MA(ABS(MDI-PDI)/(MDI+PDI)*100,M),DOTLINE;
顺势线:(顺势线_多或空+REF(顺势线_多或空,M))/2,DOTLINE;
投股票 网 w ww.tou18.cn
股市公式下载推荐