九毛八公式指标
【超级量能】(副图) 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;
公式模块:
JV:=AMOUNT/10000; 成交金额:=JV/1000,COLORFFFFFF; VAR1:=(vol*100 / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); 成交:=VOL; 买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL*100 / 2))); 卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL*100 / 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,低位买,2.5,1),COLORFF00FF; STICKLINE(低位买<0,0,低位买,1.5,0),COLORFFFF00; STICKLINE(高位卖>0,0,高位卖,2.5,1),COLOR00FF00; STICKLINE(高位卖<0,0,高位卖,1.5,0),COLOR00FF00; STICKLINE(量能值>0,0,量能值,1.5,0),COLOR0000FF; STICKLINE(量能值<0,0,量能值,1.5,0),COLORFF0000;