colejustice

Welkin Advanced Volume Overlay (for VSA)

colejustice מעודכן   
This is a PineScript translation of Welkin's Advanced Volume Indicator Overlay, originally written for ThinkOrSwim. This tool is designed to facilitate Volume Spread Analysis (VSA) by highlighting areas of above average volume alongside price movement.

This indicator does two things:
1. Plots lines that extend from candles of above average, high, and very high volume.
2. Colors in candles with colors indicating volume levels (when "Paint Candles With Volume Colors" is enabled).

Blue lines mark candles with Average volume, based on a 20 SMA.
Orange lines mark 2-sigma (2 times standard deviations higher) volume.
Magenta lines mark 3-sigma (3 times standard deviations higher) volume.

When enabled, gray colored candles indicate below average volume.
Yellow candles indicate volume that is relatively higher than the previous candle, default is 1.25x.
הערות שחרור:
1) Added a sigma-4 level to the possible volume tiers, represented by white lines.
2) Cleaned up some plot code to make customizing colors easier.
הערות שחרור:
Added a toggle between dots and lines to make it easier to swap without having to change every plot.
הערות שחרור:
Added a visibility setting for setting transparency easily.
הערות שחרור:
Added an optional fill mode for the volume level lines to better highlight those zones.
הערות שחרור:
Added a toggle to allow for ignoring Extended Hours data when calculating volume ranges. (defaults to ON; extended hours volume is usually far below average and tends to artificially skew the results)
הערות שחרור:
Mostly cleaning up unused stuff, as well as improving some of the drawing features so you don't get angled lines from one zone to another. Also added an optional "show previous range" toggle for each sigma level.
הערות שחרור:
Fixed minor visual bug in the drawing of previous zones.
הערות שחרור:
Fixed a bug that was causing unexpected behavior for time frames between 1 hour and 1 day.
הערות שחרור:
  • Added a custom timeframe option for displaying volume zones from higher timeframes.
  • Improved visibility settings.
הערות שחרור:
Added line/dot thickness as a settings option.
הערות שחרור:
  • Updated to PineScript 5v.
  • Added a setting to use the "next" highest timeframe for plotting zones to make it easier to double up the indicator for multi-timeframe analysis.
הערות שחרור:
Forgive me father, for I have fibbed.

  • Added the option to display Fibonacci levels within volume zones. Defaults to "off". This draws lines at the 0.236 and 0.618 levels between midpoint and ceiling/floor of the zones (excluding the "Above Average" zones due to plot drawing restrictions).
הערות שחרור:
  • Cleaned up inputs and split out fills and fibs options for each individual volume level.
הערות שחרור:
  • moar input layout tweaks.
הערות שחרור:
  • Fixed some input layout issues.
הערות שחרור:
I noticed a problem with the zone drawing being off for higher timeframe (1h and greater) that I can't seem to sort out. It seems to be related to the security() calls so for now I've made a temporary fix that bypasses the security call when using the "chart" timeframe.

Thanks for using my indicators; I hope they make you money! Check out the website link for more, and thanks for your support!
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?