Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 longdf['qqes']
retrieves the QQE shortdf['qqe_10,4']
retrieves the QQE with RSI window 10, MA window 4df['qqel_10,4']
retrieves the QQE long with customized windows. Initialized by retrievingdf['qqe_10,4']
df['qqes_10,4']
retrieves the QQE short with customized windows Initialized by retrievingdf['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.