OPEN-SOURCE SCRIPT
QQQ/SPY Regime v2 Clean

A real time intraday regime classifier-bull trend/drift, bear trend/drift, chop. Overlay of yes trade, wait, and no trade. Can be used together or separately. Inputs are:
TICK and ADD slopes (EMA-based)
TICK fast/slow EMA crossover
ADD fast/slow/trend EMA structure
Price vs VWAP
Price structure (close vs close[n], EMA 8 vs EMA 21)
ADD absolute level (bull/bear bias thresholds)
Useful in identifying regime shifts, comparing timeframes, avoiding counter-trend trades.
TICK and ADD slopes (EMA-based)
TICK fast/slow EMA crossover
ADD fast/slow/trend EMA structure
Price vs VWAP
Price structure (close vs close[n], EMA 8 vs EMA 21)
ADD absolute level (bull/bear bias thresholds)
Useful in identifying regime shifts, comparing timeframes, avoiding counter-trend trades.
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.
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.
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.