Mid-Term Refuges by MFCMid-Term Refuges by MFC
Description in English
OverviewThe "Mid-Term Refuges by MFC" indicator is a versatile tool designed for TradingView, tailored for mid-term and short-term traders. It combines Classic Pivots, Higher Highs/Lower Highs/Lower Lows/Higher Lows (HH/HL/LL/LH), Daily/Weekly/Monthly/Annual Open Levels, Mid-Term Levels based on the annual open, and the All-Time High (ATH) level. Ideal for swing trading, day trading, and market structure analysis, it offers customizable visualizations to adapt to various trading styles and timeframes.
Key Features
1. Classic Pivots
Purpose: Displays pivot points (PP, S1, R1, S2, R2, S3, R3) calculated from the high, low, and close of a selected timeframe.
Visualization: Lines for the central pivot (PP), supports (S1, S2, S3), and resistances (R1, R2, R3), with customizable colors and styles.
Customization:
Enable/disable pivot lines and price labels.
Select pivot timeframe (1H, 4H, 8H, D, W, M, 12M).
Adjust colors, line thickness (1-4), and styles (solid, dashed, dotted).
Show pivots on all timeframes or only higher ones.
Display price values on lines with customizable text color and size.
2. HH/HL/LL/LH Pivots
Purpose: Identifies Higher Highs (HH), Lower Highs (LH), Lower Lows (LL), and Higher Lows (HL) to detect trend continuations or reversals.
Visualization: Dashed lines and labels at pivot points, with green for HH/LH and red for LL/HL.
Customization:
Enable/disable HH/HL/LL/LH pivots.
Adjust left/right bars (default: 5) for pivot sensitivity.
Set colors for each pivot type and limit historical pivots (up to 20).
Customize label text size and color.
3. Open Levels (Daily, Weekly, Monthly, Annual)
Purpose: Plots open prices for daily, weekly, monthly, and annual periods as key reference levels.
Visualization: Horizontal lines with labels showing the open price, updated at the start of each period.
Customization:
Enable/disable individual open levels.
Show on all timeframes or restrict to higher timeframes.
Adjust colors, line thickness (1-4), and styles (solid, dashed, dotted).
Display price labels with customizable text color and size.
4. Mid-Term Levels
Purpose: Displays upper (L1 to L8+) and lower (L-1 to L-8+) levels based on the annual open, calculated using customizable percentages.
Visualization: Dotted lines with labels for up to 8 default levels plus additional levels (up to 10).
Customization:
Enable/disable mid-term levels.
Set upper/lower percentages (default: 10%) and additional levels (0-10).
Adjust colors and line styles for primary and additional levels.
5. All-Time High (ATH)
Purpose: Tracks and displays the all-time high price of the asset.
Visualization: A horizontal line with a label at the ATH level, updated dynamically.
Customization:
Enable/disable ATH line and label.
Adjust color, line thickness (1-4), and style (solid, dashed, dotted).
Customize label text size and color.
6. Debugging Table
Purpose: Provides a table with real-time data for debugging and analysis.
Visualization: A table in the top-right corner showing pivot values, open levels, mid-term levels, and ATH.
Customization: Enable/disable the table.
Indicator Settings
General Settings
Show Debugging Table: Toggle the debugging table.
Pivot Timeframe: Select timeframe for classic pivots (1H, 4H, 8H, D, W, M, 12M).
Show Classic Pivots: Enable/disable classic pivot lines.
Show HH/HL/LL/LH Pivots: Enable/disable trend pivot lines.
Show Open Levels: Enable/disable daily, weekly, monthly, and annual open lines.
Classic Pivots
Colors and Styles: Set colors and styles (solid, dashed, dotted) for PP, S1, R1, S2, R2, S3, R3.
Line Thickness: Adjust line thickness (1-4).
Show Price Labels: Toggle price values on pivot lines.
Text Color and Size: Customize label appearance.
Enable on All Timeframes: Show pivots on intraday timeframes.
HH/HL/LL/LH Pivots
Left/Right Bars: Set sensitivity (default: 5 bars).
Colors: Green for HH/LH, red for LL/HL.
Max Historical Pivots: Limit displayed pivots (1-20).
Open Levels
Enable Daily/Weekly/Monthly/Annual: Toggle individual open levels.
Enable on All Timeframes: Show open levels on intraday timeframes.
Colors and Styles: Set colors and styles for each open level.
Line Thickness: Adjust thickness (1-4).
Show Price Labels: Toggle price values with customizable text color and size.
Mid-Term Levels
Enable Mid-Term Levels: Toggle upper/lower levels.
Upper/Lower Percentages: Set percentages (default: 10%).
Additional Levels: Add up to 10 extra levels.
Colors and Styles: Customize for primary and additional levels.
ATH
Show ATH: Toggle ATH line and label.
Color, Thickness, Style: Customize appearance.
Show Price Label: Toggle ATH price with customizable text.
How to Use
Add to Chart:
Search for "Mid-Term Refuges by MFC" in TradingView’s indicators and add it.
Initial Setup:
By default, all features (pivots, open levels, mid-term levels, ATH) are enabled.
Adjust colors, styles, percentages, and timeframes to match your strategy.
Interpretation:
Classic Pivots: Use PP, S1, R1, S2, R2, S3, R3 as support/resistance zones for entries, exits, or stops.
HH/HL/LL/LH Pivots: Identify trend direction (HH/HL for bullish, LL/LH for bearish) or reversals.
Open Levels: Use daily, weekly, monthly, and annual opens as key reference points for price reactions.
Mid-Term Levels: Monitor upper (L1 to L8+) and lower (L-1 to L-8+) levels for mid-term trend targets.
ATH: Track the all-time high as a critical resistance level.
Debugging Table: Review real-time values for pivots, opens, and levels.
Timeframes:
Ideal for swing trading (4H, D, W) and day trading (1H, 15M).
Enable "All Timeframes" for intraday analysis (1M, 5M).
Customization:
Adjust pivot sensitivity (left_bars, right_bars) for HH/HL/LL/LH.
Fine-tune percentages for mid-term levels and line styles for clarity.
Notes and Recommendations
Swing Trading: Use higher timeframes (4H, D, W) for classic pivots and mid-term levels to identify key zones.
Day Trading: Enable "All Timeframes" for open levels and pivots on lower timeframes (1M, 5M).
Avoid Clutter: Adjust text size or disable labels if the chart becomes crowded.
Testing: Experiment with pivot timeframes and mid-term level percentages for different markets (Forex, stocks, crypto).
Limitations: In low timeframes, HH/HL/LL/LH pivots may be sensitive to noise. Increase left_bars/right_bars for robustness.
Search in scripts for "weekly"
KVS-Önceki Kapanışlar-Fib-Free-Fix 2-v6New Features Added..
This indicator visualizes previous daily, weekly, monthly and yerly high, low, and 50% (mid) levels on the chart, enabling traders to analyze key price levels. It also offers the option to draw Fibonacci levels between these ranges, enhancing technical analysis. With customizable settings, it is suitable for various markets and timeframes.FeaturesPrevious Levels: Plots previous daily, weekly, monthly and yearly high, low, and 50% (mid) levels. Users can select how many days, weeks, or months back to analyze.
Fibonacci Levels: Supports Standard or Percentage-based Fibonacci levels.
Reverse Mode: Allows reversing the direction of Fibonacci levels to align with bullish or bearish trends.
Active Fib 50% Line: Dynamically displays the 50% level of the Fibonacci range where the price is currently located.
Customizable Visuals: Line styles, widths, colors, and label positions can be adjusted by the user.
Label Options: Fibonacci level labels (ratios/percentages) and price value labels can be independently shown or hidden.
UsageLevel Options: Enable daily, weekly, monthly or yearly levels and specify how many periods back to look.
Fibonacci Settings: Activate Fibonacci levels, choose between Standard or Percentage-based types, reverse the direction if needed, and customize labels.
Active Fib 50% Line: Use this feature to visualize the midpoint of the current Fibonacci range.
Color and Line Settings: Adjust the colors, styles, and widths of lines and labels to match your trading strategy.
Label Offsets: Customize the position of Fibonacci level and price labels on the chart.
NotesThe indicator is versatile and can be used across markets such as stocks, forex, and cryptocurrencies, as well as all timeframes.
Daily levels work on intraday and daily charts, weekly levels on weekly and lower charts, and monthly levels on all charts.
Tailor the settings to your strategy for optimal visualization.
OB/OS adaptative v1.1# OB/OS Adaptative v1.1 - Multi-Timeframe Adaptive Overbought/Oversold Indicator
## Overview
The `tradingview_indicator_emas.pine` script is a sophisticated multi-timeframe indicator designed to identify dynamic overbought and oversold levels in financial markets. It combines EMA (Exponential Moving Average) crossovers and Bollinger Bands across monthly, weekly, and daily timeframes to create adaptive support and resistance levels that adjust to changing market conditions.
## Core Functionality
### Multi-Timeframe Analysis
The indicator analyzes three timeframes simultaneously:
- **Monthly (M)**: Long-term trend identification
- **Weekly (W)**: Intermediate-term trend identification
- **Daily (D)**: Short-term volatility measurement
### Technical Indicators Used
- **EMA 9 and EMA 20**: For trend identification and momentum assessment
- **Bollinger Bands (20-period)**: For volatility measurement and extreme level identification
- **Price action**: For confirmation of level validity and signal generation
## Key Features
### Adaptive Level Calculation
The indicator dynamically determines overbought and oversold levels based on market structure and trend bias:
#### Monthly Level Logic
- **Bullish Bias** (when monthly open > EMA20):
- Oversold = lower of EMA9 or EMA20
- Overbought = upper of EMA9 or Bollinger Upper Band
- **Bearish/Neutral Bias** (when monthly open ≤ EMA20):
- Oversold = Bollinger Lower Band
- Overbought = upper of EMA20 or EMA9
#### Weekly Level Logic
- **Bullish Bias** (when weekly open > EMA20):
- Oversold = lower of EMA9 or EMA20
- Overbought = Bollinger Upper Band
- **Bearish/Neutral Bias** (when weekly open ≤ EMA20):
- Oversold = Bollinger Lower Band
- Overbought = upper of EMA20 or EMA9
#### Daily Level Logic
- Simple Bollinger Bands:
- Oversold = Bollinger Lower Band
- Overbought = Bollinger Upper Band
### Final Level Determination
The indicator combines all three timeframes through a weighted averaging process:
1. Calculates initial values as the average of monthly, weekly, and daily levels
2. Ensures mathematical consistency by enforcing overbought_final ≥ oversold_final using min/max functions
3. Calculates a midpoint average level as the center of the range
### Visual Elements
- **Dynamic Lines**: Draws horizontal lines for current and previous period overbought, oversold, and average levels
- **Labels**: Places clear textual labels at the start of each period
- **Color Coding**:
- Red for overbought levels (resistance)
- Green for oversold levels (support)
- Blue for average levels (pivot point)
- **Transparency**: Previous period lines use semi-transparent colors to distinguish between current and historical levels
### Update Mechanism
- **Calculation Day**: User-defined day of the week (default: Monday)
- On the specified calculation day, the indicator:
- Updates all levels based on previous bar's data
- Draws new lines extending forward for a user-defined number of days
- Maintains previous period lines for comparison and trend analysis
- Automatically deletes and recreates lines to ensure clean visualization
### Proximity Detection
- Alerts when price approaches overbought/oversold levels (configurable distance in percentage)
- Helps identify potential reversal zones before actual crossovers occur
- Distance thresholds are user-configurable for both overbought and oversold conditions
### Alert Conditions
The indicator provides four distinct alert types:
1. **Cross below oversold**: Triggered when price crosses below the oversold level
2. **Cross above overbought**: Triggered when price crosses above the overbought level
3. **Near oversold**: Triggered when price approaches the oversold level within the configured distance
4. **Near overbought**: Triggered when price approaches the overbought level within the configured distance
### Debug Mode
When enabled, displays comprehensive debug information including:
- Current values for all levels (oversold, overbought, average)
- Timeframe-specific calculations and raw data points
- System status information (current day, calculation day, etc.)
- Lines existence and timing information
- Organized in multiple labels at different price levels to avoid overlap
## Configuration Parameters
| Parameter | Default Value | Description |
|---------|---------------|-------------|
| Short EMA (9) | 9 | Length for short-term EMA calculation |
| Long EMA (20) | 20 | Length for long-term EMA calculation |
| BB Length | 20 | Period for Bollinger Bands calculation |
| Std Dev | 2.0 | Standard deviation multiplier for Bollinger Bands |
| Distance to overbought (%) | 0.5 | Percentage threshold for "near overbought" alerts |
| Distance to oversold (%) | 0.5 | Percentage threshold for "near oversold" alerts |
| Calculation day | Monday | Day of week when levels are recalculated |
| Lookback days | 7 | Number of days to extend previous period lines backward |
| Forward days | 7 | Number of days to extend current period lines forward |
| Show Debug Labels | false | Toggle for comprehensive debug information display |
## Trading Applications
### Primary Use Cases
1. **Reversal Trading**: Identify potential reversal zones when price approaches overbought/oversold levels
2. **Trend Confirmation**: Use the adaptive nature of levels to confirm trend strength and direction
3. **Position Sizing**: Adjust position size based on distance from key levels
4. **Stop Placement**: Use opposite levels as dynamic stop-loss references
### Strategic Advantages
- **Adaptive Nature**: Levels adjust to changing market volatility and trend structure
- **Multi-Timeframe Confirmation**: Signals are validated across multiple timeframes
- **Visual Clarity**: Clear color-coded lines and labels enhance decision-making
- **Proactive Alerts**: "Near" conditions provide early warnings before crossovers
## Implementation Details
### Data Security
Uses `request.security()` function to fetch data from higher timeframes (monthly, weekly) while maintaining proper bar indexing with ` ` offset for open prices.
### Performance Optimization
- Uses `var` keyword to declare persistent variables that maintain state across bars
- Efficient line and label management with proper deletion before recreation
- Conditional execution of debug code to minimize performance impact
### Error Handling
- Comprehensive NA (not available) checks throughout the code
- Graceful degradation when data is unavailable for higher timeframes
- Mathematical safeguards to prevent invalid level calculations
## Conclusion
The OB/OS Adaptative v1.1 indicator represents a sophisticated approach to identifying market extremes by combining multiple technical analysis concepts. Its adaptive nature makes it particularly useful in trending markets where static levels may be less effective. The multi-timeframe approach provides a comprehensive view of market structure, while the visual elements and alert system enhance its practical utility for active traders.
KVS-Önceki Kapanışlar-Fib-FreeNew Features Added..
This indicator visualizes previous daily, weekly, and monthly high, low, and 50% (mid) levels on the chart, enabling traders to analyze key price levels. It also offers the option to draw Fibonacci levels between these ranges, enhancing technical analysis. With customizable settings, it is suitable for various markets and timeframes.FeaturesPrevious Levels: Plots previous daily, weekly, monthly and yearly high, low, and 50% (mid) levels. Users can select how many days, weeks, or months back to analyze.
Fibonacci Levels: Supports Standard or Percentage-based Fibonacci levels.
Reverse Mode: Allows reversing the direction of Fibonacci levels to align with bullish or bearish trends.
Active Fib 50% Line: Dynamically displays the 50% level of the Fibonacci range where the price is currently located.
Customizable Visuals: Line styles, widths, colors, and label positions can be adjusted by the user.
Label Options: Fibonacci level labels (ratios/percentages) and price value labels can be independently shown or hidden.
UsageLevel Options: Enable daily, weekly, monthly or yearly levels and specify how many periods back to look.
Fibonacci Settings: Activate Fibonacci levels, choose between Standard or Percentage-based types, reverse the direction if needed, and customize labels.
Active Fib 50% Line: Use this feature to visualize the midpoint of the current Fibonacci range.
Color and Line Settings: Adjust the colors, styles, and widths of lines and labels to match your trading strategy.
Label Offsets: Customize the position of Fibonacci level and price labels on the chart.
NotesThe indicator is versatile and can be used across markets such as stocks, forex, and cryptocurrencies, as well as all timeframes.
Daily levels work on intraday and daily charts, weekly levels on weekly and lower charts, and monthly levels on all charts.
Tailor the settings to your strategy for optimal visualization.
Stochastic Trend Signal with MTF FilterMulti-Timeframe Stochastic Trend Filter – Real Signals with Confirmation Candles
This script is a multi-timeframe Stochastic trend filter designed to help traders identify reliable BUY/SELL signals based on both momentum and higher-timeframe trend context.
It combines three key components:
Entry Signal Logic:
Entry is based on the Stochastic Oscillator (%K, 14,3), where overbought/oversold conditions are detected in the current chart's timeframe.
A green (bullish) candle following a red candle with %K below 20 can trigger a BUY signal.
A red (bearish) candle following a green candle with %K above 80 can trigger a SELL signal.
Trend Confirmation – Daily Filter:
The script uses Stochastic on the 1D (Daily) timeframe to determine whether short-term momentum aligns with a broader daily trend.
BUY signals are only allowed if the Daily %K is above 50.
SELL signals are only allowed if the Daily %K is below 50.
Long-Term Trend Filter – Weekly Stochastic:
A second filter uses Weekly %K:
BUY signals are suppressed if the Weekly trend is bearish (Weekly %K < 50) while Daily %K is bullish (> 50).
SELL signals are suppressed if the Weekly trend is bullish (Weekly %K > 50) while Daily %K is bearish (< 50).
🖼️ The chart background changes color to visually assist users:
Green background: bullish alignment on Daily and Weekly Stochastic.
Red background: bearish alignment.
Gray background: trend conflict (Daily and Weekly disagree).
✅ This script is ideal for swing traders or position traders who want to enter with confirmation while avoiding false signals during trend conflict zones.
🔔 Alerts are provided for BUY and SELL signals once all conditions are met.
How to use:
Apply on timeframe (4H recommended).
Add alerts for "BUY Alert" and "SELL Alert".
Use background color and plotted labels as entry filters.
Disclaimer: This is not financial advice. Always use proper risk management and test on demo accounts first.
Daily ATR Bonanza: Expected Moves - Tr33man Daily ATR Bonanza: Expected Moves
Overview 🤷♂️
The Daily ATR Bonanza script is a powerful trading tool designed to help traders visualize and understand potential price movements using the Average True Range (ATR). It provides daily and weekly ATR levels, historical statistics, and conditional probability analysis to give traders actionable insights. The script also plots the daily Keltner channel. This script is ideal for traders who want to gauge volatility, identify key levels, and make data-driven decisions.
b]Key Features:
📈 1. Daily and Weekly ATR Levels
🔵ATR Levels: The script calculates and displays ATR-based levels for the day and week. These levels are derived from the previous day's or week's close price and are adjusted using customizable multipliers (0.5x, 1x, and 1.5x by default).
🔵You can choose the number of ATR levels (1, 2, or 3) and adjust the multipliers to suit your trading strategy.
🌐 2. ATR Bands (Keltner Channels)
🔵The script includes an option to display ATR Bands, which are volatility-based envelopes around a moving average. These bands help identify overbought and oversold conditions.
🔵You can adjust the ATR multiplier and the length of the moving average used for the bands.
🧮 3. Historical Statistics and Conditional Probability
🔵 Historical Analysis: The script analyzes historical price movements to calculate the likelihood of closing at certain ATR levels.
🔵 Conditional Probability: This feature shows the probability of the price reaching specific ATR levels given the current market conditions. The conditional matches historical data by an open in the same opening ATR bucket, as well as the current price bucket having been visited in the historical case. Conditional probabilities are just statistics, and do not predict anything.
Data Table: 📚
🔵 Historical Close Probability: The percentage of days the price closed within each ATR level.
🔵 Conditional Close Probability: The likelihood of the price closing within each ATR level today.
❓ What is Conditional Probability? ❓
Conditional probability is a statistical measure that calculates the likelihood of an event occurring given that another event has already occurred. In this script, it is used to determine the probability of the price reaching specific ATR levels based on the current opening range as well as current ATR distance from the previous close.
For example:
If the market opens near the lower end of the first ATR level, the script calculates the likelihood of the price reaching the upper end of the first, second, or third ATR level.
This analysis is based on historical data, making it a powerful tool for understanding potential price movements.
🌟 Understanding the Levels
🔵Daily Levels: These are based on the previous day's close price and ATR. They are updated at the start of each new day.
🔵Weekly Levels: These are based on the previous week's close price and ATR. They are updated at the start of each new week.
🔵ATR Bands: These are dynamic levels that adjust with market volatility.
🔬 Analyze the Statistics (Daily only for now, no weekly yet)
🔵Use the interactive table to understand historical probabilities and conditional probabilities.
🔵Focus on the current opening range and the likelihood of reaching specific levels.
🧠 Make Trading Decisions
🔵Use the ATR levels and bands to identify key support and resistance levels.
🔵Use the conditional probability table to gauge the likelihood of reaching specific targets.
🔵Adjust your strategy based on the historical performance of the market.
Example Use Cases
1. Day Trading
Use the daily ATR levels to set intraday targets and stop-loss levels.
Monitor the conditional probability table to adjust your expectations based on the opening range.
2. Swing Trading
Use the weekly ATR levels to identify longer-term support and resistance levels.
3. Scalping
Use the ATR bands to identify overbought and oversold conditions.
Use the conditional probability table to quickly assess the likelihood of price movements.
Polaris Trend All-in-One📘 Polaris Trend Indicator: Trading Rules & Strategy
Guide
The Polaris Trend Indicator is designed to simplify trading decisions by identifying key entry
and exit signals without the need for excessive technical analysis. This system combines the
Polaris Trend with the Polaris Golden Wave and Market Bias tools to give you confidence
across multiple timeframes.
This guide outlines clear trading rules for two use cases:
● Swing Trading
● Long-Term Investing and Holding
⚡ Swing Trading Strategy
Swing trading can be challenging when the market direction is unclear. The Polaris Trend helps
traders stay on the right side of momentum with straightforward visual signals. This approach is
best used on the Daily or Weekly chart.
✅ Entry Criteria (Bullish Trades)
● A solid green column appears above the zero line.
● A green upward arrow confirms bullish momentum.
● Enter your trade immediately when the green column first appears.
● Hold the trade until a red column appears, signaling a shift in momentum.
🚫 Exit Criteria (Bullish Trades)
● The first appearance of a red column after a green run.
● Multiple green columns followed by a red column.
● Do not enter trades mid-trend; always enter on the first green flip.
***Recommended Swing Strategy
● When a new daily green column appears but the weekly columns are still red, stay
nimble. Enter your position when the Polaris Trend Indicator turns green and displays an
upward-pointing arrow.
● If the price pulls back to a higher low but a red daily column forms, sell 50% of your
position and move your stop loss to your original entry. Then, wait for the next daily
green column and arrow to reappear, this is your signal to reenter the 50% you exited.
● If the price continues to rise and the weekly columns also turn green, shift your focus
to the weekly chart. Ignore daily signals and hold the trade until the weekly column
turns red, which will be your cue to exit. The weekly green column is your confirmation of
a stronger uptrend and a potential longer hold.
🔻 Entry Criteria (Bearish Trades)
● A solid red column appears below the zero line.
● A red downward arrow confirms bearish momentum.
● Enter your short trade immediately when the red column first appears.
● Hold until a green column appears, indicating momentum has shifted.
🔁 Exit Criteria (Bearish Trades)
● The first green column that follows a red sequence.
● Same rule applies: enter only on the initial flip, not mid-trend.
Note: The first color flip is the most reliable entry point. Avoid entering positions
deep into a trend, wait for the clear signal from Polaris.
🧭 Long-Term Investing Strategy
This approach combines the Polaris Golden Wave, Polaris Trend, and Market Bias to help
long-term investors buy at deep value levels and scale into positions over time.
📉 Ideal Entry: Golden Zone + Polaris Trend Signal
● Use the Golden Wave to identify the monthly 0.618–0.826 retracement zone
(significant discount levels).
● When price enters the Golden Zone and the Polaris Trend shows a green column on
the Daily or Weekly, this is your optimal entry point.
● If the trend turns red inside the zone, consider trimming positions and re-entering on the
next bullish signal.
If price drops below the Golden Zone, the stock becomes even more undervalued,
wait for the next green Polaris Trend signal to enter.
💰 Secondary Entry: Market Bias Rebounds
● If you miss the Golden Zone entry or are dollar-cost averaging:
○ Use the Market Bias on a Weekly timeframe.
○ Wait for price to retrace into the Market Bias band after moving higher.
○ Look for a red Polaris Trend column, then wait for price to enter the Market
Bias band and once it enters, wait for Polaris Trend signal to flip back to green
for your entry. If the trend turns red inside the zone, consider trimming positions
and re-entering on the next bullish signal.
Think of the Market Bias like a lake and price like a skipping stone—you want to
buy when the stone comes down and touches the surface.
📊 Indicator Explanations
🔶 Golden Wave (Monthly Fibonacci Retracement Zones)
● Highlights key monthly retracement zones (0.618 to 0.826).
● Helps identify deep-value entries on longer timeframes.
● Visible across all chart timeframes for consistent macro reference.
🔴 Market Bias (Smoothed Heikin-Ashi Trend Filter)
● Measures trend direction and strength using smoothed Heikin-Ashi candles and
oscillation logic.
● Customizable smoothing, oscillator period, and timeframe inputs.
● Option to display trend signals in a separate pane with dynamic coloring.
This combined approach empowers traders to make high-quality decisions with clarity and
discipline. Whether you're entering short-term swings or building long-term positions, the
Polaris Trend system guides you with timely, data-driven signals.
MidpointGridLibI’m using a layered Midpoint Grid across Monthly, Weekly, Daily, and 4H timeframes to pinpoint high-odds long entries on XRP/USD. Here’s my thought process:
Macro (Monthly) Bias:
Last closed monthly candle range: Low = $1.20, High = $3.00, with the mid-50% at $2.10.
Price currently above that mid-point, confirming a bullish longer-term bias.
Meso (Weekly) Value Zone:
Weekly range: Low = $2.25, High = $3.00, mid-50% at $2.62.
The 4H chart has already retested $2.62 twice with long lower wicks and bullish engulfers—this is our institutional “value grab” area.
Micro (Daily / 4H) Entry Trigger:
Daily range midpoint (50%) sits at $2.79. On 4H, a 2-bar CHoCH formed at $2.79, signalling a higher-low swing.
I’m watching for a 4H close back above $2.79 (Daily mid50) after any weak retest.
Stops & Targets:
Stop Loss: Just below the Daily 25% level at $2.61, giving 60 pips of room for noise.
First Take-Profit: Weekly high ($3.00) for a 15% gain.
Second Take-Profit: Monthly high ($3.00) → 1× range extension at $3.30 for +25%.
Risk Management & Scaling:
50% position at 4H mid50 ($2.79) on confirmation close.
Add remaining 50% on a retest of the Weekly mid50 ($2.62) if price dips back and holds.
Trail stop to breakeven once the first target is hit.
Thesis:
By aligning Monthly → Weekly → Daily midpoints, I’m entering only when price touches high-conviction “value” pivots. This multi-timeframe confluence filters out noise and lets me run with the prevailing up-trend while keeping risk tightly managed.
CQ_MTF Target Price Lines [BITCOIN HOY]Comprehensive Indicator Script Overview
Intraday, Four Hour, Daily, and Weekly Price Target Lines—A Versatile Tool for Traders
Welcome to a powerful and flexible indicator script designed to enhance your trading experience across multiple timeframes. This script empowers users to interactively set, visualize, and manage price targets, entries, and objectives for both short-term and long-term trading strategies. Whether you are a day trader seeking to mark crucial intraday levels or a long-term investor planning strategic entries, this tool offers an all-encompassing solution.
Key Features
• Multi-Time Frame Price Target Lines: Effortlessly input and display calculated price targets for Intraday, Four Hour, Daily, and Weekly periods, ensuring you always have a clear view of the market objectives at every scale.
• X-Axis Price Control: Set precise x-axis price points for each timeframe, granting you granular control over how and where your target lines appear on the chart.
• Weekly Price Objectives: Enter your calculated price objectives for the current week to remain aligned with your trading plan and adapt to evolving market conditions.
• Long-Term Investment Entry Events: Document and display significant entry events for long-term investments, helping you maintain a strategic perspective while navigating short-term fluctuations.
• Long-Term Price Objectives: Input and track price objectives for your long-term trades, supporting your investment decisions with clearly visualized milestones.
• Customizable Labels and Lines: Each price target is accompanied by clearly labeled lines, making it easy to distinguish between timeframes and targets at a glance.
Optional Price Gauge for Intraday Dynamics
For users who wish to monitor real-time market sentiment, the script includes an optional price gauge. This dynamic feature tracks intraday price movement, providing visual cues to quickly assess whether the prevailing tendency is bullish or bearish. The intuitive gauge aids in confirming your intraday strategies or alerting you to potential reversals.
User Experience and Customization
• Interactive Inputs: All key parameters—price targets, x-axis prices, entry events, and objectives—are entered manually by the user. This approach ensures the script adapts to your personal analysis and trading methodology.
• Easy Visualization: The clear display of lines, labels, and the optional gauge streamlines your chart, making it easier to make informed decisions at a glance.
• Flexible Application: Whether you’re trading short-term swings or building positions for the long haul, the indicator integrates seamlessly into your workflow.
How to Use
• Input your calculated price targets for each timeframe (Intraday, Four Hour, Daily, and Weekly).
• Specify the exact x-axis price points where you’d like the lines to appear for each timeframe.
• For the current week, enter your weekly price objectives for quick reference and planning.
• If you’re a long-term investor, document your key entry events and set long-term price objectives to track their progression.
• To monitor current market momentum, activate the price gauge and follow the visual cues for bullish or bearish trends.
Benefits
• Comprehensive Market Overview: Simultaneously track multiple timeframes and objectives, keeping all critical information at your fingertips.
• Improved Decision Making: Visual clarity and strategic labeling support faster, more confident trading decisions.
• Customizable and Adaptable: Tailor the script to your unique trading style and analytical approach.
Enjoy using the indicator, and happy trading! Let this versatile tool be your companion in navigating the ever-changing tides of the market.
Time Frame Color ClassifierTime Frame Colour Classifier
A professional Pine Script indicator that provides instant visual identification of trading sessions through intelligent colour-coded backgrounds.
Key Features
📅 Daily Session Colours
- Monday: Green | Tuesday: Blue | Wednesday: Yellow | Thursday: Red | Friday: Purple
📊 Weekly Classification
- Week 1-5 : Colour-coded by week of the month using the same colour scheme
## How It Works
Intraday Charts (1min-4H) : Shows daily colours - every candle on Monday displays green background, Tuesday shows blue, etc.
Daily/Weekly Charts : Switches to weekly colours - all days in Week 1 show green, Week 2 shows blue, etc.
Professional Applications
✅ Multi-Timeframe Analysis : Seamlessly switch between timeframes whilst maintaining visual context
✅ Session Recognition : Instantly identify which trading day you're analysing
✅ Pattern Analysis : Spot recurring patterns on specific days of the week
✅ Strategy Development : Incorporate temporal factors into trading strategies
✅ Performance Attribution : Correlate results with specific trading sessions
Customisation Options
- Toggle daily/weekly colours on/off
- Fully customisable colour schemes
- Adjustable background transparency
- Optional day labels
Technical Details
- Pine Script v5for optimal performance
- Automatic timeframe detection - no manual configuration required
- Minimal resource usage - won't slow down your charts
- Works on all chart types and timeframes
Perfect For
- Day traders switching between multiple timeframes
- Swing traders analysing weekly patterns
- Algorithmic strategy development
- Multi-timeframe market analysis
- Trading education and research
---
Developed by @wyckoffnawaf
Transform your chart analysis with visual timeframe clarity
Fibonacci Retracement levels Automatically D/W/MIndicator Description: Fibonacci Retracement levels Automatically
Fibonacci retracement levels based on the day, week, month High Low range and Fibonacci retracement levels draws automatically .This Pine Script indicator is designed to plot Fibonacci retracement levels based on the high and low prices of a user-selected timeframe (Daily, Weekly, or Monthly). It identifies bullish or bearish candles in the chosen timeframe, draws key price levels, and overlays Fibonacci retracement lines and semi-transparent colored boxes to highlight potential support and resistance zones. The indicator dynamically updates with each new period and extends lines, labels, and boxes to the current bar for real-time visualization. Key Features
1. Timeframe Selection: Users can choose the timeframe for analysis: Daily, Weekly, or Monthly via an input dropdown. The indicator retrieves the open, high, low, and close prices for the selected timeframe using `request.security`.
2. High and Low Tracking : Tracks the highest high and lowest low within the selected timeframe. Stores these values and their corresponding bar indices in arrays (`whigh`, `wlow`, `whighIdx`,`wlowIdx`). Limits the array size to the most recent period to optimize performance.
3. Bullish and Bearish Candle Detection : Identifies whether the previous period’s candle is bullish (`close > open`) or bearish (`close < open`). Uses this to determine the direction for Fibonacci retracement calculations. Bullish candle: Fibonacci levels are drawn from low to high
Bearish candle: Fibonacci levels are drawn from high to low
4. Fibonacci Retracement Levels : Plots Fibonacci levels at 0.236, 0.382, 0.5, 0.618, and 0.786 between the high and low of the period. For bullish candles, levels are calculated from the low (support) to the high (resistance). For bearish candles, levels are calculated from the high (resistance) to the low (support). Each Fibonacci level is drawn as a horizontal line with a unique color:
- 0.236: Blue
- 0.382: Purple
- 0.5: Yellow
- 0.618: Teal
- 0.786: Fuchsia
5. Visual Elements: - High/Low Lines and Labels: Draws a red line and label for the previous period’s high. Draws a green line and label for the previous period’s low. Fibonacci Lines and Labels: Each Fibonacci level has a horizontal line and a label displaying the ratio.
Colored Boxes: Semi-transparent boxes are drawn between consecutive Fibonacci levels (including high and low) to highlight zones.
6. Dynamic Updates:
- At the start of a new period (e.g., new week for Weekly timeframe), the indicator:
- Clears previous Fibonacci lines, labels, and boxes.
- Recalculates the high and low for the new period.
- Redraws lines, labels, and boxes based on the new data.
- Extends all lines, labels, and boxes to the current bar index for real-time tracking.
7. Performance Optimization:
- Deletes old lines, labels, and boxes to prevent clutter.
- Limits the storage of highs and lows to the most recent period.
How It Works
1. Initialization: Defines variables for tracking bullish/bearish candles, lines, labels, and arrays for Fibonacci levels and boxes. Sets up color arrays for Fibonacci lines and boxes with distinct, semi-transparent colors.
2. Data Collection: Fetches the previous period’s OHLC (open, high, low, close) using `request.security`. Detects new periods (e.g., new week or month) using `ta.change(time(tf))`.
3. Fibonacci Calculation: On a new period, stores the high and low prices and their bar indices.
- Identifies the maximum high and minimum low from the stored data. - Calculates Fibonacci levels based on the range (`maxHigh - minLow`) and the direction (bullish or bearish).
4. Drawing:
- Draws high/low lines and labels at the identified price levels. Plots Fibonacci retracement lines and labels for each ratio. Creates semi-transparent boxes between Fibonacci levels to visually distinguish zones.
5. Updates:
- Extends all lines, labels, and boxes to the current bar index when a new period is detected. Clears old Fibonacci elements to avoid overlap and ensure clarity.
Usage
- Purpose: This indicator is useful for traders who use Fibonacci retracement levels to identify potential support and resistance zones in financial markets.
- Application:
- Select the desired timeframe (Daily, Weekly, Monthly) via the input settings.
- The indicator automatically plots the previous period’s high/low and Fibonacci levels on the chart.
- Use the labeled Fibonacci levels and colored boxes to identify key price zones for trading decisions.
- Customization:
- Modify the `timeframe` input to switch between Daily, Weekly, or Monthly analysis.
- Adjust the `fibLineColors` and `fibFillColors` arrays to change the visual appearance of lines and boxes.
- The indicator is designed for use on TradingView with Pine Script.
- The maximum array size for highs/lows is limited to 1 period in this version (can be adjusted by modifying the `array.shift` logic).
- The indicator dynamically updates with each new period, ensuring real-time relevance.
This indicator make educational purpose use only
National Financial Conditions Index (NFCI)This is one of the most important macro indicators in my trading arsenal due to its reliability across different market regimes. I'm excited to share this with the TradingView community because this Federal Reserve data is not only completely free but extraordinarily useful for portfolio management and risk assessment.
**Important Disclaimers**: Be aware that some NFCI components are updated only monthly but carry significant weighting in the composite index. Additionally, the Fed occasionally revises historical NFCI data, so historical backtests should be interpreted with some caution. Nevertheless, this remains a crucial leading indicator for financial stress conditions.
---
## What is the National Financial Conditions Index?
The National Financial Conditions Index (NFCI) is a comprehensive measure of financial stress and liquidity conditions developed by the Federal Reserve Bank of Chicago. This indicator synthesizes over 100 financial market variables into a single, interpretable metric that captures the overall state of financial conditions in the United States (Brave & Butters, 2011).
**Key Principle**: When the NFCI is positive, financial conditions are tighter than average; when negative, conditions are looser than average. Values above +1.0 historically coincide with financial crises, while values below -1.0 often signal bubble-like conditions.
## Scientific Foundation & Research
The NFCI methodology is grounded in extensive academic research:
### Core Research Foundation
- **Brave, S., & Butters, R. A. (2011)**. "Monitoring financial stability: A financial conditions index approach." *Economic Perspectives*, 35(1), 22-43.
- **Hatzius, J., Hooper, P., Mishkin, F. S., Schoenholtz, K. L., & Watson, M. W. (2010)**. "Financial conditions indexes: A fresh look after the financial crisis." *US Monetary Policy Forum Report*, No. 23.
- **Kliesen, K. L., Owyang, M. T., & Vermann, E. K. (2012)**. "Disentangling diverse measures: A survey of financial stress indexes." *Federal Reserve Bank of St. Louis Review*, 94(5), 369-397.
### Methodological Validation
The NFCI employs Principal Component Analysis (PCA) to extract common factors from financial market data, following the methodology established by **English, W. B., Tsatsaronis, K., & Zoli, E. (2005)** in "Assessing the predictive power of measures of financial conditions for macroeconomic variables." The index has been validated through extensive academic research (Koop & Korobilis, 2014).
## NFCI Components Explained
This indicator provides access to all five official NFCI variants:
### 1. **Main NFCI**
The primary composite index incorporating all financial market sectors. This serves as the main signal for portfolio allocation decisions.
### 2. **Adjusted NFCI (ANFCI)**
Removes the influence of credit market disruptions to focus on non-credit financial stress. Particularly useful during banking crises when credit markets may be impaired but other financial conditions remain stable.
### 3. **Credit Sub-Index**
Isolates credit market conditions including corporate bond spreads, commercial paper rates, and bank lending standards. Important for assessing corporate financing stress.
### 4. **Leverage Sub-Index**
Measures systemic leverage through margin requirements, dealer financing, and institutional leverage metrics. Useful for identifying leverage-driven market stress.
### 5. **Risk Sub-Index**
Captures market-based risk measures including volatility, correlation, and tail risk indicators. Provides indication of risk appetite shifts.
## Practical Trading Applications
### Portfolio Allocation Framework
Based on the academic research, the NFCI can be used for portfolio positioning:
**Risk-On Positioning (NFCI declining):**
- Consider increasing equity exposure
- Reduce defensive positions
- Evaluate growth-oriented sectors
**Risk-Off Positioning (NFCI rising):**
- Consider reducing equity exposure
- Increase defensive positioning
- Favor large-cap, dividend-paying stocks
### Academic Validation
According to **Oet, M. V., Eiben, R., Bianco, T., Gramlich, D., & Ong, S. J. (2011)** in "The financial stress index: Identification of systemic risk conditions," financial conditions indices like the NFCI provide early warning capabilities for systemic risk conditions.
**Illing, M., & Liu, Y. (2006)** demonstrated in "Measuring financial stress in a developed country: An application to Canada" that composite financial stress measures can be useful for predicting economic downturns.
## Advanced Features of This Implementation
### Dynamic Background Coloring
- **Green backgrounds**: Risk-On conditions - potentially favorable for equity investment
- **Red backgrounds**: Risk-Off conditions - time for defensive positioning
- **Intensity varies**: Based on deviation from trend for nuanced risk assessment
### Professional Dashboard
Real-time analytics table showing:
- Current NFCI level and interpretation (TIGHT/LOOSE/NEUTRAL)
- Individual sub-index readings
- Change analysis
- Portfolio guidance (Risk On/Risk Off)
### Alert System
Professional-grade alerts for:
- Risk regime changes
- Extreme stress conditions (NFCI > 1.0)
- Bubble risk warnings (NFCI < -1.0)
- Major trend reversals
## Optimal Usage Guidelines
### Best Timeframes
- **Daily charts**: Recommended for intermediate-term positioning
- **Weekly charts**: Suitable for longer-term portfolio allocation
- **Intraday**: Less effective due to weekly update frequency
### Complementary Indicators
For enhanced analysis, combine NFCI signals with:
- **VIX levels**: Confirm stress readings
- **Credit spreads**: Validate credit sub-index signals
- **Moving averages**: Determine overall market trend context
- **Economic surprise indices**: Gauge fundamental backdrop
### Position Sizing Considerations
- **Extreme readings** (|NFCI| > 1.0): Consider higher conviction positioning
- **Moderate readings** (|NFCI| 0.3-1.0): Standard position sizing
- **Neutral readings** (|NFCI| < 0.3): Consider reduced conviction
## Important Limitations & Considerations
### Data Frequency Issues
**Critical Warning**: While the main NFCI updates weekly (typically Wednesdays), some underlying components update monthly. Corporate bond indices and commercial paper rates, which carry significant weight, may cause delayed reactions to current market conditions.
**Component Update Schedule:**
- **Weekly Updates**: Main NFCI composite, most equity volatility measures
- **Monthly Updates**: Corporate bond spreads, commercial paper rates
- **Quarterly Updates**: Banking sector surveys
- **Impact**: Significant portion of index weight may lag current conditions
### Historical Revisions
The Federal Reserve occasionally revises NFCI historical data as new information becomes available or methodologies are refined. This means backtesting results should be interpreted cautiously, and the indicator works best for forward-looking analysis rather than precise historical replication.
### Market Regime Dependency
The NFCI effectiveness may vary across different market regimes. During extended sideways markets or regime transitions, signals may be less reliable. Consider combining with trend-following indicators for optimal results.
**Bottom Line**: Use NFCI for medium-term portfolio positioning guidance. Trust the directional signals while remaining aware of data revision risks and update frequency limitations. This indicator is particularly valuable during periods of financial stress when reliable guidance is most needed.
---
**Data Source**: Federal Reserve Bank of Chicago
**Update Frequency**: Weekly (typically Wednesdays)
**Historical Coverage**: 1973-present
**Cost**: Free (public Fed data)
*This indicator is for educational and analytical purposes. Always conduct your own research and risk assessment before making investment decisions.*
## References
Brave, S., & Butters, R. A. (2011). Monitoring financial stability: A financial conditions index approach. *Economic Perspectives*, 35(1), 22-43.
English, W. B., Tsatsaronis, K., & Zoli, E. (2005). Assessing the predictive power of measures of financial conditions for macroeconomic variables. *BIS Papers*, 22, 228-252.
Hatzius, J., Hooper, P., Mishkin, F. S., Schoenholtz, K. L., & Watson, M. W. (2010). Financial conditions indexes: A fresh look after the financial crisis. *US Monetary Policy Forum Report*, No. 23.
Illing, M., & Liu, Y. (2006). Measuring financial stress in a developed country: An application to Canada. *Bank of Canada Working Paper*, 2006-02.
Kliesen, K. L., Owyang, M. T., & Vermann, E. K. (2012). Disentangling diverse measures: A survey of financial stress indexes. *Federal Reserve Bank of St. Louis Review*, 94(5), 369-397.
Koop, G., & Korobilis, D. (2014). A new index of financial conditions. *European Economic Review*, 71, 101-116.
Oet, M. V., Eiben, R., Bianco, T., Gramlich, D., & Ong, S. J. (2011). The financial stress index: Identification of systemic risk conditions. *Federal Reserve Bank of Cleveland Working Paper*, 11-30.
ds-Volume with Flags & Alerts v1.2ds-Volume with Flags & Alerts: User & Training Guide
1. Summary of Features
This indicator is a powerful, all-in-one tool designed to give you a deep and customizable view of market volume. By analyzing volume in multiple ways, it helps you spot unusual activity, confirm trends, and identify potential reversals.
How It Helps a Trader:
Spotting Institutional Activity: The core purpose of the Volume Flags (using either the Multiplier or Standard Deviation method) is to highlight bars with exceptionally high volume. These spikes often signal the entry or exit of large institutional players. A high-volume up-bar can confirm bullish conviction, while a high-volume down-bar can signal significant selling pressure.
Identifying Climactic Events: The HVE (Highest Volume Ever) and HV1 (Highest Volume - 1 Year) labels automatically pinpoint the most significant volume events on the chart. A "blow-off top" at the end of a long uptrend or a "capitulation" event at a market bottom is almost always accompanied by an HVE or HV1 bar. These are critical moments to watch for potential trend reversals.
Gauging Buying vs. Selling Pressure: The Up/Down Volume Ratio gives you a more nuanced view than volume alone. A ratio consistently above 1.2 suggests that buyers are more aggressive, while a ratio below 0.8 suggests sellers are in control. Watching this ratio can help you confirm the strength of a trend or spot divergences where price is rising but the ratio is falling (a potential warning sign).
Visual Confirmation & Customization: With options to color both the volume bars and the main price bars, you can get instant visual confirmation of these events without having to look away from the price action. The ability to toggle features on and off keeps your chart clean and focused on what matters most to you.
Actionable Alerts: The comprehensive alert system ensures you don't miss a key event. You can be notified of everything from a new all-time high volume bar to a subtle shift in the Up/Down Volume Ratio, allowing you to react to market changes in real-time.
2. User-Changeable Options
This indicator is highly customizable. Here is a breakdown of every setting available in the "Inputs" tab.
General Settings
MA Length: The lookback period for the simple moving average (the gray area plot) of the volume.
Volume Flags
Color Price Bars with Flags: If checked, the main price bars on your chart will be colored when a high or low volume flag condition is met.
Color Volume Bars with Flags: If checked, the volume bars in the indicator pane will be colored for flag conditions.
Flag Calculation Method: This is a crucial setting.
Multiplier (Default): Identifies high volume based on a simple multiple of the average volume (e.g., volume is 1.4x its average). It's simple and intuitive.
Standard Deviation: Identifies high volume based on how statistically unusual it is compared to its recent behavior. This method is more adaptive to changing market volatility.
Daily/Weekly Lookback (Multiplier): Sets the lookback period for calculating the average volume when using the "Multiplier" method.
Daily/Weekly High-Vol Multiplier: Sets the multiplier for a high volume event (e.g., 1.4).
STDEV Length (Daily/Weekly): Sets the lookback period for calculating the average and standard deviation when using the "Standard Deviation" method.
STDEV Threshold (Daily/Weekly): Sets the number of standard deviations above the average required to trigger a high volume flag (e.g., 2.0).
Daily/Weekly Low-Vol Multiplier: Sets the threshold for a low volume event (e.g., 0.5 means volume is less than 50% of its average). This is always based on the multiplier method.
Ratios & Stats
Up/Down Ratio Daily/Weekly Lookback: Sets the lookback period for calculating the sum of up volume and down volume for the ratio.
Ratio Calculation Method:
Close vs. Open: Defines an "up volume" bar as one where the close is higher than the open.
Close vs. Previous Close (Default): Defines an "up volume" bar as one where the close is higher than the previous bar's close. This is a common standard.
Up Ratio Arrow Threshold: If the U/D Ratio exceeds this value, a green "up" arrow will appear.
Show Up Ratio Arrow: Toggles the visibility of the green "up" arrow.
Down Ratio Arrow Threshold: If the U/D Ratio falls below this value, a red "down" arrow will appear.
Show Down Ratio Arrow: Toggles the visibility of the red "down" arrow.
Psychological Levels Indicator🧠 Psychological Levels Indicator
The Psychological Levels Indicator is a dynamic intraday trading tool that automatically identifies, adapts, and projects psychological price zones based on market structure and volatility. It integrates a layered calculation engine built around weekly price behavior to deliver actionable levels and trend bias.
🔍 Core Methodology
Weekly Foundation Logic:
The first psychological high and low of the current week form the initial range (spread). This spread becomes the anchor for the rest of the week’s levels.
Breakout-Based Scaling:
The indicator detects the largest directional breakout from the previous week's psychological high or low. This move determines how many dynamic levels are generated for the current week, scaled proportionally to the current spread.
Directional Bias Formation:
Typically, the tool respects levels mostly in one direction (based on the breakout bias) early in the week, while adjusting if a stronger directional move is established midweek.
✨ What Makes It Unique
Automatic Asset Detection:
Automatically adjusts calculations based on whether the chart is Forex, Crypto, Stocks, or Indices – with an optional manual override.
Dynamic Extra Levels:
Extra psychological levels are calculated using dynamic array logic, scaling with weekly volatility. This mirrors a manual process developed by trader Dave (HaighTech), now fully automated.
Live Weekly Tracking:
Users can choose to automatically track this week’s evolving high/low range or manually input fixed boundaries.
Midpoints & Multi-Tiered Zones:
Each main and extra level is optionally split into midpoints, providing granular insight and tighter control.
⚙️ Features & Usage
Custom Display Controls:
Independently toggle standard levels, extra breakout levels, labels, and historical data.
Smart Session Handling:
Correct timezone & DST awareness for NY, UK, and Sydney markets. Weekly/daily start logic adapts per asset type.
Advanced Volatility Mapping:
Includes weekly high, low, and average levels, as well as a rolling monthly average based on the prior breakout structure.
Alerts & Backtesting:
Alerts trigger on price interaction with key levels. Historical plots enable review and strategy refinement.
✅ Ideal For Traders Who Want To:
Trade using psychological zones and adaptive breakout logic
Project early-week levels and adapt to real-time market direction
Use auto-adjusting support/resistance levels tailored to volatility
Leverage manually inspired but automated zone mapping for faster decision-making
45pointsJ3FF Enhanced# 45pointsJ3FF Enhanced Pine Script Indicator
This is a comprehensive multi-timeframe support and resistance indicator for TradingView that displays key price levels and VWAP (Volume Weighted Average Price) across different time periods.
## 🎯 **Core Functionality**
The indicator plots critical price levels from multiple timeframes simultaneously on your chart, helping traders identify key support/resistance zones and volume-based price levels.
## 📊 **Key Levels Displayed**
### **Multi-Timeframe Levels:**
- **Daily**: Open, High, Low + Previous Day levels
- **Weekly**: Open, High, Low + Previous Week levels
- **Monthly**: Open, High, Low + Previous Month levels
- **Yearly**: Open, High, Low + Previous Year levels
### **Equilibrium Levels:**
- **50% Retracement** levels for previous periods (midpoint between high and low)
- Helps identify potential reversal zones
### **VWAP Levels:**
- **Daily VWAP**: Volume-weighted average for current day
- **Weekly VWAP**: Custom calculation for current week
- **Monthly VWAP**: Custom calculation for current month
- **Yearly VWAP**: Custom calculation for current year
## ⚙️ **Customization Options**
### **Display Controls:**
- **Individual toggles** for each timeframe (Daily/Weekly/Monthly/Yearly)
- **Previous period toggles** to show/hide historical levels
- **Line extension options**: Short, Right, Both
- **Adjustable line width** (1-3 pixels)
### **Visual Customization:**
- **Custom colors** for each timeframe
- **Individual line styles** (Solid, Dashed, Dotted) for each timeframe
- **Price labels** can be toggled on/off for lines and VWAPs
### **Price Table Features:**
- **Comprehensive side table** showing all active level prices
- **4 position options**: Top/Bottom + Left/Right corners
- **3 size options**: Small, Normal, Large
- **Color-coded entries** matching chart lines
- **Auto-filtering**: Only shows enabled levels
## 🔧 **Technical Implementation**
### **VWAP Calculations:**
- **Daily**: Uses built-in `ta.vwap()` function
- **Weekly/Monthly/Yearly**: Custom accumulative calculations using volume-weighted price averaging
- **Timeframe Detection**: Higher timeframe VWAPs only show on intraday charts
### **Higher Timeframe Data:**
- Uses `request.security()` to fetch OHLC data from higher timeframes
- **Lookahead enabled** for real-time updates
- **Previous period data** accessed using ` ` historical referencing
### **Drawing System:**
- **Dynamic line drawing** with customizable extension
- **Smart labeling system** with price formatting
- **Tick-rounded prices** for clean display
- **Performance optimized** with conditional drawing
## 📈 **Trading Applications**
### **Support & Resistance:**
- **Previous day/week/month highs and lows** act as key S/R levels
- **Opening levels** often serve as pivot points
- **Equilibrium levels** (50% retracements) are common reversal zones
### **VWAP Trading:**
- **Daily VWAP**: Intraday trend direction and mean reversion
- **Higher timeframe VWAPs**: Longer-term trend bias
- **Multiple VWAP confluence** creates stronger levels
### **Multi-Timeframe Analysis:**
- **Level confluence**: Multiple timeframes aligning creates stronger zones
- **Trend context**: Higher timeframe levels provide broader market context
- **Entry/Exit planning**: Previous period levels help plan trades
## 🎨 **Visual Organization**
### **Color Coding:**
- **Blue**: Daily levels (default)
- **Yellow**: Weekly levels (default)
- **Purple**: Monthly levels (default)
- **Red**: Yearly levels (default)
- **Transparency**: Previous period levels shown in lighter shades
### **Line Styles:**
- **Solid lines**: Current period highs/lows
- **Dashed lines**: Opening levels
- **Dotted lines**: Previous period levels
- **Thick lines**: VWAP plots (2px width)
## 🔍 **Unique Features**
1. **Custom VWAP calculations** for weekly/monthly/yearly periods
2. **Intelligent table display** that only shows active levels
3. **Comprehensive customization** without overwhelming interface
4. **Performance optimized** with conditional rendering
5. **Professional presentation** with watermark and clean styling
This indicator is particularly valuable for traders who use multiple timeframe analysis and want a clean, organized way to visualize key price levels and volume-based averages all in one tool.
10x HTF Candles Dynamic with LTF FVG and Key LevelsPurpose
The 10x HTF Candles Dynamic Pine Script is a versatile, all-in-one trading tool designed for TradingView to empower traders with actionable insights across multiple timeframes. It combines advanced price action analysis, Fair Value Gap (FVG) detection, market structure evaluation, and key level visualization into a single, highly customizable interface. Built for day traders, swing traders, and scalpers, this script enhances decision-making by providing a clear, multi-dimensional view of market dynamics, liquidity zones, and trend biases. Its purpose is to streamline technical analysis, reduce chart clutter, and deliver real-time, visually intuitive data to support precise trading strategies.
What the Script Does
How the Script Works:
The script leverages Pine Script v5’s advanced features to deliver a robust and efficient trading tool. Below is a step-by-step explanation of its functionality:
1. Initialization and Configuration:
- Initializes with @version=5, enabling dynamic requests, and sets limits for bars (500), lines, labels, boxes, and polylines to manage resources.
- Defines user inputs for candle settings, timeframe selection, FVG parameters, DWM levels, market structure table, and visual preferences.
- Dynamically calculates 10 higher timeframes based on the current chart timeframe (e.g., 1m chart → 5m, 15m, 60m, etc.) or allows custom timeframes.
2. Data Acquisition:
- Fetches OHLC data for up to 10 timeframes using request.security, storing it in optimized TfData objects (arrays for open, high, low, close).
- Loops through enabled timeframes to minimize redundant code, improving processing speed.
3. Candlestick Rendering:
- Draws HTF candlesticks at user-defined offsets, with customizable bullish/bearish colors, wick colors, and widths.
- Calculates bar types (Inside, Normal, Outside) and optionally labels them above candles for pattern analysis.
4. FVG Detection and Visualization:
- Scans for FVGs by comparing candle highs and lows across three bars (e.g., low of candle 1 > high of candle 3 for bullish FVG).
- Detects IFVGs based on user-selected methods (wick, close, or midpoint) and highlights them with distinct colors.
- Draws FVG boxes with configurable borders, midpoint lines, and labels, tracking mitigation status.
- Limits FVG display to a user-defined maximum (1–200) to maintain chart clarity.
5. Horizontal Levels and DWM Lines:
- Computes Highs, Lows, Midpoints, and Quarter Points for each timeframe, drawing lines with customizable styles and extensions.
- Plots DWM open, close, high, low, and control point lines, with optional alerts for high/low breaks.
- Supports session-based opening price lines (e.g., 09:30 Market Open) with similar customization.
6. Market Structure and Bias:
Calculates trend bias by comparing the current close to the midpoint of the timeframe’s range (highest high to lowest low).
Updates a market structure table with timeframe, bias, and premium/discount status, using color-coded cells for quick interpretation.
7. Countdown Timers:
- Converts timeframe strings to seconds and calculates the time remaining until the next candle using timenow.
- Renders countdown labels with timeframe names (e.g., “1h\n(00:45)”) at user-defined positions.
8. Optimization and Cleanup:
- Uses VisualElements UDTs to manage lines, wicks, and labels, reducing memory usage.
- Deletes outdated drawings when limits are exceeded, ensuring a clean and responsive chart.
- Employs loops and arrays to streamline repetitive tasks, enhancing performance.
How to Use the Script:
This script is user-friendly yet powerful, suitable for traders of all experience levels. Follow these steps to maximize its potential:
1. Add to TradingView:
- Copy the script into TradingView’s Pine Editor.
- Click “Add to Chart” to apply it to your active chart.
2. Customize Settings:
- Candle Settings: Adjust the number of candles (1–10), starting position, group spacing, bullish/bearish colors, wick colors, and candle width.
- Timeframe Settings: Enable/disable up to 10 timeframes, choosing dynamic (auto-selected) or custom timeframes (e.g., 3m, 60m, D).
- FVG Settings: Toggle FVG detection, set detection methods (wick/close/midpoint), adjust thresholds, and customize colors, borders, and midpoint lines.
- DWM Settings: Enable daily/weekly/monthly lines (open, close, high, low, midpoint), set colors, and configure alerts for high/low breaks.
- Market Structure Table: Show/hide columns for timeframe, trend bias, and premium/discount, and adjust table position (top-left, bottom-right, etc.).
- Countdown Timers: Enable timers, adjust offsets, and customize text/background colors.
- Label Settings: Configure price label precision, transparency, and offsets for clarity.
3.Interpret Visuals:
- Candlesticks: Analyze HTF candles to gauge trend direction and momentum across timeframes.
- FVGs: Look for unmitigated FVGs (colored boxes) as potential support/resistance zones or trade setups.
- Key Levels: Use Highs, Lows, Midpoints, and Quarter Points to identify breakout or reversal areas.
4. Market Structure Table: Check trend bias and premium/discount status to align trades with market conditions.
- DWM Lines: Monitor daily/weekly/monthly levels for institutional reference points.
- Countdown Timers: Time entries/exits based on upcoming candle formations.
5. Integrate with Strategy:
- Combine script insights with your trading plan (e.g., use FVGs for entries, key levels for stops/targets).
- Set alerts for high/low breaks or liquidity zone approaches to stay proactive.
- Export table data or screenshot visuals for documentation and analysis.
6. Optimize Performance:
Limit the number of candles, FVGs, and lines to match your device’s capabilities.
Regularly review settings to focus on the most relevant timeframes and features.
Why the Script is Original
The 10x HTF Candles Dynamic script stands out in the TradingView community due to its innovative design, comprehensive functionality, and trader-centric approach. Here’s what makes it unique:
1. Seamless Multi-Timeframe Integration:
- Unlike single-timeframe indicators, this script synthesizes data from up to 10 timeframes, offering a holistic view of market structure.
- Dynamic timeframe selection adapts to the chart’s timeframe, ensuring relevance across all trading styles.
2 . Advanced FVG and IFVG Detection:
- Provides granular control over FVG detection with three IFVG methods (wick, close, midpoint), a rarity in most scripts.
- Tracks mitigation status and highlights unmitigated FVGs, enabling traders to capitalize on high-probability setups.
- Visualizes FVGs with boxes, midpoint lines, and labels, enhancing clarity and usability.
3. Sophisticated Market Structure Analysis:
-The bias calculation, introduced in recent updates (2 days ago), uses a robust algorithm to assess trend direction based on range midpoints.
- The market structure table, with premium/discount zones (added 20 hours ago), offers a unique summary of market conditions, unmatched by standard indicators.
4. Comprehensive DWM and Session Support:
- Integrates daily, weekly, and monthly levels alongside session-based opening prices, catering to institutional and retail traders alike.
- Customizable alerts for high/low breaks add actionable functionality.
5. Visual Hierarchy and Clarity:
- Scales line widths and transparency by timeframe, prioritizing higher timeframes for strategic focus.
- Countdown timers provide real-time context, a feature rarely seen in multi-timeframe scripts.
6.Performance Optimization:
- Recent updates introduced loops and UDTs to reduce code redundancy and boost processing speed.
- Automated cleanup mechanisms prevent chart clutter, ensuring smooth operation even on low-resource devices.
7. High Customizability:
- Offers extensive settings for visuals, timeframes, FVGs, DWM lines, and alerts, accommodating diverse trading preferences.
- Balances complexity with accessibility, making it approachable for beginners and powerful for advanced users.
8.Continuous Evolution:
- Regular updates (e.g., bias filter table, premium/discount feature, code optimization) demonstrate ongoing commitment to improvement.
- Closed-source protection (noted 20 hours ago) ensures intellectual integrity while allowing free use, fostering trust in the TradingView community.
Conclusion
The 10x HTF Candles Dynamic Pine Script is a groundbreaking tool that redefines multi-timeframe analysis on TradingView. By combining candlestick visualization, FVG detection, market structure insights, DWM levels, and countdown timers, it provides traders with a comprehensive, real-time view of market dynamics. Its advanced optimization, customization options, and continuous updates make it a standout choice for traders seeking precision, clarity, and efficiency. Whether you’re scalping intraday moves or swing trading weekly trends, this script equips you with the tools to master the markets with confidence.
AZRO Systems XRP Top/Bottom Indicator — Invite-OnlyAZRO Systems – XRP Top/Bottom Indicator — Invite-Only
VERSION v1.0.4 — Early tops & bottoms flagged; label auto-flips to MAJOR at weekly close
──────────────────────────────────────────────────────
WHAT IT DOES
• EARLY TOP / EARLY BOTTOM prints intra-bar the moment any multi-factor recipe triggers.
• When the weekly bar closes, the label flips to MAJOR TOP / MAJOR BOTTOM and the confirmed alert fires.
• (If Soft-Confirm is ON, a TOP must first pull back ≈ 30 % of ATR-90 before confirmation.)
• Adds large green/red labels and a light bar-tint once major status is confirmed.
• Historical tests indicate materially lower drawdowns versus passive holding while still capturing each macro upswing.
HOW IT WORKS (concept level — exact thresholds are locked)
• Macro-Rotation Gauge – BTC dominance
Weekly BTC.D enters a historic extreme, then reverses for ≥ 2 weekly closes to flag potential rotation; never fires solo.
• Asset-Share Pivot – XRP market-cap share filters out false RSI spikes.
• Momentum-Stress Check – Weekly RSI + ATR pull-back captures exhaustion without waiting for close.
A label prints only when a recipe combining these lenses is met, greatly reducing false signals versus single-factor scripts.
HOW TO USE
Chart : XRP-USD · 1-WEEK (lower timeframes unsupported)
Watch : EARLY label → flips to MAJOR at weekly confirmation (bar tint appears)
Alerts : • EARLY Bottom / EARLY Top → ONCE PER BAR
• MAJOR Bottom / MAJOR Top → ONCE PER BAR CLOSE
USER-VISIBLE INPUTS
• Label distance (% ATR-90) – vertical offset for labels (Default 50)
• Light-mode palette – swap colors for bright themes (Default OFF)
• Soft-Confirm filter – ON waits for ≈ 30 % ATR pull-back on tops; OFF prints faster tops (Default ON)
• Warning checkbox – visual reminder only; no impact on signals (Default OFF)
ROADMAP
An intraday scalp mode for this XRP script is under development.
LIMITATIONS & DISCLAIMER
• Designed exclusively for the weekly timeframe; extreme market events can override any model—always manage risk.
• Educational tool — not financial advice. Past performance ≠ future returns.
Advanced Volume Profile Levels (Working)This indicator is a powerful tool for traders who use volume profile analysis to identify significant price levels. It automatically calculates and plots the three most critical levels derived from volume data—the Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL)—for three different timeframes simultaneously: the previous week, the previous day, and the current, live session.
The primary focus of this indicator is unmatched readability. It features dynamic, floating labels that stay clear of price action, combined with a high-contrast design to ensure you can see these crucial levels at a glance without any visual clutter.
Key Features
Multi-Session Analysis: Gain a complete market perspective by viewing levels from different timeframes on a single chart.
Weekly Levels: Identify the long-term areas of value and control from the prior week's trading activity.
Daily Levels: Pinpoint the most significant levels from the previous day's Regular Trading Hours (9:30 AM - 4:00 PM ET).
Current Session Levels: Track the developing value area and POC in real-time with a dynamic profile that updates with every bar.
Advanced Visuals for Clarity:
Floating Labels: The labels for the weekly and daily levels intelligently "float" on the right side of your chart, moving with the price to ensure they are never obscured by candles.
High-Contrast Design: Labels are designed for maximum readability with solid, opaque backgrounds and an automatic text color (black or white) that provides the best contrast against your chosen level color.
Trailing Current Levels: The labels for the current session neatly trail the most recent price action, providing an intuitive view of intra-day developments.
Comprehensive Customization: Tailor the indicator's appearance to your exact preferences.
Toggle each profile (Weekly, Daily, Current) on or off.
Individually set the color, line style (solid, dashed, dotted), and line width for each set of levels.
Adjust the text size, background transparency, and horizontal offset for all on-chart labels.
Information Hub:
On-Chart Price Labels: Each label clearly displays both the level name and its precise price (e.g., "D-POC: 22068.50").
Corner Table: An optional, clean table in the top-right corner provides a quick summary of all active weekly and daily level values.
Built-in Alerts:
Create alerts directly from the script to be notified whenever the price crosses above or below the weekly or daily Point of Control, helping you stay on top of key market movements.
How to Use
The levels provided by this indicator serve as powerful reference points for market activity:
Point of Control (POC): The price level with the highest traded volume. It acts as a magnet for price and represents the area of "fair value" for that session. Markets often test or revert to the POC.
Value Area High (VAH) & Value Area Low (VAL): These levels define the range where approximately 70% of the session's volume occurred. They are critical support and resistance zones.
Price acceptance above the VAH may signal a bullish breakout.
Price acceptance below the VAL may signal a bearish breakdown.
Rejection at the VAH or VAL often leads to price moving back across the value area towards the POC.
SEJKING - TimingSEJKING - Timing Indicator: Professional Session-Based Trading Tool
The SEJKING - Timing indicator is a sophisticated trading tool designed for intraday traders who focus on key market sessions. It provides visual cues for Asian, London, and New York trading sessions, highlights important price levels, and delivers volatility metrics - all in one comprehensive package.
Key Features:
Session Visualization:
Color-coded boxes for Asian (purple), London (gray), and New York (gray) sessions
Automatic Daylight Saving Time adjustments (2022-2025)
Customizable colors and visibility for each session
Volatility Measurement:
Real-time pip count calculations for each session
Visual labels showing range volatility (A=Asian, L=London, N=New York)
Critical Price Levels:
Daily Levels:
Previous day's high/low as black dashed lines (HOPD/LOPD)
Lines extend until 5 AM EST the following day
"HOPD" (High of Previous Day) and "LOPD" (Low of Previous Day) labels
Weekly Levels:
Previous week's high/low as orange dashed lines
Lines extend until following Wednesday at 5 AM EST
"WH" (Weekly High) and "WL" (Weekly Low) labels at line ends
Smart Timeframe Handling:
Auto-hides elements on higher timeframes (15-30 minute setting)
Special handling for Asian session on higher timeframes
Key Reference Lines:
Yesterday's high, low, and close
Weekly high and low levels
Option to display only on most recent bar
Benefits for Traders:
Session Awareness: Visually track active market sessions to align with peak volatility periods
Key Level Identification: Quickly spot crucial support/resistance from daily and weekly levels
Volatility Gauge: Measure session range strength through pip counts
Time-Based Analysis: Extended lines help identify which levels remain relevant throughout the trading day
DST-Proof: Automatically adjusts for global daylight saving time changes
Ideal For:
Forex traders focusing on London/NY sessions
Asian session specialists
Price action traders using previous day/week levels
Volatility-based strategies
Intraday traders needing session awareness
Input Options:
Toggle visibility for each trading session
Customize Asian session colors
Set maximum timeframe for box visibility (15-30 mins)
Choose to display key levels only on recent bars
How It Works:
The indicator automatically calculates session timings based on UTC-7 (US Mountain Time), with intelligent DST adjustments. At the start of each Asian session, it plots new daily and weekly levels, extending them to their respective expiration times (5 AM EST next day for daily, next Wednesday for weekly). Session boxes show the price range during each market open, with pip counts displayed at session close.
Trading Applications:
Use HOPD/LOPD as breakout or reversal levels
Trade bounces off weekly levels (WH/WL)
Identify low-volatility sessions for range trading
Spot high-volatility sessions for breakout strategies
Combine session boxes with key levels for confluence
Note: Optimized for Forex but works on all instruments. Asian session hours automatically adjust for non-Forex assets.
FIB W-VWAP [A0A_Indicator]FIB W-VWAP is an advanced weekly anchored VWAP indicator that leverages Fibonacci-based deviation bands and a custom price source for improved market relevance.
Key Features:
Weekly Anchored VWAP: Resets automatically at the Friday NYSE close, providing a rolling weekly anchor that aligns with professional trading practice.
Fibonacci Deviation Levels: Plots multiple deviation bands around the VWAP, calculated using fixed Fibonacci-inspired multipliers for both positive and negative directions. These serve as key support and resistance zones for mean reversion or trend continuation strategies.
Dynamic Standard Deviation: Each band is based on the live, rolling standard deviation of price within the current weekly session, adapting in real time to changing volatility.
Unique Hybrid Price Source:
VWAP and deviation bands are calculated using a custom price formula:
hidden
This approach gives extra weight to the closing price while still considering intrabar extremes, resulting in a smoother and more robust anchor compared to classic VWAP formulas (such as typical price or close-only).
Visual Enhancements:
Distinct color fills and lines for each band
Configurable transparency and labels
Clearly marked VWAP and all deviation levels, labeled with their corresponding Fibonacci levels
Adaptable for Discretionary and Systematic Trading:
Useful for identifying mean reversion trades, breakouts, and overextended moves during the trading week.
How it works:
At each new weekly session (NY close on Friday), the VWAP and its standard deviation reset.
The script continuously updates cumulative price × volume, cumulative volume, and cumulative price² × volume to maintain accurate VWAP and standard deviation calculations.
Each deviation band is plotted as a multiple of the weekly standard deviation above and below the VWAP, using fixed Fibonacci coefficients.
Labels and horizontal lines extend into the future for clear, actionable visual reference.
Why use this version?
This indicator offers greater precision in turbulent markets, robust support/resistance mapping, and is especially effective for traders seeking a more nuanced, statistically informed view of weekly price structure. The hybrid source makes it more reliable during volatility spikes than classic VWAP methods.
Ready for all timeframes and asset classes—especially powerful for intraday and swing traders working with weekly cycles.
Black Box Trading Measuring Tool (BlackBox - BBT)Overview
The Black Box Trading Indicator is a comprehensive technical analysis tool that combines multiple trading concepts into a single, powerful indicator. It displays custom session ranges, Average Daily Range (ADR) projections, support/resistance levels, and order blocks to help traders identify key market levels and potential trading opportunities.
Key Features
1. Custom Session Ranges
Define and visualize any trading session with customizable start and end times
Automatically calculates session high, low, and midpoint
Displays quarter levels (25% and 75% of range)
Shows range projections at 100%, 150%, 200%, and 250% extensions
2. Average Daily Range (ADR) Analysis
Calculates and displays ADR for daily, weekly, monthly, and custom timeframes
Shows projected high and low targets based on ADR
Includes "hash" levels at 50% ADR from session midpoint
Visual range boxes highlight potential support/resistance zones
3. Market Structure Levels
Daily and weekly opening prices with dynamic coloring
Previous daily and weekly center mass (50% of previous period's range)
Real-time range statistics displayed in an information table
4. Order Block Detection
Automatically identifies bullish and bearish order blocks
Visual representation with customizable colors and transparency
Mitigation tracking to remove invalidated blocks
Alert system for price interaction with order blocks
Parameter Guide
Display Settings
Show Blocks
Enables/disables order block visualization
Useful for cleaner charts when focusing on other elements
Show Previous Daily/Weekly Center Mass
Displays the midpoint of the previous period's range
Helps identify potential support/resistance from prior price acceptance areas
Show Daily/Weekly Open
Shows opening prices with color coding (blue for bullish, orange for bearish)
Important reference points for intraday trading
Show ADR Targets
Displays projected highs and lows based on Average Daily Range
Essential for setting realistic profit targets and stop losses
Show Range Projection
Extends the session range by multiples (1x, 1.5x, 2x, 2.5x)
Helps identify potential price targets during trending moves
Show Average Daily Range
Displays the ADR statistics table
Shows current range metrics for multiple timeframes
Display range in pips
Converts range values to pips for forex traders
Provides standardized measurement across different instruments
ADR Configuration
ADR Days
Number of days to include in current ADR calculation
Default: 1 (shows today's developing range)
ADR Period
Lookback period for calculating average range
Default: 14 days (standard period for volatility measurement)
Custom Range
Select between 60-minute or 240-minute timeframes
Allows analysis of intermediate timeframes
Session Time Settings (EST)
Start Hour/Minute
Define when your custom session begins
Default: 19:00 EST (Asian session open)
End Hour/Minute
Define when your custom session ends
Default: 02:45 EST (London session approach)
Extend To Hour/Minute
How far to extend the horizontal lines
Default: 19:00 EST (full 24-hour extension)
Visual Customization
Color Settings
Top Color: Used for upper levels and bullish projections
Bottom Color: Used for lower levels and bearish projections
Range Outline Color: Main session range boundaries
Center Range Line Color: Session midpoint visualization
Line Settings
Range Outline Width: Thickness of range box borders
Session Line Width: Thickness of horizontal level lines
Line Styles: Choose between solid, dashed, or dotted
Text Settings
Text Color: Color for all labels
Text Size: AUTO, tiny, small, normal, or large
Order Block Settings
Sensitivity
Percentage threshold for order block detection (1-100)
Higher values = fewer but stronger blocks
Default: 25 (detects 25% price movements)
OB Mitigation Type
Close: Block is mitigated when price closes beyond it
Wick: Block is mitigated when price wicks beyond it
Color Configuration
Separate colors for bullish and bearish blocks
Border and background colors can be customized independently
Trading Applications
1. Session-Based Trading
Identify the initial balance (first hour of trading)
Trade breakouts from defined session ranges
Use range projections for profit targets
Monitor for range-bound vs trending conditions
2. ADR-Based Strategies
Set daily profit targets based on ADR projections
Identify overextended moves when price exceeds ADR
Use ADR levels for position sizing and risk management
Compare current range to average for volatility assessment
3. Support/Resistance Trading
Use previous period center mass as dynamic S/R
Trade bounces from daily/weekly opens
Combine multiple timeframe levels for confluence
Monitor order blocks for potential reversal zones
4. Order Block Trading
Enter trades when price returns to unmitigated blocks
Use blocks as stop loss placement guides
Look for confluence with other indicator levels
Monitor block mitigation for trend confirmation
Best Practices
1. Multi-Timeframe Analysis
Use higher timeframe blocks for major levels
Combine with lower timeframe entries
Monitor weekly levels on daily charts
2. Confluence Trading
Look for areas where multiple levels align
Combine order blocks with ADR targets
Use session ranges with center mass levels
3. Risk Management
Use ADR for realistic daily profit targets
Place stops beyond order blocks or range extremes
Size positions based on distance to key levels
4. Alert Usage
Set alerts for ADR target hits
Monitor order block interactions
Track range breakouts and hash level tests
Tips for Effective Use
Start Simple: Begin with basic session ranges and ADR before adding all features
Color Coding: Use consistent colors across your trading setup
Time Zones: Ensure session times match your trading schedule
Clean Charts: Toggle off unused features for clarity
Backtesting: Study how price respects these levels historically
Journaling: Document which levels work best for your traded instruments
Common Trading Scenarios
Range Trading
Enter longs at session low or lower projections
Enter shorts at session high or upper projections
Target the session midpoint or opposite extreme
Breakout Trading
Wait for clear breaks of session range
Use range width for measuring targets
Monitor ADR to gauge breakout potential
Trend Following
Use order blocks as pullback entries
Trail stops using range projections
Scale out at ADR targets
Reversal Trading
Look for price rejection at ADR extremes
Monitor order block mitigation failures
Use center mass as reversal confirmation
8EMA/VWAP14 Oscillator w/ Trend Exhaustion Bands8EMA/VWAP14 Oscillator w/ Trend Exhaustion Bands + Performance Screener
Introducing the 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands + Screener Suite - a comprehensive trading system that combines trend identification, momentum analysis, and real-time performance tracking all in one indicator. This system features a four-tier signal approach: early momentum warning dots before anything happens, confirmed entry/exit triangles when it's time to act, a dynamic trend ribbon on your price chart, and adaptive exhaustion bands that adjust to each asset's unique characteristics. The built-in performance tracker shows exactly how well your signals are working - success rates, average time to hit targets, and more - providing clear insight for confident trading decisions. Optimized for daily and weekly timeframes, this suite is suitable for both manual traders and automated strategies.
Aim of the Indicator
The 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands is an advanced momentum oscillator system that combines trend identification, momentum analysis, and forward-looking performance validation. This comprehensive tool measures the percentage difference between an 8-period Exponential Moving Average and a 14-period Volume Weighted Average Price while providing multiple layers of signal confirmation through visual trend ribbons, momentum shift alerts, and adaptive exhaustion detection.
How to Interpret the Indicator
Visual Trend System: The indicator displays a dynamic ribbon between the 8EMA and 14VWAP lines on the price chart, automatically colored green when EMA8 is above VWAP14 (bullish trend) and red when below (bearish trend), providing instant trend context.
Four-Tier Signal System:
Tiny Green Dots (Below Bars): Early bullish momentum shifts when the oscillator crosses above its adaptive baseline
Green Triangles (Below Bars): Confirmed buy signals when EMA8 crosses above VWAP14
Tiny Red Dots (Above Bars): Early bearish momentum shifts when the oscillator crosses below its adaptive baseline
Red Triangles (Above Bars): Confirmed sell signals when EMA8 crosses below VWAP14
Oscillator Analysis: The separate pane displays the momentum oscillator with a dynamic zero line (thin blue) representing the recent average EMA8/VWAP14 relationship. Trend exhaustion is detected through adaptive bands - orange for potential upside exhaustion and purple for potential downside exhaustion, calculated dynamically based on the oscillator's historical range relative to its adaptive baseline.
Key Settings and Flexibility
Signal Source Customization: Choose from Open, High, Low, Close, OHLC Average, or HL Average to optimize signal sensitivity for different market conditions and trading styles.
Multi-Timeframe Capability: Enable higher timeframe analysis to use signals from longer periods while trading on shorter timeframes, significantly reducing noise and improving signal quality for more reliable entries.
Dynamic Baseline Controls: Adjust the adaptive zero line calculation period (5-100 bars) - shorter periods provide more responsive momentum detection, while longer periods offer smoother trend context and reduced false signals.
Entry Timing Options: "Bar Opening Only" mode ensures signals trigger only at confirmed bar close using realistic entry prices, eliminating mid-bar noise and providing accurate backtesting results for automated trading systems.
Adaptive Exhaustion Detection: Customize lookback periods and threshold multipliers to fine-tune exhaustion sensitivity for different volatility environments and asset classes.
Comprehensive Performance Tracking: Set custom profit targets (1-50%) and maximum holding periods to analyze forward-looking signal effectiveness with real-time success rate monitoring.
Advanced Features and Benefits
Forward-Looking Performance Analytics: Unlike traditional backtesting, this system tracks how often buy signals reach specified profit targets and measures average time to target, providing immediate validation of signal quality across different assets and timeframes.
Adaptive Baseline Technology: The dynamic zero line automatically adjusts to each asset's unique EMA8/VWAP14 relationship patterns, making momentum signals contextually relevant rather than using static thresholds that may not suit all market conditions.
Professional Entry/Exit Tracking: When "Bar Opening Only" is enabled, all performance calculations use actual tradeable prices (next bar's open) rather than theoretical mid-bar prices, ensuring realistic performance expectations.
Visual Performance Dashboard: Real-time table displaying success rate, average bars to target, fastest/slowest target achievement, and active position tracking with complete transparency about timeframe, signal source, and methodology being used.
Integrated Alert System: Comprehensive alerts for both early momentum shifts and confirmed crossover signals, enabling automated trading integration and timely manual intervention.
Best Practices for Timing Entries and Exits
Entry Timing Strategy:
Watch for Early Warning: Monitor tiny green dots as momentum builds - this is your preparation phase
Confirm with Ribbon: Ensure the ribbon color aligns with your intended direction (green for long positions)
Enter on Triangle Signal: Execute entries when confirmed buy triangles appear, using realistic bar opening prices
Avoid Exhaustion Zones: Be cautious entering when the oscillator is near orange (upper) exhaustion bands
Exit Timing Strategy:
Monitor Momentum Shifts: Red dots above bars provide early warning of potential reversals before actual sell signals
Use Exhaustion Bands: Consider partial profit-taking when oscillator reaches exhaustion zones (orange/purple bands)
Confirm with Sell Signals: Exit positions when red triangles appear, especially if preceded by bearish momentum dots
Time-Based Exits: Utilize the "Max Bars to Target" setting to avoid holding losing positions indefinitely
Risk Management Integration:
Position Sizing: Use success rate metrics to adjust position sizes - higher success rates may warrant larger positions
Multi-Timeframe Confluence: Combine daily signals with weekly context for highest probability setups
Avoid False Signals: Wait for momentum dots before triangles for stronger signal confirmation, reducing whipsaw trades
Optimal Market Conditions:
Trending Markets: Ribbon provides clear directional bias - trade in direction of ribbon color
Range-Bound Markets: Focus on exhaustion bands for reversal opportunities near dynamic support/resistance levels
Volatile Conditions: Use higher timeframe settings to filter noise and focus on more significant moves
Optimal Timeframe Usage
This indicator achieves exceptional performance on Daily timeframes and delivers superior results on Weekly timeframes. Weekly analysis is particularly powerful for position trading and swing strategies, as the adaptive exhaustion bands and momentum shifts have greater statistical significance over extended periods. The ribbon visualization becomes especially valuable on longer timeframes, clearly delineating major trend phases while filtering out intraday noise that can plague shorter-term analysis.
Alternative Applications
Multi-Timeframe Confluence System: Use weekly signals for trend direction while executing entries on daily timeframes, combining the indicator's momentum dots and triangles across different time horizons for high-probability setups.
Automated Trading Integration: The indicator's comprehensive alert system and realistic entry tracking make it ideal for automated trading platforms, with clear signal hierarchy and performance validation built into the system.
Risk-Adjusted Position Sizing: Utilize real-time success rate data and average holding period metrics to dynamically adjust position sizes based on current market effectiveness of the strategy.
Market Regime Detection: The ribbon color changes and exhaustion band interactions help identify when markets transition between trending and ranging conditions, allowing strategy adaptation accordingly.
Performance Validation Tool: Test signal effectiveness across different assets, timeframes, and market conditions before committing capital, using the forward-looking analytics to validate strategy assumptions.
Conclusion
The 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands represents a comprehensive trading system that bridges the gap between manual analysis and automated execution. Its multi-layered approach provides both leading momentum indicators and lagging confirmation signals, while the adaptive baseline technology ensures relevance across different market conditions and asset classes. The integration of visual trend ribbons, performance analytics, and flexible timing controls makes it suitable for both discretionary traders seeking enhanced market insight and systematic traders requiring robust signal validation for automated strategies.
DWMY Opens (for aggr. charts) by Koenigsegg🟣 DWMY Opens (for Aggregated Charts) by Koenigsegg
Revolutionary compatibility with aggregated charts – This indicator represents a significant breakthrough in displaying Daily, Weekly, Monthly, and Yearly opening levels on aggregated chart types where traditional DWMY indicators have historically failed to function properly.
Complete aggregated chart support – Unlike previous Daily Weekly Monthly Yearly Opens indicators that experienced severe limitations when pulling data from non-standard chart types, this version is specifically engineered to work flawlessly with aggregated charts, range bars, Renko charts, Point & Figure charts, and all other non-time-based chart constructions.
Persistent horizontal reference lines – The indicator draws four distinct horizontal lines representing the opening prices of the current Daily, Weekly, Monthly, and Yearly periods, extending these levels forward into future bars to provide clear reference points for key support and resistance analysis.
Advanced customization capabilities – Features comprehensive user controls including custom label naming for each timeframe, adjustable line colors with independent color selection for Daily, Weekly, Monthly, and Yearly levels, configurable line width settings, and variable label font sizes ranging from tiny to huge.
Dynamic label positioning system – Implements a sophisticated label placement mechanism with configurable tick offset positioning and fixed end-bars-ahead projection, ensuring labels remain visible and properly positioned regardless of chart zoom level or timeframe.
Intelligent period detection logic – Utilizes advanced Pine Script time change detection algorithms specifically optimized for aggregated charts, accurately identifying new Daily, Weekly, Monthly, and Yearly periods even when traditional time-based functions fail on non-standard chart types.
Performance-optimized architecture – Built with efficient persistent variable storage using the var keyword, minimizing computational overhead while maintaining real-time updates across all timeframe levels simultaneously.
Professional visual presentation – Delivers clean, uncluttered chart visualization with strategically positioned labels that clearly identify each timeframe level without interfering with price action analysis.
Universal market compatibility – Functions seamlessly across all asset classes including stocks, forex, cryptocurrencies, commodities, and indices, adapting automatically to different tick sizes and price scales through syminfo.mintick integration.
Pine Script v6 foundation – Leverages the latest Pine Script version 6 capabilities, ensuring optimal performance, stability, and compatibility with current and future TradingView platform updates.
This indicator solves a critical limitation that has long plagued traders using aggregated chart types, finally enabling reliable access to essential Daily, Weekly, Monthly, and Yearly opening levels that serve as fundamental support and resistance zones in technical analysis. The breakthrough lies in its ability to maintain accurate period detection and level plotting regardless of the underlying chart construction methodology.
🟣 How It Works
Automatic period detection – The indicator continuously monitors for time changes across four distinct timeframes using ta.change(time()) functions for Daily and Weekly periods, month transitions for Monthly levels, and year changes for Yearly opens, ensuring precise identification of new period beginnings.
Real-time level updates – When a new period is detected, the indicator captures the opening price at that exact moment and immediately establishes a horizontal line from that bar extending forward to a configurable number of bars ahead, creating persistent reference levels.
Dynamic line management – Each timeframe maintains its own dedicated line object and label, with the indicator continuously updating the endpoint coordinates and label positions as new bars form, ensuring the levels always project the specified distance into the future.
Intelligent label placement – Labels are positioned at the end of each line with automatic vertical offset based on the symbol’s minimum tick size, preventing overlap with price action while maintaining clear identification of each timeframe level.
🟣 Pro Tips for Optimal Usage
Multi-timeframe confluence – Look for areas where multiple DWMY levels converge within close proximity, as these zones typically act as stronger support or resistance levels due to increased market participant attention at these psychological price points.
Breakout confirmation strategy – When price breaks above or below a significant DWMY level with strong volume, the broken level often transforms into support (if broken upward) or resistance (if broken downward), providing excellent entry and exit reference points.
Range trading opportunities – On ranging markets, use Daily and Weekly opens as potential reversal zones, especially when price approaches these levels during low-volume periods or near session opens when institutional activity increases.
Timeframe alignment technique – For swing trading, prioritize trades that align with the direction of the break from Weekly or Monthly opens, while using Daily opens for precise entry timing and position management.
Chart type optimization – This indicator excels on Renko, Range, and Point & Figure charts where traditional time-based DWMY indicators fail, making it invaluable for traders who prefer these aggregated chart types for cleaner price action analysis.
Important Disclaimer:
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All trading involves risk, and past performance does not guarantee future results. Please conduct your own research and consult with a qualified financial advisor before making any trading decisions. The author is not responsible for any losses incurred from using this indicator.
IBD Style Candles [tradeviZion]IBD Style Candles - Visualize Price Bars Like the Pros
Transform your chart with institutional-grade IBD-style bars and customizable moving averages for both daily and weekly timeframes. This indicator helps you visualize price action the way professionals at Investors Business Daily do.
What This Indicator Offers:
IBD-style bar visualization (clean, professional appearance)
Customizable coloring based on price movement or previous close
Automatic timeframe detection for appropriate moving averages
Four customizable moving averages for daily timeframes (10, 21, 50, 200)
Four customizable moving averages for weekly timeframes (10, 20, 30, 40)
Options to use SMAs or EMAs with adjustable colors and line widths
"The IBD-style bars provide a cleaner view of price action, allowing you to focus on market structure without the visual noise of traditional candles."
How to Apply the IBD-Style Bars:
On your TradingView chart, select "Bars" as the chart type from the main chart type selection menu (next to the time interval options).
Right-click on the chart and select "Settings".
Go to the "Symbol" tab.
Uncheck the "Thin Bars" option to display thicker bars.
Set the "Up Color" and "Down Color" opacity to 0 for a clean IBD-style appearance.
Enable "IBD-style Candles" from the script's settings.
To revert to the original chart style, repeat the above steps and restore the default settings.
Moving Average Configuration:
The indicator automatically detects your timeframe and displays the appropriate moving averages:
Daily Timeframe Moving Averages:
10-day moving average (SMA/EMA)
21-day moving average (SMA/EMA)
50-day moving average (SMA/EMA)
200-day moving average (SMA/EMA)
Weekly Timeframe Moving Averages:
10-week moving average (SMA/EMA)
20-week moving average (SMA/EMA)
30-week moving average (SMA/EMA)
40-week moving average (SMA/EMA)
Usage Tips:
Enable "Color bars based on previous close" to identify momentum shifts based on prior candle closes
Customize colors to match your chart theme or preference
Enable only the moving averages relevant to your trading strategy
For cleaner charts, reduce the number of visible moving averages
For stock trading, the 10/21/50/200 daily and 10/40 weekly MAs are most commonly used by institutions
// Example configuration for different timeframes
if timeframe.isweekly
// Weekly configuration
showSMA1_Weekly = true // 10-week MA
showSMA4_Weekly = true // 40-week MA
else
// Daily configuration
showMA2_Daily = true // 21-day MA
showMA3_Daily = true // 50-day MA
showMA4_Daily = true // 200-day MA
While the IBD style provides clarity, remember that no visualization method guarantees trading success. Always combine with proper analysis and risk management.
If you found this indicator helpful, please consider leaving a comment or suggestion for future improvements. Happy trading!