Skip to main content

Interface: SVPStylePreferences

Charting Library.SVPStylePreferences

Style and input preferences for the Session Volume Profile (SVP) chart type and indicator. These map to the mainSeriesProperties.svpStyle.* chart overrides.

Properties​

developingPoc​

developingPoc: LineStylePreferencesWithoutGradient & { visible: boolean }

Developing Point of Control line style and visibility.


developingVA​

developingVA: LineStylePreferencesWithoutGradient & { visible: boolean }

Developing Value Area line style and visibility.


inputs​

Indicator inputs: sessions, volume mode, rows layout, value-area volume, and the extend-right flags.

The custom-session window is read in the chart's display timezone. To choose a different one, use the standalone Session Volume Profile indicator.


poc​

poc: LineStylePreferencesWithoutGradient & { visible: boolean }

Point of Control line style and visibility.


vah​

vah: LineStylePreferencesWithoutGradient & { visible: boolean }

Value Area High line style and visibility.


val​

val: LineStylePreferencesWithoutGradient & { visible: boolean }

Value Area Low line style and visibility.


volumeProfile​

volumeProfile: Object

Volume histogram appearance — colors, placement, width, and the optional per-bar value labels.

Type declaration​

NameTypeDescription
histogramBoxColorstringBackground color of the session box.
percentWidthnumberWidth of the widest bar as a percentage (1–100) of the available width.
placementHHistDirectionThe side the histogram grows from.
showValuesbooleanWhether the per-bar volume value labels are shown.
valueAreaColorDownstringDown (sell) volume color within the Value Area.
valueAreaColorUpstringUp (buy) volume color within the Value Area.
valuesColorstringColor of the per-bar volume value labels.
visiblebooleanWhether the volume histogram is drawn.
volumeColorDownstringDown (sell) volume color.
volumeColorUpstringUp (buy) volume color.