小编use*_*185的帖子

Tradingview Pine 脚本 - 如何使自定义交易量指标表现得像内置交易量

我制作了一个自定义交易量指标,但是当应用于图表时,它不会像内置指标那样自动缩放,不会自动粘在图表面板的底部,也不能没有自己明确的额外刻度旁边。

有没有办法让它做所有这些事情?

我在原始指标代码中也没有找到任何帮助。例如,当我尝试应用 format.volume 时,它​​根本拒绝编译。

下面是我的代码,原始代码在下面:

//This inddicator will show volume inversely. So if you are looking at an Altcoin, it will show volume in BTC, if you are looking at for example BTC/USD it will show volume in USD and so on. Works with all altcoins and fiat pairs.
//I find this most useful when shopping for alts to quickly get an idea of their liquidity.

//title the indicator and dont use decimals. (Otherwise when viewing fiat volume you …
Run Code Online (Sandbox Code Playgroud)

pine-script

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

pine-script ×1