kv4coins

Volume Profile

kv4coins 已更新   
This is a Volume Profile based on pine script arrays.
The main idea behind this script is from the user @IldarAkhmetgaleev.
He created an awesome piece of code for free users on tradingview.
Here are some changes to the main script:
0. Used Pine Script Arrays for doing/storing calculations.
1. The bar labels are replaced with lines.
2. Added a POC line.
3. Bar growing directions changed from right to left.
4. Added an option to change bar width.

Inputs:
0. Volume Lookback Depth : Number of bars to look back for volume calculations.
1. Bar Length Multiplier : Bar length multiplier to make bar long or short.
2. Bar Horizontal Offset : Horizontal distance from the current bar in the right direction.
3. Bar Width : Width of the bars.
4. Show POC Line : Show or hide the POC line.

Happy trading.
版本注释:
Added option for changing Bar and POC line colors.
版本注释:
According to the latest update from the Tradingview, now we can define number of drawable lines in the study parameter as 'max_lines_count' up to the 500.
So here are our Volume Profile script with updated features.

Changes:
1. Added option for setting number of bars from 10 to 500.
2. Codes cleaned little bit.
版本注释:
Added delta option as suggested by @NXT2017.
Options: Both, Bullish and Bearish.

Both: bullish and bearish both candles ae used to calculate volume profile (default).
Bullish: only bullish candles are used.
Bearish: only bearish candles are used.
版本注释:
For viewing delta in volume profile, add this indicator two times and set delta type to bullish on the first one and bearish on the second one, now set same bar numbers on both.
版本注释:
👍
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?