Angular Moving Averages

Pedagogical Introduction
Most traders make the mistake of viewing moving averages as simple support or resistance lines. However, the true power of a moving average lies in its slope vector. This script is designed to transform visual subjectivity into precise mathematical data, allowing the trader to quantify the acceleration or deceleration of a trend through an angular measurement system and a dynamic "pool" of alerts.
1. Dynamic Level System (Highs & Lows)
This module projects horizontal lines marking the most recent significant highs and lows detected by the algorithm. While its primary function is structural, its true power lies in its integration with the RSI.
• Color Logic: These lines are not static; they change color based on the state of the RSI oscillator (user-configurable).
◦ Fuchsia (Overbought/Oversold): Activated when the RSI reaches critical thresholds (default >= 70 or <= 30). It indicates that the price has reached a threshold of mass participation or exhaustion.
◦ Yellow (Transition Zones): Indicates that the price is entering cautionary terrain (60-70 or 30-40).
◦ Gray (Neutral Zone): The market is in a relative equilibrium (40-60), ideal for identifying consolidation phases.
• Utility: Allows the trader to know at a glance whether current support and resistance levels are validated by a momentum condition in the RSI.
2. Fibonacci Reference Frame (Background Structure)
As a visual complement, the script integrates an Automatic Fibonacci Retracement based on recent highs and lows. This system is designed as a low-opacity "watermark" to avoid obstructing price action.
• Reaction Zones: The system delimits three key bands:
1. Zone 23.6% to 38.2%: The first retracement filter.
2. Zone 38.2% to 50.0%: The movement's equilibrium level.
3. Zone 50.0% to 61.8%: The area of maximum relevance for continuity or reversal.
3. The Control Center (Angular Dashboard)
The table is a real-time data processor that divides its analysis into three fundamental pillars, as shown in the technical capture:
A. Moving Average Angle Matrix
Located in the upper left, it measures the vectorial slope of 5 different moving average architectures: Simple (S), Exponential (E), Weighted (W), Hull (H), and ALMA (A).
• Data Interpretation: The numbers inside the cells represent the exact angle of the vector. A positive number indicates an ascent, and a negative number indicates a descent.
• Period Versatility: The system allows for custom lengths for each type. For example, a user can compare three ALMA 10-period averages simultaneously to observe subtle variations in the micro-trend.
B. Quantitative High/Low Reference
The yellow section of the table displays the nominal values (exact prices) of the last detected Highs and Lows. This facilitates quick and precise order management (Stop Loss or Take Profit) without the need for external tools.
C. Angular Alerts Pool (Alert & Color Logic)
This is the most critical and advanced section of the table. It acts as the "filter" that decides which information is relevant to the trader.
• Smart Color-Coding: Cells turn Green or Red when angles meet specific pre-configured criteria.
• Lateralization Detection: A key pedagogical aspect is observing when short-term averages (following the price) mark green while long-term ones remain red. This divergence alerts the trader to transition or sideways phases, preventing entries in false trends.
• "Waterfall" Configuration: Allows for confirming that the movement has constant inertia (such as the three cascading ALMA 10s) before executing a trade.
• Total Integration: The Alerts Pool can also affect the visualization of the high and low levels on the chart.
Customization and Technical Restrictions
This system has been designed as a highly adaptable tool for any trading style. All numerical values, moving average lengths, colors, and visualization elements are fully user-configurable, with one single exception:
• Fibonacci Values: The levels 23.6%, 38.2%, 50.0%, and 61.8% remain fixed to ensure the integrity of the mathematical retracement metric. However, their colors and visibility can be customized to suit any visual theme (Dark or Light).
MODULAR CONFIGURATION & HYPER-SCALABLE ALERTS POOL
This system is not a rigid tool; it is a technical engineering environment designed for objective market measurement. Although specific setups are shown in the visual examples, the user has absolute control to adapt the indicator to their own analysis methodology.
1. Moving Average Configuration & Algorithmic Versatility
The engine processes 5 families of algorithms (SMA, EMA, WMA, HULL, and ALMA) with total flexibility:
• Custom Lengths: Although the system includes default values (10, 50, 100, 200), you can freely reconfigure them. For example, you can work with "pairs" of averages (two 20-period and two 55-period) to analyze different sensitivities.
• Style Personalization: The user decides which averages to display on the chart to maintain operational clarity, while the engine continues to process the rest of the data in the background.
• Instant Refresh: Any change in configuration is immediately updated in both the 20 vectors and the data table (Dashboard).
2. The Technical Alerts Pool: Centralized Intelligence
The alert management unifies up to 22 technical variables into a single output, optimizing TradingView resources and the trader's attention.
• Operational Efficiency: When the alarm sounds on your device, the Dashboard will accurately indicate which of the 22 variables (Price Breakouts or Angular Vectors) triggered the signal.
• Threshold Logic:
◦ Value 0: Alert disabled.
◦ Positive Value ($>0$): Identifies the strengthening of a bullish trend. The alert triggers when the angle is greater than or equal to the programmed value.
◦ Negative Value ($<0$): Identifies the strengthening of a bearish trend. The alert triggers when the angle is less than or equal to the programmed value.
• Mathematical Integrity: The program operates internally with high-precision decimals. If you program an alert at 20°, the system will only trigger it upon reaching the exact value (e.g., 20.00°). The Dashboard's visual rounding to whole numbers is purely aesthetic; the execution is strictly technical.
Technical Case Analysis (visual examples)
The following sequence of attached screenshots demonstrates the system's filtering and detection capabilities:
1. Bearish Trend Scenario
1. Initial Setup: This image shows two overlapping menus. First, the Style tab (where Hull averages are selected as a visual reference) and, second, the Alerts menu with negative values configured to detect downward trend strength.
2. Chart Response: The next capture shows the technical result: 20 aligned vectors and the price confirming the downward movement after the programmed breakouts.
2. Bullish Trend Scenario.
1. Threshold Setup: Capture showing the adjustment of values in the configuration menu, this time set with positive parameters to identify upward trend acceleration.
2. Chart Response: Image illustrating the expansion of the vectorial fan and the health of the bullish trend in full development.
Consolidation Filtering:
In these examples, a critical feature is evident: during periods of consolidation or sideways ranges, fast averages react to price noise, but slow ones maintain their trajectory. Thanks to the Alerts Pool, the user can filter this behavior and receive notifications only when the trend regains its real angular strength.
TECHNICAL ARCHITECTURE: VECTORIAL PRECISION
Total scale independence and cross-device consistency
The major problem with conventional angular indicators is that their appearance changes depending on the zoom level or screen size, leading to subjective and erroneous signals. This indicator solves this issue through a vector-based architecture that maintains absolute integrity.
You can observe the same asset, on the same timeframe and at the same time, from a mobile phone or a large desktop monitor; the angle and projected force will be identical. The inclination of the vectors is an objective measurement that does not depend on how you stretch or compress the chart on your screen.
Visual stability example (Standard scenario):
In this first link [Link 1], you can observe the behavior of the vectors on a chart with normal proportions. I have used the Bar Replay tool to keep the scenario fixed and allow for a real comparison.
Visual stability example (Deformed chart):
In this second link [Link 2], I have extremely deformed the chart. As you can see, while the price and candles change their visual appearance, the vectors maintain the exact same angle and position, proving that the force measurement is undisturbed by scaling.
TRADING ECOSYSTEM: ANGULAR VOLATILITY & EDITOR'S PICK SEAL
This moving average indicator serves as a complement to my Angular Volatility methodology. It is part of an analytical system that I have shared chronologically and transparently, allowing for a clear understanding of how these tools evolve within the market.
It is important to highlight that the technical robustness of this approach was officially recognized when my second publication in this series received the Editor’s Pick distinction. This endorsement from TradingView moderators validates the technical foundation of the angular analysis that I continue to expand today with this new script, designed to measure vector and force.
To fully understand the ecosystem and how this indicator enhances volatility and directional readings, you may consult the following public publications in their order of development:
1. Core Methodology (Script):

