OPEN-SOURCE SCRIPT
Aktualisiert

AG Pro Relative Strength Rotation Map [AGPro Series]

1 033
AG Pro Relative Strength Rotation Map [AGPro Series]

OVERVIEW / WHAT IT DOES

AG Pro Relative Strength Rotation Map is a relative leadership framework designed to evaluate how the active symbol is behaving versus a user-defined reference symbol. Instead of focusing only on absolute price movement, this script studies whether the active market is strengthening, weakening, stabilizing, or rotating relative to its benchmark.

The script builds a smoothed relative-strength backbone, measures rotation pressure through fast-versus-slow internal comparison, and classifies the current environment into clear structural states. The goal is not to predict future price, but to help the user read whether relative leadership is improving, fading, or losing quality.

This makes the script useful when the question is not simply “is price going up or down?” but rather:
- Is this symbol outperforming or underperforming a chosen benchmark?
- Is leadership gaining traction or fading?
- Is the current rotation constructive, weak, or at risk of deterioration?

Because of that, the script can be used across multiple workflows, including:
- crypto asset vs BTC or another reference asset
- stock vs index benchmark
- sector ETF vs broader market ETF
- instrument vs instrument relative comparison

UNIQUE EDGE

This script is not a simple ratio line, not a screener, and not a classic momentum oscillator.

Its main distinction is that it separates relative-strength behavior into a structured rotation model built from:
- relative-strength bias
- rotation pressure
- persistence
- state transitions

In other words, it does not stop at showing whether one asset is stronger than another. It also attempts to show whether that leadership is building, stable, fading, or structurally vulnerable.

Compared with many standard relative-strength tools, this script is designed to be more state-driven and map-oriented rather than just line-oriented.

Compared with other AG Pro scripts, this one addresses a different problem set:
- it does not grade breakout quality
- it does not analyze reclaim behavior around a single moving average or level
- it does not map exhaustion or pressure inside one symbol in isolation
- it does not classify broad market regime
- it does not function as a multi-symbol screener

Instead, it focuses on one specific task:
reading relative leadership rotation between the active chart and a chosen benchmark.

That makes it structurally different from the rest of the AG Pro catalog and useful as a complementary layer rather than an overlapping one.

METHODOLOGY

The script starts by building a relative-strength ratio between the active symbol and the selected reference symbol. That ratio is then normalized around its own baseline and smoothed into an RS backbone so that the user can observe directional leadership more clearly.

A rotation-pressure engine is then derived from the relationship between faster and slower internal measures of that backbone. This helps estimate whether relative movement is gaining traction, losing traction, or transitioning.

A persistence component is also included so short-lived fluctuations are not treated the same way as more durable relative-strength behavior.

Using those building blocks, the script classifies market structure into states such as:
- Leadership Rising
- Leadership Stable
- Rotation Building
- Leadership Fading
- Breakdown Risk
- Neutral / Mixed

This is intended as a decision-support framework for context reading, not a standalone execution model.

SIGNALS & ALERTS

The script can mark structural events such as:
- Leadership Reclaim
- Rotation Build
- Leadership Fade
- Breakdown Risk Rising
- State Changed

These events are derived from the internal relative-strength and rotation conditions of the model. They are intended to help the user notice structural changes in leadership behavior, not to serve as guaranteed entry or exit instructions.

KEY INPUTS

Important controls include:
- Reference Symbol
- Timeframe source selection
- RS Baseline Length
- Backbone Smoothing
- Pressure Fast Length
- Pressure Slow Length
- Threshold Length
- Persistence Length
- Signal Sensitivity
- Zone visibility
- Histogram visibility
- Event label visibility
- Panel position and style controls

These inputs allow the user to adapt the script to different symbols, volatility profiles, and chart-reading preferences.

LIMITATIONS & TRANSPARENCY

This script does not measure intrinsic value, fundamentals, liquidity quality, or macro context. It only evaluates relative-strength behavior through its own internal model.

Like any state-based framework, it can produce transitions that later reverse, especially in noisy or low-conviction market conditions. Relative-strength leadership can also change quickly when the benchmark itself becomes unstable or when both assets move in the same direction with changing intensity.

This script should therefore be used as a contextual and comparative tool, not as a promise of continuation, reversal, or future performance.

It is also important to understand what this script is not:
- not a prediction engine
- not a full portfolio allocator
- not a complete trading system
- not a substitute for confirmation, risk management, or broader market context

RISK DISCLOSURE

This script is for chart analysis and research support only. It does not provide financial, investment, legal, or tax advice. Markets involve risk, and no indicator can guarantee performance or prevent loss. Decisions involving real capital should be made only with appropriate risk controls and independent judgment.
Versionshinweise
UPDATE NOTES - V1.2

