通达信资金额+趋势指标公式

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
进出量:=买量+卖量,COLOR00FFFF;
五日内净流入:SUM(进出量,5)/1000000;
{额亿公式}
总亿:AMOUNT/100000000,COLORFF00FF,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
额亿:流入亿+流出亿,COLORFFFF00,NODRAW;
{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;
分界:0;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF;
STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,4,0)COLOR22736F;
STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5;
STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF;
STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF;
STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;
STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;
STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306;
STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2;
 



来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

AA赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)

买量赋值:IF(收盘价>开盘价,AA*(最高价-最低价),IF(收盘价<开盘价,AA*((最高价-开盘价)+(收盘价-最低价)),成交量/2)),LINETHICK0,画红色

卖量赋值:IF(收盘价>开盘价,0-AA*((最高价-收盘价)+(开盘价-最低价)),IF(收盘价<开盘价,0-AA*(最高价-最低价),0-成交量/2)),LINETHICK0,画青色

进出量赋值:买量+卖量,COLOR00FFFF
输出
五日内净流入:5的进出量日累和/1000000
输出
{额亿公式}
总亿:成交额/100000000,COLORFF00FF,NODRAW

VAR1赋值:成交额/((最高价-最低价)*2-收盘价-开盘价的绝对值)
输出
流入亿:IF(收盘价>开盘价,VAR1*(最高价-最低价),IF(收盘价<开盘价,VAR1*((最高价-开盘价)+ (收盘价-最低价)),成交额/2))/100000000,画红色,NODRAW
输出
流出亿:IF(收盘价>开盘价,0-VAR1*((最高价-收盘价)+(开盘价- 最低价)),IF(收盘价<开盘价,0-VAR1*(最高价-最低价),0-成交额/2))/100000000,COLOR00FF00,NODRAW
输出
额亿:流入亿+流出亿,COLORFFFF00,NODRAW

{线赋值:收盘价的1日简单移动平均-收盘价的6日简单移动平均,NODRAW
}
YUWEI赋值:收盘价的1日简单移动平均-收盘价的6日简单移动平均,NODRAW
输出
分界:0

STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,4,0)COLOR0D0C6A

STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,3,0)COLOR0D06AA

STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,1.5,0)COLOR2108C1

STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,0.5,0)COLOR9F5DFF

STICKLINE(YUWEI>0 AND YUWEI<1日前的YUWEI,0,YUWEI,4,0)COLOR22736F

STICKLINE(YUWEI>0 AND YUWEI<1日前的YUWEI,0,YUWEI,3,0)COLOR22AAD5

STICKLINE(YUWEI>0 AND YUWEI<1日前的YUWEI,0,YUWEI,1.5,0)COLOR10C7BF

STICKLINE(YUWEI>0 AND YUWEI<1日前的YUWEI,0,YUWEI,0.5,0)COLOR80FFFF

STICKLINE(YUWEI<0 AND YUWEI<1日前的YUWEI,0,YUWEI,4,0)COLOR1B7411

STICKLINE(YUWEI<0 AND YUWEI<1日前的YUWEI,0,YUWEI,3,0)COLOR17A715

STICKLINE(YUWEI<0 AND YUWEI<1日前的YUWEI,0,YUWEI,1.5,0)COLOR08D306

STICKLINE(YUWEI<0 AND YUWEI<1日前的YUWEI,0,YUWEI,0.5,0)COLOR40FF00

STICKLINE(YUWEI<0 AND YUWEI>1日前的YUWEI,0,YUWEI,4,0)COLOR080E71

STICKLINE(YUWEI<0 AND YUWEI>1日前的YUWEI,0,YUWEI,3,0)COLOR0B0E8C

STICKLINE(YUWEI<0 AND YUWEI>1日前的YUWEI,0,YUWEI,1.52,0)COLOR0905B0

STICKLINE(YUWEI<0 AND YUWEI>1日前的YUWEI,0,YUWEI,0.5,0)COLOR0204F2

 

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图