通信达公式指标大全 通达信花钱淘宝上买的公式源码(2)
2016-11-13 16:28 股票知识 zhishi.southmoney.com
WD:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),11);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),11);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),11);
PDI:=DMP*100/WD;
MDI:=DMM*100/WD;
AA:=PDI-MDI;
熊市:=IF(AA<0,AA,0);
牛市:=IF(AA>0,AA,0);
STICKLINE(熊市,0,HH,0,0),COLORGREEN;
大势向好:STICKLINE(牛市,0,HH,0,0),COLORLIRED;
STICKLINE(VAR1D>=VAR1D2,D1,D2,3,0),COLORRED;(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。