2. Awarded Market Analysis (Editor’s Pick):

3. Technical Educational Series (Case Studies):



EVALUATION ACCESS & CONTACT PROTOCOL
To allow you to personally verify the effectiveness of this vector and force system in your own trading, I am granting a 15-day temporary evaluation access.
How to request and manage your access:
1. Initial Request: Leave a comment directly on this publication requesting the trial. This allows me to immediately identify your profile and enable the invitation.
2. Activation and Location: Once I receive your comment, I will activate your access. You can find the indicator on your TradingView chart by going to the "Indicators" menu and looking for the folder named "Invite-only scripts". I will reply to your comment simply to confirm that access has been granted and to provide the expiration date.
3. Communication: To avoid cluttering the public comments section, I will send you a Private Message (TradingView Chat) with additional details. Through this private chat, we can maintain fluid communication. If you require permanent access, you can contact me via Facebook (link available in my author profile).
Important Note on Privacy:
Please do not share emails, phone numbers, or external links in the public comments. TradingView prohibits the exchange of personal data in this section, and both parties could face sanctions. For any details requiring external contact, please use the link in my profile or the private chat.
MARKET CALIBRATION, TIMEFRAMES, AND FUTURE UPDATES
It is fundamental to understand that this system does not use a generic formula. Each market and each timeframe requires exhaustive study and individual calibration to ensure that the vectors accurately represent the real force of the movement.
Currently, the script is calibrated exclusively for Cryptocurrency and Forex markets (options you will find in the settings menu). If there is solid interest from the community, I will undertake the calibration process for other assets such as Stocks, Indices, or Commodities—a task that requires time, patience, and rigorous technical study.
Regarding timeframes, the system is optimized to work on 1m, 5m, 15m, 30m, 1h, 4h, Daily, and Weekly charts. Outside of these ranges, the indicator will not perform readings to protect the integrity of the analysis. However, additional timeframes can be added upon direct request from subscribers, with the understanding that each new timeframe must undergo its own individual calibration process before being integrated into the code.
ADAPTABILITY AND FUTURE MOVING AVERAGES
Although the core of the indicator is optimized for a specific moving average configuration, the system has been designed with a flexible architecture that allows for the integration of other types of averages based on trading needs.
Technical Limits and Customized Versions:
It is important to consider that each added type of moving average consumes processing resources within TradingView. Due to the calculation and validation limits imposed by the platform to maintain chart performance, it is not feasible to include every possible variation within a single script.
However, this limitation is easily resolved through the creation of derivative or specific versions. Upon request from subscribers, these new moving averages can be incorporated into future releases or customized versions, ensuring that the tool adapts to your strategy without sacrificing fluid performance and vectorial precision.
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement Trader_Algoritmico.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.
Instructions de l'auteur
Clause de non-responsabilité
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement Trader_Algoritmico.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.