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-173] Support QQE #174

Merged
merged 1 commit into from
Jul 10, 2023
Merged

[GH-173] Support QQE #174

merged 1 commit into from
Jul 10, 2023

Conversation

jealous
Copy link
Owner

@jealous jealous commented Jul 10, 2023

The Qualitative Quantitative Estimation (QQE) indicator works like a smoother version of the popular Relative Strength Index (RSI) indicator. QQE expands on RSI by adding two volatility based trailing stop lines. These trailing stop lines are composed of a fast and a slow moving Average True Range (ATR). These ATR lines are smoothed making this indicator less susceptible to short term volatility.

Implementation reference:
https://github.com/twopirllc/pandas-ta/blob/main/pandas_ta/momentum/qqe.py

Example:

  • df['qqe'] retrieves the QQE with RSI window 14, MA window 5.
  • df['qqel'] retrieves the QQE long
  • df['qqes'] retrieves the QQE short
  • df['qqe_10,4'] retrieves the QQE with RSI window 10, MA window 4
  • df['qqel_10,4'] retrieves the QQE long with customized windows. Initialized by retrieving df['qqe_10,4']
  • df['qqes_10,4'] retrieves the QQE short with customized windows Initialized by retrieving df['qqe_10,4']

The period of short, long EMA and signal line can be tuned with set_dft_window('qqe', (rsi, rsi_ma)). The default windows are 14 and 5.

@jealous jealous self-assigned this Jul 10, 2023
@jealous jealous force-pushed the feature/qqe branch 3 times, most recently from da1693f to 4d1cdfa Compare July 10, 2023 15:31
The Qualitative Quantitative Estimation (QQE) indicator works like a smoother
version of the popular Relative Strength Index (RSI) indicator. QQE expands
on RSI by adding two volatility based trailing stop lines. These trailing
stop lines are composed of a fast and a slow moving Average True Range (ATR).
These ATR lines are smoothed making this indicator less susceptible to short
term volatility.

https://www.tradingview.com/script/0vn4HZ7O-Quantitative-Qualitative-Estimation-QQE/

Implementation reference:
https://github.com/twopirllc/pandas-ta/blob/main/pandas_ta/momentum/qqe.py

Example:
* `df['qqe']` retrieves the QQE with RSI window 14, MA window 5.
* `df['qqel']` retrieves the QQE long
* `df['qqes']` retrieves the QQE short
* `df['qqe_10,4']` retrieves the QQE with RSI window 10, MA window 4
* `df['qqel_10,4']` retrieves the QQE long with customized windows.
  Initialized by retrieving `df['qqe_10,4']`
* `df['qqes_10,4']` retrieves the QQE short with customized windows
  Initialized by retrieving `df['qqe_10,4']`

The period of short, long EMA and signal line can be tuned with
`set_dft_window('qqe', (rsi, rsi_ma))`.  The default windows are 14 and 5.
@jealous jealous merged commit 37ae9c1 into master Jul 10, 2023
5 checks passed
@jealous jealous deleted the feature/qqe branch July 10, 2023 15:45
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.

None yet

1 participant