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))));
买卖差:=(买盘 + 卖盘)/1000;
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,低位买,3,1),COLORFF00FF;
STICKLINE(低位买<0,0,低位买,3,0),COLORFFFF00;
STICKLINE(高位卖>0,0,高位卖,3,1),COLOR00FF00;
STICKLINE(高位卖<0,0,高位卖,3,0),COLOR00FF00;
STICKLINE(量能值>0,0,量能值,3,0),COLOR0000FF;
STICKLINE(量能值<0,0,量能值,3,0),COLORFF0000; |