买卖量指标 通达信副图源码贴图很直观好用的
A1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED NODRAW;
主动卖盘:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2)),COLORGREEN NODRAW;
买量L1:SUM((主动买盘-主动卖盘)/CAPITAL,1)*1000,COLORRED;
L2:SUM((主动买盘-主动卖盘)/CAPITAL,2)*1000;
L3:SUM((主动买盘-主动卖盘)/CAPITAL,3)*1000;
L4:SUM((主动买盘-主动卖盘)/CAPITAL,4)*1000;
L5:SUM((主动买盘-主动卖盘)/CAPITAL,5)*1000,LINETHICK2;
L6:=SUM((主动买盘-主动卖盘)/CAPITAL,6)*1000;
L7:=SUM((主动买盘-主动卖盘)/CAPITAL,7)*1000;
L8:=SUM((主动买盘-主动卖盘)/CAPITAL,8)*1000;
L9:SUM((主动买盘-主动卖盘)/CAPITAL,9)*1000;
L10:=SUM((主动买盘-主动卖盘)/CAPITAL,10)*1000;
L11:=SUM((主动买盘-主动卖盘)/CAPITAL,11)*1000;
L12:SUM((主动买盘-主动卖盘)/CAPITAL,12)*1000;
L13:SUM((主动买盘-主动卖盘)/CAPITAL,13)*1000;
L14:SUM((主动买盘-主动卖盘)/CAPITAL,14)*1000,LINETHICK2;
L15:SUM((主动买盘-主动卖盘)/CAPITAL,15)*1000,LINETHICK2;
0;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
A1赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
主动买盘赋值:IF(收盘价>开盘价,A1*(最高价-最低价),IF(收盘价<开盘价,A1*((最高价-开盘价)+(收盘价-最低价)),成交量/2)),画红色 NODRAW
主动卖盘赋值:IF(收盘价>开盘价,A1*((最高价-收盘价)+(开盘价-最低价)),IF(收盘价<开盘价,A1*(最高价-最低价),成交量/2)),画绿色 NODRAW
输出买量L1:SUM((主动买盘-主动卖盘)/当前流通股本,1)*1000,画红色
输出L2:SUM((主动买盘-主动卖盘)/当前流通股本,2)*1000
输出L3:SUM((主动买盘-主动卖盘)/当前流通股本,3)*1000
输出L4:SUM((主动买盘-主动卖盘)/当前流通股本,4)*1000
输出L5:SUM((主动买盘-主动卖盘)/当前流通股本,5)*1000, 线宽为2
L6赋值:SUM((主动买盘-主动卖盘)/当前流通股本,6)*1000
L7赋值:SUM((主动买盘-主动卖盘)/当前流通股本,7)*1000
L8赋值:SUM((主动买盘-主动卖盘)/当前流通股本,8)*1000
输出L9:SUM((主动买盘-主动卖盘)/当前流通股本,9)*1000
L10赋值:SUM((主动买盘-主动卖盘)/当前流通股本,10)*1000
L11赋值:SUM((主动买盘-主动卖盘)/当前流通股本,11)*1000
输出L12:SUM((主动买盘-主动卖盘)/当前流通股本,12)*1000
输出L13:SUM((主动买盘-主动卖盘)/当前流通股本,13)*1000
输出L14:SUM((主动买盘-主动卖盘)/当前流通股本,14)*1000, 线宽为2
输出L15:SUM((主动买盘-主动卖盘)/当前流通股本,15)*1000, 线宽为2
0