All Questions
1 question
2
votes
0
answers
537
views
Recursive function from Pine-script to Python
I am trying to convert the following Pine function (exponentially weighted moving average with alpha = 1 / length) into Python to apply to a Pandas column of a dataframe df (the src in the Pine code ...