RSI & BB QQE Mod (highlight)This script is a combination of the RSI, QQE and BB
Here is an explanation on how I combined them, and how they are used:
- RSI (Relative Strength Index)
- Display a smoothed version of the RSI to identify "oversold" and "overbought" market phases
- Used to calculate a QQE
- QQE (Quantitative Qualitative Estimation)
- Used to identify trend direction and trend strength
- Used to set a basis for the BB
- BB (Bollinger Bands)
- Used with QQE as a basis to determine a relative definition of "high RSI" and "low RSI"
- Used with QQE as a basis to determine the volatility of the RSI at a given moment
- Used to predict pivot points
Here are the main signals:
- When "RSI Smoothed" line above the Upper BB then "RSI Smoothed" line turns green
- Also , display green background color highlight
- Also , and if "RSI Smoothed" is above the overbought line then display a second green background color highlight
- When "RSI Smoothed" line bellow the Lower BB then "RSI Smoothed" line turns red
- Also , display red background color highlight
- Also , and if "RSI Smoothed" is bellow the oversold line then display a second red background color highlight
A tool codded to be aesthetically pleasing and VERY customisable:
- Designed for both light theme and dark theme users
- Value can be easily modified in the settings
- Colors can be easily swapped in the settings
- Opacity of "fill" & "bgcolor" regrouped as a single input
A tool codded to be easy to read and to learn from:
- Sources and inspirations all listed within the script
- Structure easily identifiable (to understand with little to no effort how the script works)
Notes :
- This script is lagging, because of that I do recommend using it on relatively large timeframe
- This script is OpenSource, feel free to reuse it, but if so please remember to include a link to my script in your sources
- This script is not a magical tool, use at your own risk
MOD
Mod and Round To Tick FunctionI have not found this function anywhere on Tradingview but it can be very useful in setting orders in a strategy and non-integer boundaries for certain indicator designs. Its a bit underwhelming, but in other languages you can call a mod() function and the output will be the remainder of the integer.
If you want to set an order at a specific tick value, particularly in futures, you can't set it at a specific tick when using calculated values like ATR or Standard Deviation without a function like this.
It can also be used to clean up certain band/envelope style indicators if you want to have a straight line, but don't want to simply round to an integer.
Credit for the round to tick aspect goes to the eternal fountain of resources, the Backtesting & Trading Engine script from @pinecoders
This is just another tool to throw in the box for when you might need it.
multiple SMA EMA BB full mod + timeframeyou can add as much SMA EMA BB as you want by editting the source code
just remove the // from the indicator code