OPEN-SOURCE SCRIPT
업데이트됨 TA (Miles) Adaptive Trend

TA (Miles) Adaptive Trend
TA (Miles) Adaptive Trend is a volatility-gated trend follower. At its core is a 21/55 EMA pair, but unlike a plain EMA cross, a flip only counts when the market proves it.
What makes it different
A raw EMA cross is only the starting point. Before it becomes a trend flip it must clear a stack of gates, and that gating is the whole point of the tool:
1. Volume must run above its 20-bar average (default 1.2x).
2. Volatility must be alive (ATR above a minimum percent of price).
3. The EMAs must be spread far enough apart to mean something (default 0.12 percent).
4. Price must hold the new side for a confirmation period (default 2 bars).
5. A cooldown since the last flip must have passed (default 8 bars).
Optional extras: an ADX floor, and a higher-timeframe filter that only allows flips agreeing with the daily 200 MA. The result is a trend follower that sits out the chop that bleeds plain MA-cross systems dry in sideways markets.
What you see
The 21 and 55 EMAs with a fill colored by the confirmed trend state (blue bull, orange bear, gray neutral). Flip triangles mark confirmed changes. Gray X markers show blocked crosses, the raw EMA crosses the anti-chop engine rejected, which is half the value: you see exactly the whipsaws you were spared. A compact info table reports the current trend, EMA spread, chop status, and ATR percent.
Strategy integration
Exports trend state and flip events as data-window plots you can wire into companion strategy scripts.
Best timeframes
Tuned for daily charts; works well on 4H and weekly. On lower timeframes, raise the confirmation bars and cooldown.
Alerts
Two conditions: Bull trend flip and Bear trend flip, confirmed flips only, never raw crosses.
TA (Miles) Adaptive Trend is a volatility-gated trend follower. At its core is a 21/55 EMA pair, but unlike a plain EMA cross, a flip only counts when the market proves it.
What makes it different
A raw EMA cross is only the starting point. Before it becomes a trend flip it must clear a stack of gates, and that gating is the whole point of the tool:
1. Volume must run above its 20-bar average (default 1.2x).
2. Volatility must be alive (ATR above a minimum percent of price).
3. The EMAs must be spread far enough apart to mean something (default 0.12 percent).
4. Price must hold the new side for a confirmation period (default 2 bars).
5. A cooldown since the last flip must have passed (default 8 bars).
Optional extras: an ADX floor, and a higher-timeframe filter that only allows flips agreeing with the daily 200 MA. The result is a trend follower that sits out the chop that bleeds plain MA-cross systems dry in sideways markets.
What you see
The 21 and 55 EMAs with a fill colored by the confirmed trend state (blue bull, orange bear, gray neutral). Flip triangles mark confirmed changes. Gray X markers show blocked crosses, the raw EMA crosses the anti-chop engine rejected, which is half the value: you see exactly the whipsaws you were spared. A compact info table reports the current trend, EMA spread, chop status, and ATR percent.
Strategy integration
Exports trend state and flip events as data-window plots you can wire into companion strategy scripts.
Best timeframes
Tuned for daily charts; works well on 4H and weekly. On lower timeframes, raise the confirmation bars and cooldown.
Alerts
Two conditions: Bull trend flip and Bear trend flip, confirmed flips only, never raw crosses.
릴리즈 노트
Adaptive Trend - V2A major upgrade to the trend engine, focused on cutting whipsaws in choppy
markets and making the settings much simpler.
New in this version:
- Volatility-gated trend detection. The zone now factors in volatility
contraction and sideways structure, and holds back early flips when price is
chopping. Clean EMA crosses always flip the zone.
- Confluence-accelerated flips. A volume climax or a reversal candle can pull a
flip slightly ahead of the EMA cross, so strong moves register a bit sooner.
- One Sensitivity setting. Light, Balanced, or Strict now drives all the filter
thresholds at once, so there are no more individual numbers to tune. Balanced
is the recommended default.
- New Signal Quality controls for blocking flips in chop and requiring a
bearish candle before a short flip.
- Cleaner visuals. Thinner EMA lines, a mint green uptrend zone, flip triangles
without text labels, and blocked markers off by default.
Since the engine changed, the settings panel is streamlined, so take a moment to
review your settings after updating.
릴리즈 노트
Streamlined public features.오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Invite-only indicators for Trading Apologist Patreon members.
Join at patreon.com/TradingApologist, then submit your TradingView username via the form on Patreon or the portal at tradingapologist.com. Access within 1-2h.
Join at patreon.com/TradingApologist, then submit your TradingView username via the form on Patreon or the portal at tradingapologist.com. Access within 1-2h.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Invite-only indicators for Trading Apologist Patreon members.
Join at patreon.com/TradingApologist, then submit your TradingView username via the form on Patreon or the portal at tradingapologist.com. Access within 1-2h.
Join at patreon.com/TradingApologist, then submit your TradingView username via the form on Patreon or the portal at tradingapologist.com. Access within 1-2h.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.