--- title: atr description: The page provides details on how to calculate the Average True Range using a specific stock ticker with the help of the Python package, OpenBB. keywords: - Average True Range - stock ticker - forecast --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Calculate the Average True Range of a variable based on a specific stock ticker. Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/forecast/forecast_model.py#L349)] ```python openbb.forecast.atr(dataset: pd.DataFrame, close_column: str = "close", high_column: str = "high", low_column: str = "low") ``` --- ## Parameters This function does not take any parameters. --- ## Returns This function does not return anything ---