以下是通达信选强势股指标公式
VAR2:=(HIGH – LOW);
VAR3:=ABS((OPEN – CLOSE));
VAR4:=(HIGH – IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) – LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
VARB:=(MA(CLOSE,1) >= MA(CLOSE,3)) AND (MA(CLOSE,3) >= MA(CLOSE,5));
VARC:=(MA(CLOSE,1) <= MA(CLOSE,3)) AND (MA(CLOSE,3) <= MA(CLOSE,5));
MMM:=MA(VOL,3);
((((VAR6 >= MMM*1.5) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE >= OPEN)) OR ((VOL >= MMM*1.5) AND VARB);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)