DisplayType Property

The DisplayType property returns or sets the hi-low-close plot Display type as lines or as candlesticks. Returns a Long.

Syntax

object.DisplayType

object.DisplayType = DisplayType

 

Parameter Type Description
DisplayType Long required, grfHLDisplayType, default is grfDisplayLines

 

Example 1

This example shows how to return the display type.

'Return the display type

Debug.Print "Display type = "; HighLow.DisplayType

Example 2

This example shows how to set the display type to candlesticks.

'Set the display type as candlesticks

HighLow.DisplayType = grfDisplayCandlestick

 

Used by: AutoHLPlot Object