Difference between revisions of "API Drawing styles constants"

From NakedMarkets
Jump to navigation Jump to search
Line 16: Line 16:
| '''DRAW_ARROW''' || Draws the data as a symbol
| '''DRAW_ARROW''' || Draws the data as a symbol
|-
|-
| '''DRAW_SECTION''' || Draws the data as a section (ie: ZigZag indicator)
| '''DRAW_SECTION''' || Draws the data as sections between even and odd indicator buffers, 2 buffers of values (ie: ZigZag indicator)
|-
|-
| '''DRAW_CANDLES''' || Draws the data as a set of candles (ie: Heikin Ashi)
| '''DRAW_CANDLES''' || Draws the data as a set of candles (ie: Heikin Ashi)

Revision as of 10:46, 4 January 2023

Summary

The Drawing style constants are used in chart drawing functions to set the graph type

Definition

Constant name Value
DRAW_LINE Draws the data as a line
DRAW_HISTOGRAM Draws the data as an histogram
DRAW_FILL Draws the data as a filled area
DRAW_ARROW Draws the data as a symbol
DRAW_SECTION Draws the data as sections between even and odd indicator buffers, 2 buffers of values (ie: ZigZag indicator)
DRAW_CANDLES Draws the data as a set of candles (ie: Heikin Ashi)
DRAW_NONE Doesn't draw the data

Examples