INVITE-ONLY SCRIPT

US EU Airlines Basket V2

23
This is a decision engine, not a standard, off-the-shelf indicator full of screaming moon shots, but a multi-faceted system that aggregates data from an entire sector (US and EU Airlines) and combines it with macroeconomic factors (USD and Oil prices) and standard technical tools (Moving Averages, RSI, Volume, Supply/Demand Zones). This system draws from current sentiment with a lookback to match similar fundamental data historically to provide a potential price movement range estimation within the current viewable timeframe.
💡 Overview of the Indicator
The script, titled "US & EU Airlines Basket Analysis - DUAL SENTIMENT (Anchored Projection)," is an effort to create a holistic trading signal specifically for the airline industry.
It uses a "Basket Analysis" approach, which means it calculates the aggregate sentiment of a group of related stocks rather than just the stock it's currently plotted on. The core idea is that the overall health of the airline sector (US vs. EU) is a stronger signal than the analysis of a single airline stock.
🏗️ Core Structure and Ideas
The script's structure is modular and highly sophisticated, incorporating several distinct trading concepts:
Dual Basket Sentiment (The Core Idea)
It pulls 7 eu airline stocks and 7 us airline stocks
• Anchored Plot: The most innovative visualization feature is the Dual Combined Sentiment Plot. It plots the two regional sentiment scores as lines that are vertically "anchored" to a percentage of the visible chart range
2. Multi-Factor Sentiment Aggregation
The final sentiment index for US and EU is not purely based on MA crosses but is a weighted score incorporating multiple indices and commodities/oil and currency weighted factors, which is a sign of robust and well-thought-out logic.
How to use:
Observe the two sentiment EU US lines (they’re self explanatory and the backbone of the system).
Discoverable factors: global trends, local Country trends, fragmented market trends.
Tags EU US (w for weak) (m for medium) (s for strong) numbers 1 to 7 occur in any instance on a bar where one of the 7 stocks of a basket experienced a heavy buying or selling event.
🟡 Yellow Bars (Inverse Correlation)
The yellow bars signal a period where the airline basket and the price of oil are moving in a strong inverse direction (as expected).
• Condition: They appear when one of two inverse scenarios is met on the specified oil_inflection_timeframe (default is Daily):
1. Oil Rises significantly (above oil_change_threshold) AND the Airlines Fall significantly (below -airline_change_threshold).
2. Oil Falls significantly (below -oil_change_threshold) AND the Airlines Rise significantly (above airline_change_threshold).
🔵 Blue/Cyan Bars (Direct Correlation)
The blue/cyan bars signal a period where the airline basket and the price of oil are moving in a strong direct direction, which is an unusual/non-traditional relationship.
• Condition: They appear when the movement of the two assets is in the same strong direction:
1. Oil Rises significantly AND the Airlines Rise significantly.
2. Oil Falls significantly AND the Airlines Fall significantly.

White bar right side of screen: This is a standard lookback average bar with customisable lookback length in setting.
Blue and yellow horizontal lines right side..
Blue is US with estimated price range based on us sentiment line, also accompanied by a derived lookback dotted line “US LB”
Green horizontal line is EU estimated price range based on EU sentiment line also accompanied by a derived lookback dotted line “EU LB”.
The dotted line of EU and US simply displays to the user how far back we are looking in relation to the right side solid blue and green horizontal price estimate lines.
Grey box: Definitive market conditions in % if the air sector is moving neutral with or against the petrodollar.

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.