M:=30 ;
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL)/100000;
obv:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MaoBV:MA(OBV,M);
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));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=8*X/R*MAX(AA,BB);
asi:SUM(SI,0);
MASI:MA(ASI,6);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。