twopirllc / pandas-ta

Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 150+ Indicators
https://twopirllc.github.io/pandas-ta/
MIT License
5.49k stars 1.07k forks source link

Hi, can you also add force index? #89

Closed twopirllc closed 4 years ago

twopirllc commented 4 years ago

Hi, can you also add force index?

https://www.investopedia.com/terms/f/force-index.asp#:~:text=The%20force%20index%20is%20a,book%20Trading%20for%20a%20Living.

https://www.daytrading.com/force-index

https://tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/E-F/ForceIndex#:~:text=The%20Force%20Index%20study%20combines,negative%20values%20indicate%20the%20downtrend.

Originally posted by @SoftDevDanial in https://github.com/twopirllc/pandas-ta/issues/88#issuecomment-670031445

twopirllc commented 4 years ago

Hello @SoftDevDanial,

Elder's Force Index

Done! Elder's Force Index's short name is called efi located under the Volume category way at the bottom of the README.

Screen Shot 2020-08-06 at 1 51 00 PM

Also in the README are examples on getting help with Pandas TA.

import pandas as pd
import pandas_ta as ta

# Help about this, 'ta', extension
help(pd.DataFrame().ta)

# Prints out a list of all indicators
pd.DataFrame().ta.indicators()

# Returns a list of indicators as a list if needed
indicator_list = pd.DataFrame().ta.indicators(as_list=True)

# Help about the log_return indicator
help(ta.log_return)

Examples

I suggest looking at the Example Notebook. The second Notebook is helpful if you want to build your custom Strategy.

Hope this helps!

Don't forget to ⭐ if you find the library useful.

Thanks, KJ

SoftDevDanial commented 4 years ago

Oh wow i didn't no there was a readme for the names of the indicator. I had to click and check the names one by one before this haha.

Thank You!

twopirllc commented 4 years ago

No worries.

What did you have to click and check?

Thanks, KJ

SoftDevDanial commented 4 years ago

image

Had to press each code and look at the comments to see what indicator it was haha

twopirllc commented 4 years ago

Yeah, that's a good way to deep dive into the indicators. But I publish the list of them all in the README.