OPEN-SOURCE SCRIPT
Qube [AstrideUnicorn]

Qube is an indicator that shows market regimes. It is able to detect medium and long term trends and ranging markets. If the indicator bars are colored blue and are between the two blue lines, it means that the market is in sideways movement or consolidation. If indicator bars cross the upper boundary and are colored green, it means that the market is in an uptrend. Red bars crossing the lower blue line indicate a downward trend. The red or green columns are further referred as signal bars.
The indicator is based on the normalized momentum oscillator raised to the third power. This is done to increase the sensitivity of the indicator and to emphasize the difference between the market modes.
The indicator can be used in different ways. One of them is determining the trend direction based on the last signal bar. Even if the current indicator bar is blue (showing range or consolidation), the user should consider the longer-term market mode as upward if the last signal bar is green. And vice versa, if the last signal bar is red, the current market bias is downward. One other way to use the indicator is to catch active price impulses, when columns of the same color (red or green) appear consecutively.
The indicator is based on the normalized momentum oscillator raised to the third power. This is done to increase the sensitivity of the indicator and to emphasize the difference between the market modes.
The indicator can be used in different ways. One of them is determining the trend direction based on the last signal bar. Even if the current indicator bar is blue (showing range or consolidation), the user should consider the longer-term market mode as upward if the last signal bar is green. And vice versa, if the last signal bar is red, the current market bias is downward. One other way to use the indicator is to catch active price impulses, when columns of the same color (red or green) appear consecutively.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Our premium trading indicators: unicorn.trading
Join our Discord community: dsc.gg/unicom
Join our Discord community: dsc.gg/unicom
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Our premium trading indicators: unicorn.trading
Join our Discord community: dsc.gg/unicom
Join our Discord community: dsc.gg/unicom
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.