BarTypes Function

Author: Optuma Team Last updated: May 16, 2023 12:08

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

Video Examples