OPEN-SOURCE SCRIPT
Smart Trend & Signal [Yimu Quant]

All-in-one trend & signal system: 5-level trend detection + pullback buy/sell signals + auto ATR stop.
Combines EMA alignment, ADX strength, and MACD direction to classify the market into
STRONG BULL / BULL / NEUTRAL / BEAR / STRONG BEAR. Fires buy/sell arrows only on pullback
entries in the trend direction — no chasing, no counter-trend noise. Plots an auto ATR stop
so you always know where to exit.
Built for scalping, swing trading, and trend following on any market.
📌 Follow yimu Quant for more options & quant tools (Gamma Exposure, Volatility Rank, Options P&L Tracker)
Combines EMA alignment, ADX strength, and MACD direction to classify the market into
STRONG BULL / BULL / NEUTRAL / BEAR / STRONG BEAR. Fires buy/sell arrows only on pullback
entries in the trend direction — no chasing, no counter-trend noise. Plots an auto ATR stop
so you always know where to exit.
Built for scalping, swing trading, and trend following on any market.
📌 Follow yimu Quant for more options & quant tools (Gamma Exposure, Volatility Rank, Options P&L Tracker)
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.