Blocks🔍 On-Chain Analytics Overview
This indicator compares key on-chain metrics against their 55-day and 111-day moving averages to evaluate the network’s overall health.
It helps visualize trends in user activity, transaction dynamics, and market valuation to identify potential shifts in market sentiment.
📊 Core Metrics
Active Addresses: The number of unique addresses actively interacting with the network. An increase suggests higher user engagement and network utilization.
New Address Count: The number of newly created wallets. A decline may indicate slowing user adoption or lower retail participation.
Non-zero Balance Addresses: Addresses holding a non-zero balance — a metric of long-term adoption and retention.
Active Supply (1Y): The percentage of supply that has moved within the last year. Lower values imply stronger “HODL” behavior and long-term confidence.
Realized Market Value: Represents the total value of coins based on their last on-chain movement, reflecting the cost basis of holders.
Market Value: The current market capitalization derived from price × circulating supply.
Large Transaction Count / Volume: Measures institutional or whale-level activity. Spikes may indicate accumulation or distribution phases.
90-day NVT (Network Value to Transaction Volume): A valuation metric comparing network value to transaction activity.
High NVT → Overvalued or speculative phase
Low NVT → Undervalued or high on-chain utility
Daily Transaction Count: Indicates on-chain activity levels; rising values often precede bullish momentum.
Transaction Fees (USD): Network demand indicator — rising fees can reflect congestion or growing user activity.
Top Holder Addresses: Tracks concentration among top wallets (e.g., top 0.1%, 0.001%), offering insights into wealth distribution and whale dominance.
⚙️ Delta & Score System
Δ (Delta): Shows deviation from the long-term average (MA-55 / MA-111).
Positive Delta → Metric above historical norm (strength or overheating)
Negative Delta → Metric below historical norm (weakness or cooling)
Score Icons:
✅ = Healthy / Positive trend
⚠️ = Mixed or Neutral signal
🔻 = Caution / Negative trend
🧭 Interpretation
A cluster of green checkmarks (✅) signals robust network fundamentals — often supportive of long-term growth.
A dominance of warnings (⚠️) or red signals (🔻) indicates network slowdowns or profit-taking phases.
Statistics
Market Structure Report Library [TradingFinder]🔵 Introduction
Market Structure is one of the most fundamental concepts in Price Action and Smart Money theory. In simple terms, it represents how price moves between highs and lows and reveals which phase of the market cycle we are currently in uptrend, downtrend, or transition.
Each structure in the market is formed by a combination of Breaks of Structure (BoS) and Changes of Character (CHoCH) :
BoS occurs when the market breaks a previous high or low, confirming the continuation of the current trend.
CHoCH occurs when price breaks in the opposite direction for the first time, signaling a potential trend reversal.
Since price movement is inherently fractal, market structure can be analyzed on two distinct levels :
Major / External Structure: represents the dominant macro trend.
Minor / Internal Structure: represents corrective or smaller-scale movements within the larger trend.
🔵 Library Purpose
The “Market Structure Report Library” is designed to automatically detect the current market structure type in real time.
Without drawing or displaying any visuals, it analyzes raw price data and returns a series of logical and textual outputs (Return Values) that describe the current structural state of the market.
It provides the following information :
Trend Type :
External Trend (Major): Up Trend, Down Trend, No Trend
Internal Trend (Minor): Up Trend, Down Trend, No Trend
Structure Type :
BoS : Confirms trend continuation
CHoCH : Indicates a potential trend reversal
Consecutive BoS Counter : Measures trend strength on both Major and Minor levels.
Candle Type : Returns the current candle’s condition(Bullish, Bearish, Doji)
This library is specifically designed for use in Smart Money–based screeners, indicators, and algorithmic strategies.
It can analyze multiple symbols and timeframes simultaneously and return the exact structure type (BoS or CHoCH) and trend direction for each.
🔵 Function Outputs
The function MS() processes the price data and returns seven key outputs,
each representing a distinct structural state of the market. These values can be used in indicators, strategies, or multi-symbol screeners.
🟣 ExternalTrend
Type : string
Description : Represents the direction of the Major (External) market structure.
Possible values :
Up Trend
Down Trend
No Trend
This is determined based on the behavior of Major Pivots (swing highs/lows).
🟣 InternalTrend
Type : string
Description : Represents the direction of the Minor (Internal) market structure.
Possible values :
Up Trend
Down Trend
No Trend
🟣 M_State
Type : string
Description : Specifies the type of the latest Major Structure event.
Possible values :
BoS
CHoCH
🟣 m_State
Type : string
Description : Specifies the type of the latest Minor Structure event.
Possible values :
BoS
CHoCH
🟣 MBoS_Counter
Type : integer
Description : Counts the number of consecutive structural breaks (BoS) in the Major structure.
Useful for evaluating trend strength :
Increasing count: indicates trend continuation.
Reset to zero: typically occurs after a CHoCH.
🟣 mBoS_Counter
Type : integer
Description : Counts the number of consecutive structural breaks in the Minor structure.
Helps analyze the micro structure of the market on lower timeframes.
Higher value : strong internal trend.
Reset : indicates a minor pullback or reversal.
🟣 Candle_Type
Type : string
Description : Represents the type of the current candle.
Possible values :
Bullish
Bearish
Doji
import TFlab/Market_Structure_Report_Library_TradingFinder/1 as MSS
PP = input.int (5 , 'Market Structure Pivot Period' , group = 'Symbol 1' )
= MSS.MS(PP)
PnL PortfolioThis indicator provides a comprehensive, real-time overview of your open trading portfolio directly on the chart. It allows you to track up to 20 different trading pairs simultaneously.
For each asset, simply input the Pair Symbol, Average Entry Price, and Position Quantity. The script securely fetches the current market price and dynamically calculates and displays a customizable table showing:
Real-Time Profit/Loss ($)
Percentage PnL (%)
Entry Price and Position Quantity
The table uses color coding to clearly highlight profitable (green) or losing (red) positions, and its location on the chart (top/bottom, left/right) is fully adjustable.
PnL TrackerThis script allows you to manually input the details for up to 64 unique positions in the settings, each requiring a Symbol, Average Cost, and Quantity (Qty).
Key Features:
Average Cost Line: Plots a horizontal line on the chart corresponding to your recorded Average Cost for the security currently being viewed.
Real-Time PnL Label: A dynamic label attached to the Average Cost line provides an instant summary of your PnL in both percentage and currency for the last visible bar.
Detailed PnL Box: Displays a consolidated, easy-to-read table in the bottom-right corner of the chart, clearly showing:
The Symbol and Quantity of your position.
Your Average Cost.
The current PnL in percentage (%) and base currency (e.g., USD, EUR).
Visibility Controls: Toggles in the settings allow you to show or hide the Average Cost line and the PnL summary box independently.
This tool is perfect for actively managing and visualizing your multi-asset portfolio positions without leaving your main trading chart. Simply enter your positions in the indicator's settings, and the script will automatically track the PnL for the symbol matching the current chart.
RAXIS — PnL/TP/RR HUD + Precise Bollinger + Future Candles# RAXIS — PnL/TP/RR HUD + Precise Bollinger + Future Candles
A pro-grade trading dashboard with precise Bollinger Bands, future-candle projection, and risk–reward analytics.
**Developed by the hosh365 team**
## Why RAXIS?
RAXIS is an all-in-one package for professional traders who want real-time PnL, entries/exits, signal accuracy, and forward scenarios on the **same** chart—cleanly, with precise controls.
## Key Features
* **Animated HUD + Fixed Panel:** Real-time list of entries (ROI/PnL), total PnL, weighted ROI, and a signal-accuracy summary. A fixed bottom-right panel shows equity, entry/average, E1..E4, weighted targets, SL, R:R, and final net profit.
* **Risk Management & R:R:** Equity input, risk percentage, and ATR-based stop suggestions; set SL/TP and draw their lines on the chart; calculate and display risk–reward.
* **Precise Bollinger + Signals & Alerts:** Choose MA type (SMA/EMA/RMA/WMA), squeeze threshold, and icons/labels for band touches/reversions; alert conditions for Long/Short.
* **Analytical “Future Candles” Projection:** Generates “phantom candles” weighted by momentum (EMA), mid-band slope, and Ichimoku bias; ATR-clamped drift; draws body/wicks for each projected candle. Tunables include count, momentum length, mean-reversion strength, volatility, drift cap, and weights.
* **Multiple Entries + Dynamic Sizing:** Four independent entries (E1..E4) with leverage and $/coin sizing modes; dynamic position sizing based on location relative to Bollinger Bands.
* **On-Chart Lines:** Sticky lines for entry, targets, and stop with thickness control.
* **Symbol Memory & Change Notice:** Store/apply live PnL to per-symbol equity, reset equity, and auto-notify on ticker change.
## Who It’s For
**Scalpers** *(very short-term traders; seconds to minutes, aiming to capture small moves)*, **swing traders** *(medium-term traders; holding for days to weeks to ride price swings)*, and **futures/spot** traders who need a mix of real-time performance view, risk control, and forward scenario planning in one tool.
## Access (Invite-Only)
This script is published as **Invite-Only**. To receive access, please send your TradingView username. (Optional: add your access terms/plan here.)
## Important Notes
* This tool is for educational/analytical purposes and is **not** a buy/sell signal or a guarantee of profit; you are responsible for your own trading decisions.
* Stop-loss and exit suggestions are based on your inputs and technical parameters (ATR/risk %) and must align with your personal strategy and risk management.
PnL PortfolioThis script allows you to input the details for up to 20 active positions across various trading pairs or markets. Stop manually calculating your trades—get instant, real-time feedback on your performance.
Key Features:
Multi-Pair Tracking: Monitor up to 20 unique symbols simultaneously.
Required Inputs: Easily define the Symbol, Entry Price, and Position Quantity (size) for each trade in the indicator settings.
Real-Time PnL: Instantly calculates and displays two critical metrics based on the current market price:
% PnL (Percentage Profit/Loss)
Absolute Profit/Loss (in currency)
Color-Coded Feedback: The PnL columns are color-coded (green/teal for profit, red/maroon for loss) for immediate visual confirmation of your trade health.
Customizable Layout: Choose where the dashboard table appears on your chart (top-left, top-right, bottom-left, or bottom-right) to keep your trading view clean.
This is an essential overlay for any trader managing multiple active positions and needing a consolidated, easy-to-read overview.
RAXIS — PnL/TP/RR HUD + Precise Bollinger + Future Candles# RAXIS — PnL/TP/RR HUD + Precise Bollinger + Future Candles
A pro-grade trading dashboard with precise Bollinger Bands, future-candle projection, and risk–reward analytics.
**Developed by the hosh365 team**
## Why RAXIS?
RAXIS is an all-in-one package for professional traders who want real-time PnL, entries/exits, signal accuracy, and forward scenarios on the **same** chart—cleanly, with precise controls.
## Key Features
* **Animated HUD + Fixed Panel:** Real-time list of entries (ROI/PnL), total PnL, weighted ROI, and a signal-accuracy summary. A fixed bottom-right panel shows equity, entry/average, E1..E4, weighted targets, SL, R:R, and final net profit.
* **Risk Management & R:R:** Equity input, risk percentage, and ATR-based stop suggestions; set SL/TP and draw their lines on the chart; calculate and display risk–reward.
* **Precise Bollinger + Signals & Alerts:** Choose MA type (SMA/EMA/RMA/WMA), squeeze threshold, and icons/labels for band touches/reversions; alert conditions for Long/Short.
* **Analytical “Future Candles” Projection:** Generates “phantom candles” weighted by momentum (EMA), mid-band slope, and Ichimoku bias; ATR-clamped drift; draws body/wicks for each projected candle. Tunables include count, momentum length, mean-reversion strength, volatility, drift cap, and weights.
* **Multiple Entries + Dynamic Sizing:** Four independent entries (E1..E4) with leverage and $/coin sizing modes; dynamic position sizing based on location relative to Bollinger Bands.
* **On-Chart Lines:** Sticky lines for entry, targets, and stop with thickness control.
* **Symbol Memory & Change Notice:** Store/apply live PnL to per-symbol equity, reset equity, and auto-notify on ticker change.
## Who It’s For
**Scalpers** *(very short-term traders; seconds to minutes, aiming to capture small moves)*, **swing traders** *(medium-term traders; holding for days to weeks to ride price swings)*, and **futures/spot** traders who need a mix of real-time performance view, risk control, and forward scenario planning in one tool.
## Access (Invite-Only)
This script is published as **Invite-Only**. To receive access, please send your TradingView username. (Optional: add your access terms/plan here.)
## Important Notes
* This tool is for educational/analytical purposes and is **not** a buy/sell signal or a guarantee of profit; you are responsible for your own trading decisions.
* Stop-loss and exit suggestions are based on your inputs and technical parameters (ATR/risk %) and must align with your personal strategy and risk management.
Squeeze Backtest by Shaqi v2.0Script to backtest price squeeze's. Works on long and short directions
Delta Volume Heatmap🔥 Delta Volume Heatmap
The Delta Volume Heatmap visualizes the real-time strength of per-bar delta volume — highlighting the imbalance between buying and selling pressure.
Each column’s color intensity reflects how strong the delta volume deviates from its moving average and standard deviation.
🟩 Green tones = Buy-dominant activity (bullish imbalance)
🟥 Red tones = Sell-dominant activity (bearish imbalance)
This tool helps traders quickly identify:
Abnormal volume spikes
Absorption or exhaustion zones
Potential reversal or continuation signals
First Passage Time - Distribution AnalysisThe First Passage Time (FPT) Distribution Analysis indicator is a sophisticated probabilistic tool that answers one of the most critical questions in trading: "How long will it take for price to reach my target, and what are the odds of getting there first?"
Unlike traditional technical indicators that focus on what might happen, this indicator tells you when it's likely to happen.
Mathematical Foundation: First Passage Time Theory
What is First Passage Time?
First Passage Time (FPT) is a concept in stochastic processes that measures the time it takes for a random process to reach a specific threshold for the first time. Originally developed in physics and mathematics, FPT has applications in:
Quantitative Finance: Option pricing, risk management, and algorithmic trading
Neuroscience: Modeling neural firing patterns
Biology: Population dynamics and disease spread
Engineering: Reliability analysis and failure prediction
The Mathematics Behind It
This indicator uses Geometric Brownian Motion (GBM), the same stochastic model used in the Black-Scholes option pricing formula:
dS = μS dt + σS dW
Where:
S = Asset price
μ = Drift (trend component)
σ = Volatility (uncertainty component)
dW = Wiener process (random walk)
Through Monte Carlo simulation, the indicator runs 1,000+ price path simulations to statistically determine:
When each threshold (+X% or -X%) is likely to be hit
Which threshold is hit first (directional bias)
How often each scenario occurs (probability distribution)
🎯 How This Indicator Works
Core Algorithm Workflow:
Calculate Historical Statistics
Measures recent price volatility (standard deviation of log returns)
Calculates drift (average directional movement)
Annualizes these metrics for meaningful comparison
Run Monte Carlo Simulations
Generates 1,000+ random price paths based on historical behavior
Tracks when each path hits the upside (+X%) or downside (-X%) threshold
Records which threshold was hit first in each simulation
Aggregate Statistical Results
Calculates percentile distributions (10th, 25th, 50th, 75th, 90th)
Computes "first hit" probabilities (upside vs downside)
Determines average and median time-to-target
Visual Representation
Displays thresholds as horizontal lines
Shows gradient risk zones (purple-to-blue)
Provides comprehensive statistics table
📈 Use Cases
1. Options Trading
Selling Options: Determine if your strike price is likely to be hit before expiration
Buying Options: Estimate probability of reaching profit targets within your time window
Time Decay Management: Compare expected time-to-target vs theta decay
Example: You're considering selling a 30-day call option 5% out of the money. The indicator shows there's a 72% chance price hits +5% within 12 days. This tells you the trade has high assignment risk.
2. Swing Trading
Entry Timing: Wait for higher probability setups when directional bias is strong
Target Setting: Use median time-to-target to set realistic profit expectations
Stop Loss Placement: Understand probability of hitting your stop before target
Example: The indicator shows 85% upside probability with median time of 3.2 days. You can confidently enter long positions with appropriate position sizing.
3. Risk Management
Position Sizing: Larger positions when probability heavily favors one direction
Portfolio Allocation: Reduce exposure when probabilities are near 50/50 (high uncertainty)
Hedge Timing: Know when to add protective positions based on downside probability
Example: Indicator shows 55% upside vs 45% downside—nearly neutral. This signals high uncertainty, suggesting reduced position size or wait for better setup.
4. Market Regime Detection
Trending Markets: High directional bias (70%+ one direction)
Range-bound Markets: Balanced probabilities (45-55% both directions)
Volatility Regimes: Compare actual vs theoretical minimum time
Example: Consistent 90%+ bullish bias across multiple timeframes confirms strong uptrend—stay long and avoid counter-trend trades.
First Hit Rate (Most Important!)
Shows which threshold is likely to be hit FIRST:
Upside %: Probability of hitting upside target before downside
Downside %: Probability of hitting downside target before upside
These always sum to 100%
⚠️ Warning: If you see "Low Hit Rate" warning, increase this parameter!
Advanced Parameters
Drift Mode
Allows you to explore different scenarios:
Historical: Uses actual recent trend (default—most realistic)
Zero (Neutral): Assumes no trend, only volatility (symmetric probabilities)
50% Reduced: Dampens trend effect (conservative scenario)
Use Case: Switch to "Zero (Neutral)" to see what happens in a pure volatility environment, useful for range-bound markets.
Distribution Type
Percentile: Shows 10%, 25%, 50%, 75%, 90% levels (recommended for most users)
Sigma: Shows standard deviation levels (1σ, 2σ)—useful for statistical analysis
⚠️ Important Limitations & Best Practices
Limitations
Assumes GBM: Real markets have fat tails, jumps, and regime changes not captured by GBM
Historical Parameters: Uses recent volatility/drift—may not predict regime shifts
No Fundamental Events: Cannot predict earnings, news, or macro shocks
Computational: Runs only on last bar—doesn't give historical signals
Remember: Probabilities are not certainties. Use this indicator as part of a comprehensive trading plan with proper risk management.
Created by: Henrique Centieiro. feedback is more than welcome!
Liquidity TriggersKey Points
Liquidity Triggers indicate:
Where liquidity-derived support levels are.
Where liquidity-derived resistance levels are.
When a large price increase is approaching via the Rip Currents .
- When a large price decrease is approaching via the Dip Currents .
Summary
Liquidity Triggers are produced by measuring liquidity and determining where supportive liquidity and resistance-liquidity are. These trigger-levels designate price-points where breakouts, breakthroughs, and bounces are anticipated.
Liquidity Triggers are dynamic, and they constantly re-evaluate liquidity conditions to determine where the next group of sellers or buyers are that can fuel rapid changes in price movement, such as initiating a trend change or stalling price-action completely.
To use, simply apply to your chart and monitor for Supportive Liquidity Triggers (LTs that are below price) for bounces, and Resistance Liquidity Triggers (LTs that are above price) for rejections.
You can also set Alerts designed specifically around the Liquidity Triggers.
Examples
Example 1: A quick look at LT Resistances and Supports. When a LT is above spot, then it is considered a resistance. When LT is below spot, it is considered a support.
Example 2: LTs can indicate to us when an upcoming Rip Current (large price appreciation) or a Dip Current (large price depreciation) is starting.
Here is an example of a Rip Current:
And here is a Dip Current:
Details
Liquidity Triggers come with a default load-out that utilizes several pre-configured settings for quick and easy start-up.
Triggers
The default triggers are labeled LT-1 through LT-7, these correspond ` orders ` that describe which type of liquidity is monitored. The two groups of traders that are monitored are the ` Eager ` and the ` Organic `.
The default triggers use the Fibonacci sequence to adjust their orders in a standardized way.
Triggers 1, 2, 3, and 4 monitor the ` Eager ` traders (with default settings) while triggers 5, 6, and 7 monitor the ` Organic `traders.
Eager Triggers represent profit-takers and dip-buyers .
When the Eager Triggers are above the price, they are ` selling the rip `, and when the Eager Triggers are below price, they are ` buying the dip `. These moments indicate growing pressure for a reversal. Eager triggers are any trigger with an order of 89 or less .
Organic Triggers represent value-seekers with long-term goals. When they are below price, they are areas of support and tend to fuel bounces, while when organic triggers that are above price are areas of resistance and often provoke rejections. Organic triggers are any trigger with an order of 90 or more .
Here's an example showing the faint eager liquidity triggers above spot, indicating profit-taking and below spot after a price-dip indicating dip-buying .
Customization
There are additional settings and configurations available to the Liquidity Triggers indicator that help customize your view of liquidity.
Smoothing
Smoothing can be applied to the triggers for a more peaceful showing. The smoothing options are:
None - Default.
Exponential-Moving Average (EMA) : Ideal for when you want the most recent activity to take higher priority.
Simple-Moving Average (SMA) : Ideal for when you want a smoother appearance but do not want to change the data too much.
Weighted-Moving Average (WMA): Ideal for when you want the smoothing to increase as the trigger order increases.
Modified-Moving Average (RMA): Produces the most smooth data.
Here is an example of how smoothing can change the appearance of LTs for easier analysis for when things get complicated:
Modifying the Default Load-out
The default loadout attempts to balance having a wide view of the data without bringing too many lines or values into the picture that might be too noisy, but these values can be added to customize and expand your view if desired.
The Fib load-out has the options with t he default load-out being .
Feel free to mix and match and explore which views you prefer when analyzing liquidity.
For example, for the extreme data-heads, you can add LDPM twice on the chart to get all of the orders displayed at once:
Liquidity Triggers - Granular Triggers
The granular trigger can be toggled on (default: off) for when candle-specific liquidity measurements desired. They can help identify which specific candles have eager and aggressive traders attempting to move spot: the further away the granular trigger is from the candle, the more force is being applied!
Manual LTs
If you’re not satisfied with the default options for triggers, you can set your own with the Manual Liquidity Triggers option.
Time-Based LTs
Time-based liquidity triggers give you a view of support and resistance triggers based off of the time chosen, rather than by an order. This allows you to construct “weekly Liquidity-Triggers” or “hourly Liquidity Triggers” to analyze and compare against.
Note: If the timeframes are too far apart, you might get an error. For instance, putting a 1-week reference LT onto a 30-second chart may not work.
Liquidity-Triggers Data-Table
With the `Display Liquidity Trigger Statuses and Values` option, you can place a data-table on the chart that will display the time-based triggers, their values, and if they are above (bearish) or below (bullish) spot.
Alerts
When you set alerts, you can determine which order is used for determining `Is bullish`, `Is Bearish`, `Has Become Bullish`, `Has Become Bearish` alerts in the LT Alert Order setting.
Several LT alerts are available to set:
Is Bullish / Bearish: these are designed to analyze conditions at the end of the candle and if spot is above the alert-trigger, then an alert is sent out that conditions are bullish, and if spot is below the alert-trigger, then an alert is sent out if conditions are bearish.
Has Become Bullish / Bearish: designed to analyze conditions at the start of a candle and determine if a change has occurred (a LT cross-over).
Suspected Rip Current: these are designed to alert you when a suspected upwards rip in price is underway, as characterized by all LT triggers moving rapidly down away from spot.
Suspected Dip Current: these are designed to alert you when a suspected downwards rip in price is underway, as characterized by all LT triggers moving rapidly up and above, away from spot.
These alerts can then be put into a webhook for external processing if desired.
Frequently Asked Questions
How can I gain access to LT?
Check out the Author's Instructions section below.
Where can I get more information?
Check out the Author's Instructions section below for how to obtain more information.
I tried to add LT to my chart but it produced an error.
Sometimes this happens but no worries. Just change the chart's interval to a different time and then back, the indicator should re-load. If that fails, try removing it completely and re-applying it.
Is it normal for LTs to have different values on different timeframes?
Yup! Think of each time-interval as a different "zoom" of the market. Imagine you are taking a picture of the ocean to figure out the direction of water movement. If you take the picture from space, you will see big general trends but if you take the photo from your boat in the harbor, you're going to get specific data about that area. That's how LT works!
The view of the liquidity depends on the "zoom-age" (the chart's interval) used when taking the photo.
I think there is an issue with the alerts - what should I do?
This is not ideal! If this happens, please reach out via the contact information in the Author's Instructions section below with the following details:
What symbol?
What timeframe?
Which alert?
When did the alert occur?
Can I attach the alerts to webhooks?
Yup! Be sure to check out TV's guide on webhooks ( T.V. Guide to Alerts ) for how to get started.
Does LT receive updates?
Yup! If a bug or issue is found, an update is pushed out. You will be notified when this occurs and it is highly recommended that you replace all charts with LT on them with the new version as the updates go out.
Seasonality📈 What “Seasonality” Means in Trading
Seasonality in trading refers to recurring market patterns that tend to happen around the same time each year, month, or even week. These patterns are based on historical tendencies, for example, certain stocks or indices often rise or fall during specific periods due to consistent economic, institutional, or behavioral factors.
A simple example:
The S&P 500 often performs stronger in the last quarter of the year (“Santa Rally”).
Crude oil prices tend to rise during summer months when demand for fuel increases.
Agricultural commodities follow planting and harvest cycles.
By analyzing these seasonal trends, traders can gain an additional layer of probability in their decision-making. It doesn’t replace technical or fundamental analysis, but it complements them by showing when a market historically tends to move in a certain direction.
That’s why a seasonality indicator can be extremely useful:
It visualizes past performance patterns directly on your chart.
It helps identify periods of high or low probability for bullish or bearish moves.
It allows traders to align trades with statistical tendencies, not just current price action.
You can also customize the lookback period, for example, view seasonal patterns from the last 5, 10, 15, or 20 years, depending on how much historical data you want to include.
In short, a good seasonality indicator doesn’t predict the future, it highlights what markets tend to do, helping traders act with more context and confidence.
RSI Signals for Bot (15m close) — JSON FIX v3Bybit Bot RSi:
a lookback indicator that searches for potential short/long plays based on length parameters.
VWAP Deviation Oscillator [BackQuant]VWAP Deviation Oscillator
Introduction
The VWAP Deviation Oscillator turns VWAP context into a clean, tradeable oscillator that works across assets and sessions. It adapts to your workflow with four VWAP regimes plus two rolling modes, and three deviation metrics: Percent, Absolute, and Z-Score. Colored zones, optional standard deviation rails, and flexible plot styles make it fast to read for both trend following and mean reversion.
What it does
This tool measures how far price is from a chosen VWAP and expresses that gap as an oscillator. You can view the deviation as raw price units, percent, or standardized Z-Score. The plot can be a histogram or a line with optional fills and sigma bands, so you can quickly spot polarity shifts, overbought and oversold conditions, and strength of extension.
VWAP modes track a session VWAP that resets (4H, Daily, Weekly) or a rolling VWAP that updates continuously over a fixed number of bars or days.
Deviation modes let you choose the lens: Percent, Absolute, or Z-Score. Each highlights different aspects of stretch and mean pressure.
Visual encoding uses a 10-zone color palette to grade the magnitude of deviation on both sides of zero.
Volatility guards compute mode-specific sigma so thresholds are stable even when volatility compresses.
Why this works
VWAP is a high signal anchor used by institutions to gauge fair participation. Deviations around VWAP cluster in regimes: mild oscillations within a band, decisive pushes that signal imbalance, and standardized extremes that often precede either continuation or snapback. Expressing that distance as a single time series adds clarity: bias is the oscillator’s sign, risk context is its magnitude, and regime is the way it behaves around sigma lines.
How to use it
Trend following
Favor the side of the zero line. Bullish when the oscillator is above zero and making higher swing highs. Bearish when below zero and making lower swing lows. Use +1 sigma and +2 sigma in your mode as strength tiers. Pullbacks that hold above zero in uptrends, or below zero in downtrends, are often continuation entries.
Mean reversion
Fade stretched readings when structure supports it. Look for tests of +2 sigma to +3 sigma that fail to progress and roll back toward zero, or the mirror on the downside. Z-Score mode is best when you want standardized gates across assets. Percent mode is intuitive for intraday scalps where a given percent stretch tends to mean revert.
Session playbook
Use Daily or Weekly VWAP for intraday or swing context. Rolling modes help when the asset lacks clean session boundaries or when you want a continuous anchor that adapts to liquidity shifts.
Key settings
VWAP computation
VWAP Mode = 4 Hours, Daily, Weekly, Rolling (Bars), Rolling (Days). Session modes reset the VWAP when a new session begins. Rolling modes compute VWAP over a fixed trailing window.
Rolling (Lookback: Bars) controls the trailing bar count when using Rolling (Bars).
Rolling (Lookback: Days) converts days to bars at runtime and uses that trailing span.
Use Close instead of HLC3 switches the price reference. HLC3 is smoother. Close makes the anchor track settlement more tightly.
Deviation measurement
Deviation Mode
Percent : 100 * (Price / VWAP - 1). Good for uniform scaling across instruments.
Absolute : Price - VWAP. Good when price units themselves matter.
Z-Score : Standardizes the absolute residual by its own mean and standard deviation over Z/Std Window . Ideal for cross-asset comparability and regime studies.
Z/Std Window sets the mean and standard deviation window for Z-Score mode.
Volatility controls
Percent Mode Volatility Lookback estimates sigma for percent deviations.
Absolute Mode Volatility Lookback estimates sigma for absolute deviations.
Minimum Sigma Guard (pct pts) prevents the percent sigma from collapsing to near zero in extremely quiet markets.
Visualization
Plot Type = Histogram or Line. Histogram emphasizes impulse and polarity changes. Line emphasizes trend waves and divergences.
Positive Color / Negative Color define the palette for line mode. Histogram uses a 10-bucket gradient automatically.
Show Standard Deviations plots symmetric rails at ±1, ±2, ±3 sigma in the current mode’s units.
Fill Line Oscillator and Fill Opacity add a soft bias band around zero for line mode.
Line Width affects both the oscillator and the sigma rails.
Reading the zones
The oscillator’s color and height map deviation to nine graded buckets on each side of zero, with deeper greens above and deeper reds below. In Percent and Absolute modes, those buckets are scaled by their mode-specific sigma. In Z-Score mode the bucket edges are fixed at 0.5, 1.0, 2.0, and 2.8.
0 to +1 sigma weak positive bias, usually rotational.
+1 to +2 sigma constructive impulse. Pullbacks that hold above zero often continue.
+2 to +3 sigma strong expansion. Watch for either trend continuation or exhaustion tells.
Beyond +3 sigma statistical extreme. Requires structure to avoid fading too soon.
Mirror logic applies on the negative side.
Suggested workflows
Trend continuation checklist
Pick a session VWAP that matches your timeframe, for example Daily for intraday or Weekly for position trades.
Wait for the oscillator to hold the correct side of zero and for a sequence of higher swing lows in the oscillator (uptrend) or lower swing highs (downtrend).
Buy pullbacks that stabilize between zero and +1 sigma in an uptrend. Sell rallies that stabilize between zero and -1 sigma in a downtrend.
Use the next sigma band or a prior price swing as your target reference.
Mean reversion checklist
Switch to Z-Score mode for standardized thresholds.
Identify tests of ±2 sigma to ±3 sigma that fail to extend while price meets support or resistance.
Enter on a polarity change through the prior histogram bar or a small hook in line mode.
Fade back to zero or to the opposite inner band, then reassess.
Notes on the three modes
Percent is easy to reason about when you care about proportional stretch. It is well suited to intraday and multi-asset dashboards.
Absolute tracks cash distance from VWAP. This is useful when instruments have tight ticks and you plan risk in price units.
Z-Score standardizes the residual and is best for quant studies, cross-asset comparisons, and threshold research that must be scale invariant.
What the alerts can tell you
Polarity changes at zero can mark the start or end of a leg.
Crosses of ±1 sigma identify overbought or oversold in the current mode’s units.
Zone changes signal an upgrade or downgrade in deviation strength.
Troubleshooting and edge cases
If your instrument has long flat periods, keep Minimum Sigma Guard above zero in Percent mode so the rails do not vanish.
In Rolling modes, very short windows will respond quickly but can whip around. Session modes smooth this by resetting at well known boundaries.
If Z-Score looks erratic, increase Z/Std Window to stabilize the estimate of mean and sigma for the residual.
Final thoughts
VWAP is the anchor. The deviation oscillator is the narrative. By separating bias, magnitude, and regime into a simple stream you can execute faster and review cleaner. Pick the VWAP mode that matches your horizon, choose the deviation lens that matches your risk framework, and let the color graded zones guide your decisions.
Performance-based Asset Weighting(MTF)**Performance-Based Asset Weighting (MTF/Symbol Free Setting)**
#### Overview
This indicator is a tool that visualizes the relative strength of performance (price change rate) as “weight (allocation ratio)” for **four user-defined stocks**.
By setting any specified past point in time as the baseline (where all symbols are equally weighted at 25%), it aims to provide an intuitive understanding of which symbols outperformed others and attracted capital, or underperformed and saw capital outflows.
**【Default Settings and Application Scenario: Pension Fund Rebalancing Analysis】**
The default settings reference the basic portfolio of Japan's Government Pension Investment Fund (GPIF), configuring four major asset classes: domestic equities, foreign equities, domestic bonds, and foreign bonds. It is known that when market fluctuations cause deviations from this equal-weighted ratio, rebalancing occurs to restore the original ratio (selling assets whose weight has increased and buying assets whose weight has decreased).
Analyzing using this default setting can serve as a reference point for considering **“whether rebalancing sales (or purchases) by pension funds and similar entities are likely to occur in the future.”**
**【Important: Usage Notes】**
The weights shown by this indicator are **theoretical reference values** calculated solely based on performance from the specified start date. Even if large investors conduct significant rebalancing (asset buying/selling) during the period, those transactions themselves are not reflected in this chart's calculations.
Therefore, please understand that the actual portfolio ratios may differ. **Use this solely as a rough guideline. **
#### Key Features
* **Freely configure the 4 assets for analysis:** You can freely set any 4 assets (stocks, indices, currencies, cryptocurrencies, etc.) you wish to compare via the settings screen.
* **Performance-based weight calculation:** Rather than simple price composition ratios, it calculates each asset's price change since the specified start date as a “performance index” and displays each asset's proportion of the total sum.
* **Freely set analysis start date:** You can set any desired starting point for analysis, such as “after the XX shock” or “after earnings announcements,” using the calendar.
* **Multi-Timeframe (MTF) Support:** Independently of the timeframe displayed on the chart, you can freely select the timeframe (e.g., 1-hour, 4-hour, daily) used by the indicator for calculations.
#### Calculation Principle
This indicator calculates weights in the following three steps:
1. **Obtaining the Base Price**
Obtain the closing price for each of the four stocks on the user-set “Start Date for Weight Calculation.” This becomes the **base price** for analysis.
2. **Calculating the Performance Index**
Divide the current price of each stock by the **base price** obtained in Step 1 to calculate the “Performance Index”.
`Performance Index = Current Price ÷ Base Date Price`
This quantifies how many times the current performance has increased compared to the base date performance, which is set to “1”.
3. **Calculating Weights**
Sum the “Performance Indexes” of the four stocks. Then, calculate the percentage contribution of each stock's Performance Index to this total sum and plot it on the chart.
`Weight (%) = (Individual Performance Index ÷ Total Performance Index of 4 Stocks) × 100`
Using this logic, on the analysis start date, all stocks' performance indices are set to “1”, so the weights start equally at 25%.
#### Usage
* **Application Example 1: Market Sentiment Analysis (Using Default Settings)**
Analyze using the default asset classes. By observing the relative strength between “Equities” and “Bonds”, you can assess whether the market is risk-on or risk-off.
* **Application Example 2: Sector/Theme Strength Analysis**
Configure settings for groups like “Top 4 semiconductor stocks” or “4 GAFAM stocks.” Setting the start date to the beginning of the year or earnings season allows you to instantly compare which stocks within the same sector are performing best.
* **Application Example 3: Cryptocurrency Power Map Analysis**
By setting major cryptocurrencies like “BTC, ETH, SOL, ADA,” you can analyze which currencies are attracting market capital.
**【About Legend Display】**
Due to Pine Script specification constraints, the legend on the chart will display fixed names: **“Stock 1” to “Stock 4”. **
Please note that the symbol you entered for “Symbol 1” in the settings corresponds to the “Symbol 1” line on the chart.
#### Settings
* **Symbol 1 to Symbol 4:** Set the four symbols you wish to analyze.
* **Timeframe for Calculation:** Select the timeframe the indicator references when calculating weights.
* **Start Date for Weight Calculation:** This serves as the base date for comparing performance.
#### Disclaimer
This script is solely a tool to assist with market analysis and does not recommend buying or selling any specific financial instruments. Please make all final investment decisions at your own discretion.
-------------------------------------------------------------------------------------------------------------------
**Performance-based Asset Weighting(MTF・シンボル自由設定)**
#### 概要
このインジケーターは、**ユーザーが自由に設定した4つの銘柄**について、パフォーマンス(騰落率)の相対的な強さを「ウェイト(構成比率)」として可視化するツールです。
指定した過去の任意の時点を基準(全銘柄が均等な25%)として、そこからどの銘柄のパフォーマンスが他の銘柄を上回り、資金が向かっているのか、あるいは下回っているのかを直感的に把握することを目的としています。
**【デフォルト設定と活用シナリオ:年金基金のリバランス考察】**
デフォルト設定では、日本の年金積立金管理運用独立行政法人(GPIF)の基本ポートフォリオを参考に、主要4資産クラス(国内株式, 外国株式, 国内債券, 外国債券)が設定されています。市場の変動によってこの均等な比率に乖離が生じると、元の比率に戻すためのリバランス(比率が増えた資産を売り、減った資産を買う)が行われることが知られています。
このデフォルト設定で分析することで、**「今後、年金基金などによるリバランスの売り(買い)が発生する可能性があるか」を考察するための、一つの目安として利用できます。**
**【重要:利用上の注意点】**
このインジケーターが示すウェイトは、あくまで指定した開始日からのパフォーマンスのみを基に算出した**理論上の参考値**です。実際に大口投資家などが途中で大規模なリバランス(資産の売買)を行ったとしても、その取引自体はこのチャートの計算には反映されません。
そのため、実際のポートフォリオ比率とは異なる可能性があることをご理解の上、**あくまで大まかな目安としてご活用ください。**
#### 主な特徴
* **分析対象の4銘柄を自由に設定可能:** 設定画面から、比較したい4つの銘柄(株式、指数、為替、仮想通貨など)を自由に設定できます。
* **パフォーマンス基準のウェイト計算:** 単純な価格の構成比ではなく、指定した開始日からの各銘柄の騰落を「パフォーマンス指数」として算出し、その合計に占める各銘柄の割合を表示します。
* **分析開始日の自由な設定:** 「〇〇ショック後」「決算発表後」など、分析したい任意の時点をカレンダーから設定できます。
* **マルチタイムフレーム(MTF)対応:** チャートに表示している時間足とは別に、インジケーターが計算に使う時間足(1時間足、4時間足、日足など)を自由に選択できます。
#### 計算の原理
このインジケーターは、以下の3ステップでウェイトを算出しています。
1. **基準価格の取得**
ユーザーが設定した「ウェイト計算の開始日」における、4つの各銘柄の終値を取得し、これを分析の**基準価格**とします。
2. **パフォーマンス指数の算出**
現在の各銘柄の価格を、ステップ1で取得した**基準価格**で割ることで、「パフォーマンス指数」を算出します。
`パフォーマンス指数 = 現在の価格 ÷ 基準日の価格`
これにより、基準日のパフォーマンスを「1」とした場合、現在のパフォーマンスが何倍になっているかが数値化されます。
3. **ウェイトの算出**
4つの銘柄の「パフォーマンス指数」の合計値を算出します。そして、合計値に占める各銘柄のパフォーマンス指数の割合(%)を計算し、チャートに描画します。
`ウェイト (%) = (個別のパフォーマンス指数 ÷ 4銘柄のパフォーマンス指数の合計) × 100`
このロジックにより、分析開始日には全銘柄のパフォーマンス指数が「1」となるため、ウェイトは均等に25%からスタートします。
#### 使用方法
* **応用例1:市場のセンチメント分析(デフォルト設定利用)**
デフォルト設定の資産クラスで分析し、「株式」と「債券」の力関係を見ることで、市場がリスクオンなのかリスクオフなのかを判断する材料になります。
* **応用例2:セクター・テーマ別の強弱分析**
設定画面で、例えば「半導体関連の主要4銘柄」や「GAFAMの4銘柄」などを設定します。開始日を年初や決算時期に設定することで、同セクター内でどの銘柄が最もパフォーマンスが良いかを一目で比較できます。
* **応用例3:仮想通貨の勢力図分析**
「BTC, ETH, SOL, ADA」など、主要な仮想通貨を設定することで、市場の資金がどの通貨に向かっているのかを分析できます。
**【凡例の表示について】**
Pine Scriptの仕様上の制約により、チャート上の凡例は**「銘柄1」〜「銘柄4」という固定名で表示されます。**
お手数ですが、設定画面でご自身が「銘柄1」に入力したシンボルが、チャート上の「銘柄1」のラインに対応する、という形でご覧ください。
#### 設定項目
* **銘柄1〜銘柄4:** 分析したい4つのシンボルをそれぞれ設定します。
* **計算に使う時間足:** インジケーターがウェイトを計算する際に参照する時間足を選択します。
* **ウェイト計算の開始日:** パフォーマンスを比較する上での基準日となります。
#### 免責事項
このスクリプトはあくまで市場分析を補助するためのツールであり、特定の金融商品の売買を推奨するものではありません。投資の最終的な判断は、ご自身の責任において行ってください。
ATT Numbers Header (Movable)For anybody that trades with ATT (Advanced Time Technique) And can't remember the numbers and want's to have them on their chart at all time with full customizability as well this indicator is for you.
MF_Average_Seasonal_MovementYou can chose a date range and see the average, min and max movement within that time.
n addition it shows how many longs or shorts would have won in that time frame.
To quikly look at the time periods in the past it markes the chosen dates each year with two horizontal lines.
You can utilize the election year cycle and look only at post election years for example
Anchored Session Volume Profile • Heatmap Profiles • Asia/EU/US Description
This indicator builds Anchored Session Volume Profiles for Asia, EU, and US sessions on intraday charts and renders them as right-docked line histograms (heatmap or classic style). Each session computes its own POC, VAH, VAL and optional Session High/Low lines. An optional per-price-bin Delta overlay estimates buy/sell pressure inside the profile rows for quick order-flow context.
What’s unique
Three independent session anchors (Asia/EU/US) with custom start/end times, bin size in ticks, and Value Area %.
Right-fixed live rendering or post-close persistence (draw levels only after the session closes).
Adaptive width: profile width scales with elapsed session length (anchor → now/end) within user limits.
Heatmap profile: row tint scales by relative volume; or Classic single-color with optional gradient.
Per-row Delta ticks (outside/inside, configurable direction) derived from bar delta and overlap with each price bin.
Clean POC/VAH/VAL line styling, optional ray extension, and Session High/Low rays per session.
How it works (technical)
Binning: Rows are built with a user-defined bin height in ticks. Arrays expand/shrink as price extends; the base is shifted when new lows appear to keep bins aligned.
Accumulation: For each bar within the active session window, traded volume is distributed to intersecting bins proportionally to the price overlap with that bin.
Value Area: POC is the highest-volume bin. VA is grown symmetrically around the POC until the selected coverage (VA%) is reached.
Delta per bin (optional): A bar-level delta proxy volume * (close − open) / range (clamped) is split into buy/sell and allocated to bins proportionally to the same overlap share, producing a per-row delta magnitude for rendering ticks.
Rendering modes:
Right fixed: refreshes each bar; lines/histogram are docked at the anchor X-position.
Draw Levels after Session Close: on close, only POC/VAH/VAL (and optional Session High/Low) are persisted.
No lookahead: All computations use confirmed bars; levels are deterministic on close.
How to use
Use the Asia/EU/US profiles to read participation hand-offs and session-driven rotations.
Trade off POC/VAH/VAL as acceptance/rejection references; confluence with session High/Low often marks responsive flows.
Employ Delta ticks per row to spot absorption, one-sided stacking, or fading participation inside the profile without leaving TradingView.
Prefer right-fixed during live trading and post-close when you want persistent session levels.
Key settings
General per session: Start/End (hh:mm), Bin size (ticks), Value Area %, toggle POC/VAH/VAL lines.
Rendering: Heatmap vs. Classic, orientation (Left/Right), gradient on/off, row thickness, right offset, adaptive width limits.
Delta (per price bin): global on/off, per-session on/off, tick width, max tick length (bars), outside/inside placement, direction (sign-based / always left / always right), colors.
Levels: POC/VAH/VAL styles (solid/dashed/dotted), widths, colors, extend right (ray).
Session High/Low: per-session on/off, style, width, colors, optional right-ray extension.
Notes & limitations
Designed for intraday data; accuracy depends on the feed’s volume granularity.
Large histories + small bins + delta ticks can be heavy; tune bin size, adaptive width, and delta max length for performance.
Timezone for anchors is set internally to Europe/Berlin.
Educational tool — not a signal generator.
Disclaimer
For educational and informational purposes only. Not financial advice.
Signal Tester EN [Abusuhil]Signal Tester - Complete Description
Overview
Signal Tester is a comprehensive trading tool designed to backtest and analyze external trading signals with advanced risk management capabilities. The indicator provides seven different calculation methods for stop-loss and take-profit levels, along with detailed performance statistics and real-time tracking of active trades.
Important Disclaimer: This indicator is a tool for analysis and education purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own research and consider seeking advice from a qualified financial advisor before making trading decisions.
Key Features
7 Calculation Methods for customizable risk management
External Signal Integration via any oscillator or indicator
Real-time Trade Tracking with visual entry/exit points
Comprehensive Statistics Table showing win rate, profit/loss, and active trades
Date Filtering for focused backtesting periods
Custom Alerts for new buy signals
Multi-Target System with up to 5 take-profit levels
How to Use
Step 1: Connect External Signal
The indicator requires an external signal source to generate buy signals.
Add your preferred indicator to the chart (RSI, MACD, Stochastic, custom indicator, etc.)
In Signal Tester settings, locate "External Indicator" input
Click the input and select your indicator's plot line
Buy signals are generated when the external source crosses above zero
Example: If using RSI, connect the RSI line. A buy signal triggers when RSI crosses above the zero reference (if plotted as oscillator).
Step 2: Choose Your Calculation Method
Select one of seven methods under "Calculation Method":
1. Percentage %
The simplest method using fixed percentage values.
Settings:
Stop Loss %: Distance from entry to stop-loss (default: 2%)
Target 1-5 %: Distance from entry to each take-profit level
Example: Entry at $100
Stop Loss (2%): $98
Target 1 (2%): $102
Target 2 (4%): $104
Best For: Beginners, markets with consistent volatility
2. ATR Multiplier
Uses Average True Range for dynamic levels based on market volatility.
Settings:
ATR Period: Calculation period (default: 14)
Stop Multiplier: ATR multiplier for stop-loss (default: 1.5)
Target Multipliers: ATR multipliers for each take-profit
Example: Entry at $100, ATR = $2
Stop Loss (1.5x ATR): $100 - $3 = $97
Target 1 (2x ATR): $100 + $4 = $104
Best For: Volatile markets, adapting to changing conditions
3. Risk:Reward Ratio
Calculates targets based on risk-to-reward ratios.
Settings:
Stop Loss %: Initial risk percentage
Target Ratios: R:R ratio for each target (1:1.5, 1:2, 1:3, etc.)
Example: Entry at $100, Stop at $98 (2% risk = $2)
Target 1 (1:1.5): $100 + ($2 × 1.5) = $103
Target 2 (1:2): $100 + ($2 × 2) = $104
Target 3 (1:3): $100 + ($2 × 3) = $106
Best For: Traders focused on risk management and position sizing
4. Swing High/Low
Places stop-loss at recent swing low with targets as multiples of the risk.
Settings:
Swing Lookback Candles: Number of bars to find swing low (default: 5)
Stop Safety Distance %: Buffer below swing low
Target Multipliers: Risk multiples for each target
Example: Entry at $105, Swing Low at $100
Stop Loss: $100 - 0.1% = $99.90 (risk = $5.10)
Target 1 (1.5x): $105 + ($5.10 × 1.5) = $112.65
Best For: Swing traders, respecting market structure
5. Partial Take Profit
Sells portions of the position at each target level, moving stop to entry after first target.
Settings:
Stop Loss %: Initial stop distance
Target 1-5 %: Price levels for partial exits
Sell % at TP1-4: Percentage of position to close at each level
Example: 100% position, 50% sell at each target
TP1 hit: Sell 50%, remaining 50%, stop moves to entry
TP2 hit: Sell 25% (50% of remaining), remaining 25%
TP3 hit: Sell 12.5%, remaining 12.5%
Best For: Conservative traders, locking in profits gradually
6. Trailing Stop
Similar to Partial Take Profit but trails the stop-loss to each achieved target.
Settings:
Stop Loss %: Initial stop distance
Target 1-5 %: Price levels for trailing stops
Sell % at TP1-4: Percentage to close at each level
Example:
TP1 ($102) hit: Sell 50%, stop trails to $102
TP2 ($104) hit: Sell 25%, stop trails to $104
Price retraces to $104: Exit with locked profits
Best For: Trend followers, maximizing profit in strong moves
7. Smart Exit
Advanced method that moves stop to entry after first target, then exits based on technical conditions.
Settings:
Stop Loss %: Initial stop distance
First Target %: When hit, stop moves to breakeven
Exit Method: Choose from 8 exit strategies
Exit Methods:
Close < EMA 21: Exits when price closes below 21-period EMA
Close < MA 20: Exits when price closes below 20-period Moving Average
Supertrend Flip: Exits when Supertrend indicator flips bearish
ATR Trailing Stop: Dynamic trailing stop based on ATR
MACD Crossover: Exits on MACD bearish crossover
RSI < 50: Exits when RSI drops below specified level
Parabolic SAR Flip: Exits when SAR flips above price
Bollinger Bands: Exits when price closes below middle or lower band
Best For: Advanced traders, letting winners run with protection
Date Filtering
Control which trades are included in backtesting.
Filter Types:
Specific Date: Only trades after selected date
Number of Weeks: Last X weeks (default: 12)
Number of Months: Last X months (default: 3)
How to Enable:
Check "Enable Date Filter"
Select filter type
Set the date or number of weeks/months
Use Case: Test strategy performance in recent market conditions or specific periods
Understanding the Statistics Table
The table displays the last 10 trades plus comprehensive statistics:
Trade Columns:
#: Trade number
Entry: Entry price
Stop: Current stop-loss level
TP1-TP5: Checkmarks (✅) when targets are hit
Profit %: Realized profit for the trade
Max %: Maximum unrealized profit reached (⬆️ indicates active trade)
Status:
🔄 Active trade
✅ Closed winner
❌ SL - Stopped out
Summary Row:
Total: Number of trades executed
Period: Duration of trading period (Years, Months, Days)
Statistics Row:
W: Number of winning trades
L: Number of losing trades
A: Number of active (open) trades
Win Rate %: (Wins / Total Trades) × 100
Performance Row:
Profit: Total profit from all winning trades
Loss: Total loss from all losing trades
Net: Net profit/loss (Profit - Loss)
Visual Elements
When a buy signal triggers, the indicator draws:
Blue Line: Entry price
Red Line: Stop-loss level
Green Lines: Take-profit levels (up to 5)
Green Label: Trade number below the entry bar
Green Triangle: Buy signal marker
Alerts
The indicator includes customizable alerts for new buy signals.
Setting Up Alerts:
Click the "⏰" icon in TradingView
Select "Signal Tester "
Choose condition: "Buy"
Configure notification preferences (popup, email, webhook)
Click "Create"
Alert Message Format:
🚀 New Buy Signal!
Price:
Trade #:
Best Practices
Backtest First: Test each calculation method on historical data before live trading
Match Timeframe: Use the indicator on the timeframe you plan to trade
Combine with Analysis: Use alongside support/resistance, trend analysis, and other tools
Risk Management: Never risk more than 1-2% of capital per trade
Review Statistics: Regularly check win rate and profit/loss metrics
Adjust Settings: Optimize parameters based on the asset's volatility and your risk tolerance
Limitations
Requires external signal source (does not generate signals independently)
Backtesting assumes perfect entry/exit execution (real trading includes slippage)
Past performance does not guarantee future results
Should be used as one component of a complete trading strategy
Version Information
Version: 1.0
Pine Script Version: v5
Type: Overlay Indicator
Author: Abusuhil
Support and Updates
This indicator is provided as-is for educational and analytical purposes. Users are responsible for their own trading decisions and should thoroughly test any strategy before implementing it with real capital.
Risk Warning: Trading financial instruments carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk appetite. Only trade with money you can afford to lose.
Square Root Price Calculator By ABPinescript to Calculate Square root of Price usefull for Gann Lover
% Change & Range (With SMA)- Calculates the % range and change for each candle
- uses SMA over "n" bars to show the average % range and the average % change for green days and red days
- optional standard deviation line (k bands)
Tchwella Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 1
Release Notes
Updated version: now you can decide your location for the watermark
Micha Stocks Custom Watermark (MSWM) – TradingView Script
This Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 7
Release Notes
Micha Stocks Custom Watermark – Updated Version 🚀
This updated Micha Stocks Custom Watermark script enhances your TradingView experience by adding an ATR-based volatility signal alongside the existing customizable stock watermark.
🆕 New Features & Improvements:
✅ ATR (14-Day) with Dynamic Volatility Indicator
• Displays the ATR value and its percentage relative to price.
• Includes a color-coded volatility signal:
• 🔴 High Volatility (Above user-defined Red Threshold)
• 🟡 Moderate Volatility (Between Red & Yellow Thresholds)
• 🟢 Low Volatility (Below user-defined Yellow Threshold)
✅ Fully Customizable ATR Thresholds
• Users can set their own ATR % levels for Red, Yellow, and Green signals.
✅ Improved Watermark Customization
• Users can still adjust the position, size, and color of the watermark.
• Includes Company Name, Ticker, Market Cap, Industry, and Sector.
• ATR can be turned on/off in settings for flexibility.
🔧 How to Use:
1️⃣ Go to Indicator Settings → Enable or Disable ATR Display
2️⃣ Adjust ATR % Thresholds to fit your volatility preference
3️⃣ Customize Text Position, Color, and Size to match your chart setup
This update makes it easier to quickly assess market volatility while keeping a clean and professional chart layout.
💡 Why Use This Indicator?
• Effortlessly track key stock info without cluttering your chart.
• Quickly identify volatile conditions using ATR percentage signals.
• Adjust settings on the fly to match your trading strategy.
📢 Update Now & Enjoy a Smarter Charting Experience!