Lot Size Calculator (SL percentuale) - Precisione Pip OANDA🇬🇧 Lot Size Calculator (SL Percentage or Manual) – with Live USD Pip Value
This tool helps traders accurately calculate the optimal lot size based on account equity, risk percentage, and stop loss – which can be defined either as a percentage or dragged directly on the chart.
🔧 Key Features:
✅ Real-time lot size calculation based on equity and risk.
✅ Flexible stop loss options:
Percentage-based SL
Manual SL line (editable by dragging on the chart)
✅ Take Profit automatically calculated from your RR ratio.
✅ Live pip value in USD, based on OANDA exchange rates.
✅ Compatible with all major Forex pairs, including USD as base or quote currency.
✅ On-chart info table with equity, risk, pip value, SL in pips, RR, lot size, and levels.
🎯 Who it's for:
For Forex traders who:
Need risk-managed position sizing
Want dynamic and visual control of entry, SL, and TP
Prefer clear data tables and pip accuracy
⚠️ Disclaimer:
This tool is for educational and informational purposes only. We do not take responsibility for any trading losses, calculation errors, or misinterpretations. Use at your own risk.
🇮🇹 Calcolatore Lotti (SL Percentuale o Manuale) – con Valore Pip USD Dinamico
Questo strumento ti aiuta a calcolare in modo preciso la dimensione ottimale del lotto, in base al tuo capitale, al rischio percentuale e allo stop loss – che può essere definito come percentuale oppure trascinato manualmente sul grafico.
🔧 Caratteristiche principali:
✅ Calcolo automatico della lot size in base a equity e rischio.
✅ Stop loss flessibile:
In percentuale
Manuale (modificabile trascinando la linea sul grafico)
✅ Take Profit calcolato automaticamente dal rapporto rischio/rendimento.
✅ Valore pip in USD in tempo reale, tramite tassi di cambio OANDA.
✅ Compatibile con tutte le principali coppie Forex, anche con USD come valuta base o quotata.
✅ Tabella visiva sul grafico con tutti i dettagli operativi (SL, TP, rischio, equity, pip, lotti…).
🎯 Per chi è pensato:
Per trader Forex che vogliono:
Una gestione del rischio professionale
Il pieno controllo visivo di SL, TP e Entry
Informazioni chiare e affidabili direttamente sul grafico
⚠️ Disclaimer:
Questo strumento è fornito solo a scopo educativo e informativo. Non ci assumiamo alcuna responsabilità per eventuali errori di calcolo, perdite economiche o usi impropri. L’uso è a proprio rischio e pericolo.
Forecasting
Market PulseThe script is about getting all TF's dominant side and create a precise voting logic. GAME ON!
Candlestick Pattern DetectorAll main Candlestick Pattern are available in this
Candlestick patterns are visual representations of price movements that help traders identify potential trend continuations and reversals in financial markets. Each candlestick displays four key price points: open, high, low, and close for a specific time period.
In trending markets, several patterns prove particularly valuable. **Continuation patterns** signal that the existing trend will likely persist. The bullish engulfing pattern occurs when a large green candle completely engulfs the previous red candle, indicating strong upward momentum. Conversely, a bearish engulfing pattern suggests continued downward movement.
**Hammer and doji patterns** often appear at trend extremes, potentially signaling reversals. A hammer features a small body with a long lower wick, suggesting buyers stepped in after initial selling pressure. Doji candles, where open and close prices are nearly identical, indicate market indecision and possible trend changes.
**Three-candle patterns** like morning and evening stars provide stronger reversal signals. A morning star consists of a bearish candle, followed by a small-bodied candle, then a strong bullish candle, suggesting a potential uptrend reversal.
Successful traders combine candlestick analysis with volume indicators and support/resistance levels for confirmation. While these patterns offer valuable insights into market psychology and potential price movements, they should never be used in isolation for trading decisions.
Multi-Position DashMulti-Position Dash — Risk Dashboard for Forex, Stocks & Indices
Overview:
The Multi-Position Dash is a highly customizable trading dashboard designed to help active traders manage up to 8 simultaneous positions across Forex, Stocks, and Indices. Whether you're trading single entries, layering positions, using DCA (Dollar Cost Averaging), or running complex hedging setups, this tool provides essential, real-time risk and P&L insights—directly on your chart.
Key Features:
✔️ Supports Forex, Stocks, Indices — with automatic pip and contract conversions
✔️ Track up to 8 manual positions, each with customizable direction, lot size or contracts, entry price, Take Profit, and Stop Loss
✔️ Full GBP-based P&L and risk calculation, including automatic USD-to-GBP conversion for non-FX assets
✔️ Real-time display of:
Total potential Take Profit (GBP)
Total potential Stop Loss (GBP)
Risk % relative to account balance
Live P&L (GBP) based on current price
✔️ Breakeven price calculation, even across mixed-direction positions (DCA & hedging aware)
✔️ Visual breakeven line, live P&L arrows, and entry price markers
✔️ Shared Stop Loss option for all positions — perfect for DCA traders
✔️ Easy export strings for logging trades to external tools like spreadsheets
Ideal For:
✅ Forex traders using lot-based risk models
✅ Stock & Index traders wanting simplified contract-based position tracking
✅ Traders managing multiple active positions, with or without hedging
✅ Anyone needing at-a-glance P&L and risk monitoring, independent of broker platforms
Notes & Usage:
This is a manual tracking tool—you enter your positions, TP, SL levels, etc., and the dashboard calculates the rest. It does not place or manage live orders.
Supports both Long and Short positions.
All calculations are based on your inputs and market price—accuracy depends on maintaining your inputs properly.
Shared Stop Loss feature applies a single, unified stop across all active positions for simplified risk control in DCA setups.
GBP is used as the account currency—USD-to-GBP conversion is applied to stocks and indices as needed.
Disclaimer:
This tool is for educational and planning purposes only. It does not place or manage live trades, and is not a substitute for broker risk management tools. Always double-check your own position sizing and risk before placing live orders.
ATR FX DashboardATR FX Dashboard – Multi-Timeframe Volatility Monitor
Overview:
The ATR FX Dashboard provides a quick, at-a-glance view of market volatility across multiple timeframes for any forex pair. It uses the well-known Average True Range (ATR) indicator to display real-time volatility information in both pips and percentage terms, helping traders assess potential risk, position sizing, and market conditions.
How It Works:
This dashboard displays:
✔ ATR in Pips — The average price movement over a given timeframe, converted to pips for easy interpretation, automatically adjusting for JPY pairs.
✔ ATR as a Percentage of Price — Shows how significant the ATR is relative to the current price. Higher percentages often signal higher volatility or more active markets.
✔ Color-Coded Volatility Highlights — On the daily timeframe, ATR % cells are color-coded:
Green: High volatility
Orange: Moderate volatility
Red: Low volatility
Timeframes Displayed:
15 Minutes
1 Hour
4 Hour
Daily
This gives traders a clear, multi-timeframe view of short-term and broader market volatility conditions, directly on the chart.
Ideal For:
✅ Forex traders seeking quick, reliable volatility reference points
✅ Day traders and swing traders needing help with risk assessment and position sizing
✅ Anyone using ATR-based strategies or simply wanting to stay aware of changing market conditions
Additional Features:
Toggle option to display or hide ATR % relative to price
Automatic pip conversion for JPY pairs
Simple, clean table layout in the bottom-right corner of the chart
Supports all forex symbols
Disclaimer:
This tool is for informational purposes only and is not financial advice. As with all technical indicators, it should be used in conjunction with other tools and proper risk management.
Gold Mini Strategy: EMA | RSI | MACD | VWAP | BB | PAGood Script to view all the important indicator into one
M2 Liquidity Divergence ModelM2 Liquidity Divergence Model
The M2 Liquidity Divergence Model is a macro-aware visualization tool designed to compare shifts in global liquidity (M2) against the performance of a benchmark asset (default: Bitcoin). This script captures liquidity flows across major global economies and highlights whether price action is aligned ("Agreement") or diverging ("Divergence") from macro trends.
🔍 Core Features
M2 Global Liquidity Index (GLI):
Aggregates M2 money supply from major global economies, FX-adjusted, including extended contributors like India, Brazil, and South Africa. The slope of this composite is used to infer macro liquidity trends.
Lag Offset Control:
Allows the M2 signal to lead benchmark asset price by a configurable number of days (Lag Offset), useful for modeling the forward-looking nature of macro flows.
Gradient Macro Context (Background):
Displays a color-gradient background—aqua for expansionary liquidity, fuchsia for contraction—based on the slope and volatility of M2. This contextual backdrop helps users visually anchor price action within macro shifts.
Divergence Histogram (Optional):
Plots a histogram showing dynamic correlation or divergence between the liquidity index and the selected benchmark.
Agreement Mode: M2 and asset are moving together.
Divergence Mode: Highlights break in expected macro-asset alignment.
Adaptive Transparency Scaling:
Histogram and background gradients scale their visual intensity based on statistical deviation to emphasize stronger signals.
Toggle Options:
Show/hide the M2 Liquidity Index line.
Show/hide divergence histogram.
Enable/disable visual offset of M2 to benchmark.
🧠 Suggested Usage
Macro Positioning: Use the background context to align directional trades with macro liquidity flows.
Disagreement as Signal: Use divergence plots to identify when price moves against macro expectations—potential reversal or exhaustion zones.
Time-Based Alignment: Adjust Lag Offset to synchronize M2 signals with asset price behavior across different market conditions.
⚠️ Disclaimer
This indicator is designed for educational and analytical purposes only. It does not constitute financial advice or an investment recommendation. Always conduct your own research and consult a licensed financial advisor before making trading decisions.
MNQ/NQ Risk Management ToolThis tool helps MNQ and NQ futures traders automatically calculate position size based on either a fixed dollar risk or a percentage of account balance.
Simply enter your stop loss level and choose whether to risk a set dollar amount or a percentage of your account. The script will display how many contracts to trade based on your setup.
Features:
Calculates contracts based on stop loss and risk size
Toggle between dollar-based or percent-of-account risk
Works with both MNQ ($2/point) and NQ ($20/point)
Automatically updates based on current price and direction (long or short)
Displays a clean info box on your chart with risk, contracts, and settings
This tool is ideal for intraday or swing traders who want to stay consistent with risk management across trades.
Bitcoin Power Law Clock [LuxAlgo]The Bitcoin Power Law Clock is a unique representation of Bitcoin prices proposed by famous Bitcoin analyst and modeler Giovanni Santostasi.
It displays a clock-like figure with the Bitcoin price and average lines as spirals, as well as the 12, 3, 6, and 9 hour marks as key points in the cycle.
🔶 USAGE
Giovanni Santostasi, Ph.D., is the creator and discoverer of the Bitcoin Power Law Theory. He is passionate about Bitcoin and has 12 years of experience analyzing it and creating price models.
As we can see in the above chart, the tool is super intuitive. It displays a clock-like figure with the current Bitcoin price at 10:20 on a 12-hour scale.
This tool only works on the 1D INDEX:BTCUSD chart. The ticker and timeframe must be exact to ensure proper functionality.
According to the Bitcoin Power Law Theory, the key cycle points are marked at the extremes of the clock: 12, 3, 6, and 9 hours. According to the theory, the current Bitcoin prices are in a frenzied bull market on their way to the top of the cycle.
🔹 Enable/Disable Elements
All of the elements on the clock can be disabled. If you disable them all, only an empty space will remain.
The different charts above show various combinations. Traders can customize the tool to their needs.
🔹 Auto scale
The clock has an auto-scale feature that is enabled by default. Traders can adjust the size of the clock by disabling this feature and setting the size in the settings panel.
The image above shows different configurations of this feature.
🔶 SETTINGS
🔹 Price
Price: Enable/disable price spiral, select color, and enable/disable curved mode
Average: Enable/disable average spiral, select color, and enable/disable curved mode
🔹 Style
Auto scale: Enable/disable automatic scaling or set manual fixed scaling for the spirals
Lines width: Width of each spiral line
Text Size: Select text size for date tags and price scales
Prices: Enable/disable price scales on the x-axis
Handle: Enable/disable clock handle
Halvings: Enable/disable Halvings
Hours: Enable/disable hours and key cycle points
🔹 Time & Price Dashboard
Show Time & Price: Enable/disable time & price dashboard
Location: Dashboard location
Size: Dashboard size
M2 Growth Rate vs Borrowing RateHave you ever wondered how fast M2 is actually growing? Have you ever wanted to compare its percentage growth rate to the actual cost of borrowing? Are you also, like me, a giant nerd with too much time on your hands?
M2 Growth Rate vs Borrowing Rate
This Pine Script indicator analyzes the annualized growth rate of M2 money supply and compares it to key borrowing rates, providing insights into the relationship between money supply expansion and borrowing costs. Users can select between US M2 or a combined M2 (aggregating US, EU, China, Japan, and UK money supplies, adjusted for currency exchange rates). The M2 growth period is customizable, offering options from 1 month to 5 years for flexible analysis over different time horizons. The indicator fetches monthly data for US M2, EU M2, China M2, Japan M2, UK M2, and exchange rates (EURUSD, CNYUSD, JPYUSD, GBPUSD) to compute the combined M2 in USD terms.
It plots the annualized M2 growth rate alongside borrowing rates, including US 2-year and 10-year Treasury yields, corporate bond effective yield, high-yield bond effective yield, and 30-year US mortgage rates. Borrowing rates are color-coded for clarity: red if the rate exceeds the selected M2 growth rate, and green if below, highlighting relative dynamics. Displayed on a separate pane with a zero line for reference, the indicator includes labeled plots for easy identification.
This tool is designed for informational purposes, offering a visual framework to explore economic trends without providing trading signals or financial advice.
Bitcoin Power Law [LuxAlgo]The Bitcoin Power Law tool is a representation of Bitcoin prices first proposed by Giovanni Santostasi, Ph.D. It plots BTCUSD daily closes on a log10-log10 scale, and fits a linear regression channel to the data.
This channel helps traders visualise when the price is historically in a zone prone to tops or located within a discounted zone subject to future growth.
🔶 USAGE
Giovanni Santostasi, Ph.D. originated the Bitcoin Power-Law Theory; this implementation places it directly on a TradingView chart. The white line shows the daily closing price, while the cyan line is the best-fit regression.
A channel is constructed from the linear fit root mean squared error (RMSE), we can observe how price has repeatedly oscillated between each channel areas through every bull-bear cycle.
Excursions into the upper channel area can be followed by price surges and finishing on a top, whereas price touching the lower channel area coincides with a cycle low.
Users can change the channel areas multipliers, helping capture moves more precisely depending on the intended usage.
This tool only works on the daily BTCUSD chart. Ticker and timeframe must match exactly for the calculations to remain valid.
🔹 Linear Scale
Users can toggle on a linear scale for the time axis, in order to obtain a higher resolution of the price, (this will affect the linear regression channel fit, making it look poorer).
🔶 DETAILS
One of the advantages of the Power Law Theory proposed by Giovanni Santostasi is its ability to explain multiple behaviors of Bitcoin. We describe some key points below.
🔹 Power-Law Overview
A power law has the form y = A·xⁿ , and Bitcoin’s key variables follow this pattern across many orders of magnitude. Empirically, price rises roughly with t⁶, hash-rate with t¹² and the number of active addresses with t³.
When we plot these on log-log axes they appear as straight lines, revealing a scale-invariant system whose behaviour repeats proportionally as it grows.
🔹 Feedback-Loop Dynamics
Growth begins with new users, whose presence pushes the price higher via a Metcalfe-style square-law. A richer price pool funds more mining hardware; the Difficulty Adjustment immediately raises the hash-rate requirement, keeping profit margins razor-thin.
A higher hash rate secures the network, which in turn attracts the next wave of users. Because risk and Difficulty act as braking forces, user adoption advances as a power of three in time rather than an unchecked S-curve. This circular causality repeats without end, producing the familiar boom-and-bust cadence around the long-term power-law channel.
🔹 Scale Invariance & Predictions
Scale invariance means that enlarging the timeline in log-log space leaves the trajectory unchanged.
The same geometric proportions that described the first dollar of value can therefore extend to a projected million-dollar bitcoin, provided no catastrophic break occurs. Institutional ETF inflows supply fresh capital but do not bend the underlying slope; only a persistent deviation from the line would falsify the current model.
🔹 Implications
The theory assigns scarcity no direct role; iterative feedback and the Difficulty Adjustment are sufficient to govern Bitcoin’s expansion. Long-term valuation should focus on position within the power-law channel, while bubbles—sharp departures above trend that later revert—are expected punctuations of an otherwise steady climb.
Beyond about 2040, disruptive technological shifts could alter the parameters, but for the next order of magnitude the present slope remains the simplest, most robust guide.
Bitcoin behaves less like a traditional asset and more like a self-organising digital organism whose value, security, and adoption co-evolve according to immutable power-law rules.
🔶 SETTINGS
🔹 General
Start Calculation: Determine the start date used by the calculation, with any prior prices being ignored. (default - 15 Jul 2010)
Use Linear Scale for X-Axis: Convert the horizontal axis from log(time) to linear calendar time
🔹 Linear Regression
Show Regression Line: Enable/disable the central power-law trend line
Regression Line Color: Choose the colour of the regression line
Mult 1: Toggle line & fill, set multiplier (default +1), pick line colour and area fill colour
Mult 2: Toggle line & fill, set multiplier (default +0.5), pick line colour and area fill colour
Mult 3: Toggle line & fill, set multiplier (default -0.5), pick line colour and area fill colour
Mult 4: Toggle line & fill, set multiplier (default -1), pick line colour and area fill colour
🔹 Style
Price Line Color: Select the colour of the BTC price plot
Auto Color: Automatically choose the best contrast colour for the price line
Price Line Width: Set the thickness of the price line (1 – 5 px)
Show Halvings: Enable/disable dotted vertical lines at each Bitcoin halving
Halvings Color: Choose the colour of the halving lines
Intraweek Highs & Lows🔎 Track and analyze intraweek price extremes with full flexibility.
The indicator detects weekly highs or lows for any selected weekday and monitors when other days break those levels.
⚙️ Inputs
Select day
Pick which weekday’s extreme you want to monitor.
Find Low/High
Select whether you want to track Lows or Highs.
Use candle Wick/Body
Choose if extremes are calculated by full wick or candle body.
Cutoff date
Toggle the date-based filter and choose the starting date for event display.
RACZ-SIGNAL-V2.1RACZ-SIGNAL-V2.1 – Reactive Analytical Confluence Zones
Developed by: RACZ Trading
Indicator Type: Multi-Factor Confluence System
Overlay: Off (separate pane)
Purpose: Detect powerful trade opportunities through confluence of technical signals.
⸻
🔍 What is RACZ?
RACZ stands for Reactive Analytical Confluence Zones.
It’s a high-precision trading tool built for traders who rely on multi-signal confirmation, momentum alignment, and market structure awareness.
Rather than relying on a single technical metric, RACZ dynamically combines RSI, VWAP-RSI, Divergence, ADX, and Volume Analytics to produce a composite signal score from 0 to 12 — the higher the score, the stronger the signal.
⸻
🧠 How It Works – Core Components
1. RSI Analysis
• Detects momentum shifts.
• Compares RSI value to overbought (default: 67) and oversold (default: 33) thresholds.
• Adds points to Bullish or Bearish score.
2. VWAP-RSI
• Uses RSI based on VWAP (Volume Weighted Average Price).
• Adds weight to signals influenced by volume-adjusted price movement.
3. Divergence Detection
• Detects potential reversal zones.
• Bullish Divergence: RSI crosses up from low zone.
• Bearish Divergence: RSI crosses down from high zone.
• Strong confluence signal when present.
4. ADX Dynamic Strength Filter
• Custom-calculated ADX (trend strength indicator).
• Uses a dynamic threshold derived from SMA of ADX over a lookback period, scaled by a factor (default 0.9).
• Ensures signals are only validated in strong trend environments.
5. Volume Z-Score
• Detects anomalies in volume behavior.
• Z-score applied to 20-period volume average & deviation.
• Labels spikes, drops, high/low volume conditions.
⸻
📊 Signal Scoring Logic
Each component (RSI, VWAP-RSI, Divergence, ADX) can score up to 3 points each.
• Bullish Score: Total from bullish alignment of each factor.
• Bearish Score: Total from bearish alignment of each factor.
• Signal Power = max(bullish, bearish)
📈 Signal Interpretation
• BUY: Bullish Score > Bearish Score
• SELL: Bearish Score > Bullish Score
• NEUTRAL: Scores are equal
• Signal power is plotted on a 0–12 histogram:
• 0–5 = Weak
• 6–8 = Medium
• 9–12 = Strong (High Confluence Zone)
🖥️ Live Status Panel (Top-Right Corner)
This real-time panel helps you break down the signal:Component
Value Explanation: RSI / VWAP / DIV / ADX
Shows points contributing to signal
SIGNAL: Current market bias (BUY, SELL, NEUTRAL)
VOLUME: Volume classification (Spike, Drop, High, Low, Normal)
Color-coded for quick interpretation.
✅ How to Use
1. Look at Histogram: Bars ≥6 suggest valid setups, especially ≥9.
2. Confirm Panel Agreement: Check which components are supporting the signal.
3. Validate Volume: Unusual spikes/drops often precede strong moves.
4. Follow Direction: Use BUY/SELL signals aligned with signal power and trend.
⸻
⚙️ Customizable Inputs
• RSI period, overbought/oversold levels
• VWAP-RSI period
• ADX period and dynamic threshold settings
• Fully adjustable to fit any trading style
⸻
🚀 Why Choose RACZ?
• Clarity: Scores & signals derived from multiple tools, not just one.
• Confluence Logic: Designed for traders who look for confirmation across indicators.
• Speed: Real-time responsiveness to changing market dynamics.
• Volume Awareness: Integrated volume intelligence gives a deeper edge.
⸻
⚠️ Disclaimer
This indicator is intended strictly for educational and informational purposes only. It is not financial advice and should not be used to make actual investment decisions. Always conduct your own research or consult with a licensed financial advisor before trading or investing. Use of this script is at your own risk.
Yelober_Momentum_BreadthMI# Yelober_Momentum_BreadthMI: Market Breadth Indicator Analysis
## Overview
The Yelober_Momentum_BreadthMI is a comprehensive market breadth indicator designed to monitor market internals across NYSE and NASDAQ exchanges. It tracks several key metrics including up/down volume ratios, TICK readings, and trend momentum to provide traders with real-time insights into market direction, strength, and potential turning points.
## Indicator Components
This indicator displays a table with data for:
- NYSE breadth metrics
- NASDAQ breadth metrics
- NYSE TICK data and trends
- NASDAQ TICK (TICKQ) data and trends
## Table Columns and Interpretation
### Column 1: Market
Identifies the data source:
- **NYSE**: New York Stock Exchange data
- **NASDAQ**: NASDAQ exchange data
- **Tick**: NYSE TICK index
- **TickQ**: NASDAQ TICK index
### Column 2: Ratio
Shows the current ratio values with different calculations depending on the row:
- **For NYSE/NASDAQ rows**: Displays the up/down volume ratio
- Positive values (green): More up volume than down volume
- Negative values (red): More down volume than up volume
- The magnitude indicates the strength of the imbalance
- **For Tick/TickQ rows**: Shows the ratio of positive to negative ticks plus the current TICK reading in parentheses
- Format: "Ratio (Current TICK value)"
- Positive values (green): More stocks ticking up than down
- Negative values (red): More stocks ticking down than up
### Column 3: Trend
Displays the directional trend with both a symbol and value:
- **For NYSE/NASDAQ rows**: Shows the VOLD (volume difference) slope
- "↗": Rising trend (positive slope)
- "↘": Falling trend (negative slope)
- "→": Neutral/flat trend (minimal slope)
- **For Tick/TickQ rows**: Shows the slope of the ratio history
- Color-coding: Green for positive momentum, Red for negative momentum, Gray for neutral
The trend column is particularly important as it shows the current momentum of the market. The indicator applies specific thresholds for color-coding:
- NYSE: Green when normalized value > 2, Red when < -2
- NASDAQ: Green when normalized value > 3.5, Red when < -3.5
- TICK/TICKQ: Green when slope > 0.01, Red when slope < -0.01
## How to Use This Indicator
### Basic Interpretation
1. **Market Direction**: When multiple rows show green ratios and upward trends, it suggests strong bullish market internals. Conversely, red ratios and downward trends indicate bearish internals.
2. **Market Breadth**: The magnitude of the ratios indicates how broad-based the market movement is. Higher absolute values suggest stronger market breadth.
3. **Momentum Shifts**: When trend arrows change direction or colors shift, it may signal a potential reversal or change in market momentum.
4. **Divergences**: Look for divergences between different markets (NYSE vs NASDAQ) or between ratios and trends, which can indicate potential market turning points.
### Advanced Usage
- **Volume Normalization**: The indicator includes options to normalize volume data (none, tens, thousands, millions, 10th millions) to handle different exchange scales.
- **Trend Averaging**: The slope calculation uses an averaging period (default: 5) to smooth out noise and identify more reliable trend signals.
## Examples for Interpretation
### Example 1: Strong Bullish Market
```
| Market | Ratio | Trend |
|--------|---------|-----------|
| NYSE | 1.75 | ↗ 2.85 |
| NASDAQ | 2.10 | ↗ 4.12 |
| Tick | 2.45 (485) | ↗ 0.05 |
| TickQ | 1.95 (320) | ↗ 0.03 |
```
**Interpretation**: All metrics are positive and trending upward (green), indicating a strong, broad-based rally. The high ratio values show significant bullish dominance. This suggests continuation of the upward move with good momentum.
### Example 2: Weakening Market
```
| Market | Ratio | Trend |
|--------|---------|-----------|
| NYSE | 0.45 | ↘ -1.50 |
| NASDAQ | 0.85 | → 0.30 |
| Tick | 0.95 (105) | ↘ -0.02 |
| TickQ | 1.20 (160) | → 0.00 |
```
**Interpretation**: The market is showing mixed signals with positive but low ratios, while NYSE and TICK trends are turning negative. NASDAQ shows neutral to slightly positive momentum. This divergence often occurs near market tops or during consolidation phases. Traders should be cautious and consider reducing position sizes.
### Example 3: Negative Market Turning Positive
```
| Market | Ratio | Trend |
|--------|---------|-----------|
| NYSE | -1.25 | ↗ 1.75 |
| NASDAQ | -0.95 | ↗ 2.80 |
| Tick | -1.35 (-250) | ↗ 0.04 |
| TickQ | -1.10 (-180) | ↗ 0.02 |
```
**Interpretation**: This is a potential bottoming pattern. Current ratios are still negative (red) showing overall negative breadth, but the trends are all positive (green arrows), indicating improving momentum. This divergence often occurs at market bottoms and could signal an upcoming reversal. Look for confirmation with price action before establishing long positions.
### Example 4: Mixed Market with Divergence
```
| Market | Ratio | Trend |
|--------|---------|-----------|
| NYSE | 1.45 | ↘ -2.25 |
| NASDAQ | -0.85 | ↘ -3.80 |
| Tick | 1.20 (230) | ↘ -0.03 |
| TickQ | -0.75 (-120) | ↘ -0.02 |
```
**Interpretation**: There's a significant divergence between NYSE (positive ratio) and NASDAQ (negative ratio), while all trends are negative. This suggests sector rotation or a market that's weakening but with certain segments still showing strength. Often seen during late-stage bull markets or in transitions between leadership groups. Consider reducing risk exposure and focusing on relative strength sectors.
## Practical Trading Applications
1. **Confirmation Tool**: Use this indicator to confirm price movements. Strong breadth readings in the direction of the price trend increase confidence in trade decisions.
2. **Early Warning System**: Watch for divergences between price and breadth metrics, which often precede market turns.
3. **Intraday Trading**: The real-time nature of TICK and volume data makes this indicator valuable for day traders to gauge intraday momentum shifts.
4. **Market Regime Identification**: Sustained readings can help identify whether the market is in a trend or chop regime, allowing for appropriate strategy selection.
This breadth indicator is most effective when used in conjunction with price action and other technical indicators rather than in isolation.
Trend Lines by CR86The basic construction algorithm:
1. The baseline trend line through the closing prices:
First, the best fit line (linear regression) is calculated for the closing prices for a given period.
The least squares method is used to find the optimal slope and intersection point.
2. Search for key deviation points:
For each bar in the period, the deviation of the maximum and minimum from the regression baseline is calculated.
The point with the maximum deviation of the maximum upward from the regression line (for the resistance line) is located
The point with the maximum deviation of the minimum is located down from the regression line (for the support line)
3. Optimizing the slope of the lines:
Lines with an optimized slope are drawn through the found key points.
The algorithm selects the slope so that the line best "bends around" the corresponding extremes (maxima for resistance, minima for support)
Numerical optimization is used to check the validity of the trend line.
4. The principle of validity:
For the support line: all points must be above or at the line level (with a tolerance of 1e-5)
For the resistance line: all points must be below or at the line level (with a tolerance of 1e-5)
Key Features
Adaptability: the lines automatically adjust to the actual price extremes
Mathematical precision: a rigorous mathematical approach with optimization is used
Logarithmic scaling: optional for dealing with highly volatile assets
The basic construction algorithm
1. The baseline trend line through the closing prices:
First, the best fit line (linear regression) is calculated for the closing prices for a given period.
The least squares method is used to find the optimal slope and intersection point.
2. Search for key deviation points:
For each bar in the period, the deviation of the maximum and minimum from the regression baseline is calculated.
The point with the maximum deviation of the maximum upward from the regression line (for the resistance line) is located
The point with the maximum deviation of the minimum is located down from the regression line (for the support line)
3. Optimizing the slope of the lines:
Lines with an optimized slope are drawn through the found key points.
The algorithm selects the slope so that the line best "bends around" the corresponding extremes (maxima for resistance, minima for support)
Numerical optimization is used to check the validity of the trend line.
4. The principle of validity:
For the support line: all points must be above or at the line level (with a tolerance of 1e-5)
For the resistance line: all points must be below or at the line level (with a tolerance of 1e-5)
Key Features
Adaptability: the lines automatically adjust to the actual price extremes
Mathematical precision: a rigorous mathematical approach with optimization is used
Logarithmic scaling: optional for dealing with highly volatile assets
***********************************************************************************************
Основной алгоритм построения:
1. Базовая линия тренда через цены закрытия:
Сначала вычисляется линия наилучшего соответствия (линейная регрессия) для цен закрытия за заданный период
Используется метод наименьших квадратов для нахождения оптимального наклона и точки пересечения
2. Поиск ключевых точек отклонения:
Для каждого бара в периоде вычисляется отклонение максимума и минимума от базовой линии регрессии
Находится точка с максимальным отклонением максимума вверх от линии регрессии (для линии сопротивления)
Находится точка с максимальным отклонением минимума вниз от линии регрессии (для линии поддержки)
3. Оптимизация наклона линий:
Через найденные ключевые точки проводятся линии с оптимизированным наклоном
Алгоритм подбирает такой наклон, чтобы линия наилучшим образом "огибала" соответствующие экстремумы (максимумы для сопротивления, минимумы для поддержки)
Используется численная оптимизация с проверкой валидности трендовой линии
4. Принцип валидности:
Для линии поддержки: все точки должны быть выше или на уровне линии (с допуском 1e-5)
Для линии сопротивления: все точки должны быть ниже или на уровне линии (с допуском 1e-5)
Ключевые особенности
Адаптивность: линии автоматически подстраиваются под фактические экстремумы цен
Математическая точность: используется строгий математический подход с оптимизацией
Логарифмическое масштабирование: опционально для работы с сильно волатильными активами
IU Market Rhythm WaveDESCRIPTION:
The IU Market Rhythm Wave is a multi-dimensional indicator designed to reveal the underlying rhythm and energy of the market. By analyzing price momentum, harmonic oscillations, volume behavior, and market breadth, it helps traders identify high-quality long and short wave signals. It also visualizes rhythm bands, wave strength zones, and harmonic levels to provide comprehensive context for decision-making.
This tool is best used on trending instruments where rhythm cycles and volume patterns create clear wave-based opportunities.
USER INPUTS:
Rhythm Cycle Length
Controls the main lookback period used to calculate price waves, harmonic oscillation, volume rhythm, and breath. A longer cycle smooths signals, while a shorter cycle makes them more responsive. Recommended range: 8 to 35.
Wave Signal Strength
Multiplies the standard deviation of rhythm to define dynamic breakout thresholds. A higher value results in fewer but stronger signals, filtering out minor fluctuations.
Harmonic Filter
Applies a sensitivity filter to the harmonic mean and standard deviation. It helps eliminate weak or noisy signals and ensures rhythm-based signals align with harmonic structure.
Show Wave Energy Zones
Toggles background color shading based on current rhythm conditions. Greenish zones indicate strong upward rhythm, red for strong downward rhythm, yellow for positive bias, and gray for weak or neutral zones.
Show Rhythm Bands
Enables the display of upper and lower rhythm bands derived from ATR and rhythm volatility. These bands act as dynamic price envelopes and potential support/resistance zones.
Wave Zone Opacity
Adjusts the transparency of background energy zones, allowing users to control how prominent these zones appear on the chart. Range: 60 to 90 for optimal visibility.
INDICATOR LOGIC:
The indicator combines multiple rhythmic components into a composite rhythm score:
1. Price Wave – Based on momentum (rate of price change) smoothed by a moving average.
2. Harmonic Oscillation – Measures how far price has deviated from a central harmonic average (HLC3).
3. Volume Rhythm – Uses volume’s deviation from its mean, standardized by its volatility.
4. Market Breath – Captures range expansion and closing strength relative to range.
These elements form the Raw Rhythm, which is further smoothed to produce the Market Rhythm. When the rhythm exceeds statistically calculated thresholds and other conditions like volume confirmation and harmonic proximity are met, wave signals are triggered.
Harmonic Fibonacci levels (0.236, 0.382, 0.618, 0.764) are also calculated every rhythm cycle to identify nearby structural price zones. Signals occurring near these levels are considered more reliable.
The Rhythm Bands use ATR and rhythm strength to define dynamic boundaries above and below price. Visual zones and arrows mark rhythm shifts and highlight the underlying energy of the market.
WHY IT IS UNIQUE:
This indicator goes beyond traditional oscillators or volume indicators by blending multiple market dimensions into one rhythmic framework. It adapts to volatility, applies harmonic structure awareness, and filters signals based on real-time market conditions. It offers:
* A unique rhythm-based view of price, volume, and volatility
* Dynamic, adaptive signal generation and zone coloring
* Visual analytics and contextual data in a summary table
* Signal filtering using harmonic alignment and market breath
Its real-time responsiveness and multi-layered logic make it suitable for intraday, swing, and positional traders.
HOW USER CAN BENEFIT FROM IT:
* Spot high-conviction long or short entries when rhythm, volume, and structure align
* Avoid low-quality trades during weak or noisy rhythm periods
* Use visual wave zones to gauge trend strength and rhythm direction
* Monitor harmonic proximity to enter or exit near key structural levels
* Apply rhythm bands for dynamic stop-loss and target setting
* Use rhythm direction arrows and analytics table to gain deeper market insight
DISCLAIMER:
This indicator is created for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading involves risk, and users should conduct their own analysis or consult with a qualified financial advisor before making any trading decisions. The creator is not responsible for any losses incurred through the use of this tool. Use at your own discretion.
Linear Regression Forecast (ADX Adaptive)Linear Regression Forecast (ADX Adaptive)
This indicator is a dynamic price projection tool that combines multiple linear regression forecasts into a single, adaptive forecast curve. By integrating trend strength via the ADX and directional bias, it aims to visualize how price might evolve in different market environments—from strong trends to mean-reverting conditions.
Core Concept:
This tool builds forward price projections based on a blend of linear regression models with varying lookback lengths (from 2 up to a user-defined max). It then adjusts those projections using two key mechanisms:
ADX-Weighted Forecast Blending
In trending conditions (high ADX), the model follows the raw forecast direction. In ranging markets (low ADX), the forecast flips or reverts, biasing toward mean-reversion. A logistic transformation of directional bias, controlled by a steepness parameter, determines how aggressively this blending reacts to price behavior.
Volatility Scaling
The forecast’s magnitude is scaled based on ADX and directional conviction. When trends are unclear (low ADX or neutral bias), the projection range expands to reflect greater uncertainty and volatility.
How It Works:
Regression Curve Generation
For each regression length from 2 to maxLength, a forward projection is calculated using least-squares linear regression on the selected price source. These forecasts are extrapolated into the future.
Directional Bias Calculation
The forecasted points are analyzed to determine a normalized bias value in the range -1 to +1, where +1 means strongly bullish, -1 means strongly bearish, and 0 means neutral.
Logistic Bias Transformation
The raw bias is passed through a logistic sigmoid function, with a user-defined steepness. This creates a probability-like weight that favors either following or reversing the forecast depending on market context.
ADX-Based Weighting
ADX determines the weighting between trend-following and mean-reversion modes. Below ADX 20, the model favors mean-reversion. Above 25, it favors trend-following. Between 20 and 25, it linearly blends the two.
Blended Forecast Curve
Each forecast point is blended between trend-following and mean-reverting values, scaled for volatility.
What You See:
Forecast Lines: Projected future price paths drawn in green or red depending on direction.
Bias Plot: A separate plot showing post-blend directional bias as a percentage, where +100 is strongly bullish and -100 is strongly bearish.
Neutral Line: A dashed horizontal line at 0 percent bias to indicate neutrality.
User Inputs:
-Max Regression Length
-Price Source
-Line Width
-Bias Steepness
-ADX Length and Smoothing
Use Cases:
Visualize expected price direction under different trend conditions
Adjust trading behavior depending on trending vs ranging markets
Combine with other tools for deeper analysis
Important Notes:
This indicator is for visualization and analysis only. It does not provide buy or sell signals and should not be used in isolation. It makes assumptions based on historical price action and should be interpreted with market context.
SNC Lite AssistantThis indicator only works on 5m or 15m.
It gives calls when a higher volume is detected than usual. And also tries to detect whales where high volume + cvd opposition happened.
Its mainly and especially built for Bitcoin. However, it also works fine on Nasdaq or indices, less likely to be talkative on commodities or forex.
It doesn't give TRADING SIGNALS, it only warns you about key areas or volumes or possible whale areas where price is moving fast and volume is increasing. If you don't have price action knowledge you will not understand if price will go up or down. It's better to watchout for few candles after calls or whales are detected so you may clearly see if price is shifting or most likely to continue. With help of whales, you can try to catch knife more precisely. Times when markets are less volatile and out of session times like weekends, assistant can go 'off' to create avoid false-positive signals on less volatile times.
It also informs you about if market is ranging, downtrend or uptrend in chatbox.
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
MTF Pivot Fib Speed Resistance FansOverview
This Pine Script indicator, titled "MTF Pivot Fib Speed Resistance Fans", is a multi-timeframe tool that automatically plots Fib Speed Resistance Fan lines based on pivot structures derived from higher timeframes. It mirrors the functionality of TradingView’s built-in “Fib Speed Resistance Fan” drawing tool, but in a dynamic, programmatic way. It uses pivot highs and lows to anchor fan projections, drawing forward-facing trend lines that align with well-known Fibonacci ratios and their extensions.
Pivot Detection Logic
The script identifies pivots by comparing the current bar’s high and low against the highest and lowest prices over a user-defined pivot period. This pivot detection occurs on a higher timeframe of your choice, giving a broader and more strategic view of price structure. The script tracks direction changes in the pivot trend and stores only the most recent few pivots to maintain clean and meaningful fan drawings.
Fan Direction Control
The user can select whether to draw fans for "Buys", "Sells", or "Both". The script only draws fan lines when a new directional move is detected based on the pivot structure and the selected bias. For example, in “Buys” mode, a rising pivot followed by another higher low will trigger upward fan projections.
Fib Speed Resistance Levels
Once two pivots are identified, the script draws multiple fan lines from the first pivot outward, at angles defined by a preset list of Fibonacci levels. These fan lines help visualize speed and strength of a price move.
The script also draws a horizontal line from the pivot for additional confluence at the base level (1.0).
Price Level Plotting
In addition to drawing fan lines, the indicator also plots their price levels on the right-hand price scale. This makes it easier for users to visually reference the projected support and resistance levels without needing to trace the lines manually across the chart.
Mapping to TradingView’s "Fib Speed Resistance Fan"
The expanded set of values used in this script is not arbitrary—they closely align with the default and extended levels available in TradingView's built-in "Fib Speed Resistance Fan" tool.
TradingView’s Fib Fan tool offers several levels by default, including traditional Fibonacci ratios like 0.382, 0.5, 0.618, and 1. However, if you right-click the tool and open its settings, you’ll find additional toggles for levels like 1.618, 2.000, 2.618, and even 4.000. These deeper levels are used to project stronger trend continuations beyond the standard retracement zones.
The inclusion of levels such as 0.25, 0.75, and 1.34 reflects configurations that are available when you manually add or customize levels in TradingView’s fan tool. While 1.34 is not a canonical Fibonacci ratio, it is often found in hybrid Gann/Fib methods and is included in some preset templates in TradingView’s drawing tool for advanced users.
By incorporating these levels directly into the Pine Script, the indicator faithfully reproduces the fan structure users would manually draw using TradingView’s graphical Fib Fan tool—but does so programmatically, dynamically, and with multi-timeframe control. This eliminates manual errors, allows for responsive updating, and adds custom visual tracking via the price scale.
These values are standardized within the context of TradingView's Fib Fan tool and not made up. This script automates what the manual drawing tool achieves, with added precision and flexibility.
RSI Divergence StrategyOverview
The RSI Divergence Strategy Indicator is a trading tool that uses the RSI and divergences created to generate high-probability buy and sell signals.
I have provided the best formula of numbers to use for BTC on a 30 minute timeframe.
You can change where on RSI you enter and exit both long or short trades. This way you can experiment on different tokens using different entry/exit points. Can use on multiple timeframes.
This strategy is designed to open and close long or short trades based on the levels you provide it. You can then check on the RSI where the best levels are for each token you want to trade and amend it as required to generate a profitable strategy.
How It Works
The RSI Divergence Strategy Indicator uses bear and bull divergences in conjuction with a level you have input on the RSI.
RSI for Overbought/Oversold:
• Input variables for entry and exit levels and when the entry levels combine with a bear or bull divergence signal, a trade is alerted.
RSI Divergence:
• Buy and sell signals are confirmed when the RSI creates bearish or bullish divergences and these divergences are in the same area as your levels you input for entry to short or long.
After 7 years of experience and testing I have calculated the exact numbers required and produced a formula to calculate the exact input variables for a 30 minute Bitcoin chart.
Key Features
1️⃣ Divergence Identification – Ensures trades are taken only when a bull or bear divergence has formed.
2️⃣ Overbought/Oversold Input Filtering – Set up your own variables on the RSI for different markets after identifying patterns on the RSI in relation to a bearish or bullish divergence.
3️⃣ Works on any chart – Suitable for all markets and timeframes once you input the correct variables for entry and exit levels.
How to Use
🟢 Basic Trading:
• Use on any timeframe.
• Enter trade only when alert has fired off. Close when it says to exit.
• Change entry and exit levels in the properties of the strategy indicator.
• Make entry and exit levels coincide with bearish or bullish divergences on the RSI.
Check the strategy tester to see backtesting so you know if the indicator is profitable or not for that market and timeframe as each crypto token is different and so is the timeframe you choose.
📢 Webhook Automation:
• Set up TradingView Alerts to auto-execute trades via Webhook-compatible platforms.
Key additions for divergence visualization:
Divergence Arrows:
Bullish divergence: Green label with white 'bull ' text
Bearish divergence: Red label with white 'bear' text
Positioned at the pivot point
Divergence Lines:
Connects consecutive RSI pivot points
Automatically drawn between consecutive pivot points
Enhanced RSI Coloring:
Overbought zone: Red
Oversold zone: Green
Neutral zone: Gray
The visualization helps you instantly spot:
Where divergences are forming on the RSI
The pattern of higher lows (bullish) or lower highs (bearish)
Contextual coloring of RSI relative to standard levels
All divergence markers appear at the correct historical pivot points, making it easy to visually confirm divergence patterns as they develop.
Strategy levels and background zones also shown to help visual look.
Why This Combination?
This indicator is just a simple RSI tool.
It is designed to filter out weak trades and only execute trades that have:
✅ RSI Divergence
✅ Overbought or Oversold Conditions
It does not calculate downtrends or bear markets so care is recommended taking long trades during these times.
Why It’s Worth Using?
📈 Open Source – Free to use and learn from.
📉 Long or Short Term Trading Style – Entry/Exit parameters options are designed for both short or long term trades allowing you to experiment until you find a profitable strategy for that market you want to trade.
📢 Seamless Webhook Automation – Execute trades automatically with TradingView alerts.
💲 Ready to trade smarter?
✅ Add the RSI Divergence Strategy Indicator to your TradingView chart.
DVPOOverview
The DVPO (Dynamic Volume Profile Oscillator) Strategy is a comprehensive and highly customizable trading tool designed for precision and control. It is built around a unique, volume-driven oscillator that identifies potential market entries by analyzing the relationship between price, volume, and volatility.
This strategy is not just another signal generator; it's a complete framework that includes dynamic entry logic, adaptive risk management (ATR Stop Loss and R:R-based Take Profit), and a powerful dashboard of 10+ optional confirmation filters to help you tailor the strategy to your specific instrument, timeframe, and trading style.
The Core Concept: The DVPO Oscillator
The heart of this strategy is the DVPO oscillator. Unlike standard oscillators like RSI or Stochastics, the DVPO's primary goal is to quantify how far the current price has deviated from its recent volume-weighted "fair value."
Here’s how it works conceptually:
Micro Volume Profile: The indicator first analyzes a recent period of bars (defined by Lookback Period) to build a mini-profile of price and volume.
Volume-Weighted Mean: From this profile, it calculates a volume-weighted average price (VWAP) and the average deviation from that mean. This establishes the central point of value for the recent period.
Deviation Measurement: The oscillator's value is derived from how far the current price is from this calculated mean, scaled by the observed price deviation and a user-defined Sensitivity. A value above the midline suggests the price is trading at a premium, while a value below suggests it's at a discount.
Adaptive Volatility Zones: Instead of using fixed overbought/oversold levels (e.g., 70/30), the DVPO calculates dynamic upper and lower zones using the standard deviation of the oscillator itself. These zones expand and contract based on recent market volatility.
An entry signal is triggered not just when the oscillator is "overbought" or "oversold," but when it breaks out of these adaptive volatility zones, signaling that a statistically significant price movement is underway.
📈 Long Entry Condition : The oscillator crosses above the dynamic upper zone.
📉 Short Entry Condition : The oscillator crosses below the dynamic lower zone.
Integrated Risk & Trade Management
A signal is useless without proper risk management. This strategy has professional-grade risk management built directly into its logic.
Stop Loss (ATR-Based): The Stop Loss is not a fixed percentage. It is calculated using the Average True Range (ATR), allowing it to adapt automatically to the market's current volatility. In volatile periods, the stop will be wider; in quiet periods, it will be tighter.
Take Profit (Risk/Reward Ratio): The Take Profit level is calculated based on a user-defined Risk/Reward Ratio. If you set a ratio of 2.0, the Take Profit target will be placed at twice the distance of the Stop Loss from your entry price.
Dynamic Position Sizing: The strategy can automatically calculate the trade quantity for you. It determines the position size based on your specified Capital Size and the % Risk Per Trade you are willing to accept, ensuring disciplined risk control on every trade.
The Filter Dashboard : Enhance Your Signal Quality
To help reduce false signals and adapt to different market conditions, the strategy includes a comprehensive dashboard of optional confirmation filters. An entry signal will only be executed if it aligns with all the filters you have activated.
Trend & Momentum Filters :
T3, VMA, & VWAP Trend Filters: Utilize a suite of advanced moving averages (T3, Variable Moving Average, and a session-based VWAP) to ensure your trades are aligned with the dominant trend.
ADX Filter: Confirms that the market has sufficient directional strength for a trend-following trade, helping to avoid entries during choppy conditions.
Kaufman Efficiency Filter: Uses the Kaufman Efficiency Ratio to measure market noise. It only allows trades when the market is trending efficiently.
Volume & Market State Filters :
Volume Flow (VFI): A sophisticated volume-based filter that confirms whether volume is supporting the price move.
TDFI (Trader's Dynamic Index): A market state indicator designed to identify when the market is primed for a strong, directional move.
Flat Market Detector: A unique filter that identifies and avoids trading in sideways or ranging markets where trend strategies typically underperform.
Trade Condition Filters :
Min TP / Max SL %: Filter out trades where the risk/reward profile doesn't meet your minimum requirements (e.g., ignore a trade if the ATR-based stop loss is more than 10% away from the price).
Session Filters: Allows you to enable or disable trading on specific days of the week and to set a Cooldown Period (a set number of bars to wait after a trade closes before looking for a new entry).
How To Use This Strategy
Start with the Core: Begin by configuring the DVPO Oscillator settings (Lookback Period, Sensitivity, Zone Width) and your Risk Management parameters (ATR Multiplier, RR Ratio, % Risk Per Trade). These form the foundation of the strategy.
Backtest and Observe: Use TradingView's Strategy Tester to see how the core signals perform on your chosen asset and timeframe.
Layer Filters Intelligently: Enable the confirmation filters one by one and re-run your backtest. Observe how each filter impacts performance (e.g., does the T3 filter increase profitability but reduce the number of trades?). The goal is to find the optimal balance between signal quality and frequency.
Visualize and Analyze: Use the Show Risk/Reward Area option to plot your entry, stop loss, and take profit levels directly on the chart for every trade, providing a clear visual representation of your trade plan.
Disclaimer: This strategy is provided for educational and analytical purposes only. Past performance is not indicative of future results. All trading involves risk, and you should conduct your own thorough backtesting and analysis before deploying any strategy in a live market.
Golden Crossover Momentum Check📊 Golden Cross Momentum Screener — Summary
🔍 What It Does
This indicator identifies Golden Cross events — where the 50 EMA crosses above the 200 EMA, signaling a potential long-term trend reversal — and evaluates the momentum strength to help determine whether price is likely to:
Surge immediately (Group B), or
Retrace first (Group A)
It uses 5 momentum-confirming conditions to score the quality of the breakout and display a single label on the chart with a classification.
✅ Momentum Conditions Validated
RSI > 60 and rising – Indicates bullish buying pressure
MACD Histogram > 0 and rising – Confirms increasing momentum
Volume > 2× 20-day average – Validates participation on the breakout
ADX > 25 – Measures trend strength
Price is >5% above 200 EMA – Confirms price extension above long-term trend
Each passing condition adds 1 point to the momentum score (0–5).
📈 How to Use
Watch for a Golden Cross signal (triangle appears below candle)
If momentum score ≥ 4, the script labels the setup as:
"🚀 Surge Likely (Group B)" — consider immediate breakout entries
If score is 2–3, labeled:
"🔄 Pullback Likely (Group A)" — expect retest/consolidation before continuation
If score < 2, labeled:
"❌ No Momentum Confirmed" — avoid or wait for confirmation