大智慧主力买卖方向指标公式股票软件源码如下: 量5:MA(VOL,5),colorred; 量10:MA(VOL,10); VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:VOL,ColorCD52FF,linethick0; 主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE买卖比:主动买盘/主动卖盘,ColorWHITE; {www.gpxiazai.com 股票软件下载网_大智慧股票指标公式} WJ:=(HIGH+LOW+CLOSE)/3; VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)); VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ); VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW); VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN)); VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW); VD6:=(VD1*VD5); VD7:=(VD2*VD5); VD8:=(VD3*VD5); VD9:=(VD4*VD5); 买入量:=(VD9+VD8); 卖出量:=(VD6+VD7); 买入资金:=买入量*close/100; 卖出资金:=卖出量*close/100; 资金进出:=买入资金-卖出资金; 买卖资金比:=买入资金/卖出资金; 挂单买盘:=MA(主动买盘,3); 挂单卖盘:=(MA(主动卖盘,3)); STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF; STICKLINE((主动买盘 > 0),0,主动买盘,7.8,0),color0018FF; STICKLINE((主动买盘 > 0),0,主动买盘,7.5,0),color001BFF; STICKLINE((主动买盘 > 0),0,主动买盘,7.3,0),color0022FF; STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF; STICKLINE((主动买盘 > 0),0,主动买盘,6.8,0),color0041FF; STICKLINE((主动买盘 > 0),0,主动买盘,6.5,0),color0050FF; STICKLINE((主动买盘> 0),0,主动买盘,6.3,0),color0059FF; STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF; STICKLINE((主动买盘 > 0),0,主动买盘,5.7,0),color006CFF; STICKLINE((主动买盘> 0),0,主动买盘,5.5,0),color007AFF; STICKLINE((主动买盘 > 0),0,主动买盘,5.3,0),color0080FF; STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF; STICKLINE((主动买盘 > 0),0,主动买盘,4.5,0),color0095FF; STICKLINE((主动买盘 > 0),0,主动买盘,3.5,0),color009CFF; STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF; STICKLINE((主动买盘> 0),0,主动买盘,2.5,0),color00C0FF; STICKLINE((主动买盘 > 0),0,主动买盘,1.5,0),color00D1FF; STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF; STICKLINE((主动买盘 > 0),0,主动买盘,0.7,0),color00FFFF; STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800; STICKLINE((主动卖盘 > 0),0,主动卖盘,7.8,0),color007F00; STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00; STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00; STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000; STICKLINE((主动卖盘 > 0),0,主动卖盘,6.8,0),color009500; STICKLINE((主动卖盘> 0),0,主动卖盘,6.5,0),color009C00; STICKLINE((主动卖盘> 0),0,主动卖盘,6.3,0),color00A300; STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00; STICKLINE((主动卖盘 > 0),0,主动卖盘,5.7,0),color00AF00; STICKLINE((主动卖盘 > 0),0,主动卖盘,5.5,0),color00B900; STICKLINE((主动卖盘 > 0),0,主动卖盘,5.3,0),color00C000; STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100; STICKLINE((主动卖盘 > 0),0,主动卖盘,4.5,0),color00CA00; STICKLINE((主动卖盘> 0),0,主动卖盘,3.5,0),color00D300; STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00; STICKLINE((主动卖盘> 0),0,主动卖盘,2.5,0),color00EA00; STICKLINE((主动卖盘> 0),0,主动卖盘,1.5,0),color00FF00; |