# Range

#### Description <a href="#description_90" id="description_90"></a>

Range delivers the span/difference between the high and low in ticks for each bar. The range is always greater than or equal to 0.

#### Usage <a href="#usage_87" id="usage_87"></a>

```csharp
Range()
Range(IDataSeries inSeries)
Range()[int barsAgo]
Range(IDataSeries inSeries)[int barsAgo]
```

#### Return value <a href="#return-value_85" id="return-value_85"></a>

**double**

When using this method with an index (e.g. **Range**()\[**int** barsAgo] ), the range value for the referenced bar will be outputted.

#### Parameter <a href="#parameter_8" id="parameter_8"></a>

inSeries Input data series for the indicator

#### Visualization <a href="#visualization_82" id="visualization_82"></a>

![Range](https://agenatrader.github.io/AgenaIndicator-documentation/media/Range.jpg)

#### Example <a href="#example_84" id="example_84"></a>

```csharp
//Output for the value of the range
Print("The current bar has a range of: " + Range()[0]);

//Identical output
Print("The current bar has a range of: " + High[0] - Low[0]);
```
