InsideBar (Function)
The InsideBarfunction determines if the current bar is an inside bar, based on:
1. PriceH input value of 1 bar ago is greater than PriceH of the current bar.
AND
2. PriceL input value of 1 bar ago is less than PriceL of the current bar
Syntax
InsideBar(PriceH, PriceL)
Returns (TrueFalse)
True when both InsideBar price conditions are true. Otherwise, False if one or both price conditions 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. |