OPEN-SOURCE SCRIPT

Angled Volume Profile [feeble]

已更新
BETA VERSION
this indicator maps volume as brightness over an SMA. the brightness then fades over time.
It draws 30 bands, so you will need to load multiple instances to get a large picture.
Configure the settings, then copy and paste the indicator, modifying only the vertOffset attribute each time
Patience, bruh. This takes a long time load. Chrome runs it faster than Firefox. ¯\_(ツ)_/¯
Please let me know if you can think of how to optimize it.
Feedback is appreciated is you use it :)

sample with 6 instances:
快照

settings:
useLog: enable if you are using a log graph
rowHeight: resolution of rows.
vertOffset: normally if you have 5 instances, the values will be -2,-1,0,1,2
fadeAmt: how long it takes for volume to fade once it is picked up
volumeMin and Max: the volume range displayed.
volumeResolution: time resolution at which volume data is collected - this is why the fadeAmt is so high, and why the graph runs out of data after a period back
EMA length: its Actually SMA but I wrote it wrong. eg. for a 20 day period on a 15min chart you go ( 20 days x 24 hrs x 4 quarter hours = 1920) - I hope to automate this in a future version :p
版本注释
Thanks for all the interest! Please let me know if you find it useful :)

Updates:
-added the option to use SMA, EMA, VWMA and FLAT (like a regular volume profile)
-re-organized some settings and made them timeframe-independent, so the graph remains consistent when changing timeframes

Troubleshooting:
-if you are getting too much brightness, or nothing is showing up, its likely that you need to adjust min and max volume
-the default ma setting is 20 days, this is the same as 20 periods on a 1d chart, 40 periods on a 12h chart, and 480 periods on a 1h chart (24x20)
-good luck! i'ts still slow.
heatmapspectrogramVolume Profile

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明