You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code itself doesn't look too complicated - however it'll most likely be slow to calculate (at least for backtesting) - as you'll have to implement this as (partial) loop.
ret is assigned with ret[1] - which is the equivalent to row[i] = row[i-1] - so the calculation of the current row relies on the resut of the prior row - which means it cannot be vectorized.
It's then simply a question of finding the definition of each method - and implementing it in python.
Hi.
I was wondering if anyone has any experience with this indicator?
https://www.tradingview.com/script/j1etwXMQ-Trend-Trader-Strategy/
I'm not sure how I can write this myself, if you have any suggestions please let me know.
Thanks.
The text was updated successfully, but these errors were encountered: