python-tradingview-ta icon indicating copy to clipboard operation
python-tradingview-ta copied to clipboard

Custom Indicators created by users

Open dmaxtlc opened this issue 4 years ago • 1 comments

Hey, I was wondering, is it possible to add custom indicators (created by users, not TradingView)? e.g

dmaxtlc avatar Jul 30 '21 01:07 dmaxtlc

Hi @dmaxtlc,

That's not currently possible right now. To implement that, tradingview-ta needs to get the time series, which I haven't figure out yet. Also, custom indicators requires the Pine Script to be rewritten in Python or use existing library such as pandas-ta.

I think pandas-ta support the vidya indicator and a lot more. If you're using pandas-ta, you can use yfinance to get the market data. See their quick start and documentation.

folfcoder avatar Jul 31 '21 08:07 folfcoder