MestreDoFOMO Future Projection BoxMestreDoFOMO Future Projection Box - Description & How to Use
Description
The "MestreDoFOMO Future Projection Box" is a TradingView indicator tailored for crypto traders (e.g., BTC/USDT on 1H, 4H, or 1D timeframes). It visualizes current price ranges, projects future levels, and confirms trends using semi-transparent boxes. With labeled price levels and built-in alerts, it’s a simple yet powerful tool for identifying support, resistance, and potential price targets.
How It Works
Blue Box (Current Channel): Shows the recent price range over the last 10 bars (adjustable). The top is the highest high plus an ATR buffer, and the bottom is the lowest low minus the buffer. Labels display exact levels (e.g., "Top: 114000", "Bottom: 102600").
Green Box (Future Projection): Projects the price range 10 bars ahead (adjustable) based on the trend slope of the moving average. Labels show "Proj Top" and "Proj Bottom" for future targets.
Orange Box (Moving Average): Traces a 50-period EMA (adjustable) to confirm the trend. An upward slope signals a bullish trend; a downward slope signals a bearish trend. A label shows the current MA value (e.g., "MA: 105000").
Alerts: Triggers when the price nears the projected top or bottom, helping you catch breakouts or retracements.
How to Use
Add the Indicator: Apply "MestreDoFOMO Future Projection Box" to your chart in TradingView.
Interpret the Trend: Check the orange box’s slope—upward for bullish, downward for bearish.
Identify Key Levels: Use the blue box’s top as resistance and bottom as support. On a 4H chart, if the top is 114,000, expect resistance; if the bottom is 102,600, expect support.
Plan Targets: Use the green box for future targets—top for profit-taking (e.g., 114,000), bottom for stop-loss or buying (e.g., 102,600).
Set Alerts: Enable alerts for "Near Upper Projection" or "Near Lower Projection" to get notified when the price hits key levels.
Trade Examples:
Bullish: If the price breaks above the blue box top (e.g., 114,000), buy with a target at the green box top. Set a stop-loss below the green box bottom.
Bearish: If the price rejects at the blue box top and drops below the orange MA, short with a target at the blue box bottom.
Customize: Adjust the lookback period, projection bars, ATR multiplier, and MA length in the settings to fit your trading style.
Tips
Use on 1H for short-term trades, 4H for swing trades, or 1D for long-term trends.
Combine with volume or RSI to confirm signals.
Validate levels with market structure (e.g., candlestick patterns).
Cycles
10 Monday's 1H Avg Range + 30-Day Daily RangeWhat This Script Does
This indicator is designed for traders who want to monitor volatility and range behavior at the start of the trading week . It focuses specifically on the first four 15-minute candles of each Monday and tracks their combined high-low range over time.
How It Works
Monday 1H Range Detection:
Each week, it automatically detects and highlights the first 4 candles of Monday on a 15-minute chart (1 hour total). It calculates the range between the highest high and lowest low of these candles.
10-Week Average of Monday 1H Ranges:
It stores and averages the last 10 such ranges, displaying this average in a table for weekly comparison.
30-Day Daily Range Average:
Separately, it calculates the average daily range (high – low) of the last 30 daily candles. This value helps put the Monday 1H range into broader context and can guide Stop Loss or TP planning.
Dynamic Labeling & Visual Highlights:
The script visually highlights the first 4 candles of Monday and places a label showing the pip range once the 4 candles have completed. It also updates a small table with the two averages described above.
How to Use It
Use it on the 15-minute timeframe to activate the Monday 1H logic.
Compare the current week’s Monday range to the 10-week average to see if volatility is increasing or decreasing.
Use the 30-day daily range to determine if the Monday opening movement is unusually large or small.
Consider adjusting trade entries, stops, or targets if the Monday range is disproportionately large compared to recent historical behavior.
What Makes It Original?
This is not a typical volatility indicator like ATR or standard deviation. Instead, it’s a purpose-built tool combining:
Time-specific behavior (first hour of the week),
Historical contextualization (10-week average tracking),
A dual-timeframe analysis (15-min + daily),
A user-friendly table and visual interface.
This script helps intraday or swing traders spot abnormal volatility early in the week and adjust their strategies accordingly—especially in fast-moving Forex or Index markets.
RSI - PRIMARIO -mauricioofsousa
MGO Primary – Matriz Gráficos ON
The Blockchain of Trading applied to price behavior
The MGO Primary is the foundation of Matriz Gráficos ON — an advanced graphical methodology that transforms market movement into a logical, predictable, and objective sequence, inspired by blockchain architecture and periodic oscillatory phenomena.
This indicator replaces emotional candlestick reading with a mathematical interpretation of price blocks, cycles, and frequency. Its mission is to eliminate noise, anticipate reversals, and clearly show where capital is entering or exiting the market.
What MGO Primary detects:
Oscillatory phenomena that reveal the true behavior of orders in the book:
RPA – Breakout of Bullish Pivot
RPB – Breakout of Bearish Pivot
RBA – Sharp Bullish Breakout
RBB – Sharp Bearish Breakout
Rhythmic patterns that repeat in medium timeframes (especially on 12H and 4H)
Wave and block frequency, highlighting critical entry and exit zones
Validation through Primary and Secondary RSI, measuring the real strength behind movements
Who is this indicator for:
Traders seeking statistical clarity and visual logic
Operators who want to escape the subjectivity of candlesticks
Anyone who values technical precision with operational discipline
Recommended use:
Ideal timeframes: 12H (high precision) and 4H (moderate intensity)
Recommended assets: indices (e.g., NASDAQ), liquid stocks, and futures
Combine with: structured risk management and macro context analysis
Real-world performance:
The MGO12H achieved a 92% accuracy rate in 2025 on the NASDAQ, outperforming the average performance of major global quantitative strategies, with a net score of over 6,200 points for the year.
Triple Stochastic Confluence by AtallaTriple Stochastic Confluence by Atalla - Indicator Summary
Overview
The "Triple Stochastic Confluence by Atalla" is a technical indicator for TradingView that identifies potential trading opportunities using the confluence of three Stochastic oscillators with different timeframes. The indicator focuses exclusively on the %D lines (signal lines) of the Stochastics.
Key Components
Three Stochastic Oscillators
Short-term Stochastic: Period 9, %K Smoothing 1, %D Period 3
Medium-term Stochastic: Period 14, %K Smoothing 1, %D Period 3
Long-term Stochastic: Period 60, %K Smoothing 1, %D Period 10
Visual Display
White lines for the first two Stochastics (%D lines)
Yellow line for the third (long-term) Stochastic (%D line)
Background color changes to highlight trading opportunities:
Yellow background: Bullish signal
Red background: Bearish signal
Trading Signals Logic
Bullish Signal (Yellow Background)
A bullish signal occurs when any Stochastic %D line is in the oversold zone (≤25%) while at least one of the other %D lines is in the overbought zone (≥75%).
Bearish Signal (Red Background)
A bearish signal occurs when any Stochastic %D line is in the overbought zone (≥75%) while at least one of the other %D lines is in the oversold zone (≤25%).
Configurable Parameters
Stochastic periods and smoothing values
Overbought level (default: 75%)
Oversold level (default: 25%)
Alert Conditions
The indicator includes alert conditions for both bullish and bearish confluence signals, allowing users to set up automated notifications for trading opportunities.
Trading Philosophy
This indicator leverages the concept of momentum divergence across different timeframes. When oscillators at different timeframes show opposing extreme readings (one in oversold and another in overbought), it may indicate a potential reversal point in the market. The indicator's strength lies in identifying these confluences automatically and providing clear visual signals.
Relative Performance Spread**Relative Performance Spread Indicator – Overview**
This indicator compares the **relative performance between two stocks** by normalizing their prices and calculating the **spread**, **area under the curve (AUC)**, or **normalized price ratio**.
### **How It Works**
* **Input**: Select a second stock (`ticker2`) and a moving average window.
* **Normalization**: Each stock is normalized by its own moving average → `norm = close / MA`.
* **Spread**: The difference `spread = norm1 - norm2` reflects which stock is outperforming.
* **AUC**: Cumulative spread over time shows prolonged dominance or underperformance.
* **Bounds**: Bollinger-style bands are drawn around the spread to assess deviation extremes.
### **Usage**
* **Plot Type Options**:
* `"Spread"`: Spot outperformance; crossing bands may signal rotation.
* `"AUC"`: Track long-term relative trend dominance.
* `"Normalized"`: Directly compare scaled price movements.
Use this tool for **pair trading**, **relative momentum**, or **rotation strategies**. It adapts well across assets with different price scales.
Enhanced Cycle IndicatorEnhanced Cycle Indicator Guide
DISCLAIMER
"This PineScript indicator evolved from a foundational algorithm designed to visualize cycle-based center average differentials. The original concept has been significantly enhanced and optimized through collaborative refinement with AI, resulting in improved functionality, performance, and visualization capabilities while maintaining the core mathematical principles of the original design"
Overview
The Enhanced Cycle Indicator is designed to identify market cycles with minimal lag while ensuring the cycle lows and highs correspond closely with actual price bottoms and tops. This indicator transforms price data into observable cycles that help you identify when a market is likely to change direction.
Core Principles
Cycle Detection: Identifies natural market rhythms using multiple timeframes
Dynamic Adaptation: Adjusts to changing market conditions for consistent performance
Precise Signals: Provides clear entry and exit points aligned with actual market turns
Reduced Lag: Uses advanced calculations to minimize delay in cycle identification
How To Use
1. Main Cycle Interpretation
Green Histogram Bars: Bullish cycle phase (upward momentum)
Red Histogram Bars: Bearish cycle phase (downward momentum)
Cycle Extremes: When the histogram reaches extreme values (+80/-80), the market is likely approaching a turning point
Zero Line: Crossovers often indicate a shift in the underlying market direction
2. Trading Signals
Green Triangle Up (bottom of chart): Strong bullish signal - ideal for entries or covering shorts
Red Triangle Down (top of chart): Strong bearish signal - ideal for exits or short entries
Diamond Shapes: Indicate divergence between price and cycle - early warning of potential reversals
Small Circles: Minor cycle turning points - useful for fine-tuning entries/exits
3. Optimal Signal Conditions
Bullish Signals Work Best When:
The cycle is deeply oversold (below -60)
RSI is below 40 or turning up
Price is near a significant low
Multiple confirmation bars have occurred
Bearish Signals Work Best When:
The cycle is heavily overbought (above +60)
RSI is above 60 or turning down
Price is near a significant high
Multiple confirmation bars have occurred
4. Parameter Adjustments
For Shorter Timeframes: Reduce cycle periods and smoothing factor for faster response
For Daily/Weekly Charts: Increase cycle periods and smoothing for smoother signals
For Volatile Markets: Reduce cycle responsiveness to filter noise
For Trending Markets: Increase signal confirmation requirement to avoid false signals
Recommended Settings
Default (All-Purpose)
Main Cycle: 50
Half Cycle: 25
Quarter Cycle: 12
Smoothing Factor: 0.5
RSI Filter: Enabled
Signal Confirmation: 2 bars
Faster Response (Day Trading)
Main Cycle: 30
Half Cycle: 15
Quarter Cycle: 8
Smoothing Factor: 0.3
Cycle Responsiveness: 1.2
Signal Confirmation: 1 bar
Smoother Signals (Swing Trading)
Main Cycle: 80
Half Cycle: 40
Quarter Cycle: 20
Smoothing Factor: 0.7
Cycle Responsiveness: 0.8
Signal Confirmation: 3 bars
Advanced Features
Adaptive Period
When enabled, the indicator automatically adjusts cycle periods based on recent price volatility. This is particularly useful in markets that alternate between trending and ranging behaviors.
Momentum Filter
Enhances cycle signals by incorporating price momentum, making signals more responsive during strong trends and less prone to whipsaws during consolidations.
RSI Filter
Adds an additional confirmation layer using RSI, helping to filter out lower-quality signals and improve overall accuracy.
Divergence Detection
Identifies situations where price makes a new high/low but the cycle doesn't confirm, often preceding significant market reversals.
Best Practices
Use the indicator in conjunction with support/resistance levels
Look for signal clusters across multiple timeframes
Reduce position size when signals appear far from cycle extremes
Pay special attention to signals that coincide with divergences
Customize cycle periods to match the natural rhythm of your traded instrument
Troubleshooting
Too Many Signals: Increase signal confirmation bars or reduce cycle responsiveness
Missing Major Turns: Decrease smoothing factor or increase cycle responsiveness
Signals Too Late: Decrease cycle periods and smoothing factor
False Signals: Enable RSI filter and increase signal confirmation requirement
LGMM (flat buffers) — multivariate poly + latent statesLGMM POLYNOMIAL BANDS — DISCOVER THE MARKET’S HIDDEN STATES
Overview
Latent-Gaussian-Mixture-Models (LGMMs) view price action as a mix of several invisible regimes: trending up, drifting sideways, sudden volatility spikes, and so on.
A Gaussian Mixture learns these states directly from data and outputs, for every bar, the probability that the market is in each state.
This indicator feeds those probabilities into a rolling polynomial regression that draws a fair-value line, then builds adaptive upper and lower bands.
Band width expands when recent residuals are large *and* when the state mix is uncertain, and contracts when price is calm or one regime clearly dominates.
Crossing back into the band from below generates a buy flag; crossing back into the band from above generates a sell flag (or take-profit for longs).
Key Inputs
Price source – default is Close; you can choose HL2, OHLC4, etc.
Training window (bars) – look-back length for every retrain. 252 bars (one trading year) is a balanced default for US stocks on daily timeframe. Use fewer bars for intraday charts (say 7*24=168 for 1H bars on crypto), more for weekly periods.
Polynomial degree – 1 for a straight trend line, 2 for a curved fit. Curved fits are better when the symbol shows persistent drift.
Hidden states K – number of regimes the mixture tracks (1 to 3). Three states often map well to up-trend, chop, down-trend.
Band width ×σ – multiplier on the entropy-weighted standard deviation. Smaller values (1.5-2) give more trades; larger values (2.5-3) give fewer, higher-conviction trades.
Offline μ,σ pairs (optional) – paste component means and sigmas from an offline LGMM (format: mu1,sigma1;mu2,sigma2;…). Leave blank to let the script use its built-in approximation.
Quick Start
Add the indicator to a chart and wait until the initial Training window has filled.
Watch for green BUY triangles when price closes back above the lower band and red SELL triangles when price closes back below the upper band.
Fine-tune:
– Increase Training window to reduce noise.
– Decrease Band width ×σ for more frequent signals.
– Experiment with Hidden states K; more states capture richer behaviour but need longer windows to stay reliable.
Tips
Bands widen automatically in chaotic periods and tighten when one regime dominates.
Combine with a volume filter or a higher-time-frame trend to reduce whipsaws.
If you already run an LGMM in Python or Matlab, paste its component parameters for a perfect match between your back-test and the TradingView plot.
Works on all markets and time-frames, provided you have at least five times the Training window’s bars in history.
Happy trading!
DXY Monthly Return (+3M Lead)This indicator calculates the rolling monthly return (based on 21 trading days) for the U.S. Dollar Index (DXY), applying a +3-month forward shift (lead) to the series.
It is designed to help visualize the leading effect of USD strength or weakness on other macro-sensitive assets — particularly Bitcoin and crypto markets, which often react to changes in global dollar liquidity with a lag of approximately 10 weeks.
Note: This script does not invert the values directly. To match the inverted Y-axis visual used by Steno Research — where negative USD returns are displayed at the top — simply right-click the Y-axis in the chart panel and select “Invert Scale.”
💡 Use this tool for macro trend analysis, early crypto signal generation, or studying inverse correlations between USD and risk assets.
Source logic: Steno Research, Bloomberg, Macrobond.
Custom Sector Relative Strength (sector rotation)📌 Indicator Summary for “Custom Sector Relative Strength (sector rotation)”
🔹 Overview:
This Pine Script indicator calculates and displays the relative strength performance of up to 25 customizable sectors or ETFs compared to a user-defined benchmark index (e.g., SPY, TASI.TAD, etc.).
It helps traders and analysts identify which sectors are outperforming or underperforming relative to the benchmark over different time frames.
________________________________________
🔹 Calculation Method:
For each sector, the indicator:
1. Retrieves the current and past closing prices for both the sector and the benchmark.
2. Computes the ratio of the sector's price to the benchmark at both time points.
3. Calculates the percentage change in this ratio over the selected lookback period:
4. Relative Strength (%) = ((Current_Ratio / Past_Ratio) - 1) * 100
5. Assigns a direction symbol:
o ↑ for positive outperformance
o ↓ for underperformance
o → for no significant change
6. Applies a color code for clarity:
o Green for ↑
o Red for ↓
o Gray for →
________________________________________
🔹 How to Use:
1. Set your benchmark index (e.g., SPY or TASI.TAD) from the settings panel.
2. Choose a lookback period: 1 Day, 1 Week, 1 Month, 3 Months, 6 Months, or 1 Year.
3. Define up to 25 sectors:
o Enter the symbol and name of each sector.
o Toggle the Show option on/off to include/exclude any sector.
4. The script will sort the sectors from strongest to weakest based on their relative performance.
5. Results are displayed in a dynamic table on the chart showing:
o Ticker
o Sector Name
o Relative % Performance
o Direction Indicator (↑ ↓ →)
________________________________________
🔹 Practical Uses:
• Sector rotation strategies
• Market breadth analysis
• Benchmark-relative strength monitoring
• Multi-sector ETFs or custom group comparisons
• Saudi, US, or global sector analysis
________________________________________
Let me know if you'd like an Arabic version or want this formatted as a PDF or used as a code comment section.
The Blueprint v.1The Blueprint v.1 is a comprehensive ICT-style session overlay tool designed for precision-based intraday traders. This indicator automatically highlights key institutional trading sessions with dynamic boxes and labels, while tracking the midnight open with customizable horizontal and vertical lines.
🔹 Features:
Auto-detection and marking of major FX sessions: Asia, London, New York, London Close, and Afternoon
Dynamic Midnight Open horizontal line that extends across the full trading day (until 5PM NY on Fridays)
Vertical line to mark Midnight Open candle
Customizable colors, widths, and styles for all midnight lines and session boxes
Smart alignment: session boxes begin at the center of the opening candle and dynamically expand
Supports time zone offset input for traders outside NY time
🔧 Perfect for ICT concepts like Killzones, Judas Swings, and Midnight Open anchors.
Round Levels + BoxesRound Levels Indicator
The Round Levels indicator automatically detects and marks round price levels ending in .000 on the chart. These levels are often important support and resistance zones where significant price reaction occurs. Main features
Automatic detection of round levels (.000)
Display horizontal lines on levels
Add price labels for each level
Dynamic update of levels when price moves
How to use
Add the indicator to the chart
The indicator will automatically display the 20 nearest round levels (10 above and 10 below the current price)
When the price moves significantly, the levels are automatically recalculated
Trading ideas
Use as support and resistance levels
Track price reaction at round levels
Combine with other indicators to confirm signals
Use to identify potential trend reversal zones
Notes
The indicator only marks levels ending in .000
Lines are automatically extended to the right for better visibility
The gray color of the lines is chosen for minimal impact on the perception of the chart
Version
Developed for TradingView Pine Script v6
Works on all timeframes
Compatible with all trading tools
Settings
The indicator has a simple interface and does not require additional settings. If necessary, you can change in the code:
Number of displayed levels
Color and style of lines
Display format of price labels
Warning
This indicator is an auxiliary tool for technical analysis. It is recommended to use it in combination with other analysis methods and risk management tools.
Taylor Series ForecastThis indicator projects future price movement using a second-order Taylor Series expansion, calculated from a smoothed price (EMA). It models price momentum and acceleration to generate a forward-looking trajectory.
Forecast points are plotted continuously as connected line segments extending into the future. Each segment is color-coded based on slope:
Green indicates an upward slope (bullish forecast).
Red indicates a downward slope (bearish forecast).
The forecast adapts to current market conditions and updates dynamically with each new bar. Useful for visualizing potential future price paths and identifying directional bias based on recent price action.
Inputs:
Max Forecast Horizon: How many bars into the future the forecast extends.
EMA Smoothing Length: The smoothing applied to price before calculating derivatives.
This tool is experimental and should be used in conjunction with other analysis methods. It does not guarantee future price performance.
Custom Session Tracker (KN)**Custom Session Tracker (KN)**
Visually highlight any intraday session’s high, low, and midpoint on your chart with full styling control.
**Description**
Custom Session Tracker (KN) lets you define any trading session (e.g. 09:30–16:00 NY time) and automatically draws:
* A translucent box spanning the session’s High and Low
* A horizontal line marking the session midpoint
All elements update in real time and persist after session close.
**Features**
* **Session Range Box**: Plots from session open through close
* **Mid-Price Line**: Marks the exact midpoint of High/Low
* **Timezone Input**: Aligns session to any GMT offset
* **Custom Colors**: Fill, border, and mid-line colors
* **Line & Border Styles**: Choose solid or dashed
**Inputs**
* **Timezone** – GMT offset for your market
* **Session** – Hours in `HHMM-HHMM` format
* **Fill Color** – Box interior transparency
* **Border Color** – Box outline
* **Box Border Style** – Solid or dashed
* **Midline Color** – Mid-price line color
* **Mid Price Line Style** – Solid or dashed
**How to Use**
1. Add the script to your chart.
2. Set your session hours and timezone.
3. Customize colors and styles.
4. Watch each session’s high, low, and midpoint appear automatically.
Perfect for session-overlap strategies, mean-reversion signals, or simply keeping key levels in view.
True OpensTrue Opens: Pinpoint Key Inflection Levels
This indicator plots "True Open" price levels for Monthly, Weekly, Daily, and key intraday Sessions. Unlike generic opens, these are anchored to precise New York kickoff times (e.g., True Month Open from the second Sunday at 18:00 NY).
Especially valuable for Futures traders, these levels frequently act as significant support/resistance, offering clear reference points for your analysis.
Conceptual framework based on Daye's Quarterly Theory.
Auto Session PredictorAuto Session Predictor: Intelligent Market Timing & Forecasting
Unlock the power of session-based trading with the Auto Session Predictor, a sophisticated indicator designed to analyze and forecast potential directional movements based on historical session behavior.
Key Features & Benefits:
Comprehensive Session Tracking: Automatically identifies and visualizes key trading sessions (Pre-Market, Regular Market, After Hours) with customizable start/end times and colors. Optional session range boxes and labels provide clear visual context on your chart.
Intelligent Adaptive Prediction Engine: Goes beyond simple historical averages. Inspired by advanced learning techniques, this indicator analyzes past session data (Volatility, Momentum, Volume, Day of Week patterns) to learn which factors have been most predictive for future session outcomes.
Dynamic Adaptive Weights: A unique feature that constantly evaluates the performance of different factors (Volatility, Momentum, Day of Week) and automatically assigns higher weights to those that have been more successful in predicting market direction, ensuring the prediction model adapts to changing market conditions.
Higher Timeframe Context: Incorporates analysis from a higher timeframe (e.g., Daily) to provide a broader market perspective, adjusting predictions to align with overarching trends and market sentiment.
Predictive Insights: Generates data-driven predictions for the upcoming trading sessions:
Predicts the Regular Market direction based on the preceding Pre-Market session.
Predicts the After Hours direction based on the preceding Regular Market session.
Confidence Scoring: Each prediction comes with a clear confidence score, helping you gauge the reliability of the forecast based on the historical data match.
Visual Signals: Displays clear Bullish (↑), Bearish (↓), or Neutral (→) signals directly on the chart at the end of sessions, based on the prediction and your chosen confidence threshold.
Informative Dashboard: A customizable on-chart dashboard provides a concise summary of:
Current session status (Active/Inactive)
Real-time session momentum
The current prediction (Bullish/Bearish/Neutral) for the next session
The confidence level of that prediction
Key model settings (Training Window, Feature Usage)
Visibility into the dynamically adjusting Adaptive Weights.
Fully Customizable: Tailor the indicator to your specific needs with extensive input options for session times, colors, visual elements, prediction thresholds, feature selection (Vol, Mom, DoW), adaptive weight settings, and dashboard appearance.
The Auto Session Predictor is a powerful tool for traders looking to gain an edge by understanding and anticipating potential directional biases based on proven session dynamics and an intelligent, adaptive prediction model.
Real-Time Open Levels with Labels + Info TableReal-Time Multi-Timeframe Open Levels with Labels & Info Panel
Overview
This indicator displays real-time opening price levels across multiple timeframes (Monthly, Weekly, Daily, 4H) directly on your chart. It features:
• Dynamic horizontal lines extending through each timeframe period
• Customizable labels with text/colors
• Special 4H line treatment for the last hour (5-min charts only)
• Integrated information panel showing symbol, timeframe, and price changes
! (www.tradingview.com)
*Example showing multiple timeframe levels with labels and info panel*
---
Features & Configuration
1. Monthly Settings
! (www.tradingview.com)
Show Monthly: Toggle visibility of monthly opening price
Color: Semi-transparent blue (#2196F3 at 70% opacity)
Width: 2px line thickness
Style: Solid/Dotted/Dashed
Label: Display "M-Open" text with white text on blue background
2. Weekly Settings
! (www.tradingview.com)
Show Weekly: Toggle weekly opening price visibility
Color: Semi-transparent red (#FF5252 at 70% opacity)
Width: 1px thickness
Style: Dotted by default
Label: "W-Open" text in white on red background
3. Daily Settings
! (www.tradingview.com)
Show Daily: Toggle daily opening price
Color: Amber (#FFA000 at 70% opacity)
Width: 2px thickness
Style: Solid
Label: "D-Open" in white on orange background
---
4. 4-Hour Settings (5-Minute Charts Only)
Special Features for 5-Min Timeframe:
1. Standard 4H Line
• First 3 hours: Green (#4CAF50) dashed line
• Last hour: Bright red solid line (configurable)
• Vertical divider between 3rd/4th hours
2. Configuration Options
• Main 4H Line:
◦ Color/Width/Style for initial 3 hours
◦ Toggle label ("H4-Open") visibility and styling
• Final Hour Enhancement:
*Last Hour Line*
◦ Unique red color and line style
◦ Separate width (1px) and style (Solid)
*Divider Line*
◦ Vertical red dotted line marking last hour
◦ Adjustable position/width/transparency
! (www.tradingview.com)
*4H levels showing 3-hour segment and final hour treatment*
---
5. Info Panel Settings
Positioning:
• Anchor to any chart corner (Top/Bottom + Left/Right combinations)
• Three text sizes: Title (Huge), Change % (Large), Signature (Small)
Display Elements:
• Symbol: Show exchange prefix (e.g., "NASDAQ:")
• Timeframe: Current chart period (e.g., "5m")
• Change %: 24-hour price movement ▲/▼ percentage
• Custom Signature: Add text/username in footer
Styling:
• Semi-transparent white text (#ffffff77)
• Currency pair formatting (e.g., BTC/USD vs BTC-USD)
! (www.tradingview.com)
*Sample info panel with all elements enabled*
---
Usage Tips
1. Multi-Timeframe Context: Use levels to identify key daily/weekly support/resistance
2. 4H Trading: On 5-min charts, watch for price reactions near final hour transition
3. Customization:
• Match line colors to your chart theme
• Use different labels for clarity (e.g., "Weekly Open")
• Disable unused elements to reduce clutter
4. Divider Lines: Helps identify institutional trading periods (hour closes)
---
*Created using Pine Script v6. For optimal performance, use on charts <1H timeframe. ()*
VWAP Breakout Strategy + EMAs + Clean Cycle/TP/SL PlotsHere’s a quick user-guide to get you up and running with your “VWAP Breakout Strategy + EMAs + Clean Cycle/TP/SL Plots” script in TradingView:
⸻
1. Installing the Script
1. Open TradingView, go to Pine Editor (bottom panel).
2. Paste in your full Pine-v6 code and hit Add to chart.
3. Save it (“Save as…”): give it a memorable name (e.g. “VWAP Breakout+EMAs”).
⸻
2. Configuring Your Inputs
Once it’s on the chart, click the ⚙️ Settings icon to tune:
Setting Default What it does
ATR Length 14 Period for average true range (volatility measure)
ATR Multiplier for Stop 1.5 How many ATRs away your stop-loss sits
TP1 / TP2 Multipliers (ATR) 1.0 / 2.0 Distance of TP1 and TP2 in ATR multiples
Show VWAP / EMAs On Toggles the blue VWAP line & EMAs (100/34/5)
Full Cycle Range Points 200 Height of the shaded “cycle zone”
Pivot Lookback 5 How many bars back to detect a pivot low
Round Number Step 500 Spacing of your dotted horizontal lines
Show TP/SL Labels On Toggles all the “ENTRY”, “TP1”, “TP2”, “STOP” tags
Feel free to adjust ATR multipliers and cycle-zone size based on the instrument’s typical range.
⸻
3. Reading the Signals
• Long Entry:
• Trigger: price crosses above VWAP
• You’ll see a green “Buy” tag at the low of the signal bar, plus an “ENTRY (Long)” label at the close.
• Stop is plotted as a red dashed line below (ATR × 1.5), and TP1/TP2 as teal and purple lines above.
• Short Entry:
• Trigger: price crosses below VWAP
• A red “Sell” tag appears at the high, with “ENTRY (Short)” at the close.
• Stop is the green line above; TP1/TP2 are dashed teal/purple lines below.
⸻
4. Full Cycle Zone
Whenever a new pivot low is detected (using your Pivot Lookback), the script deletes the old box and draws a shaded yellow rectangle from that low up by “Full Cycle Range Points.”
• Use this to visualize the “maximum expected swing” from your pivot.
• You can quickly see whether price is still traveling within a normal cycle or has overstretched.
⸻
5. Round-Number Levels
With Show Round Number Levels enabled, you’ll always get horizontal dotted lines at the nearest multiples of your “Round Number Step” (e.g. every 500 points).
• These often act as psychological support/resistance.
• Handy to see confluence with VWAP or cycle-zone edges.
⸻
6. Tips & Best-Practices
• Timeframes: Apply on any intraday chart (5 min, 15 min, H1…), but match your ATR length & cycle-points to the timeframe’s typical range.
• Backtest first: Use the Strategy Tester tab to review performance, tweak ATR multipliers or cycle size, then optimize.
• Combine with context: Don’t trade VWAP breakouts blindly—look for confluence (e.g. support/resistance zones, higher-timeframe trend).
• Label clutter: If too many labels build up, you can toggle Show TP/SL Labels off and rely just on the lines.
⸻
That’s it! Once you’ve added it to your chart and dialed in the inputs, your entries, exits, cycle ranges, and key levels will all be plotted automatically. Feel free to experiment with the ATR multipliers and cycle-zone size until it fits your instrument’s personality. Happy trading!
Seasonality DOW CombinedOverall Purpose
This script analyzes historical daily returns based on two specific criteria:
Month of the year (January through December)
Day of the week (Sunday through Saturday)
It summarizes and visually displays the average historical performance of the selected asset by these criteria over multiple years.
Step-by-Step Breakdown
1. Initial Settings:
Defines minimum year (i_year_start) from which data analysis will start.
Ensures the user is using a daily timeframe, otherwise prompts an error.
Sets basic display preferences like text size and color schemes.
2. Data Collection and Variables:
Initializes matrices to store and aggregate returns data:
month_data_ and month_agg_: store monthly performance.
dow_data_ and dow_agg_: store day-of-week performance.
COUNT tracks total number of occurrences, and COUNT_POSITIVE tracks positive-return occurrences.
3. Return Calculation:
Calculates daily percentage change (chg_pct_) in price:
chg_pct_ = close / close - 1
Ensures it captures this data only for the specified years (year >= i_year_start).
4. Monthly Performance Calculation:
Each daily return is grouped by month:
matrix.set updates total returns per month.
The script tracks:
Monthly cumulative returns
Number of occurrences (how many days recorded per month)
Positive occurrences (days with positive returns)
5. Day-of-Week Performance Calculation:
Similarly, daily returns are also grouped by day-of-the-week (Sunday to Saturday):
Daily return values are summed per weekday.
The script tracks:
Cumulative returns per weekday
Number of occurrences per weekday
Positive occurrences per weekday
6. Visual Display (Tables):
The script creates two visual tables:
Left Table: Monthly Performance.
Right Table: Day-of-the-Week Performance.
For each table, it shows:
Yearly data for each month/day.
Summaries at the bottom:
SUM row: Shows total accumulated returns over all selected years for each month/day.
+ive row: Shows percentage (%) of times the month/day had positive returns, along with a tooltip displaying positive occurrences vs total occurrences.
Cells are color-coded:
Green for positive returns.
Red for negative returns.
Gray for neutral/no change.
7. Interpreting the Tables:
Monthly Table (left side):
Helps identify seasonal patterns (e.g., historically bullish/bearish months).
Day-of-Week Table (right side):
Helps detect recurring weekday patterns (e.g., historically bullish Mondays or bearish Fridays).
Practical Use:
Traders use this to:
Identify patterns based on historical data.
Inform trading strategies, e.g., avoiding historically bearish days/months or leveraging historically bullish periods.
Example Interpretation:
If the table shows consistently green (positive) for March and April, historically the asset tends to perform well during spring. Similarly, if the "Friday" column is often red, historically Fridays are bearish for this asset.
PSP Candel Analyzer V2.0PSP Candle Analyzer V2.0
Multi-Symbol Candle State & Session Open Table (Replay Mode Compatible)
Indicator Overview:
The PSP Candle Analyzer V2.0 is designed for fast, visual candle direction analysis and structural comparison across multiple markets or indices in various timeframes.
It is ideal for traders who monitor several related instruments (e.g., Nasdaq, S&P 500, Dow Jones) and need quick insight into price action and candle structure divergence.
Key Features
1. Ultra-Compact, Color-Coded Table:
Displays a table in the chart corner showing the state (up, down, neutral) of each selected symbol for multiple timeframes (5m to 6h).
Each row: a timeframe.
Each column: the first letter of each symbol, colored by candle direction (bright blue = up, bright red = down, bright yellow = neutral).
Clean, minimal design for maximum readability—even on small monitors.
2. Automatic & Flexible Symbol Selection:
The indicator always includes the active chart’s symbol as the first column, automatically.
You can add 1 to 4 extra symbols in the settings (up to 5 symbols total for comparison).
3. Structural Divergence Highlighting:
If one symbol’s candle direction differs from others in a given timeframe, that row is highlighted (bright green) for fast detection of cross-market divergences.
4. Session Opening Lines (Dynamic Lines):
Dotted lines are drawn for key session opens: 6:00, 8:30, and 9:30 (New York time).
Each line’s color, length, and visibility are fully customizable.
Labels (“6:00”, “8:30”, “9:30”) appear precisely at the end of each line, matching pro indicators like NYO/TDO.
5. 100% Replay Mode Compatible:
Unlike many table-based indicators, this version is fully compatible with TradingView’s Replay Mode:
Table, colors, and lines are always updated in real time as you step through history or use auto-play.
No lags, glitches, or delayed updates—tested and verified.
6. Fully Customizable & Minimalist:
Adjust the number of symbols, table font size, color themes, session line length, and more—all from the settings panel.
Table stays compact and legible, regardless of setup.
How to Use
Add the indicator to your chart.
The active chart symbol is automatically included in the table.
Use settings to add up to 4 more symbols for cross-market analysis (e.g., CME_MINI:ES1! for S&P500, CBOT_MINI:YM1! for Dow Jones, etc).
Instantly compare candle direction for all symbols and timeframes, with divergence rows highlighted.
Session open lines with precise time labels will be drawn on your chart (fully customizable).
Other Notes
No timezone issues: Session opens (6:00, 8:30, 9:30 NY) are always aligned with official market times.
Table remains ultra-compact and non-intrusive, even on small screens.
Replay Mode problem is fully solved—the table and dynamic lines always update in sync with price and candles in historical mode.
Keywords:
Candle Analyzer, Multi-Symbol Table, Session Open Lines, Replay Compatible, NASDAQ, S&P500, Dow Jones, CME, CBOT, Candle Structure, Market Divergence, Pine Script v6, Real-Time Table, Pro Trading Tools
Feedback, bug reports, or questions? Leave a comment or DM! Happy trading!
Minervini Trend Template (EMA)📄 Description:
This script is inspired by Mark Minervini’s SEPA (Specific Entry Point Analysis) strategy and adapts his famous Trend Template using Exponential Moving Averages (EMAs). It helps traders visually identify technically strong stocks that are in ideal buy conditions based on Minervini's rules.
📈 Strategy Logic:
This script scans for momentum breakouts by filtering stocks with the following characteristics:
✅ Buy Criteria (All Conditions Must Be Met):
Price above 50-day EMA
Price above 150-day EMA
Price above 200-day EMA
50-day EMA above 150-day EMA
150-day EMA above 200-day EMA
200-day EMA trending upward (greater than it was 20 days ago)
Price within 25% of its 52-week high
Price at least 30% above its 52-week low
If all 8 conditions are satisfied, the script triggers a SEPA Setup Signal. This is visually indicated by:
✅ A green background on the chart
✅ A label saying “SEPA Setup” under the bar
🛒 When to Buy:
Wait for the stock to break out above a recent base or consolidation pattern (like a cup-with-handle or flat base) on strong volume.
The ideal entry is within 5% of the breakout point.
Confirm that the SEPA conditions are met on the breakout day.
📉 When to Sell:
Place a stop-loss 5–8% below your entry price.
Exit if the breakout fails and price falls back below the pivot or the 50-day EMA.
Take partial profits after a 20–25% gain, and move your stop-loss up to breakeven or trail it using moving averages like the 21 or 50 EMA.
Exit fully if price closes below the 50-day or 150-day EMA on volume.
🧠 Why EMAs?
EMAs react faster to recent price action than SMAs, helping you catch earlier signals in fast-moving markets. This makes it especially useful for growth and momentum traders following Minervini’s high-performance approach.
📊 How to Use:
Apply the script to any stock chart (daily timeframe recommended).
Look for a green background + SEPA Setup label.
Combine with price/volume analysis, base patterns, and market context to time your entries.
🚨 Optional Alerts:
You can set an alert on the condition minerviniPass == true to notify you when a SEPA-compliant setup appears.
📚 This tool is meant for educational and research purposes. Always validate with your own due diligence and consult your risk plan before making any trades.
Gabriel's Squeeze Momentum PRO“Gabriel’s Squeeze Momentum PRO” is a next-generation evolution of the classic SQZMOM concept. It layers multiple John Ehlers filters, Jurik smoothing, adaptive cycle-detection, and a Cauchy-weighted price filter on top of the familiar Bollinger-Band-inside-Keltner-Channel squeeze logic. The goal is to pinpoint volatility contractions and immediately gauge whether forthcoming expansion is likely to break bullish or bearish—while screening out noise, lag, and regime shifts across any symbol or timeframe.
1 · What the script plots
Plot What it represents Why it matters
Momentum line (teal/red) Price-de-trended linear-regression of a Cauchy-filtered source, optionally normalized. Measures directional thrust during / after a squeeze.
Signal line (white JMA) Jurik moving average of the momentum line. Smooth trigger for crossovers / reversals.
Squeeze dots (blue, black, red, yellow, purple, green) Real-time volatility state: No squeeze → Wide → Normal → Narrow → Very Narrow → Fired. Helps anticipate explosive moves as BB exits KC.
Cyclic RSI bands (cyan / fuchsia) Dynamic overbought / oversold bands derived by MESA dominant-cycle analysis. Contextualizes momentum extremes—no fixed 70/30.
Rate-of-Change (optional) (orange / blue shading) ROC of the momentum-signal spread, scaled. Highlights acceleration / deceleration.
Reversal guide lines (optional colored rays) Drawn when momentum crosses its JMA and reversal-mode is on. Visual confirmation of early trend change.
2 · Key engine components
Cauchy PDF-weighted moving average
Creates a heavy-tailed weighting curve; center bars dominate while still capturing fat-tail outliers—excellent for choppy instruments or volume-weighting (Volume weighted?).
Butterworth High-Pass & Super-Smoother Low-Pass
Strip out drift, then smooth what’s left. This isolates true cyclic motion before momentum is computed.
Fast RMS normalizer
Converts the band-pass output into a unit-scale “power” reading—vital for adaptive thresholds.
Goertzel + MESA dominant-cycle
Auto-detects fast & slow cycles, then blends them to size overbought / oversold bands and to set the adaptiveLength (if Use Adaptive Length? is enabled).
Jurik RSX & JMA
Provide ultra-low-lag smoothing for momentum and for reversal detection.
3 · Input groups and how to tune them
Group Why change it Tips
Normalization (Unbounded / Min-Max / Standard Deviations) Puts momentum & signal on the scale that best suits the asset. Crypto / small-caps: StdDev (handles volatility).
FX / indices: Min-Max or leave unbounded for raw juice.
Cauchy Distribution Tailors the Cauchy filter. Gamma ↓ (0.1-0.4) ⇒ faster / riskier. Use Adaptive Length pairs it with MESA cycle length for auto speed control.
Rate of Change Visual momentum acceleration. Leave off (Show Rate of Change = false) if you want a cleaner pane.
Momentum Colors / Directional Momentum? Switch between classic SQZMOM coloring and trend-biased histogram. Turn on when you prefer “green-gets-greener / red-gets-redder” style signals.
Squeeze Colors & Thresholds Fine-tune what “wide / normal / narrow” mean. Larger assets (SPX, BTC-Perp): raise the thresholds a touch. Thin or low-ATR symbols: lower them.
Multi-Time-frame blocks (1 h, 4 h, D, W, M) Pre-sets for BB/KC length, squeeze thresholds, and reversal MA length per TF. The script auto-detects the chart timeframe and loads the matching row—just adjust each block once.
Reversal Signals Whether to draw vertical rays on momentum crossovers. Use on swing-trading timeframes (≥1 h) to catch early momentum flips.
4 · How to read & trade it
Scan for purple / yellow / red dots
These indicate Very-Narrow, Narrow, and Normal squeezes—markets are coiling.
Wait for a fired squeeze (green dot)
BB has pushed outside KC; volatility is expanding. Momentum direction often dictates breakout bias.
Check momentum relative to zero & signal
Bullish setup: Momentum > 0 and crossing above signal. Bearish setup: Momentum < 0 and crossing below signal. Alerts “Bullish / Bearish Trend Reversal” are raised here if enabled.
Validate with cyclic bands
If momentum launches from near the lower cyan band, bullish moves are higher-probability (symmetrical for upper fuchsia band).
Confirm trend strength
Directional-momentum histogram keeps turning brighter in trend direction; ROC is above zero and rising.
Manage the trade
First target = prior squeeze mid-range or recent swing high/low.
Consider scaling out when momentum weakens (histogram fades) or reverses through signal line.
Optional: draw the reversal rays to highlight exit zones automatically.
5 · Practical workflows
Scalpers (1-5 min)
Uncheck Use Adaptive Length, set main Length to 10-12, Gamma to 0.3.
Use ROC for ultra-fast divergences.
Treat Normal squeezes (red) as tradable; ignore Wide. Healthy Volume is ideal.
Swing traders (1 h – 4 h)
Keep default adaptive length; enable 1-H/4-H reversal blocks.
Trade only after Very-Narrow/Narrow squeezes; ride until weekly/daily reversal ray prints.
Position / Trend followers (Daily+)
Raise Wide/Normal thresholds a bit (e.g., 2.2 / 1.7).
Momentum normalization = Standard Deviations to filter regime shifts.
Combine with higher-timeframe MTF panel or moving-average ribbons.
6 · Built-in alert catalog
Alert name Fires when Typical action
🟢 Fired Squeeze Green dot appears (vol expansion already under way) Stay in trend or add on pullbacks.
🟠 Low / 🔴 Normal / 🟡 Tight / 🟣 Very Tight Respective squeeze engages Get your watch-list ready; plan trades.
🐂 Bullish / 🐻 Bearish Trend Reversal Momentum crosses signal in requested direction Entry / exit / scale adds.
Set alerts on “Once Per Bar Close” for reliable signals.
7 · Best practices & caveats
Context is king – Use higher-timeframe structure (support/resistance, VWAP, market profile) to avoid false breakouts.
Data quality – On illiquid symbols, consider turning volume weighting off (pre-market gaps distort results).
Normalization choice – Mixing different normalizations across charts can confuse muscle memory; pick one style per asset class.
Lag vs. noise – If entries feel late, lower Gamma or disable adaptive length. If too jumpy, increase Length or choose Standard-Deviation normalization.
Not a stand-alone holy grail – Combine with risk management (ATR-based stops, Kelly-fraction sizing) and confirm with price action.
Harness the script’s adaptive filtering, multi-TF presets, and rich alert suite to spot compression, time breakouts, and stay on the right side of momentum—whether you’re scalping ES futures or swing-trading alt-coins.
Candle Eraser (New York Time, Dropdown)If you want to focus on first 3 hours of Asia, London> and New York, inspired by Stacey Burke Trading 12 Candle Window Concept
- Set your time to UTC-4 New York
RSI with Divergences and Trendlines by zenDisplays the standard Relative Strength Index (RSI). The RSI period, line color, and thickness are customizable by the user (defaulting to a 14-period, thin black line).
Includes traditional horizontal lines at the 70 (overbought) and 30 (oversold) levels. The background area between these levels is filled with a customizable color (defaulting to a transparent black).
The indicator intelligently analyzes the RSI's own movements to identify significant recent turning points (peaks and troughs).
It then automatically draws short trendline segments directly on the RSI chart. These lines connect recent, consecutive RSI turning points, dynamically highlighting the indicator's internal structure and immediate directional momentum.
Users can configure the sensitivity used to detect these RSI turning points via 'Pivot Lookback' settings. You can also customize the maximum number of recent trendlines displayed for upward and downward RSI movements (default is 5 each), as well as their colors and width.
These on-RSI trendlines do not extend into the future.
RSI - SECUNDARIO - mauricioofsousaSecondary RSI – MGO
Reading the rhythm behind the price action
The Secondary RSI is a specialized oscillator developed as part of the MGO (Matriz Gráficos ON) methodology. It works as a refined strength filter, designed to complement traditional RSI readings by isolating the true internal rhythm of price action and reducing the influence of market noise.
While the standard RSI measures price momentum, the Secondary RSI focuses on identifying breaks in oscillatory balance—the moments when the market shifts from accumulation to distribution or from compression to expansion.
🎯 What the Secondary RSI highlights:
Internal imbalances in energy between buyers and sellers
Micro-divergences not visible on standard RSI
Areas of price fatigue or overextension that often precede reversals
Confirmation zones for MGO oscillatory events (RPA, RPB, RBA, RBB)
📊 Recommended use:
Combine with the Primary RSI for dual-layer validation
Use as a noise-reduction tool before entering trends
Ideal in medium timeframes (12H / 4H) where oscillatory patterns form clearly
🧠 How it works:
The Secondary RSI recalculates the momentum signal using a block-based interpretation (aligned with the MGO structure) instead of simply following raw candle data. It adapts to the periodic nature of price behavior and provides the trader with a more stable and reliable measure of true market strength.