通达信资金威力值及大单流入流出占比副图指标 源码附图
VAR1:=AMOUNT/((HIGH-LOW)*6-ABS(CLOSE-OPEN));
流入亿:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/1.5)),COLORRED,NODRAW;
流出亿:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2)),COLOR00FF00,NODRAW;
暗盘资金:=(流入亿+流出亿);
暗盘三日:=SUM(暗盘资金,3);
暗盘五日:=SUM(暗盘资金,5),NODRAW;
成交额:=AMOUNT/10000,NODRAW;
日内万亿涨跌:=(CLOSE-OPEN)*999999995904,NODRAW;
威力值2:=日内万亿涨跌/成交额/100/10000,NODRAW;
昨日收盘:=REF(CLOSE,1),NODRAW;
万亿涨跌:=(CLOSE-昨日收盘)*999999995904,NODRAW;
威力值:=万亿涨跌/成交额/100/10000,NODRAW;
资金威力值:(威力值2+威力值),COLORRED;
{主力买力度:=LARGEINTRDVOL*100/VOL,COLORRED;
主力卖力度:=LARGEOUTTRDVOL*100/VOL,COLORGREEN;
占比:(主力买力度-主力卖力度)/(主力买力度+主力卖力度)*100,COLORYELLOW;
};
未来函数检测结果如下:
该公式包含未来函数:DVOL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:成交额/((最高价-最低价)*6-收盘价-开盘价的绝对值)
流入亿赋值:IF(收盘价>开盘价,VAR1*(最高价-最低价),IF(收盘价<开盘价,VAR1*((最高价-开盘价)+(收盘价-最低价)),成交额/1.5)),画红色,NODRAW
流出亿赋值:IF(收盘价>开盘价,0-VAR1*((最高价-收盘价)+(开盘价-最低价)),IF(收盘价<开盘价,0-VAR1*(最高价-最低价),0-成交额/2)),COLOR00FF00,NODRAW
暗盘资金赋值:(流入亿+流出亿)
暗盘三日赋值:3的暗盘资金日累和
暗盘五日赋值:5的暗盘资金日累和,NODRAW
成交额赋值:成交额/10000,NODRAW
日内万亿涨跌赋值:(收盘价-开盘价)*999999995904,NODRAW
威力值2赋值:日内万亿涨跌/成交额/100/10000,NODRAW
昨日收盘赋值:1日前的收盘价,NODRAW
万亿涨跌赋值:(收盘价-昨日收盘)*999999995904,NODRAW
威力值赋值:万亿涨跌/成交额/100/10000,NODRAW
资金输出威力值:(威力值2+威力值),画红色
{主力买力度赋值:LARGEINTRD成交量*100/成交量,画红色
主力卖力度赋值:LARGEOUTTRD成交量*100/成交量,画绿色
输出占比:(主力买力度-主力卖力度)/(主力买力度+主力卖力度)*100,画黄色
}