[Kpt-Ahab] PnL-calculatorThe PnL-Cal shows how much you’re up or down in your own currency, based on the current exchange rate.
Let’s say your home currency is EUR.
On October 10, 2022, you bought 10 Tesla stocks at $219 apiece.
Back then, with an exchange rate of 0.9701, you spent €2,257.40.
If you sold the 10 Tesla shares on April 17, 2025 for $241.37 each, that’s around a 10% gain in USD.
But if you converted the USD back to EUR on the same day at an exchange rate of 1.1398, you’d actually end up with an overall loss of about 6.2%.
Right now, only a single entry point is supported.
If you bought shares on different days with different exchange rates, you’ll unfortunately have to enter an average for now.
For viewing on a phone, the table can be simplified.
Indicatori e strategie
Moving Average Trend ToolsI. How M.A.T.T. Adds Value to the TradingView Community:
The "Moving Average Trend Tools" (M.A.T.T.) is a versatile Pine Script v6 indicator that empowers traders with clear trend analysis, reliable trade signals, and real-time insights. Its intuitive design and robust features make it a valuable addition to the TradingView Community Scripts by catering to traders of all levels. Here’s why it stands out:
Clear Trend Visualization: M.A.T.T. plots a moving average (MA) with dynamic coloring—green for rising, red for falling, and gray for flat—based on a user-defined lookback period. This simplifies trend interpretation, helping traders quickly assess market momentum.
Reliable Trade Signals : The script identifies price crossovers above or below the MA, plotting green circles for bullish crosses and red for bearish, confirmed on closed bars to prevent repainting. These signals guide entry and exit points for trend-following or reversal strategies.
Real-Time Extension Detection : M.A.T.T. calculates percentage price deviations from the MA, displaying real-time labels when thresholds (e.g., 6%) are exceeded. This highlights overextended moves, ideal for spotting reversals or pullbacks, with alerts to keep traders informed.
Extensive Customization : Traders can tailor the MA type (SMA, EMA, WMA, HMA), length, colors, line width, and label sizes. This flexibility supports diverse strategies across markets like stocks, forex, and crypto, from scalping to swing trading.
Automated Alerts : Alert conditions for crossovers and extensions integrate seamlessly with TradingView’s system, enabling traders to stay updated without constant chart monitoring.
M.A.T.T. combines trend analysis, signal generation, and overextension detection into a single, user-friendly tool. Its accessibility, reliability, and educational value for Pine Script learners make it a compelling contribution to the community.
II. What M.A.T.T. Does, How It Works, and Its Originality:
What It Does :
M.A.T.T. enhances trend analysis and trade decision-making through three core features:
Dynamic MA Visualization: Plots a customizable MA (SMA, EMA, WMA, or HMA) with trend-based coloring to reflect rising, falling, or flat market conditions.
Price Crossover Signals : Marks bullish (green circles) and bearish (red circles) crossovers, confirmed on closed bars, with alerts for trade opportunities.
Price Extension Labels : Displays real-time percentage deviations of price from the MA, with alerts when user-defined thresholds are breached, signaling potential reversals.
How It Works :
M.A.T.T. leverages Pine Script v6 for precise calculations and user-friendly outputs:
Inputs: Users select MA type, length, lookback period, colors, and thresholds for extensions, plus label styles and sizes for customization.
MA Calculation : A switch function computes the chosen MA (e.g., ta.ema(close, 21) for EMA). Trend direction is determined using ta.rising or ta.falling over the lookback period, coloring the MA accordingly.
Crossover Logic : Bullish crossovers (close > ma and close < ma ) and bearish crossovers (close < ma and close > ma ) are plotted as circles on confirmed bars (barstate.isconfirmed) to ensure reliability. Alerts trigger only on the first bar of a crossover.
Extension Logic : Percentage deviations are calculated as ((price - ma) / ma) * 100, using the high for above-MA extensions and low for below. Labels appear in real-time when thresholds are exceeded, with alerts on transitions to avoid noise.
Why It’s Original
M.A.T.T. distinguishes itself through a unique blend of features and thoughtful design:
All-in-One Design : It integrates dynamic MA coloring, non-repainting crossover signals, and real-time extension detection, addressing trend identification, trade signals, and overextension warnings in one tool—unlike most MA indicators that focus on a single aspect.
Real-Time Extension Labels : Displaying percentage deviations with customizable thresholds is a rare feature, ideal for volatile markets and not commonly found in standard scripts.
Non-Repainting Signals : Confirmed crossover signals enhance reliability for live trading, setting M.A.T.T. apart from less rigorous indicators.
Optimized Alert Condtions : Alerts trigger only on transitions (e.g., first bar of a crossover or extension), reducing noise and improving usability.
Visual and Functional Flexibility : Support for four MA types, extensive customization, and a clean interface (dynamic colors, tiny circles, clear labels) make it adaptable and user-friendly.
While MA plotting or crossovers exist elsewhere, M.A.T.T.’s seamless integration, real-time extension detection, alert conditions, and focus on reliability and customization create a distinctive, practical tool. Its balance of simplicity and sophistication makes it a unique asset for the TradingView community.
Highlight Candle Body ≤ 10 Ticks (Clean & Subtle)Purpose:
This indicator highlights candlesticks where the body size (difference between open and close) is 10 ticks or less, specifically for instruments like Crude Oil futures (CL) where 1 tick = 0.01.
How it works:
It calculates the body size: abs(close - open)
If the body is ≤ 0.10 (10 ticks), the candle is softly colored in muted orange.
Wicks are ignored — only the body is considered.
No additional shapes or markers — clean and minimal.
Use case:
Helps identify periods of indecision or low momentum — such as potential pause candles, traps, or setups just before volatility returns.
Liquidity Fracture DetectorThe Liquidity Fracture Detector is an advanced tool designed to identify micro-liquidity traps and structural fakeouts on intraday charts. These occur when the market appears to break out, only to quickly reverse — often triggered by stop hunts, inefficient fills, or manipulated order flow.
The script combines volume spikes, volatility anomalies, and price structure breaks to signal "fractures" — points where the market temporarily breaks its behavior, often followed by strong reversals or trend accelerations.
Detection logic in the script:
Volume spike greater than 2x the average (adjustable)
Volatility spike: candle range is > 1.5x the average
Extreme wicks: wick is larger than the candle body (a classic trap signal)
Structure break: price breaks previous high/low but closes back within the old range
Combine these elements → a “fracture” is marked
Visual representation:
Red background = potential bull trap (fake breakout to the upside)
Green background = potential bear trap (fake breakdown to the downside)
A label appears at each fracture: “Echo” with the number of previous hits
Ideal use cases:
Intraday trading (1m, 5m, 15m)
Crypto, indices, futures, and forex
Detecting reactive zones where the market takes a false direction
Confluence with S/R zones, order blocks, or liquidity pools
Fully customizable:
Volume and range sensitivity
Heatmap intensity
Toggle labels on/off
Note:
This script is intended to support discretionary analysis. It does not provide buy or sell signals and is not an automated strategy. Combine it with your own price action or order flow setup for optimal results.
Frozen Bias Zones – Sentiment Lock-insOverview
The Frozen Bias Zones indicator visualizes market sentiment lock-ins using a combination of RSI, MACD, and OBV. It creates "bias zones" that indicate whether the market is in a sustained bullish or bearish phase. These zones are then highlighted on the chart, helping traders spot when the market is locked in a bias. The script also detects breakout events from these zones and marks them with clear labels for easier decision-making.
Features
Multi-Indicator Sentiment Analysis: Combines RSI, MACD, and OBV to detect synchronized bullish or bearish sentiment.
Frozen Bias Zones: Identifies and visually represents zones where the market has remained in a particular sentiment (bullish or bearish) for a defined period.
Breakout Alerts: Displays labels to indicate when the price breaks out of the established bias zone.
Customizable Inputs: Adjust the zone duration, RSI, MACD, and breakout label visibility.
Input Parameters
Bias Duration (biasLength)
The minimum number of candles the market must stay in a specific sentiment to consider it a "Frozen Bias Zone".
Default: 5 candles.
RSI Period (rsiPeriod)
Period for the Relative Strength Index (RSI) calculation.
Default: 14 periods.
MACD Settings
MACD Fast (macdFast): The fast-moving average period for the MACD calculation.
Default: 12.
MACD Slow (macdSlow): The slow-moving average period for the MACD calculation.
Default: 26.
MACD Signal (macdSig): The signal line period for MACD.
Default: 9.
Show Break Label (showBreakLabel)
Toggle to show labels when the price breaks out of the bias zone.
Default: True (shows label).
Bias Zone Colors
Bullish Bias Color (bullColor): The color for bullish zones (light green).
Bearish Bias Color (bearColor): The color for bearish zones (light red).
How It Works
This indicator analyzes three key market metrics to determine whether the market is in a bullish or bearish phase:
RSI (Relative Strength Index)
Measures the speed and change of price movements. RSI > 50 indicates a bullish phase, while RSI < 50 indicates a bearish phase.
MACD (Moving Average Convergence Divergence)
Measures the relationship between two moving averages of the price. A positive MACD histogram indicates bullish momentum, while a negative histogram indicates bearish momentum.
OBV (On-Balance Volume)
Uses volume flow to determine if a trend is likely to continue. A rising OBV indicates bullish accumulation, while a falling OBV indicates bearish distribution.
Bias Zone Detection
The market sentiment is considered bullish if all three indicators (RSI, MACD, and OBV) are bullish, and bearish if all three indicators are bearish.
Bullish Zone: A zone is created when the market sentiment remains bullish for the duration of the specified biasLength.
Bearish Zone: A zone is created when the market sentiment remains bearish for the duration of the specified biasLength.
These bias zones are visually represented on the chart as colored boxes (green for bullish, red for bearish).
Breakout Detection
The script automatically detects when the market exits a bias zone. If the price moves outside the bounds of the established zone (either up or down), the script will display one of the following labels:
Bias Break (Up): Indicates that the price has broken upwards out of the zone (with a green label).
Bias Break (Down): Indicates that the price has broken downwards out of the zone (with a red label).
These labels help traders easily identify potential breakout points.
Example Use Case
Bullish Market Conditions: If the RSI is above 50, the MACD histogram is positive, and OBV is increasing, the script will highlight a green bias zone. Traders can watch for potential bullish breakouts or trend continuation after the zone ends.
Bearish Market Conditions: If the RSI is below 50, the MACD histogram is negative, and OBV is decreasing, the script will highlight a red bias zone. Traders can look for potential bearish breakouts when the zone ends.
Conclusion
The Frozen Bias Zones indicator is a powerful tool for traders looking to visualize prolonged market sentiment, whether bullish or bearish. By combining RSI, MACD, and OBV, it helps traders spot when the market is "locked in" to a bias. The breakout labels make it easier to take action when the price moves outside of the established zone, potentially signaling the start of a new trend.
Instructions
To use this script:
Add the Frozen Bias Zones indicator to your TradingView chart.
Adjust the input parameters to suit your trading strategy.
Observe the colored bias zones on your chart, along with breakout labels, to make informed decisions on trend continuation or reversal.
Pivot detector🧠 Pivot Detector – Multi-condition Reversal Signal with Trend & Time Filters
This indicator is specifically optimized for Bitcoin trading, combining classic reversal patterns with volume, trend, and session filters.
🟢 Long signals:
- RSI crossing up from oversold (RSI < 30)
- MACD histogram crossing above zero
- Price touching the lower Bollinger Band with OBV reversal
- Bullish engulfing pattern + volume spike
🔴 Short signals:
- RSI crossing down from overbought (RSI > 70)
- MACD histogram crossing below zero
- Price touching upper Bollinger Band + OBV failure
- Bearish engulfing pattern + volume spike
⚙️ Additional filters:
- ❌ Signals are blocked during low-volatility range zones (ADX < 20 or narrow standard deviation)
- ✅ Longs only allowed during active hours: 00–02, 07–09, 13–15 UTC
- ✅ Shorts only triggered outside strong uptrend (ADX > 25 with DI+ dominance)
📊 Best used on:
- ✅ Bitcoin / BTCUSDT
- ✅ 15m, 30m, 1H, 4H charts
🎯 Strategy focus:
- Captures short-term reversals in volatile but trendable markets
- Filters out traps and low-quality signals during sideways conditions
- Best used with manual confirmation or as part of a composite system
Alerts are built-in for both long and short triggers.
⚠️ This tool is still in its experimental phase and may require further adjustments as it's tested and improved.
Institutional MACD (Z-Score Edition) [VolumeVigilante]📈 Institutional MACD (Z-Score Edition) — Professional-Grade Momentum Signal
This is not your average MACD .
The Institutional MACD (Z-Score Edition) is a statistically enhanced momentum tool, purpose-built for serious traders and breakout hunters . By applying Z-Score normalization to the classic MACD structure, this indicator uncovers statistically significant momentum shifts , enabling cleaner reads on price extremes, trend continuation, and potential reversals.
💡 Why It Matters
The classic MACD is powerful — but raw momentum values can be noisy and relative , especially on volatile assets like BTC/USD . By transforming the MACD line, signal line, and histogram into Z-scores , we anchor these signals in statistical context . This makes the Institutional MACD:
✔️ Timeframe-agnostic and asset-normalized
✔️ Ideal for spotting true breakouts , not false flags
✔️ A reliable tool for detecting momentum divergence and exhaustion
🧪 Key Features
✅ Full Z-Score normalization (MACD, Signal, Histogram)
✅ Highlighted ±Z threshold bands for overbought/oversold zones
✅ Customizable histogram coloring for visual momentum shifts
✅ Built-in alerts for zero-crosses and Z-threshold breaks
✅ Clean overlay with optional display toggles
🔁 Strategy Tip: Mean Reversion Signals with Statistical Confidence
This indicator isn't just for spotting breakouts — it also shines as a mean reversion tool , thanks to its Z-Score normalization .
When the Z-Score histogram crosses beyond ±2, it marks a statistically significant deviation from the mean — often signaling that momentum is overstretched and the asset may be due for a pullback or reversal .
📌 How to use it:
Z > +2 → Price action is in overbought territory. Watch for exhaustion or short setups.
Z < -2 → Momentum is deeply oversold. Look for reversal confirmation or long opportunities.
These zones often precede snap-back moves , especially in range-bound or corrective markets .
🎯 Combine Z-Score extremes with:
Candlestick confirmation
Support/resistance zones
Volume or price divergence
Other mean reversion tools (e.g., RSI, Bollinger Bands)
Unlike the raw MACD, this version delivers statistical thresholds , not guesswork — helping traders make decisions rooted in probability, not emotion.
📢 Trade Smart. Trade Vigilantly.
Published by VolumeVigilante
W%R Zone Scalper[BullByte] v1.0W%R Zone Scalper Strategy - The Definitive Deep Dive
1. Introduction: The Philosophy Behind the Strategy
This script, W%R Zone Scalper , is not just another Williams %R-based trading system—it is a refined, multi-filtered scalping engine designed to maximize edge in trending markets while minimizing false signals in choppy conditions . Unlike most basic %R strategies that blindly trade crossovers, this system introduces a sophisticated confluence of trend, volatility, and momentum filters , making it a high-probability scalper for intraday traders .
What Makes This Script Different?
✅ Originality: Most %R strategies rely solely on overbought/oversold levels, leading to whipsaws in ranging markets. This script intelligently combines:
- Trend confirmation (MA, Supertrend)
- Volatility filters (BB Width, Choppiness Index)
- Volume validation (to ensure real participation)
- ADX trend strength (to avoid weak, fake trends)
✅ Smart Trade Execution:
- Not just %R crossovers —entries are only taken when multiple filters align, reducing noise.
- Optional ATR-based SL/TP for disciplined risk management.
- Dashboard integration for real-time trade monitoring.
✅ Adaptability:
- Works on crypto, forex, and stocks (optimized for high-liquidity assets like BTC).
- Scalable from 1-minute scalping to 1-hour swing trades (adjust filters accordingly).
2. Core Components: A Surgical Breakdown
A. Williams %R - The Trigger Mechanism
- Default Settings:
- Length = 14 (optimal balance between sensitivity and reliability).
- Long Entry : Cross above -80 (oversold bounce with momentum).
- Short Entry : Cross below -20 (overbought rejection).
Why This Matters:
- Unlike RSI or Stochastic, %R is more aggressive in detecting reversals, making it ideal for scalping fast moves.
- However, raw %R signals are noisy—hence the need for additional filters.
B. The Moving Average (MA) - Trend Filter
- Purpose: Ensures trades are only taken in the direction of the broader trend.
- Types Available:
- SMA (Simple MA) – Smooth but laggy.
- EMA (Exponential MA) – Faster, default choice.
- WMA (Weighted MA) – More responsive to recent prices.
- HMA (Hull MA) – Minimal lag, excellent for scalping.
Entry Logic:
- Long : Price must be above MA (confirms uptrend).
- Short : Price must be below MA (confirms downtrend).
Why This Matters:
- Prevents counter-trend trades , which are high-risk in scalping.
- Works as a dynamic support/resistance .
C. Advanced Filters - The Edge Enhancers
1. Choppiness Index (CI) - Avoiding Sideways Markets
- Default:
- Length = 12
- Threshold = 38.2 (below = trending, above = choppy).
Why This Matters:
- Eliminates false signals in ranging markets (where %R crossovers fail most).
- Inspired by market cycle theory—only trades when volatility is directional.
2. ADX (Average Directional Index) - Trend Strength
- Default:
- Length = 14
- Threshold = 25 (only trade if ADX > 25 = strong trend).
Why This Matters:
- Many traders ignore ADX and get fake breakouts—this ensures trades happen only in high-momentum conditions.
3. Volume Filter - Confirming Real Moves
- Logic: Volume must be above its 50-period MA.
- Why This Matters:
- Low-volume breakouts often fail—this ensures institutional participation.
4. Bollinger Band Width (BBW) - Volatility Check
- Logic: BBW must be above its moving average (expanding volatility = good for scalping).
Why This Matters:
- Avoids low-volatility traps where price moves are insignificant.
5. Supertrend - Dynamic Trend Confirmation
- Logic:
- Longs : Price must be above Supertrend line.
- Shorts : Price must be below Supertrend line.
Why This Matters:
- Acts as a secondary trend filter , reducing whipsaws.
---
3. Risk Management - Protecting Capital
A. Position Sizing (Flexible & Adaptive)
- Default: 30% of equity per trade(aggressive but adjustable).
- Initial Capital: $1,000(example—modify based on your account size).
B. Stop Loss & Take Profit (ATR-Based)
- SL = 1.5x ATR (protects against sudden reversals).
- TP = 2x ATR (locks in profits before pullbacks).
Why ATR?
- Dynamic adjustment —wider in volatile markets, tighter in calm ones.
C. Manual Adjustments Required
- Commission: Default 0.1% (adjust per your broker).
- Leverage: Not hardcoded —apply based on your risk tolerance.
4. Optimal Time Frame & Asset Selection
- Best for: 5M - 15M charts(scalping).
- Also works on: 1H-4H(swing trades with adjusted filters).
- Best Assets:
- High-liquidity cryptos (BTC, ETH, SOL)
- Forex majors (EUR/USD, GBP/USD)
- High-beta stocks (TSLA, NVDA)
5. The Dashboard - Real-Time Trade Intelligence
- PnL Tracking (profit/loss in $ and %).
- Position Status (Long/Short/Flat).
- Filter Status (which ones are active).
- Key Indicators (%R, MA, Volume).
Why This Matters:
- No guesswork—all critical info in one place.
6. Strong Disclaimer
⚠️ This is not financial advice. Trading carries risk of loss.
- Backtest thoroughly before live trading.
- Start with small capital to validate performance.
- Modify SL/TP, leverage, and position sizing based on your risk profile.
- The developer is not liable for any losses incurred.
7. Why This Strategy Stands Out
Most %R strategies fail in real markets because they ignore:
❌ Trend context (trading reversals blindly).
❌ Volatility cycles (getting chopped up in sideways action).
❌ Volume confirmation (falling for fake breakouts).
This script solves those problems by:
✅ Only trading when multiple high-probability factors align.
✅ Using adaptive risk management (ATR-based SL/TP).
✅ Providing a real-time dashboard for decision-making.
8.Important Note on Backtesting & Customization
The performance results displayed with this script are based on:
- Asset BTC/USD
- Timeframe : 5-minute chart
- Key Filters Enabled :
- Moving Average (Trend Confirmation)
- Choppiness Index (Sideways Market Filter)
- Volume (Participation Validation)
Your Trading Approach May Vary
This configuration represents just one possible way to deploy the strategy. You can:
- Test alternative settings (adjust lengths, thresholds, or filters)
- Apply to different assets (cryptos, forex pairs, stocks)
- Experiment with timeframes (1m for ultra-scalping, 15m/1H for swing trades)
Critical Reminder
Always conduct your own forward testing before live trading. Market conditions change, and past performance never guarantees future results.
All the best!
Pelosi Kenobi LevelsThe Pelosi Kenobi Levels Indicator is a sophisticated PineScript v6 tool designed for TradingView to assist traders in identifying key price levels and market dynamics across multiple timeframes. It integrates several technical analysis components, including:
High, Low, and 50% Retracement Levels: Displays current and previous day, week, and month high, low, and 50% retracement levels, with customizable display options for standard, non-standard, and rolling calculations.
Liquidity Clusters: Visualizes bullish and bearish liquidity zones using three-tiered boxes (b1, b2, b3) based on volume and price proximity to significant retracement levels, helping traders spot areas of potential support or resistance.
Cumulative Delta Heatmap: Shows cumulative volume delta as a heatmap, indicating buying or selling pressure, with customizable reset periods (e.g., daily, weekly, custom).
Anchored VWAP (AVWAP): Plots a multi-timeframe anchored Volume Weighted Average Price, reset on new timeframe bars, to highlight price areas where significant trading volume has occurred.
YaGA Retracement Index: Provides a table scoring bullish and bearish strength based on the proximity of price to key levels, aiding in trend assessment.
Opening Range Fib50 (OR31FIB50 and ORCUSTOMFIB50): Plots high, low, and 50% retracement levels for 31-minute or custom-minute opening ranges, useful for intraday trading strategies.
Custom Levels: Allows traders to define their own price levels for additional reference points.
How It Helps Traders:
Market Structure Insight: Identifies critical support/resistance zones through highs, lows, and retracements, enabling traders to anticipate price reactions.
Liquidity Detection: Liquidity clusters highlight areas where large orders may be placed, useful for entry/exit timing or stop placement.
Trend and Momentum Analysis: The delta heatmap and YaGA index provide real-time insights into buying/selling pressure and trend strength, aiding in directional bias.
Intraday Precision: Opening range levels help scalpers and day traders target breakouts or reversals during high-volatility periods.
Customization: Extensive input options allow traders to tailor the indicator to their preferred timeframes, visual styles, and trading strategies, enhancing adaptability across markets (e.g., stocks, forex, crypto).
This indicator is particularly valuable for technical traders seeking a comprehensive, visually intuitive tool to combine price action, volume analysis, and market sentiment for informed decision-making.
Volume Range Profile with Fair Value (Zeiierman)█ Overview
The Volume Range Profile with Fair Value (Zeiierman) is a precision-built volume-mapping tool designed to help traders visualize where institutional-level activity is occurring within the price range — and how that volume behavior shifts over time.
Unlike traditional volume profiles that rely on fixed session boundaries or static anchors, this tool dynamically calculates and displays volume zones across both the upper and lower ends of a price range, revealing point-of-control (POC) levels, directional volume flow, and a fair value drift line that updates live with each candle.
You’re not just looking at volume anymore. You’re dissecting who’s in control — and at what price.
⚪ In simple terms:
Upper Zone = The upper portion of the price range, showing concentrated volume activity — typically where selling or distribution may occur
Lower Zone = The lower portion of the price range, highlighting areas of high volume — often associated with buying or accumulation
POC Bin = The bin (price level) with the highest traded volume in the zone — considered the most accepted price by the market
Fair Value Trend = A dynamic trend line tracking the average POC price over time — visualizing the evolving fair value
Zone Labels = Display real-time breakdown of buy/sell volume within each zone and inside the POC — revealing who’s in control
█ How It Works
⚪ Volume Zones
Upper Zone: Anchored at the highest high in the lookback period
Lower Zone: Anchored at the lowest low in the lookback period
Width is user-defined via % of range
Each zone is divided into a series of volume bins
⚪ Volume Bins (Histograms)
Each zone is split into N bins that show how much volume occurred at each level:
Taller = More volume
The POC bin (Point of Control) is highlighted
Labels show % of volume in the POC relative to the whole zone
⚪ Buy vs Sell Breakdown
Each volume bin is split by:
Buy Volume = Close ≥ Open
Sell Volume = Close < Open
The script accumulates these and displays total Buy/Sell volume per zone.
⚪ Fair Value Drift Line
A POC trend is plotted over time:
Represents where volume was most active across each range
Color changes dynamically — green for rising, red for falling
Serves as a real-time fair value anchor across changing market structure
█ How to Use
⚪ Identify Key Control Zones
Use Upper/Lower Zone structures to understand where supply and demand is building.
Zones automatically adapt to recent highs/lows and re-center volume accordingly.
⚪ Follow Institutional Activity
Watch for POC clustering near price tops or bottoms.
Large volumes near extremes may indicate accumulation or distribution.
⚪ Spot Fair Value Drift
The fair value trend line (average POC price) gives insight into market equilibrium.
One strategy can be to trade a re-test of the fair value trend, trades are taken in the direction of the current trend.
█ Understanding Buy & Sell Volume Labels (Zone Totals)
These labels show the total buy and sell volume accumulated within each zone over the selected lookback period:
Buy Vol (green label) → Total volume where candles closed bullish
Sell Vol (red label) → Total volume where candles closed bearish
Together, they tell you which side dominated:
Higher Buy Vol → Bullish accumulation zone
Higher Sell Vol → Bearish distribution zone
This gives a quick visual insight into who controlled the zone, helping you spot areas of demand or supply imbalance.
█ Understanding POC Volume Labels
The POC (Point of Control) represents the price level where the most volume occurred within the zone. These labels break down that volume into:
Buy % – How much of the volume was buying (price closed up)
Sell % – How much was selling (price closed down)
Total % – How much of the entire zone’s volume happened at the POC
Use it to spot strong demand or supply zones:
High Buy % + High Total % → Strong buying interest = likely support
High Sell % + High Total % → Strong selling pressure = likely resistance
It gives a deeper look into who was in control at the most important price level.
█ Why It’s Useful
Track where fair value is truly forming
Detect aggressive volume accumulation or dumping
Visually split buyer/seller control at the most relevant price levels
Adapt volume structures to current trend direction
█ Settings Explained
Lookback Period: Number of bars to scan for highs/lows. Higher = smoother zones, Lower = reactive.
Zone Width (% of Range): Controls how much of the range is used to define each zone. Higher = broader zones.
Bins per Zone: Number of volume slices per zone. Higher = more detail, but heavier on resources.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Zig Zag + Fibonacci PROPlots ZigZag structure with optional Fibonacci retracement levels.
Helps identify recent highs/lows and possible support/resistance zones.
Customizable levels and alert on price cross.
Market Open Options Strategytrades directionally whatever first 90 seconds of trading day are for either 10 minutes or a reversal whatever comes first
Global M2/M3 Liquidity IndexThis Indicator takes M3 data from 20 of the largest Central banks. M3 data is not available for USA and CHINA and has been substituted with M2.
Overall M3 captures far more than M2 and is therefore a superior model when attempting to track global liquidity.
This indicator also allows the data to be pushed forward to adjust for the lagged effect global liquidity has on markets.
The recommended lag is 90 days.
MÈGAS ALGO : CNA (Cognitio Analysis) [INDICATOR]Overview
The CNA (Cognitio Analysis) is a comprehensive financial analysis tool designed to evaluate the overall health and potential of a market or company based on fundamental metrics. It aggregates data across five key metric groups—**Growth**, **Profitability**, **Cash Flow**, **Income**, and **Valuation**—to provide a final interpretation of market conditions. The indicator dynamically adapts to the selected fiscal period (Quarter, Year, or Trailing Twelve Months) and delivers insights into dominant trends and conflicting signals.
Key Features
1. Customizable Fiscal Period:
- Users can select between "Quarter", "Year", or "Trailing Twelve Months" (TTM) to analyze data for their desired timeframe.
2. Dynamic Table Visualization:
- Displays raw metric values, aggregated scores, and the final interpretation in an intuitive
table.
- Highlights the final interpretation with dynamic background colors (`color.teal` for bullish,
`color.red` for bearish, etc.).
3. Comprehensive Data Integration:
- Pulls financial data using TradingView's `request.financial()` function for metrics like
revenue, earnings, margins, and valuation ratios.
4. Normalization and Scoring:
- Normalizes data to create a consistent scoring system, ensuring accurate comparisons across
metrics.
How It Works
1. Metric Group Analysis
- Growth Metrics: Measures revenue growth, earnings per share (EPS) growth, and tax
efficiency.
- Profitability Metrics: Analyzes net profit margin, return on equity (ROE), and EBITDA margin.
- Cash Metrics: Assesses operating cash flow margin, free cash flow to operating cash flow
ratio, and cash flow coverage.
- Income Metrics: Examines gross profit margin, operating profit margin, and EBIT margin.
- Valuation Metrics: Evaluates price-to-earnings (P/E), price-to-sales (P/S), and enterprise
value-to-EBITDA (EV/EBITDA).
2. Dynamic Scoring System
- Metrics are normalized to ensure consistency across different scales.
- A geometric mean is used to calculate scores for each metric group, ensuring that all metrics
within a group contribute equally to the final score.
3. Dominant Trend Identification
- Scores from all five metric groups are aggregated to determine the **dominant trend** of the
market.
- The dominant trend is categorized as:
- Bullish: Strong fundamentals across most metrics.
- Bearish: Weak fundamentals across most metrics.
- Neutral: Balanced conditions with no clear direction.
- Unclear: Mixed signals dominate, requiring further monitoring.
4. Conflicting Signals Interpretation
- The indicator identifies scenarios where metrics conflict (e.g., high growth but low valuation).
- These conflicting signals provide nuanced insights into market conditions, highlighting rare opportunities or potential risks.
How to Use the Indicator
1. Select Fiscal Period:
- Choose between "FQ", "FY", or "TTM" to analyze data for the desired timeframe.
2. Review Metric Scores:
- Examine the scores for each metric group (Growth, Profitability, Cash, Income, Valuation) to
understand the underlying performance.
3. Interpret Final Output:
- The final interpretation provides a summary of the dominant trend and conflicting signals,
helping users make informed decisions.
4. Dynamic Coloring:
- Use the dynamic background colors in the table to quickly identify market sentiment
(bullish, bearish, neutral, or mixed).
Applications
- Identifying Opportunities:
- Look for bullish dominant trends combined with undervalued growth opportunities for
potential long positions.
- Avoiding Risks:
- Watch out for bearish dominant trends with overvaluation alerts to avoid potential losses.
- Monitoring Neutral Markets:
- Use the indicator to identify neutral markets and wait for clearer signals before making
decisions.
Conclusion
The CNA (Cognitio Analysis) is a powerful tool for traders and investors seeking to make informed decisions based on fundamental analysis. By combining detailed metric evaluations, dynamic scoring, and sentiment-based interpretations, this indicator provides a comprehensive view of market conditions. Whether you're identifying undervalued opportunities, avoiding overvalued risks, or monitoring neutral markets, this indicator equips you with the insights needed to navigate complex financial landscapes.
Please Note:
This indicator is provided for informational and educational purposes only. It is not financial advice, and it should not be considered a recommendation to buy, sell, or trade any financial instrument. Trading involves significant risks, including the potential loss of your entire investment. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions.
The results and images provided are based on algorithms and historical/paid real-time market data but do not guarantee future results or accuracy. Use this tool at your own risk, and understand that past performance is not indicative of future outc
All-Time, Yearly & Monthly High/LowThis indicator visually tracks and displays:
• All-Time High (ATH) – The highest price the asset has ever reached
• All-Time Low (ATL) – The lowest price the asset has ever reached
• Yearly High/Low – The highest and lowest prices recorded in the current calendar year
• Monthly High/Low – The highest and lowest prices in the current calendar month
It helps traders quickly identify major support/resistance levels and historical price extremes across different timeframes. Level
Color
Updates When
All-Time High
Red
A new highest price ever is reached
All-Time Low
Green
A new lowest price ever is reached
Yearly High
Orange
New yearly high occurs or changes with new year
Yearly Low
Teal
New yearly low occurs or changes with new year
Monthly High
Fuchsia
New monthly high or at the start of each new month
Monthly Low
Navy Blue
New monthly low or at the start of each new month This indicator is especially useful for:
• Swing traders watching monthly or yearly trend zones
• Breakout traders looking to spot price levels where breakouts might occur
• Reversal traders using all-time levels for high-risk reward zones
• Long-term investors gauging historical extremes for entries/exits
Trading Sessions [BigBeluga]
This indicator brings Smart Money Concept (ICT) session logic to life by plotting key global trading sessions with volume and delta analytics. It not only highlights session ranges but also tracks their midpoints — which often act as intraday support/resistance levels.
🔵 KEY FEATURES
Visual session boxes: Plots boxes for Tokyo, London, New York, and Sydney sessions based on user-defined UTC+0 time ranges.
Volume & delta metrics: Displays total volume and delta volume (buy–sell difference) within each session.
Mid, High & Low Range Extension: Once a session ends, the high, low, and midpoint levels automatically extend — ideal for detecting SR zones.
Session labels: Each box includes a label with session name, time, volume, and delta for quick reference.
Custom session control: Enable or disable sessions individually and configure start/end times.
Clean aesthetics: Transparent shaded boxes with subtle borders make it easy to overlay without clutter.
Sessions Dashboard: Shows the time range of each session and tells you whether the session is currently active.
🔵 USAGE
Enable the sessions you want to monitor (e.g., New York or Tokyo) from the settings.
Use session volume and delta values to gauge the strength and direction of institutional activity.
Watch for price interaction with the extended range — it often acts as dynamic support/resistance after the session ends.
Overlay it with liquidity tools or breaker blocks for intraday strategy alignment.
🔵 EXAMPLES
Extended Future Range acted as resistance/support.
Delta value helped confirm bullish pressure during New York open.
Multiple sessions helped identify kill zone overlaps and high-volume turns.
Trading Sessions is more than just a visual scheduler — it's a precision tool for traders who align with session-based volume dynamics and ICT methodology. Use it to define high-probability zones, confirm volume shifts, and read deeper into the true intent behind market structure.
Relative ATRThis indicator enhances the standard Average True Range (ATR) by providing context about current volatility relative to its recent historical average. It highlights periods where ATR is significantly higher or lower than its own recent norm.
Volume & Price Counter**User Guide for Volume & Price Counter (Candle Structure)**
### 1. Introduction to Volume & Price Counter
The **Volume & Price Counter** (Candle Structure) is a momentum analysis indicator that helps identify which side—buyers or sellers—is dominating the market by counting candles based on the combination of volume and price movement.
The indicator classifies candles into 4 groups:
- **Volume Up, Price Up (Vol ↑ & Price ↑)** – Indicates strong buying pressure.
- **Volume Down, Price Up (Vol ↓ & Price ↑)** – Price is rising but buying momentum is weakening.
- **Volume Up, Price Down (Vol ↑ & Price ↓)** – Indicates strong selling pressure.
- **Volume Down, Price Down (Vol ↓ & Price ↓)** – Price is falling but selling momentum is weakening.
---
### 2. How the Indicator Works
The Volume & Price Counter calculates the number of each candle type over a specific time period to determine which side is currently in control:
- **Green Background**: When the total of (Vol ↑ & Price ↑) + (Vol ↓ & Price ↑) is greater than the total of (Vol ↑ & Price ↓) + (Vol ↓ & Price ↓) → Buyers are in control.
- **Red Background**: When the total of (Vol ↑ & Price ↓) + (Vol ↓ & Price ↓) is greater than the total of (Vol ↑ & Price ↑) + (Vol ↓ & Price ↑) → Sellers are in control.
---
### 3. How to Use the Indicator in Trading
**a) When the background is green**:
- The market is in an uptrend; consider buying during pullbacks to support zones.
- If the green background continues and the number of (Vol ↑ & Price ↑) candles dominates, the price may continue to rise.
- If the green background is present but there are many (Vol ↓ & Price ↑) candles, be cautious as buying strength may be fading.
**b) When the background is red**:
- The downtrend is prevailing; it's better to stay out or look for selling opportunities during pullbacks.
- If the red background continues with a high number of (Vol ↑ & Price ↓) candles, the price may continue to fall.
- If there are many (Vol ↓ & Price ↓) candles during a red background, selling pressure may be weakening—watch for reversal signals.
**c) When the background shifts from red to green**:
- This is a positive signal, indicating buyers are returning to the market.
- Additional volume confirmation is needed to validate a true uptrend.
**d) When the background shifts from green to red**:
- This warns of a potential trend reversal to the downside.
- If volume spikes during the red shift, consider closing long positions.
---
### 4. Combining Volume & Price Counter with Other Indicators
**Combine with support/resistance levels**:
If a green background appears at a strong support zone, it may signal a potential buying opportunity.
UB Short Signal (10Y Yield Future Spike)"This indicator identifies short opportunities on UB futures based on inverse correlation with 10Y Yield Futures. A macro trading tool to be used with additional confirmations."
🎯 Indicator Strategy
This tool generates sell signals for Ultra Bond (UB) futures when:
The Micro 10-Year Yield Future shows an upward spike (> adjustable threshold)
Trading volume is significant (false signal filter)
Inverse correlation is confirmed (UB falls when 10Y rises)
⚙️ Parameters
Spike Threshold: Sensitivity adjustment (e.g., 0.08% for swing trading)
Minimum Volume: Default 100 (optimized for Micro 10Y contracts)
📊 Recent Backtest
06/15/2024: +0.10% spike → UB dropped -0.3% within 15 minutes
06/18/2024: Valid signal post-CPI release
⚠️ Disclaimer
Analytical tool only – not financial advice
Must be combined with proper risk management
RSI HeartHere's an introduction you can use for your RSI Heart indicator:
---
### RSI Heart Indicator
The **RSI Heart Indicator** provides a visually engaging way to monitor and track the **Relative Strength Index (RSI)** across multiple timeframes (10m, 15m, 30m, and 1H). It not only shows the RSI value but also uses heart-shaped symbols to reflect the current market condition based on RSI levels, making it easier to understand the strength and momentum of a given asset at a glance.
### Key Features:
- **Multi-Timeframe Support**: The indicator pulls the RSI values from multiple timeframes (10 minutes, 15 minutes, 30 minutes, and 1 hour) so you can analyze market strength at different intervals in one view.
- **Heart Symbols**: RSI values are displayed alongside heart emojis (❤️, 💛, 💚) that provide a visual cue for the market condition:
- **❤️ (Overbought or Oversold)**: When RSI is below 27 or above 73.
- **💛 (Near Oversold/Overbought)**: When RSI is between 27-30 or 70-73.
- **💚 (Neutral)**: When RSI is between 30 and 70.
- **Customizable Visibility**: Toggle visibility for each timeframe's RSI using simple on/off settings, giving you control over which timeframes are displayed in your chart.
### How it Can Help:
- **Quick Market Sentiment Analysis**: The heart symbols and RSI values allow you to quickly assess whether an asset is in an overbought or oversold condition.
- **Multi-Timeframe RSI**: By viewing RSI across multiple timeframes, you can gain a more comprehensive understanding of market momentum and strength.
- **Personalized to Your Preferences**: Adjust the settings to only show the timeframes that matter most to you, creating a customized and clean chart view.
This indicator helps traders make more informed decisions by providing a clear, easy-to-read representation of market conditions across various timeframes, all within one indicator.
---
This introduction explains what the indicator does, its features, and how it can benefit traders in a concise and easy-to-understand way.
Key Financial index**Basic Indicators** (updates may be delayed by a few weeks after dividend distribution):
1. **P/E Ratio**: *Price-to-Earnings*. This ratio shows the price investors are willing to pay for each unit of profit the company generates.
- A P/E below 8 is considered good, meaning the company yields a 12.5% annual profit, which implies a payback period of 8 years.
2. **P/B Ratio**: *Price-to-Book Ratio*. This is used to compare a company's market value with its book value.
- A low P/B (usually below 1): May indicate that the stock is undervalued compared to the company’s net asset value. This can be a good investment opportunity but may also signal financial trouble.
- A high P/B (usually above 3): May suggest the stock is overvalued relative to the company’s net assets. This could reflect high growth expectations or potential overvaluation.
3. **D/E Ratio**: *Debt-to-Equity Ratio* is a financial metric that measures a company’s financial leverage.
D/E Ratio = Total Liabilities / Shareholders' Equity.
It compares the total liabilities of a company to its equity to indicate how much debt is used to finance its assets compared to shareholder investments.
- D/E Ratio below 1: Generally considered safe.
- D/E Ratio between 1 and 2: May be acceptable depending on the industry.
- D/E Ratio above 2: May indicate high financial risk.
4. **CR Ratio**: *Current Ratio*, an important liquidity metric used to assess a company’s ability to pay off short-term liabilities using its short-term assets.
- CR Ratio > 1: Indicates the company has enough current assets to pay off its short-term debts. The higher the ratio, the better the liquidity position.
- CR Ratio < 1: Suggests the company may face difficulties in meeting short-term obligations. This can be a red flag for financial stability.
5. **Profit Margin**: A key financial indicator that measures a company’s profitability relative to its revenue. It shows what percentage of revenue remains after all related costs are deducted.
**General significance of Profit Margin**:
- **Operational Efficiency**: A high profit margin indicates efficient cost management and the ability to generate strong profits from revenue.
- **Industry Comparison**: Comparing a company’s profit margin with its industry peers helps assess its competitive position and relative performance.
**Note**:
- There is no single “good” margin across all industries. Each industry has different cost structures and competition levels, leading to varying average margins.
- When analyzing profit margins, one must consider the industry context, the company’s business model, and market trends.
6. **Growth Expectation ↑**: This refers to the expected profit growth. The percentage figure reflects how much growth the market expects the company to achieve in the next financial report based on the current stock price.
- The lower the expected growth rate (typically below 15%), the safer the current price is considered.
- A high expected growth rate may indicate that the market anticipates a profit breakthrough or that the stock is trading above its intrinsic value relative to actual earnings.
RSI + SuperTrend Filter Strategy (45m BTCUSDT)🧠 Strategy Breakdown: RSI + SuperTrend Filter (45m BTCUSDT)
This strategy is built on a simple yet powerful principle: don’t fight the trend — and never ignore momentum exhaustion.
At its core, this setup looks for RSI-based reversal entries, but only when price action aligns with the underlying trend structure, defined by a modified SuperTrend. This combo filters out a large chunk of noise you typically get with RSI alone on lower timeframes.
📊 How It Works
Longs trigger when RSI crosses up from oversold and SuperTrend confirms a bullish bias.
Shorts trigger when RSI crosses down from overbought and SuperTrend confirms a bearish structure.
Each entry is paired with a tight SL (1%) and dynamic TP (1.5%), offering favorable risk:reward setups.
The script includes clean chart visuals — background zones, SL/TP lines, and real-time trend bands — built for clarity and decision speed.
⚙️ Why It Works
Too many RSI strategies reverse blindly — this doesn’t. By combining RSI oversold/overbought conditions with a directional SuperTrend filter, you get higher-quality entries, especially during high-volatility phases.
This is not designed for sideways markets — it’s meant to catch clean swings in structured trends. The 45m TF adds breathing room for better signal quality while still allowing for decent trade frequency.
📈 Backtest Snapshot (3m logic on 45m BTCUSDT)
💰 +213,885 USDT total P&L
🧠 239 trades, with solid coverage across sessions
📉 15% max drawdown
⚖️ Profit factor: 1.12
🔁 Dynamic execution-ready — ideal for automation or manual confirmations
🔧 Built For Traders Who:
Want non-repainting structure they can trust
Prefer mechanical entries with visual context
Are experimenting with automation-ready setups
Need something they can tweak and expand on
🔥 If you're serious about combining clean signals with trend confirmation — this is a solid foundation. Drop a comment if you want the multi-timeframe version or ideas on adding volume-based confirmations.
Hull MA with Support/Resistance📊 Combined Hull MA & Support/Resistance Indicator
🌟 Core Features Overview
This indicator integrates two powerful tools:
Hull Moving Average (Hull MA) - An optimized MA variant that reduces lag and closely follows price action.
Dynamic Support/Resistance System - Automatically identifies key price levels based on market structure.
Dual Advantage: Simultaneously identifies trends with Hull MA while pinpointing critical price zones for optimal entries.
⚙️ How It Works
Component Functionality Key Attributes Hull MA
- Trend identification
- Reversal signals via color changes - Low latency
- Color-coded (green/red) momentum
Support/Resistance - Key level detection
- Noise filtering via pivot points - Auto-adjusting
- Extended line visualization
📈 Practical Applications Trend Trading:
Buy when Hull MA turns green + price breaks Resistance
Sell when Hull MA turns red + price breaks Support
Breakout/Pullback Strategies:
Combine S/R breakouts with Hull MA slope for signal confirmation
Risk Management:
Place stop-loss orders beyond nearest S/R levels
⚡ Performance Optimization
Default Settings:
Hull MA: 16 periods (ideal for H1/D1 timeframes)
S/R: 1-bar pivot (short-term swing points)
Advanced Customization:
Increase Hull MA sensitivity by reducing periods
Widen S/R zones with Left/Right Bars >1
📌 Critical Notes
• Most effective in trending markets
• Recommended to combine with volume or RSI for confirmation
• Always backtest across multiple timeframes before live trading
💡 Pro Tip: Use Hull MA as primary trend filter - only trade when price retests S/R levels aligned with the MA's color.