This update focuses on visual refinement and presentation quality.

What changed
- Refined the state panel into a cleaner premium layout with stronger hierarchy.
- Improved panel readability with better contrast across State, RS Bias, Rotation Pressure, Persistence, and Reference rows.
- Added a compact RS Backbone tag so the main backbone line is easier to identify at a glance.
- Updated the backbone tag styling for better contrast and state-aware readability.
- Preserved the overall visual balance between backbone, histogram, zones, and event labels.

What did not change
- No change to the core relative strength rotation engine.
- No change to the documented state logic.
- No change to alert conditions or alert semantics.

Why this update
The goal of this revision is to make the script easier to read and more visually organized without changing its analytical behavior. It remains a rules-based relative strength rotation map built to help users monitor leadership, fading strength, rotation pressure, and breakdown risk versus a reference asset.

Notes
This is a visual and usability refinement, not a new methodology or a prediction model. The script should still be interpreted within a broader workflow and not as a standalone trade instruction tool.
Versionshinweise
Update Notes - V1.5

This update focuses on presentation quality, visual balance, and state readability while keeping the core relative strength rotation framework intact.

• Refined the backbone line styling for a cleaner and more balanced visual profile.
• Reduced visual heaviness in the main rotation curve so the structure reads more clearly without dominating the pane.
• Improved event label handling to reduce clutter in crowded areas and keep state transitions easier to follow.
• Cleaned up repeated event presentation around breakdown sequences for a more controlled display.
• Adjusted the current-state tag placement for a tidier last-bar presentation.
• Standardized the panel header structure with the AG Pro layout format.
• Kept the first panel row as a single merged blue header line with the script name only.
• Updated panel defaults to better match the current AG Pro display standard.
• Preserved the state engine and alert logic while improving chart readability and visual hierarchy.
• Maintained a public-free, transparent structure suitable for educational and analytical use.

Methodology and signal logic were not redesigned in this update. The main objective was to improve usability, polish the visual flow, and make the output easier to interpret during live chart review.

As always, this script is designed as a decision-support and chart-annotation tool. It does not predict future price movement and should not be treated as financial advice.
Versionshinweise
Update Notes - V2.0

Version 2.0 introduces a full visual and structural upgrade to the script.

The indicator has been redesigned as Relative Strength Rotation Atlas [AGPro Series], shifting the experience from a simple relative-strength state readout into a more premium rotation-mapping framework. The new build adds cleaner benchmark-relative phase detection, more expressive chart structure, and a stronger visual hierarchy for faster decision support.

What is new in this update:

- Rebuilt the internal phase engine with clearer structural states, including Impulse Lead, Control Lead, Rotation Pocket, Exhaustion Drift, Breakdown Pocket, and Repair Cycle.
- Added long rotation cycle boxes to make major benchmark-relative phases easier to track visually across time.
- Introduced Cycle Lane and Cycle Score metrics to help measure both directional quality and phase durability at a glance.
- Upgraded the visual presentation with a cleaner RS spine, adaptive equilibrium band, refined pulse histogram, pulse line overlay, and improved last-state marker behavior.
- Refined signal labeling so important transitions remain visible without overcrowding the pane.
- Reworked the panel layout to match the latest AGPro visual standard, including the merged blue title row, adjustable panel location, adjustable font sizing, and theme controls.
- Improved tooltips and input descriptions for a more professional and user-friendly configuration flow.
- Kept the logic streamlined and optimized for a cleaner, faster, and more publication-ready experience.

This update is designed to make relative rotation analysis more readable, more distinctive, and more useful when comparing crypto pairs, stocks, ETFs, and other benchmark-driven markets.
Versionshinweise
Update Notes - V2.1

Version 2.1 aligns the script name back to Relative Strength Rotation Map [AGPro Series] while preserving the latest engine and visual upgrades.

This update corrects the published script naming so the indicator remains consistent with its original identity while keeping the upgraded benchmark-relative rotation framework introduced in the latest build.

What is new in this update:

- Corrected the script name to Relative Strength Rotation Map [AGPro Series].
- Preserved the upgraded phase engine, premium panel structure, and refined benchmark-relative rotation workflow.
- Kept the enhanced visual stack, including adaptive state presentation, cleaner event spacing, and improved pane readability.
- Maintained the more polished AGPro panel standard with configurable location, sizing, and theme controls.
- Retained the optimized and publication-ready structure introduced in the previous revision.

This correction keeps the script aligned with the original publication identity while maintaining the stronger visual quality and cleaner relative-strength rotation analysis introduced in the latest revision.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.