Name

doPlotOHLC — Plot custom OHLC chart

Synopsis

doPlotOHLC (open,
  high,
  low,
  close,
  name,
  color,
  style = styleCandle | styleOwnScale,
  minvalue = "empty",
  maxvalue = "empty",
  XShift = 0,
  ZOrder = 0,
  width = 1);

Returns

NUMBER

Parameters

Name Type Default Description
open array
high array
low array
close array
name string
color array_or_number
style array_or_number styleCandle | styleOwnScale
minvalue array "empty"
maxvalue array "empty"
XShift number 0
ZOrder number 0
width number 1

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/plotohlc.html

Plot custom OHLC chart