Indicators using moving averages variable does not pass kwargs to ma(mamode, close, length=length) #764
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Which version are you running? The lastest version is on Github. Pip is for major releases.
Do you have TA Lib also installed in your environment?
Yes
Have you tried the development version? Did it resolve the issue?
No
Describe the bug
Many indicators e.g. Keltner Channel is using internally ma(mamode, close, length) but it should have
ma(mamode, close, length, kwargs)
Many moving averages e.g linreg have extra kwargs that are not passed further
So for example passing kwargs to kc Class is not passing those kwargs to be used when calculating moving average.
To Reproduce
Provide sample code.
Expected behavior
A clear and concise description of what you expected to happen.
When calling should have kwargs passed into it e.g. ma(mamode, close, length, kwargs)
Inside kc
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Thanks for using Pandas TA!
The text was updated successfully, but these errors were encountered: