# Polarized Fractal Efficiency (PFE)

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

Hans Hannula developed the PFE, which is categorized as a momentum indicator. It uses the methods of fractal geometry and chaos theory to determine the price efficiency of the movements.

#### Interpretation <a href="#interpretation_42" id="interpretation_42"></a>

When the PFE zigzags around the zero line, no trend is present. If the PFE is equally formed and running above the zero line, the market is in an uptrend. The higher the value, the stronger the uptrend.

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

```csharp
PFE(int period)
PFE(IDataSeries inSeries, int period)
PFE(int period)[int barsAgo]
PFE(IDataSeries inSeries, int period)[int barsAgo]
```

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

**double**

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

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

inSeries Input data series for the indicator

period Number of bars included in the calculations

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

![Polarized Fractal Efficiency (PFE)](https://agenatrader.github.io/AgenaIndicator-documentation/media/PFE.jpg)

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

```csharp
//Output for the value of the Polarized Fractal Efficiency (PFE)
Print("The current value for the PFE is: " + PFE(20)[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/polarized-fractal-efficiency-pfe.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.
