编写要求:
【超级量能】(副图) jv:=AMOUNT/10000; 成交金额:=jv/1000,colorffffff; VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); 成交:=VOL; 买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))); 卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2)))); 买卖差:=(买盘 + 卖盘)/100000; DDX:=(卖盘-买盘)/(买盘+卖盘)*100/CAPITAL; D1:=EMA(ABS(DDX),60); D2:=MAX(DDX/D1+7.5,7.5); 量能值:-MIN(DDX/D1,10)*5,POINTDOT,COLOR0000ff; 高位卖:(买盘-卖盘)/(买盘),COLOR00ff00,POINTDOT; 低位买:(买卖差/成交金额),COLORff00ff,POINTDOT; STICKLINE(低位买>0,0,低位买,6,1),COLORff00ff; STICKLINE(低位买<0,0,低位买,6,0),COLORffff00; STICKLINE(高位卖>0,0,高位卖,6,1),COLOR00ff00; STICKLINE(高位卖<0,0,高位卖,6,0),COLOR00ff00; STICKLINE(量能值>0,0,量能值,5,0),COLOR0000ff; STICKLINE(量能值<0,0,量能值,5,0),COLORff0000;
解答:
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!