## Bars - BARS

### Description:

Plots standard OHLC bars, or Candles, or Point and Figure.

There is also an optional 3 MA's that can be plotted over the Bars or Candles. To plot the MA's, set the period to 2 or greater or 1 to hide.

Note: For Candles, see the CUS example cdl-rel which might be a better way to work with candles.

### Bar Parameters:

- Up Color - color used for 'up' bars
- Down Color - color used for 'down' bars
- Neutral Color - color used for 'neutral' bars
- Label - text to identify the plot

### Candle Parameters:

- Candle Color - color used for candles
- Label - text to identify the plot

### Point and Figure Parameters:

- Method - Default or Custom (see below)
- X Color - color used for rising prices
- O Color - color used for falling prices
- Box Size - the minimum price change that must occur before a mark is plotted.
- Reversal - amount of price change required to commence the new right-hand column.
- Label - text to identify the plot

The 'Default' method box sizing is a simple formula: 2% of the mid point of bars displayed. Set method to 'Custom' to set the box size and reversal parms for each individual chart.

### Formula Reference:

Syntax | BARS(TYPE) BARS(TYPE, COLOR)
Function | Type is either Bar, or Candle, or PF. The Color parm is only used for the Candle TYPE.
Example | BARS(Bar) BARS(Candle, red)