将动态买卖指标成机构买盘上穿机构卖盘时预警
2020/4/26 18:23:30
公式编写说明:
请老师将此指标改成机构买盘上穿机构卖盘时预警,谢谢老师A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((ISLASTBAR),((100*A2)/A6),0);A8:=((IF((ISLASTBAR),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR),((100*A5)/A6),0)));机构买盘:(A2),LINETHICK3,COLORFF55FF;机构卖盘:(A3),LINETHICK3,COLORFFFF55;散户买盘:(A4),COLOR5555FF;散户卖盘:(A5),COLOR55FF55;
公式源码回答:
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
XG:CROSS(A2,A3);
投 股票网 www. tou18.cn
股市公式下载推荐