# Relative Strength Levy (RSL)

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

The concept of the Relative Strength according to R.A. Levy is that the past developments play a very important role in the strength that will be seen in the future. The current performance is compared to the past performance.

The calculation involves taking the weekly closes (or daily closes) and dividing them by the arithmetic mean of the closing prices for the examined period. The result is then balanced around the 10 marker, and an ordered list is created where the value of the highest RSL fills the first place.

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

```csharp
RSL(int period)
RSLDataSeries inSeries, int period)
RSLnt period)[int barsAgo]
RSL(IDataSeries inSeries, int period)[int barsAgo]
```

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

**double**

When using this method with an index (e.g. **RSL**(27)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Parameters <a href="#parameters_84" id="parameters_84"></a>

inSeries Input data series for the indicator

period Number of bars included in the calculations

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

![Relative Strength Levy (RSL)](https://agenatrader.github.io/AgenaIndicator-documentation/media/RSL.png)

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

```csharp
//RSL value output
Print("The Relative Strength as calculated by Levy is " + RSL(27)[0]);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://indicators.agenatrader.com/standard-indicators/relative-strength-levy-rsl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
