Skip to content

Commit

Permalink
chore: improve docstring and return value for tv_alma
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Sep 30, 2024
1 parent 9d0c5f3 commit 8b9b818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions technical/indicators/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ def tv_hma(dataframe: DataFrame, length: int = 9, field="close") -> Series:

def tv_alma(
dataframe: DataFrame, length: int = 8, offset: int = 0, sigma: int = 0, field="close"
) -> DataFrame:
) -> Series:
"""
Source: Tradingview "Arnaud Legoux Moving Average"
Links: https://www.tradingview.com/pine-script-reference/v5/#fun_ta.alma
Expand All @@ -1326,7 +1326,7 @@ def tv_alma(
field : Field to use for the calculation
Returns :
dataframe : Series of ALMA values
series : Series of ALMA values
"""

""" This is simple computation way, just for reference """
Expand Down

0 comments on commit 8b9b818

Please sign in to comment.