通达信背离就买指标公式
2020/2/28 18:12:48
LC:=REF(C,1);
RSI5:=((SMA(MAX((C-LC),0),5,1)/SMA(ABS((C-LC)),5,1))*100);
TR1:=SUM(MAX(MAX((H-L),ABS((H-REF(C,1)))),ABS((L-REF(C,1)))),10);
HD:=(H-REF(H,1));
LD:=(REF(L,1)-L);
DMP:=SUM(IF(((HD>0) AND (HD>LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
{看股吧-股票公式网站 www.kanguba.com}
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);
AV:=(RSI5+ADX);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
0,COLORFF00FF;
WR10:=((100*(HHV(H,10)-C))/(HHV(H,10)-LLV(L,10)));
NEWVOL:=(RSI5-WR10);
阶段底:=(AV+NEWVOL);
趋势线:LLV(阶段底,1),COLORRED,LINETHICK2;
230,COLORFFFFFF;
十日换:SUM(VOL,10)/CAPITAL*100,COLOR999999,NODRAW;
二十日换:SUM(VOL,20)/CAPITAL*100,COLOR999999,NODRAW;
看股吧 公式 www.kanguba .com
其它股票公式列表