OutsideBar (Function)

image\trumpet2.gif Disclaimer

The OutsideBarfunction determines if the current bar is an outside bar, based on:

1. PriceH input value of 1 bar ago is less than PriceH of the current bar.

         AND

2. PriceL input value of 1 bar ago is greater than PriceL of the current bar

Syntax

OutsideBar(PriceH, PriceL)

Returns (TrueFalse)

True when both OutsideBar price conditions are true. Otherwise, False if both are not true.

Parameters

Name

Type

Description

PriceH NumericSeries Sets the high price to compare between the current and previous bar.
PriceL NumericSeries Sets the low price to compare between the current and previous bar.