通达信振动指标公式
2020/3/7 18:08:42
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.kanguba.com}
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.kan guba.com
其它股票公式列表