OPEN-SOURCE SCRIPT

Volume Profile Array's [fikira]

已更新
Inspired by © IldarAkhmetgaleev (AkhIL) - "Poor man's volume profile" - "PMVolProf"
He did a fantastic job on "Volume Profile"!

My script is about making this with array's

Settings:
- period (last x bars) for calculation
- max width (visible horizontal range)
- amount of sections (vertical sections; to many sections can give an error -> lower the sections in that case)

Setting "high/low", "close":
- "high/low"
-> the volume of every bar (in the period) which low is lower than a particular section and which high is higher than that section is added to that section
- "close"
-> here the volume of every bar (in the period) which close closes in the range of a particular section is added to that section

The orange/blue coloured "Volume lines" are the highest/lowest values above and below present close
(can be used as Support/resistance )

"Only show max/min" shows only the orange/blue Volume lines

The period and highest/lowest is show by 2 thin blue lines

Color, line width is adjustable

Cheers!
版本注释
Changed colour logic:
Now you can compare each section with #sections above/below for the max/min
(min 1 and max 5 sections above/below to compare with)
"compare # sections above/below for max/min" = 1:
快照

"compare # sections above/below for max/min" = 3:
快照

"compare # sections above/below for max/min" = 5:
快照

Also added vertical line where the bar calculations start
volumeanalysisvolumeindicatorvolumespreadanalysisVolume

开源脚本

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

想在图表上使用此脚本?


LuxAlgo Dev: luxalgo.com
PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
更多:

免责声明