通达信【资金威力值】副图指标大单流入流出占比
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;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系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+威力值),画红色