freqtrade / technical

Various indicators developed or collected for the Freqtrade
GNU General Public License v3.0
765 stars 219 forks source link

Optimized Trend Tracker OTT indicator #97

Open tarantula3535 opened 4 years ago

tarantula3535 commented 4 years ago

hi i want to write this indicator in python but i dont have much time.. here is the tradingview's url https://tr.tradingview.com/script/zVhoDQME/ this indicator is very helpfull the filtering in the buy signals conditions.. I would be glad if you could write this indicator in Python

BlueDigitalWizard commented 1 year ago

@ahmedevv i'm interested in your implementation of OTT and Supertrend. Can you share please ?

pongpom commented 1 year ago

https://github.com/OnlyFibonacci/AlgoSeyri/blob/main/indicators/indicators.py This is exactly the same as the tradingview version of OTT. However, there is a slight difference in ohlcv data (in my case, using binance api data) between tradingview and the exchange, so don't expect perfect compatibility. From what I've experienced, if you want perfect compatibility, you can use tradingview api to get tradingview ohlcv data and use it, but I don't recommend this.

I guess y'all found this already but just in case I'll leave this here.

acemi1 commented 11 months ago

I tried all the codes above. OTT is calculated incorrectly in all but one case. Only https://github.com/OnlyFibonacci/AlgoSeyri/blob/main/indicators/indicators.py is correct. But this code runs incredibly slow. Is it possible to share the correctly calculated OTT indicator?