- Desktop
- Scripting
- Formulas and Scripting Functions
- BarTypes Function
BarTypes Function
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().CloseBelowMidTo scan for an Outside bar where the close was below the open:
BARTYPES().Outsideand
BARTYPES().CloseBelowOpenVideo Examples
Section titled “Video Examples”Your privacy choices
We use cookies and similar technologies to make the site work, see how it's used, and improve it. Analytics and advertising cookies only run with your consent — see our Privacy Policy for details.