Skip to content

BarTypes Function

By Optuma Team · Updated 2023-05-16

The BARTYPES() function allows you to easily identify bars that fit the following criteria:

  • Higher (higher high & higher low than previous, regardless of close position)
  • Lower (lower high & lower low than previous, regardless of close position)
  • Outside the previous (higher high & lower low)
  • Inside the previous (lower high & higher low)
  • Close Above Open
  • Close Below Open
  • Close Above Midpoint
  • Close Below Midpoint

To highlight or colour a bar that has closed below its midpoint:

BARTYPES().CloseBelowMid

To scan for an Outside bar where the close was below the open:

BARTYPES().Outside

and

BARTYPES().CloseBelowOpen

Choose which categories of cookies you allow. Strictly-necessary cookies are always on. You can change this any time via the "Cookie Settings" link in the footer.

  • Functional

    Remember preferences like dismissed banners and your dark-mode choice.

  • Analytics

    Help us understand how the site is used so we can improve it.

  • Marketing

    Measure our advertising and help us reach people who may be interested in Optuma.