通达信振动指标公式
2020/3/7 18:39:58
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
{投股票网-股票公式网站 www.tou18.cn}
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=8*X/R*MAX(AA,BB);
振动:SUM(SI,0),LINETHICK2;
MASI:MA(振动,6),LINETHICK2;
H20:HHV(振动,20),COLORRED,LINETHICK2;
L20:LLV(振动,20),COLORCYAN,LINETHICK2;
DRAWICON(振动<H20 AND REF(振动,1)=REF(H20,1),H20,2);
DRAWICON(CROSS(振动,MASI),MASI,1);
投股 票网 www.tou1 8.cn
股市公式下载推荐