Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GH-158] Gaussian Fisher Transform Price Reversals #159

Merged
merged 1 commit into from
Jun 24, 2023
Merged

Conversation

jealous
Copy link
Owner

@jealous jealous commented Jun 24, 2023

The Gaussian Fisher Transform Price Reversals indicator, dubbed FTR for short, is a stat based price reversal detection indicator inspired by and based on the work of the electrical engineer now private trader John F. Ehlers.

https://www.tradingview.com/script/ajZT2tZo-Gaussian-Fisher-Transform-Price-Reversals-FTR/

Implementation reference:

https://github.com/twopirllc/pandas-ta/blob/084dbe1c4b76082f383fa3029270ea9ac35e4dc7/pandas_ta/momentum/fisher.py#L9

Formular:

  • Fisher Transform = 0.5 * ln((1 + X) / (1 - X))
  • X is a series whose values are between -1 to 1

Examples:

  • df['ftr'] returns the FTR with window 9
  • df['ftr_20'] returns the FTR with window 20

The Gaussian Fisher Transform Price Reversals indicator, dubbed
FTR for short, is a stat based price reversal detection indicator
inspired by and based on the work of the electrical engineer
now private trader John F. Ehlers.

https://www.tradingview.com/script/ajZT2tZo-Gaussian-Fisher-Transform-Price-Reversals-FTR/

Implementation reference:

https://github.com/twopirllc/pandas-ta/blob/084dbe1c4b76082f383fa3029270ea9ac35e4dc7/pandas_ta/momentum/fisher.py#L9

Formular:
* Fisher Transform = 0.5 * ln((1 + X) / (1 - X))
* X is a series whose values are between -1 to 1

Examples:
* `df['ftr']` returns the FTR with window 9
* `df['ftr_20']` returns the FTR with window 20
@jealous jealous self-assigned this Jun 24, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 87.17% and project coverage change: -0.39 ⚠️

Comparison is base (7a76c01) 98.11% compared to head (a6df977) 97.72%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
- Coverage   98.11%   97.72%   -0.39%     
==========================================
  Files           1        1              
  Lines         847      880      +33     
==========================================
+ Hits          831      860      +29     
- Misses         16       20       +4     
Impacted Files Coverage Δ
stockstats.py 97.72% <87.17%> (-0.39%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jealous jealous merged commit abe781d into master Jun 24, 2023
@jealous jealous deleted the feature/ftr branch June 24, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants