DiNapoli Detrended Oscillator (DOSC)

This version of the indicator includes the following features:
- Show/Hide the Oscillation Lines
- Set Custom Oscillation Periods
- Adapt OB/OS Factor Ratio to each Market
- Show OB/OS Levels
- Show Preceding OB/OS Cloud
- Highlight OB/OS Condition in the Line
- Show the Zero Line
- Show Divergences (experimental)
For convenience it also includes Custom Alerts. Now it is possible to get alerts on:
- OverBought Condition
- Entering OverBought Condition
- Exiting OverBought Condition
- OverSold Condition
- Entering OverSold Condition
- Exiting OverSold Condition
- Oscillator Cross
- Bullish DOSC Strength
- Bearish DOSC Strength
- Possible Regular Divergence
- Possible Regular Bullish Divergence
- Possible Regular Bearish Divergence
This indicator is meant to be used by professional traders.
If you would like to subscribe, please send me a private message.
- Added the possibility to customize the lookback period to better adapt to high/low volatilie markets.
- Set default OB/OS triggers at 80%
- Improved method to calculate OB/OS states.
- Detrended Parameters are now fully open for customization.
- Overbought and Oversold trigger lines can be adjusted in percentage terms (i.e. 80%, 100% or 110%).
- Ability to plot the Oscillator in multiple timeframes.
- Divergences got improved.
- Improved Volatility information along with the oscillator.
- Simpler and more organized Input Tab.
- Added informative tooltips to the main parameters.
- Internal code updates.
- To avoid misreadings when plotting the indicator from a custom timeframe, the label automatically gets displayed informing about that fact. This feature can be deactivated by unchecking the field "Force Label on Custom Timeframe".
- All colors are customizable through the Input Tab, including lines, labels and text colors.
- Input Tab reorganization.
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact gliderfund directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact gliderfund directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.