Weekday Signal [QuantAlchemy]The modified "Weekday Signal " Pine Script enhances the original by expanding from one entry and one exit condition to six independent entry and six independent exit conditions, each with its own weekdays, trading session, and time zone. While the original used a single time zone and produced one enter and one exit signal, the updated script maintains single enter and exit outputs by combining the six conditions for each using logical OR, ensuring compatibility with automated strategies. It retains the original’s main chart overlay, green/red backgrounds for entry/exit signals, and signal exposure for external scripts, aligning with the initial visualization and integration capabilities.
Statistics
Position Size Calculator with Compound EarningsContracts = (Account × Risk%) ÷ (Stop Distance × $2.00 for MNQ)
with compounddaily.org
ForexDada Live Trade SummaryThis indicator is designed for manual traders following Ali Jahanzaib's VSA strategies, specifically focusing on Signs of Strength (SOS) and Signs of Weakness (SOW) setups.
🔧 Key Features:
Track daily trade stats: number of trades, SL hits/pips, TP hits/pips.
Manually record the current active trade, including:
Trade type (SOS or SOW)
Setup subtype (e.g., Shakeout Candle, Upthrust Candle, TBR, EVR)
Trade result (TP/SL)
Pips gained/lost
Entry timeframe (manually entered, does not depend on chart)
A clean, compact table in the top-right corner with optional coloring for visual clarity.
Helps review trading performance and setups visually without external notes.
📌 Note: This tool does not track trades automatically — it’s built for manual logging and journaling directly on the chart.
Central Bank Assets YoY % with StdDev BandsCentral Bank Assets YoY % with StdDev Bands - Indicator Documentation
Overview
This indicator tracks the year-over-year (YoY) percentage change in combined central bank assets using a custom formula. It displays the annual growth rate along with statistical bands showing when the growth is significantly above or below historical norms.
Formula Components
The indicator is based on a custom symbol combining multiple central bank balance sheets:
Federal Reserve balance sheet (FRED)
Bank of Japan assets converted to USD (FX_IDC*FRED)
European Central Bank assets converted to USD (FX_IDC*FRED)
Subtracting Fed reverse repo operations (FRED)
Subtracting Treasury General Account (FRED)
Calculations
Year-over-Year Percentage Change: Calculates the percentage change between the current value and the value from exactly one year ago (252 trading days).
Formula: ((current - year_ago) / year_ago) * 100
Statistical Measures:
Mean (Average): The 252-day simple moving average of the YoY percentage changes
Standard Deviation: The 252-day standard deviation of YoY percentage changes
Display Components
The indicator displays:
Main Line: YoY percentage change (green when positive, red when negative)
Zero Line: Reference line at 0% (gray dashed)
Mean Line: Average YoY change over the past 252 days (blue)
Standard Deviation Bands: Shows +/- 1 standard deviation from the mean
Upper band (+1 StdDev): Green, line with breaks style
Lower band (-1 StdDev): Red, line with breaks style
Interpretation
Values above zero indicate YoY growth in central bank assets
Values below zero indicate YoY contraction
Values above the +1 StdDev line indicate unusually strong growth
Values below the -1 StdDev line indicate unusually severe contraction
Crossing above/below the mean line can signal shifts in central bank policy trends
Usage
This indicator is useful for:
Monitoring global central bank liquidity trends
Identifying unusual periods of balance sheet expansion/contraction
Analyzing correlations between central bank activity and market performance
Anticipating potential market impacts from changes in central bank policy
The 252-day lookback period (approximately one trading year) provides a balance between statistical stability and responsiveness to changing trends in central bank behavior.
Engulfing Bar Liquidity SweepIts an indicator that sweeps liquidity before going to the opposite direction.
MTS📊 MTS (Murrey Math System) Trading Strategy for TradingView 📊
Introduction:
This script implements the Murrey Math System (MTS), a market analysis tool based on a set of pivot points and price ranges, designed to help traders identify key levels of support and resistance.
MTS calculates key price levels based on historical price swings and helps identify price targets, stop-loss levels, and potential breakout zones.
The strategy also includes an adaptive bias panel, showing buy or sell suggestions based on current price action relative to Murrey Math levels.
Key Components:
1. Pivot Calculation and Conditions:
Pivot Lookback & Spikeyness Index:
The pivots: lookback/forward input defines how far back (and forward) the script looks to identify potential pivot points (high and low). A smaller value focuses on more recent swings, while larger values consider a broader range.
The Spikeyness Index (atrMult) allows you to adjust sensitivity to market spikes, utilizing the Average True Range (ATR) to detect sharp price movements that could indicate potential turning points.
Pivot Conditions:
isPivHigh and isPivLow detect local high and low pivot points, respectively.
Spiky Conditions: The spikyH and spikyL conditions filter out pivots that do not meet the spikiness criteria, which is based on ATR and moving averages.
2. Swing High and Swing Low Identification:
The script identifies and stores previous swing highs (HR_prev) and lows (LR_prev), updating them based on the current market structure.
3. Proprietary Calculation:
The propCalc input enables a proprietary calculation method for determining higher or lower levels beyond the typical Murrey Math levels, offering a more adaptive approach to price targets and support/resistance levels.
4. Murrey Math Lines (MML):
MML Calculation:
The code calculates a set of Murrey Math Lines (EightEight, FourEight, ZeroEight), which are key price levels based on the range of the price over a given time period. These levels represent major support and resistance zones, with the EightEight line indicating extremely overbought conditions and ZeroEight signaling deeply oversold conditions.
Level and Extension Lines:
The script also plots additional levels and extensions based on the range between HR and LR, representing key support/resistance levels. These levels are dynamically drawn on the chart, offering clear insights into where price might reverse or break out.
Strategy Logic:
- Breakout and Breakdown:
The Bias Box panel dynamically displays a trade bias, either suggesting to "Buy on Dip" or "Sell on Rise," depending on whether the current price is above or below the midpoint of the Murrey Math range (BEP). This bias is calculated using the market's relationship to the Murrey Math Levels.
- Buy on Dip: When the price is below the midpoint (BEP), suggesting the market is in a buying zone.
- Sell on Rise: When the price is above the midpoint, suggesting the market is in a selling zone.
- Stop-Loss and Target Hints:
The stop-loss (SL) and target levels are dynamically set based on the position relative to HR and LR:
For Buy on Dip: SL is set at LR Low, Target is set at HR High.
For sell on Rise: SL is set at HR Low, Target is set at LR High.
2. Historical and Current Levels:
The script compares the most recent Murrey Math levels with historical levels. This helps identify any shifts or changes in the market structure, enhancing the trader's ability to adapt to new trends.
- Current Levels:
The current levels are drawn from the most recent HR and LR values, with corresponding extensions showing possible breakout or breakdown zones.
- Historical Levels:
Historical levels are drawn in a "ghost" style, helping traders visualize past market conditions and potential support/resistance zones that could still influence price movement.
- Trade Examples:
Example 1: Buy on Dip
a. Scenario:
Price is below the midpoint (BEP), and the bias suggests a buy on dip.
The trader looks for a rebound from the LR Low level, with a target at the HR High.
b. Entry:
Buy when the price reaches the LR Low level.
c. Exit:
Take profit when the price hits the HR High.
d. Stop-Loss:
Place stop-loss at the LR Low.
Example 2: Sell on Rise
a. Scenario:
Price is above the midpoint (BEP), and the bias suggests a sell on rise.
The trader looks for a pullback to the HR Low, with a target at the LR High.
b. Entry:
Sell when the price reaches the HR High level.
c. Exit:
Take profit when the price hits the LR Low.
d. Stop-Loss:
Place stop-loss at the HR Low.
Key Features:
Bias Panel: A table in the top-right corner showing the current market bias (Buy on Dip, Sell on Rise, or Neutral).
Displays real-time trade direction and risk information, such as stop-loss and target hints.
Dynamic Level Adjustment: As the price moves, the script dynamically updates the key levels (HR, LR, and Murrey Math lines), keeping traders aware of the most recent market structure.
Visualization Tools:
The chart is populated with a series of lines and labels that indicate the critical price levels for trading.
Support/Resistance Lines: Each key level is marked with different colors for quick recognition.
Extensions: Additional lines are plotted based on price projections, indicating where the market could potentially move.
Note:
Please note that this is an educational purpose idea, any action/trade taken will be user's own responsibility.
Enjoy!
Regards.
Bitcoin Power Law Bayesian Fit with Residual HistogramTitle: Bayesian Bitcoin Power Law Indicator with Residuals Histogram
Description:
This Pine Script implements a Bitcoin (BTC) price indicator based on a power-law relationship between BTC price and time, modeled using Bayesian regression.
Bayesian regression is one of the most robust regression methods.
The indicator provides a robust framework for understanding BTC price trends, highlighting key statistical levels, based on deviation from the power law trend and visualizing the bimodal nature of BTC price behavior through a residual distribution histogram (distribution of the deviation from the Bayesian power law trend).
Features:
Power Law Model with Confidence Levels:
Models BTC price as a power-law function of time using Bayesian regression, displaying the median trendline.
Includes multiple confidence intervals to reflect statistical uncertainty.
Plots a support power-law line, set at 2 standard deviations below the median trend, serving as a critical lower bound for price expectations.
Bimodal Residual Histogram:
Displays a histogram in a lower panel, illustrating the distribution of model residuals (difference between actual BTC price and the power-law model) over a default 100-day window (user-configurable). This is one of the most innovative components of this indicator because it highlights the current shape of the distribution of recent deviations.
Highlights the bimodal nature of BTC price behavior, with two distinct regimes:
Core Power Law: Represents periods (approximately 2 years) when BTC price closely follows the power-law trend, typically when below the median power-law line.
Turbulent Flow BTC: Captures periods when BTC price is above the median power-law line, exhibiting more chaotic, bull-run behavior.
The histogram provides a range of possible prices based on the observed residual distribution, aiding in probabilistic price forecasting.
These analogies with fluid dynamics are part of the power law framework based on parallels in financial physics.
Purpose:
This indicator is designed for traders and analysts seeking to understand BTC price dynamics through a statistically grounded power-law model. The confidence levels and support line offer clear benchmarks for trend and support analysis, while the bimodal histogram provides insight into whether BTC is in a stable "Core Power Law" phase or a volatile "Turbulent Flow" phase, enabling better decision-making based on market regime.
Usage Notes:
Use the histogram to determine whether BTC is in the Core Power Law (below the power-law trend) or Turbulent Flow (above the trend) regime to contextualize price behavior.
Adjust the residual window (default 100 days) to analyze different timeframes for the distribution.
The support power-law line (2 standard deviations below) serves as a critical level for identifying potential price floors.
Z-Score Trend Monitor [EdgeTerminal]The Z-Score Trend Monitor measures how far the short-term moving average deviates from the long-term moving average using the spread difference of the two — in standardized units. It’s designed to detect overextension, momentum exhaustion, and potential mean-reversion points by converting the spread between two moving averages into a normalized Z-score and tracking its change and direction over time.
The idea behind this is to catch the changes in the direction of a trend earlier than the usual and lagging moving average lines, allowing you to react faster.
The math behind the indicator itself is very simple. We take the simple moving average of the spread between a long term and short term moving average, and divide it by the difference between the spread and spread mean.
This results in a relatively accurate and early acting trend detector that can easily identify overbought and oversold levels in any timeframe. From our own testing, we recommend using this indicator as a trend confirmation tool.
How to Use It:
Keep an eye on the Z-Score or the blue line. When it goes over 2, it indicates an overbought or near top level, and when it goes below -2, it indicates an oversold or near bottom.
When Z-Score returns to zero or grey line, it suggests mean reversion is in progress.
You can also change the Z-Score criteria from 2 and -2 in the settings to any number you’d like for tighter or wider levels.
For scalping and fast trading setups, we recommend shorter SMAs, such as 5 and 20, and for longer trading setups such as swing trades, we recommend 20 and 100.
Settings:
Short SMA: Lookback period of short term simple moving average for the lower side of the SMA spread.
Short Term Weight: Additional weight or multiplier to suppress the short term SMA calculation. This is used to refine the SMA calculation for more granular and edge cases when needed, usually left at 1, meaning it will take the entire given value in the short SMA field.
Long SMA: Lookback period of long term simple moving average for the upper side of the SMA spread.
Long Term Weight: Additional weight or multiplier to suppress the long term SMA calculation. This is used to refine the long SMA calculation for more granular and edge cases when needed, usually left at 1, meaning it will take the entire given value in the long SMA field.
Z-Score Threshold: The threshold for upper (oversold) and lower (overbought) levels. This can also be set individually from the style page.
Z-Score Lookback Window: The lookback period to calculate spread mean and spread standard deviation
Position Size Calculator with Compound EarningsDoes compounddaily.org functions and calculates position sizing based on
Contracts = (Account × Risk%) ÷ (Stop Distance × $2.00 for MNQ)
Position Size Calculator with Auto SymbolPosition sizing
Position Size = (Account × Risk%) ÷ (Stop Distance × $ Per Point)
True Strength Index (TSI)%📌 Script Name: TSI Percentuale
This script is a custom True Strength Index (TSI) indicator that expresses momentum strength as a percentage from 0% to 100%, instead of the traditional TSI scale.
✅ What the Script Does
Calculates the standard TSI:
Uses double exponential smoothing of price changes and their absolute values.
Formula:
TSI_raw
=
100
×
DoubleSmoothed(ΔPrice)
DoubleSmoothed(|ΔPrice|)
TSI_raw=100×
DoubleSmoothed(|ΔPrice|)
DoubleSmoothed(ΔPrice)
Normalizes TSI to a percentile scale:
Over a user-defined lookback period, the script finds the lowest and highest TSI values.
It then rescales the current TSI to a value between 0% (minimum) and 100% (maximum).
50% represents neutral momentum (i.e., "flat").
Plots the result:
tsi_percent is plotted as a blue line.
Horizontal dashed/dotted lines are drawn at:
0% → strong downward momentum
50% → neutral
100% → strong upward momentum
⚙️ Inputs
Long Length: Long EMA smoothing period (default: 25)
Short Length: Short EMA smoothing period (default: 13)
Signal Length: (not used in this version, can be removed or extended)
Lookback Period: Number of bars to calculate min/max normalization (default: 100)
🧠 Why Use This Indicator
The classic TSI ranges around and can be hard to interpret.
This version makes TSI visually intuitive by converting it to percentile form, allowing easier comparison of momentum strength across time and instruments.
It’s particularly useful for defining zones like:
Above 70% = strong bullish
Below 30% = strong bearish
Spot Vs Perp PremiumThis indicator visualizes the price premium or discount between spot and perpetual futures markets for any crypto asset, using data from Binance, OKX, and Bybit. It helps traders track sentiment shifts, uncover arbitrage signals, and identify potential short-term reversals or continuation moves based on how aggressively traders are positioned in derivatives relative to the spot market.
What It Does
- Calculates the premium:
The difference between spot price and perp price is shown as a histogram. A positive premium (spot > perp) suggests cautious or bearish perp traders, while a negative premium (perp > spot) may indicate aggressive long positioning or speculative activity.
Supports multiple venues:
You can toggle between Binance, OKX, Bybit, or view a 3-exchange average for a more smoothed view.
Automatic pair detection:
The script auto-detects the base and quote currency from your active chart, dynamically tracking the correct spot and perp contracts for the asset you're analyzing.
Invert option:
Flip the calculation to view the perp premium instead of the spot premium, useful for comparing directional funding bias or for personal preference in visual analysis.
Optional moving average:
Smooth the premium signal over time to track sustained shifts in sentiment and filter out noise.
Table display:
Displays the real-time premium value in the corner of the chart for clarity.
Why It's Useful
This tool gives insight into derivatives trader behavior vs real market pricing. Spot prices reflect actual buying/selling of assets, while perpetual futures are often driven by speculation, leverage, and short-term positioning. When these diverge significantly, it often precedes market inflection points:
- Perp trading above spot (negative premium): excessive long exposure, potential for mean reversion or liquidations.
- Perp trading below spot (positive premium): risk-off behavior or hedging, potential for squeeze or unwind.
You can use this indicator to:
- Anticipate liquidation-driven moves
- Spot early signs of trend exhaustion
- Confirm breakout strength with perp alignment
- Monitor crowd positioning in real-time
Inputs
- Exchange – Select from Binance, OKX, Bybit, or average all three
- Inverse Premium – Flip the calculation to see perp - spot instead
- Show MA – Overlay a moving average for premium smoothing
- Show Table – Toggle live premium table display
- MA Period – Customize the smoothing window
Enjoy! Please comment and like!
Priyank`s Decider LevelThis Script helps you find out the Daily Chart Bias for Next Day, Kindly note it helps you in deciding it does not give you guarantee or assurance of Performance. Practice and Backtest before implementation.
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.
Bar CounterBar Counter Indicator: Track Bar Sequences with Precision
The Bar Counter Indicator is a highly customizable tool designed for traders who want to monitor and label candlestick bars on their TradingView charts based on their sequence within a specified timeframe. By numbering bars as they form, this indicator helps traders identify patterns, track market rhythm, and time entries or exits with greater precision. It is particularly useful for strategies that rely on counting bars, such as time-based setups, scalping, or pattern recognition.
### Key Features:
1. **Bar Numbering**:
- Assigns a sequential number to each candlestick bar within a user-defined timeframe, displayed directly on the chart.
- Option to show only **even-numbered bars**, **odd-numbered bars**, or both, allowing traders to focus on specific bar sequences (e.g., every second bar for a pattern).
2. **Time Range Filtering**:
- Optionally filter bar counting to a specific time window (e.g., a trading session like 9:30 AM to 4:00 PM).
- When the time filter is enabled, the counter resets to 1 at the start of the specified time range and only counts bars within that period, making it ideal for analyzing high-activity sessions like market opens or closes.
3. **Customizable Display**:
- **Text Position**: Choose whether bar numbers appear above or below the candlestick for optimal chart clarity.
- **Text Color and Size**: Customize the color and size (tiny, small, normal, large) of the numbered labels to match your chart preferences.
- **Vertical Offset**: Fine-tune the vertical placement of labels to avoid overlapping with price action or other indicators.
### How to Use:
- **Pattern Recognition**: Use the bar counter to identify recurring patterns that occur after a specific number of bars (e.g., reversals after 5 bars or breakouts after 10 bars).
- **Session-Based Trading**: Enable the time filter to count bars only during key trading sessions, such as the New York or London market hours, to focus on high-volume periods.
- **Scalping and Intraday Strategies**: Track bar sequences to time entries or exits, especially when combined with even/odd filtering for alternating setups.
- **Automation Support**: The numbered bars can assist in backtesting or developing automated strategies by providing a clear reference for bar counts.
### Ideal For:
- **Scalpers**: Monitor rapid bar sequences to time precise entries and exits in fast-moving markets.
- **Day Traders**: Focus on specific trading sessions by using the time filter to count bars during high-liquidity periods.
- **Pattern Traders**: Identify and act on candlestick patterns that depend on bar counts, such as those used in price action or harmonic trading.
- **All Markets**: Effective for forex, stocks, cryptocurrencies, commodities, and indices across any intraday timeframe.
### Why Choose This Indicator?
The Bar Counter Indicator offers unparalleled flexibility for traders who rely on bar sequencing to inform their strategies. Its ability to filter by time, display only even or odd bars, and customize label appearance ensures it adapts to a wide range of trading styles. Whether you're timing trades in a specific session or tracking patterns across a chart, this indicator provides a clear, visual way to stay on top of market rhythm. Simple yet powerful, it’s a must-have tool for traders seeking to enhance their precision and decision-making.
Add the Bar Counter Indicator to your TradingView chart today and take control of your bar-based trading strategies!
OHLCOHLC Indicator: Comprehensive Price Level Visualization
The OHLC Indicator is a versatile and powerful tool designed for traders to visualize key price levels across multiple timeframes directly on their TradingView charts. This indicator plots the Open, High, Low, and Close (OHLC) prices for daily, weekly, monthly, and yearly periods, as well as the previous day's OHLC levels, providing a clear and customizable view of significant price points. It is particularly useful for identifying support and resistance zones, trend direction, and potential breakout or reversal levels.
### Key Features:
1. **Multi-Timeframe OHLC Display**:
- **Daily OHLC**: Optionally display the current day's Open, High, Low, and Close prices, ideal for intraday traders seeking to monitor daily price action.
- **Yesterday's OHLC**: Plots the previous day's Open, High, Low, and Close by default, offering context for price movements relative to the prior session.
- **Weekly OHLC**: Visualize the current week's Open, High, Low, and Close, with customizable styles (e.g., circles for highs/lows, lines for opens).
- **Monthly OHLC**: Show the current month's OHLC levels, perfect for swing traders analyzing longer-term price structures.
- **Yearly OHLC**: Display the current year's OHLC, helping traders identify major annual price levels for strategic planning.
2. **Customizable Visibility**:
- Traders can toggle the display of OHLC levels for each timeframe (Daily, Yesterday, Weekly, Monthly, Yearly) via input settings, ensuring a clutter-free chart tailored to their needs.
- Each timeframe's OHLC is plotted with distinct colors and styles (e.g., blue lines for daily, green circles for weekly highs, purple crosses for monthly lows) for easy differentiation.
3. **Bias Highlighting**:
- **Background Bias Coloring**: When enabled, the chart background is lightly shaded green if the current price is above the weekly open or red if below, providing a quick visual cue of bullish or bearish bias relative to the weekly open.
- **Above/Below Week Open Indicator**: Optionally display small triangles at the top of the chart to indicate whether the current price is above (green triangle up) or below (red triangle down) the weekly open, enhancing trend awareness.
### How to Use:
- **Support and Resistance**: Use the High and Low levels from various timeframes to identify key support and resistance zones. For example, a daily high or yesterday's close often acts as a barrier for price movement.
- **Trend Analysis**: The weekly open and bias coloring help traders assess whether the market is trending bullish or bearish relative to the week's starting point.
- **Breakout and Reversal Trading**: Monitor price interactions with OHLC levels (e.g., a break above a monthly high or rejection at a yearly low) to spot potential breakout or reversal opportunities.
- **Customization**: Adjust the input settings to show only the OHLC levels relevant to your trading strategy, reducing chart noise and focusing on critical price points.
### Ideal For:
- **Day Traders**: Leverage daily and yesterday's OHLC to pinpoint intraday entry and exit levels.
- **Swing Traders**: Use weekly and monthly OHLC to identify significant price zones for multi-day or multi-week trades.
- **Position Traders**: Analyze yearly OHLC for long-term market structure and major trend direction.
- **All Markets**: Applicable to stocks, forex, cryptocurrencies, commodities, and indices on intraday or higher timeframes.
### Why Choose This Indicator?
The OHLC Indicator stands out for its flexibility, clarity, and ability to consolidate critical price levels across multiple timeframes into a single, easy-to-read overlay. Whether you're a scalper, swing trader, or long-term investor, this indicator empowers you to make informed decisions by highlighting the price levels that matter most. Its intuitive design and customizable options ensure it adapts to any trading style, making it an essential tool for traders seeking a competitive edge.
Add the OHLC Indicator to your TradingView chart today and gain a deeper understanding of market structure and price dynamics!
ETF Builder & Backtest System [TradeDots]Create, analyze, and monitor your own custom “ETF-like” portfolio directly on TradingView. This script merges up to 10 different assets with user-defined weightings into a single composite chart, allowing you to see how your personalized portfolio would have performed historically. It is an original tool designed to help traders and investors quickly gauge risk and return profiles without leaving the TradingView platform.
📝 HOW IT WORKS
1. Custom Portfolio Construction
Multiple Assets : Combine up to 10 different stocks, ETFs, cryptocurrencies, or other symbols.
User-Defined Weights : Allocate each asset a percentage weight (e.g., 15% in AAPL, 10% in MSFT, etc.).
Single Composite Value : The script calculates a weighted “ETF-style” price, effectively simulating a merged portfolio curve on your chart.
2. Performance Tracking & Return Analysis
Automatic History Capture : The indicator records each asset’s starting price when it first appears in your chosen date range.
Rolling Updates : As time progresses, all asset prices are continually evaluated and the portfolio value is updated in real time.
Buy & Hold Returns : See how each asset—and the overall portfolio—performed from the “start” date to the most recent bar.
Annualized Return : Automatically calculates CAGR (Compound Annual Growth Rate) to help visualize performance over varying timescales.
3. Table & Visual Output
Performance Table : A comprehensive table displays individual asset returns, annualized returns, and portfolio totals.
Normalized Chart Plot : The composite ETF value is scaled to 100 at the start date, making it easy to compare relative growth or decline.
Optional Time Filter : You can define a specific date range (Start/End Dates) to focus on a particular period or to limit historical data.
⚙️ KEY FEATURES
1. Flexible Asset Selection
Choose any symbols from multiple asset classes. The script will only run calculations when data is available—no need to worry about missing quotes.
2. Dynamic Table Reporting
Start Price for each asset
Percentage Weight in the portfolio
Total Return (%) and Annualized Return (%)
3. Simple Backtesting Logic
This script takes a straightforward Buy & Hold perspective. Once the start date is reached, the portfolio remains static until the end date, so you can quickly assess hypothetical growth.
4. Plot Customization
Toggle the main “ETF” plot on/off.
Alter the visual style for tables and text.
Adjust the time filter to limit or extend your performance measurement window.
🚀 HOW TO USE IT
1. Add the Script
Search for “ETF Builder & Backtest System ” in the Indicators & Strategies tab or manually add it to your chart after saving it in your Pine Editor.
2. Configure Inputs
Enable Time Filter : Choose whether to restrict the analysis to a particular date range.
Start & End Date : Define the period you want to measure performance over (e.g., from 2019-12-31 to 2025-01-01).
Assets & Weights : Enter each symbol and specify a percentage weight (up to 10 assets).
Display Options : Pick where you want the Table to appear and choose background/text colors.
3. Interpret the Table & Plots
Asset Rows : Each asset’s ticker, weighting, start price, and performance metrics.
ETF Total Row : Summarizes total weighting, composite starting value, and overall returns.
Normalized Plot : Tracks growth/decline of the combined portfolio, starting at 100 on the chart.
4. Refine Your Strategy
Compare how different weights or a new mix of assets would have performed over the same period.
Assess if certain assets contribute disproportionately to your returns or volatility.
Use the results to guide allocations in your real trading or paper trading accounts.
❗️LIMITATIONS
1. Buy & Hold Only
This script does not handle rebalancing or partial divestments. Once the portfolio starts, weights remain fixed throughout the chosen timeframe.
2. No Reinvestment Tracking
Dividends or other distributions are not factored into performance.
3. Data Availability
If historical data for a particular asset is unavailable on TradingView, related results may display as “N/A.”
4. Market Regimes & Volatility
Past performance does not guarantee similar future behavior. Markets can change rapidly, which may render historical backtests less predictive over time.
⚠️ RISK DISCLAIMER
Trading and investing carry significant risk and can result in financial loss. The “ETF Builder & Backtest System ” is provided for informational and educational purposes only. It does not constitute financial advice.
Always conduct your own research.
Use proper risk management and position sizing.
Past performance does not guarantee future results.
This script is an original creation by TradeDots, published under the Mozilla Public License 2.0.
Use this indicator as part of a broader trading or investment approach—consider fundamental and technical factors, overall market context, and personal risk tolerance. No trading tool can assure profits; exercise caution and responsibility in all financial decisions.
ICT Macro H1 v2"H1 Candle Time Box" is a custom TradingView indicator that highlights a configurable time window surrounding the close of each 1-hour (H1) candle. The indicator draws a transparent box 15 minutes before and after each H1 candle close (by default), helping traders visualize time-based reaction zones.
🔍 Features:
Custom time window: Users can set how many minutes before and after the H1 close the box should appear.
Dynamic positioning: Boxes are drawn slightly above the candles to avoid overlap with price bars.
Live time labels: Each box displays its time range (e.g., "08:45 - 09:15") based on the start and end time of the zone.
Auto-cleaning: Only a limited number of recent boxes (default: 5) are shown, keeping the chart clean.
Requires 1-minute chart for precise timing.
This tool is especially helpful for intraday traders to identify areas of interest or market reactions before and after key hourly closes.
ICT Macro H1"H1 Candle Time Box" is a custom TradingView indicator that highlights a configurable time window surrounding the close of each 1-hour (H1) candle. The indicator draws a transparent box 15 minutes before and after each H1 candle close (by default), helping traders visualize time-based reaction zones.
🔍 Features:
Custom time window: Users can set how many minutes before and after the H1 close the box should appear.
Dynamic positioning: Boxes are drawn slightly above the candles to avoid overlap with price bars.
Live time labels: Each box displays its time range (e.g., "08:45 - 09:15") based on the start and end time of the zone.
Auto-cleaning: Only a limited number of recent boxes (default: 5) are shown, keeping the chart clean.
Requires 1-minute chart for precise timing.
This tool is especially helpful for intraday traders to identify areas of interest or market reactions before and after key hourly closes.
ICT Macro H1"H1 Candle Time Box" is a custom TradingView indicator that highlights a configurable time window surrounding the close of each 1-hour (H1) candle. The indicator draws a transparent box 15 minutes before and after each H1 candle close (by default), helping traders visualize time-based reaction zones.
🔍 Features:
Custom time window: Users can set how many minutes before and after the H1 close the box should appear.
Dynamic positioning: Boxes are drawn slightly above the candles to avoid overlap with price bars.
Live time labels: Each box displays its time range (e.g., "08:45 - 09:15") based on the start and end time of the zone.
Auto-cleaning: Only a limited number of recent boxes (default: 5) are shown, keeping the chart clean.
Requires 1-minute chart for precise timing.
This tool is especially helpful for intraday traders to identify areas of interest or market reactions before and after key hourly closes.
Golden Setup V1Golden Setup V1 is an overlay indicator that automates Tony Rago’s “Golden Setup” price-level framework. It divides the chart into fixed “blockSize” intervals (default 100 points) and plots a series of key horizontal levels within each block—levels at 00, 12, 26, 33, 50, 62, 77 and 88 offsets. These levels act as dynamic support and resistance grids that roll up or down as price moves between blocks.
Key Features
Customizable Offsets
Define eight offset levels corresponding to Rago’s Golden Setup:
00 (Round Number)
12 (Target 12)
26 (First “Golden” level)
33 (Target 33)
50 (Mid-block pivot)
62 (Target 62)
77 (Second “Golden” level)
88 (Target 88)
Multi-Block Coverage
Choose how many blocks above and below the current 100-point block you wish to display, so you always have levels drawn for the surrounding price range.
Golden-Only Filter
A handy toggle lets you show only the two “Golden” offsets (26 & 77), which many traders prioritize for high-probability bounce or breakout areas.
Dynamic Nearest-Level Label
Highlights the closest Golden Setup level (to the right edge of the chart) with a movable label, so you always know which level price is approaching.
Full Styling Control
Customize line colors, widths, block size, label fonts and opacity to suit your charting style.
How It Works
Block Calculation
On each bar, the indicator computes the “current block” by flooring (close / blockSize) and multiplying back by blockSize.
Level Offsets
It adds each of the eight user-defined offsets to that block base (and, if price has moved below the lowest offset, shifts the block down one interval).
Drawing
Each level is drawn as a horizontal line extending across the chart for as many blocks above/below as you select.
Nearest-Level Detection
Within the present block, it calculates which of the plotted levels is closest to price and displays that value on the right edge.
Usage Tips
Use the Golden-Only filter to declutter and focus solely on the 26 & 77 levels, which often act as strong intra-block pivot points.
Combine with volume or momentum indicators to confirm bounces at these levels.
Adjust blockSize (e.g. 50 or 200) if you wish to work in smaller or larger price increments.
⚠️ Disclaimer: This script is for educational and illustrative purposes only. Trading involves risk—always back-test and validate any strategy on a demo account before going live.
DECODE M2 Global Liquidity IndexThe most comprehensive M2 indicator on Trading View.
- Custom lead setting (days)
- Data sources for the 20 largest economies
- Only selected sources are loaded for efficiency
- Automatic multi-timeframe recalculation
SwingArm ATR Trend (Blackflag FTS) + HTF Zones & Trail📐 SwingArm ATR Trend + HTF Zones | Blackflag FTS Concept
A precision-engineered volatility mapping and trend-trailing system inspired by the Blackflag FTS / SwingArm ATR methodology — now enhanced with multi-timeframe confluence, adaptive ATR zones, and Fibonacci-level support/resistance architecture.
Designed for trend traders, scalpers, and swing specialists, this tool visually defines where price is likely to pivot, trend, or exhaust — based entirely on structure and volatility, not lagging signals.
🧩 Core Logic
🔹 Adaptive Swing Zones (Current TF)
Built using Fibonacci-scaled ATR offsets from a dynamic midline (the average of the session high/low), these zones evolve with price structure:
Zone +1 / -1: Primary volatility boundaries — breakout or pullback zones.
Zone +2 / -2: Extended moves — high-momentum areas.
Zone +3 / -3: Exhaustion zones — potential reversal or take-profit areas.
Color shifts dynamically based on directional bias (bullish/bearish).
🟨 Trailing Stop (Current TF)
An adaptive trailing stopline that follows trend shifts using midline ± ATR logic.
Acts as a bias filter and exit manager.
Color-coded for clarity.
Flips based on price’s relationship to the trail.
🔶 Higher Timeframe Zones (HTF Overlay)
Optional overlay that mirrors the full structure — zones + trailing stop — from a higher timeframe of your choice.
Perfect for:
Validating local moves against macro context.
Spotting higher-timeframe traps or confluence breakouts.
🛠️ Settings & Customization
ATR Period — default is 14, but adaptable to asset volatility.
Source — usually close, but adjustable for experimentation.
Show/Hide Toggles — independently control visibility for:
Current TF zones & trail
HTF overlay
Zone Colors — full control for bullish/bearish bias on both timeframes.
Line Widths — customize to fit any chart style or background.
🎯 Real-World Trade Examples
📈 Long Trend + Pullback
Price breaks through Zone +1 with momentum.
Trail flips bullish; price holds above it.
HTF trail and zones are also bullish.
Entry: On retracement to the trail or Zone +1.
Exit: At Zone +2 or a trail break.
📉 Short Reversal
Price rejects Zone +2 with bearish candle.
Trail flips to bearish shortly after.
HTF trail confirms downtrend.
Entry: On retest of Zone +1 or failed bounce at trail.
Exit: At Zone -1/-2 or upon trail break.
🔁 Range or Fade Play
In low-trend conditions, Zones +2/-2 act as mean-reversion pivot points.
Scalp entries can be taken with tight stops near those extremes.
Avoid during clear HTF directional bias.
🧠 Trading Tips
Trend + Structure + Volatility = edge.
Let zones act as your pre-defined decision map.
Use the HTF layer to validate or fade local setups.
Great in combination with:
Price action or liquidity maps
Volume profile / OBV
Oscillators for entry timing
✅ Summary
This indicator helps you:
Stay in trends longer with smart trailing logic.
Know exactly where volatility could expand or exhaust.
Align entries with multi-timeframe structure.
Visually separate trending from ranging conditions.
It's an educational idea, and it doesn’t predict the future — it frames it with objective volatility zones so you can trade with clarity and confidence.
Regards!