> For the complete documentation index, see [llms.txt](https://indicators.agenatrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://indicators.agenatrader.com/standard-indicators/moving-averages/smma-smoothed-moving-average.md).

# SMMA - Smoothed Moving Average

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

The Smoothed Moving Average is combined from both Simple Moving Average and the Exponential Moving Average. Generally speaking, it is only used for higher period amounts/inputs. It normally has roughly half of the value of an EMA, meaning that an SMMA(20) is closer to an EMA(40).

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

For more general information about moving averages, please see [*Moving Averages*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#moving-averages).

The SMMA is often used with the [*SuperTrend*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#supertrend) indicator.

#### Further information <a href="#further-information_27" id="further-information_27"></a>

<http://www2.wealth-lab.com/wiki/SMMA.ashx>

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

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

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

**double**

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

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

inSeries Input data series for the indicator

period Number of bars included in the calculations

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

![SMMA - Smoothed Moving Average](https://agenatrader.github.io/AgenaIndicator-documentation/media/SMMA.jpg)

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

```csharp
//Output for the value of the SMMA
Print("The current SMMA value is " + SMMA(14)[0]);
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://indicators.agenatrader.com/standard-indicators/moving-averages/smma-smoothed-moving-average.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
