Previous Day S&R LevelsFor intraday charts only. This shows the previous days Pivot, S1 - S3 and R1 - R3 within the current days session. Often these levels remain significant the following day.
אינדיקטורים ואסטרטגיות
EMA Stack Background HighlighterThis is a simple script that highlights my backround when my criteria for my context timeframe is met, specifically, price is above the 10 EMA, the 10 is above the 20, and the 20 is above the 50 for green and vice versa for red. I use this in a multi timeframe approach similar to mentfx's EVC criteria
Session High/LowSession High Low
Trading Sessions
Forex Sessions (oder Futures Sessions, je nachdem, was du handelst)
Pine Script Indicator
Intraday Levels
Market Sessions
High Low Lines
Day Trading Tools
Ghost Matrix [Bit2Billions]Ghost Matrix — Institutional Market Structure Engine
*A unified price-mapping system built on original logic, designed for professional-grade market structure analysis.*
Ghost Matrix is a closed-source script engineered to give traders a single, coherent view of liquidity, structure, swings, trend pressure, and institutional behavior across all time horizons.
It is not a mashup of public indicators. Every module is built around the same proprietary internal engines, ensuring consistency, originality, and practical trading value.
The script’s purpose is to solve a common problem among traders: multiple indicators producing conflicting signals.
Ghost Matrix consolidates structure, liquidity, momentum, zone logic, and higher-timeframe context into one synchronized framework.
Ghost Matrix is driven by three custom systems:
1. Proprietary Swing & Pivot Engine (Ghost Swing Engine)
This engine determines market turning points using:
* Adaptive displacement logic
* Dynamic pivot length calculations
* Fractal-strength scoring
* Multi-tier swing confirmation
These swings act as the foundation for BOS, CHoCH, liquidity lines, and zone detection.
This method is not based on standard fractals, ZigZag, or public swing scripts.
2. Structural Mapping Engine (Institutional Model Layer)
This system evaluates structure in the same narrative sequence used by advanced traders:
* Internal vs. external structure
* Trend progression vs. structural failure
* Strength/weakness of highs & lows
* Volatility-based CHoCH/BOS validation
This ensures structure is not drawn based on a single candle pattern, but from a multi-step decision model.
3. Adaptive Confluence Engine
Trend, volume, zones, and momentum modules respond to the structure engine, producing *contextual* signals instead of isolated indicators.
This includes:
* Adaptive moving average engine (custom smoothing + gradient logic)
* Demand/supply zones derived from momentum + displacement + volume footprints
* Ichimoku behavior model (crosses, twists, regime shifts)
* Multi-pivot target engine
This creates a full ecosystem rather than individual tools merged together.
Why This Script Has Genuine Value
✔ A unified structural ecosystem (not a mashup)
Every module connects to the same logic layers so the chart tells one consistent story.
✔ Proprietary decision-making logic
Swing detection, structure interpretation, liquidity lines, and zones are built from original formulas—not from built-ins or simple replications.
✔ A visual-first trading workflow
All visuals are designed for institutional-style reading:
* Structure confirmation
* Liquidity reach & sweep behavior
* Swing-to-fractal alignment
* Momentum vs. structural conflict
* Regime shifts through Ichimoku + MA pressure
✔ Designed for traders who rely on narrative-based execution
The indicator replaces:
* Manual swing marking
* Structure identification
* BOS/CHOCH tracking
* Liquidity mapping
* Zone drawing
* Trend mapping
* Volume context
* HTF candle overlays
All in a single, consistent tool.
Key Components & Intent
Market Structure Module (ICT/SMC Integration)
Detects:
* BOS / CHOCH
* BMS / SMS
* Internal / external structure
* IDM
* Liquidity lines (LQDT / Dynamic LQDT)
* FVG, EQH, EQL
* Strong/weak swing points
Purpose: provide a complete reading of institutional structure transitions.
Swing Visualization
Includes:
* Swing highs/lows
* Horizontal levels
* Connector lines
* Extension shadows
* Swing summary tables
Purpose: show turning points with clarity and narrative continuity.
Demand & Supply Zone Engine
Zones consider:
* Momentum displacement
* Volume presence
* Swing strength
* Structural side (pro-trend vs. corrective)
Purpose: highlight zones institutional traders monitor.
Adaptive Trend Model
Custom gradient-based MA system that reacts to:
* Volatility
* Momentum shifts
* Directional strength
Purpose: provide dynamic trend insight, not static MA interpretation.
Ichimoku Regime State (Modified)
Includes:
* TK Cross
* Kijun Cross
* Chikou interactions
* Kumo breakouts + twists
Purpose: define regime shifts and trend environments.
Aggregated Candles (Enhanced Same-Timeframe View)
Provides a refined, information-rich candle structure using the current chart’s timeframe only, offering deeper behavior insights without switching charts.
Dashboard
Shows:
* Swing direction
* CISD structure state
* Fractal alignment %
* Ichimoku events
* Consolidated signals
Visual Design (Clutter-Free Standard)
* Only real-time labels appear; historical labels stay hidden for clarity.
* Consistent, structured line styles:
* Trendlines: solid green/red
* CHOCH: dashed red/green
* BOS: solid red/green
* LQDT/Dynamic: yellow dotted
* EQH/EQL: red/green dotted
* CISD & IDM: gray dotted
This color logic helps traders read structure quickly.
Recommended Use
* Best on: 15m, 1H, 4H, Daily, Weekly
* Works across: crypto, forex, indices, liquid equities
* Pivot tools may show noise on illiquid markets
Performance Notes
* Heavy modules can draw many objects → disable what you don’t need
* Refresh chart if historical buffer limits are reached
* All TV object limits are handled internally
License
* proprietary script © 2025
* Independently developed logic and visualization system
* Redistribution, resale, sharing, or decompilation strictly prohibited
* Any similarity to public concepts is due to overlap with common trading methodologies
Disclaimer
This tool is for educational and research purposes only.
Not financial advice.
Always test responsibly.
FAQs
* Source is intentionally closed
* Alerts can be manually created
* Modules can be toggled
* Designed for multi-market, multi-timeframe workflow
About Ghost Trading Suite
Author: BIT2BILLIONS
Project: Ghost Trading Suite © 2025
Indicators: Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow
Strategies: Ghost Robo, Ghost Robo Plus
Pine Version: V6
The Ghost Trading Suite is designed to simplify and automate many aspects of chart analysis. It helps traders identify market structure, divergences, support and resistance levels, and momentum efficiently, reducing manual charting time.
The suite includes several integrated tools — such as Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow, Ghost Robo, and Ghost Robo Plus — each combining analytical modules for enhanced clarity in trend direction, volatility, pivot detection, and momentum tracking.
Together, these tools form a cohesive framework that assists in visualizing market behavior, measuring momentum, detecting pivots, and analyzing price structure effectively.
This project focuses on providing adaptable and professional-grade tools that turn complex market data into clear, actionable insights for technical analysis.
Crafted with 💖 by BIT2BILLIONS for Traders. That's All Folks!
Changelog
v1.0 — Core Release
* Added Custom Heikin-Ashi Candles for dust-free, clutter-free charting.
* Introduced Price Line overlay for clean close-price visualization.
* Implemented Adaptive Moving Averages with smooth transitions and gradient coloring.
* Added Intelligent Swing Detection with horizontal lines, shadow extensions, connectors, labels, and summary tables.
* Introduced full Market Structure (ICT & SMC) Mapping including short-, mid-, and long-term structures, IDM, LQDT, Dynamic LQDT, CISD, FVGs, EQH, EQL, premium/discount zones, weak/strong highs and lows, and order blocks.
* Added Demand & Supply Zones with adaptive institutional detection, highlighted boxes, and auto-labeling.
* Integrated Targets (Pivot Systems) supporting Camarilla, Fibonacci, Woodie, and other pivot levels.
* Added Aggregated Candles combining real-time and historical data for multi-timeframe analysis.
* Added General Dashboard consolidating swing direction, CISD state, structure alignment, Ichimoku signals, and overall market overview.
* Included Trend Lines & Ichimoku Modules for enhanced visual market context.
BTC Global M2 Indicator by FenixThe index is based on the price of btc and the m2 supply in the market.
VWAP SESSION BUY SELL STRATEGY (INDICATOR) (PDK1977)VWAP SESSION BUY SELL STRATEGY (INDICATOR) (PDK1977)
This indicator combines the proven UT Bot breakout engine but with VWAP directional filtering and ATR-based take profit levels.
It delivers clean, high-probability trend entries and automatic volatility-calibrated exits.
How it works:
Buy only when price is above VWAP
Sell only when price is below VWAP
UT Bot confirms momentum with ATR-based trailing logic
ATR Take Profit gives consistent exits based on volatility
Bars turn green/red only while in a trade, back to normal after TP
Best For:
Intraday and swing trading
Indices, FX, crypto, and high-volume stocks but also for Forex with right TF and settings
Traders who want clean signals and minimal noise
2. Trade Checklist:
Use this before every entry. Quick, simple, reliable.
BUY Checklist:
Price confirmed above VWAP
Label prints BUY
Enter on Buy label (on bar close)
→ Hold until ATR TP hits
SELL Checklist:
Price below VWAP
Label prints SELL
Enter on Sell label
→ Hold until ATR TP hits
Avoid Entries When:
Price is chopping tightly around VWAP
Major news events are about to release
Volume is extremely low
ATR is shrinking rapidly (market compression)
3. Risk-Management Guide
This is tailored to how your system actually behaves.
1. Use ATR TP as Primary Exit:
The system automatically calculates a TP based on volatility:
High volatility → larger TP
Low volatility → smaller TP
This keeps trades consistent and avoids lingering too long.
2. Stop-Loss Recommendation
This strategy is designed for TP-only exits, but if you want a SL:
Recommended Stop-Loss:
Use ATR’s opposite trail, OR
Use 1 × ATR behind your entry candle
This matches the system's internal logic.
3. Position Sizing
Since this system enters during momentum expansions, use:
1–2% max risk per trade
Reduce risk during high-impact news sessions
4. Understand VWAP Environment
Different VWAP conditions require different expectations:
Strong Trend (price far from VWAP)
Higher TP probability
Fewer whipsaws
Excellent continuation setups
Chop Zone (price flips above/below VWAP)
Do NOT trade
Signals lose edge
Wait for a clean break + UT confirmation
5. Choose Correct VWAP Reset for your trading and session
This dramatically improves results.
Market Recommended VWAP Reset
US Stocks New York Session
Indices Daily
Forex London or New York
Crypto Daily or None
4. Final Tips for Best Performance
✔ Enter only in the direction of VWAP
✔ Don’t chase signals far away from entry candle
✔ Avoid trading right into major support/resistance
✔ ATR TP will handle exits mostly
Disclaimer
This script is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, trading advice, or any form of recommendation to buy or sell any financial instrument. The auto take no responsibility for loss or error in the script.
EMA 7/21 + SuperTrend INDICADOR CREADO PARA MI ESTRATEGIA That sounds like a complex and multi-layered trading indicator you've developed! Combining an Exponential Moving Average (EMA) crossover with an Average Directional Index (ADX) filter, a Volume filter, and a Supertrend for overall trend confirmation can certainly help to filter out false signals and potentially increase the reliability of your entry and exit points.Here's a breakdown of the components you're using and why this combination can be powerful:📊 Indicator Components and Their Roles1. 7/21 EMA Crossover (Signal Generator)The $7$-period EMA and $21$-period EMA crossover is a common strategy used to generate initial buy or sell signals.Buy Signal: The short-term EMA (7) crosses above the long-term EMA (21).Sell Signal: The short-term EMA (7) crosses below the long-term EMA (21).2. ADX DI Filter (Momentum and Direction)The Average Directional Index (ADX) and its directional indicators ($+DI$ and $-DI$) are key to confirming the strength and direction of the move.Directional Confirmation: The EMA crossover must be confirmed by the appropriate directional index. For a buy, the $+DI$ should be above the $-DI$. For a sell, the $-DI$ should be above the $+DI$.Trend Strength ( NYSE:ADX $): A rising NYSE:ADX $ (typically above 20 or 25) suggests the current trend has sufficient momentum, making the signal more reliable.3. Volume Filter (Conviction)Adding a Volume filter ensures that the price movement accompanying the EMA crossover is supported by significant trading activity.Confirmation: A strong signal (buy or sell) is often accompanied by above-average volume. This suggests that market participants are actively supporting the move, adding conviction to the trade.4. Supertrend (Overall Trend Confirmation)The Supertrend indicator is based on the Average True Range (ATR) and is excellent for identifying the dominant market trend.Trend Alignment: The EMA crossover signal should align with the Supertrend's current signal. For a buy signal, the price should be above the Supertrend line (green). For a sell signal, the price should be below the Supertrend line (red). This helps ensure you are trading with the prevailing trend.📈 Why This is a Powerful CombinationYour indicator is essentially a multi-stage confirmation system:Speed (7/21 EMA): Generates a fast, responsive signal.Momentum (ADX DI): Confirms the direction and strength of the signal.Conviction (Volume): Validates the signal with market participation.Safety/Trend (Supertrend): Ensures the trade is in the direction of the long-term trend.The Informative Panel is a great feature, as it simplifies the decision-making process by summarizing the findings of all these components—e.g., "BUY: EMA Crossover $\checkmark$, +DI > -DI $\checkmark$, High Volume $\checkmark$, Supertrend Green $\checkmark$."💡 Next Steps for RefinementTo finalize and test this indicator, you may want to consider:Parameter Optimization: The best settings for the ADX level (e.g., 20 vs. 25) and the Supertrend ATR parameters may need to be optimized for the specific asset (e.g., stocks, forex) and timeframe you are using.Exit Strategy: Since this primarily focuses on entries, define clear Stop-Loss (perhaps based on the Supertrend line or a recent swing low/high) and Take-Profit (e.g., a fixed Risk/Reward ratio or previous resistance/support levels) rules.Would you like to explore specific parameters for any of these components or look into ways to backtest your strategy?
paigep.llc - SuperMA
SuperMA is a multi-layered moving-average and candle-coloring system that combines SMA, EMA, and optional HMA logic to help traders visualize trend shifts, pullbacks, and momentum changes in a clean, structured way.
The script includes multiple modules: trend-based moving averages, pullback signals, exit logic, and an optional HMA cross engine.
📌 Core Features
1. Full SMA + EMA Framework
The indicator plots multiple moving averages (8, 9, 13, 20, 50, 200) using both SMA and EMA calculations. Each line automatically colors bullish or bearish based on its relationship to the 200-period baseline. Users can toggle SMAs and EMAs independently for clearer chart control.
2. Main Trend Entry & Exit Logic (8×200 and 8×20)
Built-in crossover logic detects:
Main Entry: SMA 8 crossing above/below EMA 200
Main Exit: SMA 8 and SMA 20 cross (with an option to choose which SMA is treated as the “fast” leg)
A “first exit only” option allows the script to ignore additional exit signals until a new trend regime begins.
3. Pullback Module (20 SMA Interaction)
Pullback entries and exits occur when price crosses the 20 SMA during existing trend conditions.
This includes:
Pullback entries through the 20 SMA
Pullback exits back across the 20 SMA
Labels and candle colors are available for all pullback events.
4. Optional HMA Cross Module
A separate module allows traders to use two Hull Moving Averages (HMA) with customizable:
Lengths
Independent timeframes
Line colors
Cross-based entries and exits
This module has its own events, labels, and optional candle coloring.
5. Advanced Candle Coloring System
Candle coloring is layered in priority order, based on:
Main trend entries
Main exits
HMA entries
HMA exits
Pullback entries
Pullback exits
Trend-only candles (based on SMA 8 relative to EMA 200)
Users may also independently color wicks and borders.
6. Configurable Alerts (Fully Decoupled from Visuals)
Alerts are available for all major events, including:
Main Entries (8×200)
Main Exits (8×20)
Pullback Entries and Exits
HMA Entries and Exits
Bull or Bear Trend candles
Any colored candle event
Alerts can fire on bar close only or intrabar, depending on user preference.
Use Cases
SuperMA helps traders visualize:
Trend direction using SMA/EMA structure
Momentum shifts through HMA crosses
Pullback zones around the 20 SMA
Early regime transitions based on the 8×200 relationship
Candle-level context through color-coded bars
The indicator works across all markets and timeframes.
⚠️ Note
This tool is for visual and analytical assistance only. It does not guarantee future performance and should be combined with additional analysis and risk management.
piPH"Signals Refined. Opportunities Defined."
piPH is built for traders who value precision over noise. By demanding multiple confirmations, it avoids the trap of chasing every move and instead focuses on high-probability setups that align with trend, momentum, and divergence.
SCREENER NIFTY 200 3EMA, Hekin-ashi, ADX V4This Screener is used to screen stocks from Nifty 200 based on EMA, BB, VWAP or 3EMA strategy with Hekin-ashi and Multi ADX.
Josh FXJoshFX Multi-Timeframe Levels & Fair Value Gap Indicator
This powerful TradingView indicator provides a comprehensive view of key market levels and trends across multiple timeframes. Designed for traders who want precise entries and market context, it includes:
Previous Daily Levels: Automatically marks the previous day’s High, Low, and 50% midpoint.
Multi-Timeframe Trend: Displays the trend direction for 5-minute, 15-minute, 1-hour, and 4-hour charts directly on your current chart.
Daily Candle Display: Shows the current daily candle for quick visual reference.
Pivot Points: Accurately marks technical highs and lows (pivot points) to the exact unit on the chart.
Fair Value Gaps (FVGs): Highlights areas of imbalance for potential high-probability trade setups.
JoshFX Telegram Watermark: Includes branding for the JoshFX community.
This all-in-one tool is perfect for traders combining price action, liquidity concepts, and multi-timeframe analysis to find high-quality setups efficiently.
Fear & Greed Index Mod [ASM] Fear & Greed Index modification.
Green and red background shows sentiment and market regime.
Green - all clear, Red to be cautious
Arrows show Extreme Greed and Extreme Fear. And call for a contrarian trade, but use with confluene of your trading style and system.
Cheers!
[algsc][16STOCH][MLB+MBS][LineBreak+Renko][Price+CVD] ALPHA CONFLUENCE ENGINE — 16×2 Noiseless Multi-Chart Score System (Private)
Proprietary fusion of 16 advanced noiseless chart structures (32 total layers) simultaneously analyzing both pure price momentum and institutional Cumulative Volume Delta flow.
The indicator continuously tracks 16 independent scoring systems across two completely different non-time-based chart engines, delivering a single ultra-clean confluence reading:
• Real-time 4-way score display directly on chart
• Large institutional-grade B / S arrows only when extreme alignment occurs across multiple hidden layers
• Zero repainting · Zero lag · Works on every market and timeframe
This is the same internal confluence tool used in our private trading group — now available as a closed-source, high-precision signal engine.
Strictly limited access. For serious traders only.
products.algscience@gmail.com
SCREENER Commodity 3EMA & BB,VWAP,EMA, Hekin-ashi, ADXThis is the screener for Commodity with BB,VWAP,EMA or 3EMA with Hekin-ashi and Multi ADX
Journal Diario Manual [KEKG]📊 Daily Trading Journal – Manual Profit & Risk Tracker
This indicator is a clean, fully customizable daily trading journal designed to help traders manually track their performance directly on the chart.
✅ Features:
• Manual input for:
• Take Profits (TP)
• Stop Losses (SL)
• Total TP Pips
• Total SL Pips
• Automatic Profit (Pips) calculation:
• Shows + in green for positive results
• Shows − in red for negative results
• Customizable reset system:
• Reset by Day
• Reset by Week
• Manual reset
• Optional reset at a specific time (AM/PM)
• Each reset method can be turned ON or OFF
• Fully adjustable colors:
• Default TP color: #66BB6A
• Default SL color: #F23645
• Editable profit colors and panel background
• Movable panel position (any screen corner)
• Transparent background by default
• Clean, left-aligned professional layout
🎯 Purpose:
This tool is built for discipline, consistency, and performance tracking, helping traders stay aware of:
• Daily results
• Total risk
• Overall profitability
Perfect for Forex, Indices, Commodities, and Crypto traders who want a simple but powerful on-chart journal without automation or broker connection.
[Chesini] Calibragem por MédiasAllows you to define market alignment (Buy, Sell and Divergent) based on 3 timeframes and three different media.
LiquidityPulse RSI Candle Strength MomentumLiquidity-Pulse RSI Candle Strength Momentum is a multifunctional and original candle-analysis tool designed to highlight the potential internal strength of each candle using a combination of body size and volume.
To view the candle-strength scores clearly: right-click on the chart, go to Settings, and in the Symbol tab untick Body, Borders and Wicks.
Candle Strength Scores
The indicator calculates the average body size and average volume over a user-defined lookback period. Each candle is then compared to these averages, and the indicator combines relative body expansion and relative volume expansion with a square-root calculation to create a (normalised) candle-strength score from 1 to 10.
10 – exceptionally strong compared to the lookback average (large body size and volume)
1 – very weak compared to the lookback average (small body size and volume)
Bullish and bearish candles are evaluated independently, producing separate bull-strength and bear-strength scores.
Optional ATR and volume floors can be enabled to restrict strength scoring to candles that exceed a minimum volatility or participation threshold. This helps users who prefer to filter out low-impact candles during quiet market periods. This option can be enabled or adjusted in the settings but is turned off by default.
Candle Colours
This tool also shows candles coloured based on the candle-strength scores (10 colours in each theme), which makes it easier to visualise the scores and see whether the candle score was high or not. There are several options in the 'colour theme' dropdown menu in the settings. Users can also customise all colours manually.
RSI Candle Strength Arrows
The Relative Strength Index is a long-established momentum tool that calculates the ratio of average upward moves to average downward moves over a defined period, allowing traders to identify potential overbought and oversold market conditions where momentum may be stretched. As well as this, strong early momentum and participation are often associated with more sustained moves.
This indicator combines this methodology and provides optional arrows that appear only when candle strength and RSI conditions align:
– A candle meets or exceeds a chosen strength threshold
– RSI has recently reached an overbought or oversold level
– The candle direction matches the expected momentum shift
For example, if price has reached an oversold RSI level and a strong bullish candle forms (high candle-strength number), an upside arrow may plot.
Users can customise the RSI oversold and overbought thresholds, the minimum candle-strength threshold, and how many bars back the RSI condition must have occurred in the settings.
These arrows are not buy or sell signals but instead highlight rare moments where strong candle behaviour aligns with meaningful RSI extremes. This is useful to users because it allows the candle-strength logic to be applied only when momentum is genuinely stretched, filtering out noise and focusing attention on the most statistically significant market moves.
This indicator brings together a quantitative candle-strength model and a momentum-based RSI filter to give users a clearer view of how individual candles behave relative to their recent environment, while also highlighting when those movements occur during meaningful shifts in market momentum. By combining both forms of analysis, the tool helps traders distinguish ordinary price changes from potentially significant structural behaviour.
How traders can use this indicator
– Stronger candle scores in the trend direction can confirm continuation pressure.
– Powerful opposing candles appearing at RSI extremes may signal potential reversals or exhaustion points.
– If breakouts occur with high candle scores, price may be more likely to follow through.
– Weak candles with low scores help traders avoid false signals or low-quality setups.
– Candle-strength scoring helps users quickly interpret both volume and candle-body behaviour without manual analysis.
Open source, if anyone has any ideas on how to make the script better or have any questions please let me know :)
Disclaimer
This indicator is provided for educational and analytical purposes only and should not be interpreted as financial advice or a recommendation to buy or sell any asset. The candle-strength values displayed by this tool are not literal or definitive measures of market strength; they are derived from a custom mathematical model designed to highlight relative differences in candle behaviour. These values should be viewed as a simplified representation of candle dynamics, not as an objective or universal measure of strength.
Users should be aware that this calculation does not replace the importance of analysing real traded volume, order flow, liquidity conditions, or broader market context. As with any technical tool, results should be considered alongside other forms of analysis, and past performance does not guarantee future outcomes. Use at your own discretion and risk.
A+ Model - Cave EducationHere is a comprehensive and detailed explanation of the "A+ Model - Cave Education" Pine Script code.
This script is a sophisticated technical analysis tool designed for TradingView. It assists traders in identifying specific institutional time windows, price ranges (sessions), and "Macro" volatility periods based on the ICT (Inner Circle Trader) or similar time-based trading concepts.
Below is the breakdown of how the code functions, organized by its logic sections.
1. General Overview
The script is an overlay indicator (it sits directly on the price chart). Its primary purpose is to:
Highlight a specific trading session (The "A+ Box") and mark its High/Low.
Mark key institutional times (07:00 NY and 09:30 NY Open).
Identify "Macro" windows (specific 20-minute periods where algorithms are active) and draw dynamic ranges around them based on volatility (ATR).
Project future times onto the chart to help the trader prepare for the next day.
2. Settings & Inputs (User Configuration)
The code begins by defining a vast array of user inputs, grouped for better usability:
General Time & Box: Allows the user to define the "A+ Session" time (default 20:00-00:00) and the Time Zone (UTC-5/New York). It also handles the visual style (colors) of the session box.
Visibility: A crucial performance and visual clutter setting. boxDays limits how far back the A+ boxes and time lines are drawn (default 14 days). Macros are strictly limited to the current week to prevent chart lagging.
Line & Text Controls: Every visual element (A+ lines, NY markers, Macros) has toggles (input.bool) to show/hide the lines or the text labels separately.
Macro Settings: Defines the time windows for three separate macros and an ATR Multiplier. The ATR multiplier determines how wide the channel lines are drawn around the macro price action.
3. Logic Breakdown by Section
Section 1: The "A+ Draw" Box (Session Range)
This is the core of the A+ Model.
Logic: The script checks if the current bar is within the user-defined sessionTime.
Box Creation:
When the session starts, it initializes a new Box (box.new).
Throughout the session, it continuously updates the Box's Top (Highest High) and Bottom (Lowest Low) to encompass the full range of that time period.
Extension Lines (Support/Resistance):
Once the session ends, the script draws two horizontal lines: one from the Session High and one from the Session Low.
Smart Break Logic: These lines are active (highActive, lowActive). They extend to the right until the price breaks them (High line is broken by a higher price, Low line by a lower price). This helps traders see if the session range is being respected or broken later in the day.
Section 2: Time Lines (NY Midnight & Open)
This section marks vertical reference points.
It checks for specific times: 07:00 and 09:30 (in the user's timezone).
If the current bar matches these times, it draws a vertical line (line.new) covering the High/Low of that bar and places a label (e.g., "NY." or "09:30") above it.
This helps the trader orient themselves regarding the New York session Open and the "Killzone" start.
Section 3: Macros (Volatility Windows)
This is the most complex calculation in the script.
Definition: Macros are specific time windows (e.g., 09:50–10:10) where price delivery is often accelerated.
Visibility Rule: To keep the script fast, this only runs if isCurrentWeek is true.
ATR Offset: The script calculates the Average True Range (ATR). It uses this to create a "channel" around the price.
Drawing Logic:
When a Macro time starts, the script tracks the Highest High and Lowest Low inside that specific 20-minute window.
It draws parallel horizontal lines above and below these prices.
The Twist: The lines are not drawn at the High/Low. They are offset by ATR * Multiplier. This creates a wider "zone" around the macro price action, visually indicating a volatility range.
Section 4: Future Projection (Tomorrow)
This feature is for planning ahead.
It runs only on the last bar of the chart (barstate.islast).
It calculates the timestamps for the next occurrence of the key times (07:00, 09:30, and all three Macros).
It draws vertical lines into the future (empty space on the right of the chart).
Benefit: The trader can see exactly where 09:30 or the next Macro will occur on the timeline before the candles even print.
4. Helper Functions
The code uses custom functions to keep the logic clean:
f_drawFuture(...): A standardized function to draw the future vertical lines and labels so the code doesn't have to repeat itself for every single time marker.
isStartTime(...) & isInTime(...): Shorthand functions to check if the current candle belongs to a specific session string (like "0950-1010").
Summary of Improvements in this Version
Compared to a standard indicator, this script is highly optimized:
Text Control: You can turn off text labels while keeping the lines (or vice versa).
Performance: It limits historical drawing (only 14 days back for boxes, only this week for macros) to prevent "Maximum Line Count" errors in Pine Script.
Visual Clarity: It uses different colors for different Macros (Blue, Red, Orange) to make them instantly distinguishable.
US EU Airlines Basket V2This 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.
1小时区域背景颜色// This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) creativecommons.org
// © LuxAlgo
//@version=5
indicator("Sessions ", "LuxAlgo - Sessions", overlay = true, max_bars_back = 500, max_lines_count = 500, max_boxes_count = 500, max_labels_count = 500)
//------------------------------------------------------------------------------
//Settings
//-----------------------------------------------------------------------------{
//Session A
show_sesa = input(true, '', inline = 'sesa', group = 'Session A')
sesa_txt = input('New York', '', inline = 'sesa', group = 'Session A')
sesa_ses = input.session('1300-2200', '', inline = 'sesa', group = 'Session A')
sesa_css = input.color(#ff5d00, '', inline = 'sesa', group = 'Session A')
sesa_range = input(true, 'Range', inline = 'sesa_overlays', group = 'Session A')
sesa_tl = input(false, 'Trendline', inline = 'sesa_overlays', group = 'Session A')
sesa_avg = input(false, 'Mean', inline = 'sesa_overlays', group = 'Session A')
sesa_vwap = input(false, 'VWAP', inline = 'sesa_overlays', group = 'Session A')
sesa_maxmin = input(false, 'Max/Min', inline = 'sesa_overlays', group = 'Session A')
//Session B
show_sesb = input(true, '', inline = 'sesb', group = 'Session B')
sesb_txt = input('London', '', inline = 'sesb', group = 'Session B')
sesb_ses = input.session('0700-1600', '', inline = 'sesb', group = 'Session B')
sesb_css = input.color(#2157f3, '', inline = 'sesb', group = 'Session B')
sesb_range = input(true, 'Range', inline = 'sesb_overlays', group = 'Session B')
sesb_tl = input(false, 'Trendline', inline = 'sesb_overlays', group = 'Session B')
sesb_avg = input(false, 'Mean', inline = 'sesb_overlays', group = 'Session B')
sesb_vwap = input(false, 'VWAP', inline = 'sesb_overlays', group = 'Session B')
sesb_maxmin = input(false, 'Max/Min', inline = 'sesb_overlays', group = 'Session B')
//Session C
show_sesc = input(true, '', inline = 'sesc', group = 'Session C')
sesc_txt = input('Tokyo', '', inline = 'sesc', group = 'Session C')
sesc_ses = input.session('0000-0900', '', inline = 'sesc', group = 'Session C')
sesc_css = input.color(#e91e63, '', inline = 'sesc', group = 'Session C')
sesc_range = input(true, 'Range', inline = 'sesc_overlays', group = 'Session C')
sesc_tl = input(false, 'Trendline', inline = 'sesc_overlays', group = 'Session C')
sesc_avg = input(false, 'Mean', inline = 'sesc_overlays', group = 'Session C')
sesc_vwap = input(false, 'VWAP', inline = 'sesc_overlays', group = 'Session C')
sesc_maxmin = input(false, 'Max/Min', inline = 'sesc_overlays', group = 'Session C')
//Session D
show_sesd = input(true, '', inline = 'sesd', group = 'Session D')
sesd_txt = input('Sydney', '', inline = 'sesd', group = 'Session D')
sesd_ses = input.session('2100-0600', '', inline = 'sesd', group = 'Session D')
sesd_css = input.color(#ffeb3b, '', inline = 'sesd', group = 'Session D')
sesd_range = input(true, 'Range', inline = 'sesd_overlays', group = 'Session D')
sesd_tl = input(false, 'Trendline', inline = 'sesd_overlays', group = 'Session D')
sesd_avg = input(false, 'Mean', inline = 'sesd_overlays', group = 'Session D')
sesd_vwap = input(false, 'VWAP', inline = 'sesd_overlays', group = 'Session D')
sesd_maxmin = input(false, 'Max/Min', inline = 'sesd_overlays', group = 'Session D')
//Timezones
tz_incr = input.int(0, 'UTC (+/-)', group = 'Timezone')
use_exchange = input(false, 'Use Exchange Timezone', group = 'Timezone')
//Ranges Options
bg_transp = input.float(90, 'Range Area Transparency', group = 'Ranges Settings')
show_outline = input(true, 'Range Outline', group = 'Ranges Settings')
show_txt = input(true, 'Range Label', group = 'Ranges Settings')
Weekday HighlighterThis is a simple indicator that highlights specific weekdays on the chart.
You can choose which weekdays to highlight and optionally use different colors for each day. It is useful for visually separating sessions such as Mondays, Fridays, or any custom trading day you want to focus on.
ただ単に曜日を指定してハイライトするインジです。
Volume Weighted Average Price - 6 band by buckstrdrstandard VWAP improved to allow 6 bands as standard






















