Position Size calculatorOverview
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets .
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
指标和策略
USCBBS-WDTGAL-RRPONTSYDThis is the U.S. Financial Market Net Liquidity.
The calculation method is to subtract the U.S. Treasury General Account balance (WDTGAL) and then the Overnight Reverse Repo balance (RRPONTSYD) from the Federal Reserve's balance sheet total (USCBBS).
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)Eight normalized indicators are used in conjunction with the CMF, CCI, MACD, and Stoch RSI indicators. You can track buy and sell decisions by tracking swings. The zero line is for reversal tracking at -20, +20, +50, and +80. You can use any of the nine indicators individually or in combination.
Open Interest + Continuation/Discontinuation Patterns📈 Open Interest + Continuation/Discontinuation Patterns
This indicator analyzes Open Interest data to detect four key convergence/divergence patterns that signal potential trend continuation or reversal:
Buyer Continuation
Seller Continuation
Buyer Discontinuation
Seller Discontinuation
Each pattern is identified by comparing price action with Open Interest behavior, using pivot-based logic and ATR filtering for precision. When a valid pattern is detected, the indicator draws visual lines on the chart and triggers custom alert conditions for each type, enabling timely decision-making.
The Open Interest data is plotted as a candle-style oscillator, offering a clear view of momentum shifts. The detection logic is fully configurable, allowing users to adjust pivot sensitivity, lookback ranges, and ATR filters to suit different market conditions.
Key features:
🔍 Detects continuation and discontinuation patterns via convergence/divergence logic
🔔 Alerts for all four pattern types
🕯️ Candle-style visualization of Open Interest
⚙️ ATR-based filtering and pivot customization
Perfect for traders seeking to enhance their market timing using Open Interest dynamics and divergence-based signals.
Lesh_ghoti_2Custom Timeframe 2 randomness, Custom Timeframe 2 randomness, Custom Timeframe 2 randomness
Timebender - 90 Minute KillzonesTimebender – 90 Minute Killzones
This indicator divides each trading day into sixteen 90-minute blocks based on New York Time.
Each zone is color-coded by session:
🔴 Asian
🟢 London
🔵 New York AM
🟣 New York PM
It helps visualize recurring intraday rhythms and session overlaps without adding signals or bias.
Includes an optional Daily Close Line (18:00 NYT) to mark the end of the trading day, now zoom-safe and toggleable.
Built for structure, clarity, and visual balance — nothing more, nothing less.
Institutional Rolling VWAPs • 3 lines Institutional Rolling VWAPs • 3 lines + editable σ bands. 3 x modifiable vwaps, time anchored, same for ltf and htf
SPY vs VIX SMA Slope Alignment (Adjustable Days)Use this on VIX Chart only.
This indicator compares the SLOPE of the daily SMA of SPY, to the SLOPE of the Daily SMA to VIX
When SPY and VIX are trending UP for the length of time that you define, you will get a GREEN ARROW on the VIX chart showing that the condition has been met.
EXAMPLE:
Set 3 day SMA for VIX and SPY
THEN
Set Look back time to 2 days
---IF SPY 3day SMA AND VIX 3day SMA are both ASCENDING during any 3 day lookback period, a green indicator arrow will be showing on the VIX Chart
DO NOT Use this indicator on SPY Chart
(SPY and VIX have different daily open/close times. This indicator DOES NOT work propertly on SPY Chart. But it DOES work properly on VIX chart. )
Timebender – 369 PivotsTimebender – 369 Pivots is a clean visual study that marks swing highs and lows with numeric “369-sequence” digits derived from time.
Each digit is automatically color-coded into Accumulation (1 – 3), Manipulation (4 – 6), and Distribution (7 – 9) phases, helping traders identify rhythm and symmetry in market structure.
Labels float above or below bars for clear visibility and never overlap price, allowing smooth zoom and multi-timeframe use.
This base model focuses on clarity, precision, and efficient plotting — no toggles, no clutter — a stable foundation for future Timebender builds.
Risk ModuleThis indicator provides a visual reference for position sizing and approximate stop and target placement. It supports trade planning by calculating equalized risk per trade and maintaining consistent exposure across different markets.
For more information about the concept, see the post Position Sizing and Risk Management .
Fixed Fractional Risk
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and stop reference, adjusting position size proportionally. A closer stop results in a larger position size, while a wider stop results in a smaller one.
Position Size = (Account Size × Risk %) ÷ (Entry Price – Stop Price)
Stop and Target
Stop placement is derived from volatility using the Average True Range (ATR). The target is plotted as a multiple of the stop distance, defining the risk-to-reward relationship in R units.
Stop = Price ± ATR × Multiplier
Target = Price ± (R × Risk Distance)
Chart Elements
The stop and target levels are plotted above and below the current price, with the stop marked by a red dot and the target by a green dot. The information table displayed on the chart shows the number of shares to trade, stop level, and target level.
Setup and Configuration
This configuration only needs to be set once, but can be adjusted later if preferred.
1. Start by setting the account size and risk percentage per trade to define the monetary amount risked on each trade. These values form the basis for position size calculation.
2. Set the ATR multiplier to determine stop distance, common values range between 1 and 3 ATR. Lower values place stops closer to price, increasing sensitivity but risking short-term noise. Higher values widen the stop, which reduces noise impact but extends time in risk.
3. Set the R-multiple to determine target distance relative to the stop. A value of 1 represents a 1:1 risk-to-reward relationship. Lower values reduce potential reward but tend to increase win rate, whereas higher values increase potential reward but tend to reduce win rate. The selection depends on system characteristics and trade expectancy.
When the parameters are defined, the indicator displays the stop, target, and calculated position size on the chart. All that remains is to enter the trade with the number of shares shown in the table and place bracket orders at the plotted stop and target levels.
Settings Overview
Account Size / Risk %: Defines account capital and per-trade exposure.
ATR Multiplier: Adjusts stop distance relative to volatility.
R Multiple: Sets target distance relative to stop (risk-reward ratio).
Position: Choose Long or Short direction.
Table Position: Controls information table placement and scale.
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)
Stoch RSINine indicators in one, CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI) You can use whichever of the nine indicators you want. I use CFM, CCI, MACD, Stoch RSI.
Timebender - Fractal CloseTimebender – Fractal Close displays which higher-timeframe candles (Daily, Weekly, Monthly) are scheduled to close within the next 24 hours — helping traders anticipate potential volatility and liquidity shifts around key session or higher-TF closes.
It automatically scans:
• Daily: 1D → 11D
• Weekly: 1W → 3W
• Monthly: 1M → 12M
The detected timeframes are shown in a compact on-chart table that can be positioned anywhere (top, middle, bottom — left, center, or right). You can also customize text color, background, and font size for visual clarity.
Use it to align intraday setups with higher-timeframe structure, or to prepare for major session transitions as multiple fractal closes converge.
BTC — CVD Divergence (Spot & Perp, robuste v6)If the price is above the CVD, it usually means the move is being pushed by leverage rather than real buying — the market is stretched and at risk of a correction.
If the price is below the CVD, it suggests that buyers are quietly absorbing — pressure is building for a bullish recovery once leverage clears out.
Asia Range Breakout Table (Narrowness)
Asia Range Breakout Table (Narrowness)
Overview
The Asia Range Breakout Table (Narrowness) is a professional trading tool designed to analyze and display range characteristics across key Asian trading sessions. This indicator provides real-time visual feedback on market range narrowness, helping traders identify potential breakout opportunities based on historical range comparisons. Better to use in M5 or M15 timeframe.
Key Features
- Multi-Session Analysis : Tracks 6 crucial Asian market sessions:
- ORB Pre (Tokyo Pre-open)
- ORB First (Tokyo First)
- Sydney Box
- Tokyo Launch Box
- 2nd Session Pre-Open
- 2nd ORB (Tokyo 2nd Session)
- Historical Comparison : Compares current session ranges against 44 days of historical data
- Visual Color Coding :
- 🟢 Narrowest (<10%) - Extremely compressed ranges
- 🟢 Narrow (10-59%) - Below average ranges
- 🟣 Normal (60-79%) - Typical range behavior
- 🔴 Wide (≥80%) - Expanded range conditions
- Customizable Display : Adjustable table position and text size
- Session Toggle : Enable/disable individual sessions based on your trading focus
How It Works
The indicator calculates the high-low range for each defined session and ranks it against historical data using percentile analysis. This helps traders quickly identify:
- Unusually narrow ranges that may indicate impending breakouts
- Expanded ranges suggesting increased volatility
- Normal range behavior for context
Use Cases
- Breakout Trading : Identify sessions with compressed ranges for potential breakout setups
- Volatility Assessment : Gauge market conditions across different Asian sessions
- Session Analysis : Understand range behavior during specific market hours
- Risk Management : Adjust position sizing based on range characteristics
Input Parameters
- Session Toggles : Enable/disable individual session tracking
- Table Position : Choose from four corner positions
- Text Size : Adjust table readability (Tiny, Small, Normal, Big)
Ideal For
- Asian session traders
- Breakout strategy enthusiasts
- Volatility analysis
- Multi-timeframe analysts
- Professional and retail traders focusing on Asian markets
Disclaimer
This tool is for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and risk management before trading.
Narrowing Range Predictor - EnhancedNarrowing Range Predictor - draws triangles and beaks from the price action. Recommended to play around with settings.
Narrowing Range PredictorNarrowing Range Indicator with several configurables. Recommended to play around with customised settings.
Session times for London (UTC 07:00–16:00 UTC)Session times for London (UTC 07:00–16:00 UTC). Shows the trading hours for the London Session Mon-Fri
Whales buy & sell🐋 Whales on Wall Street — Buy & Sell Signal Indicator
The Whales on Wall Street Signal Indicator is a precision-built trading tool designed to simplify your decision-making and give you real-time clarity in the market.
It automatically identifies high-probability reversal zones, momentum shifts, and trend confirmations — marking exact Buy (green) and Sell (red) signals based on price action, volume confirmation, and momentum strength.
Built for day traders and scalpers, this indicator eliminates the guesswork by combining multiple technical confluences such as:
EMA & RSI alignment for trend direction
Smart volume spikes for institutional activity
Volatility filters to reduce false signals
Dynamic alerts for entries and exits in real time
Whether you’re trading SPY, QQQ, NVDA, or Tesla, this indicator adapts to any ticker and timeframe — giving you crystal-clear entries, cleaner exits, and the confidence to trade like a whale.
Equinox Wolf - ICT MacrosEquinox Wolf – ICT Macros plots the key ICT session macro windows on your chart so you can focus on how price behaves inside each time range. The script anchors every session to America/New_York time, updates live or in backtesting, and only keeps the current trading day on screen, avoiding clutter from prior sessions. Each window can be toggled individually, the box fill, borders, and high/low/equilibrium levels share global color and style controls, and the levels extend forward until the next macro begins. Use it to highlight the ICT LND, NYAM, lunch, afternoon, and final-hour ranges and monitor how price reacts around their highs, lows, and midpoints.
Swing Points LiquiditySwing Points Liquidity
Unlock advanced swing detection and liquidity zone marking for smarter trading decisions.
Overview:
Swing Points Liquidity automatically identifies key swing highs and swing lows using a five-candle “palm” structure, marking each significant price turn with precise labels: “BSL swing high” for potential bearish liquidity and “SSL swing low” for potential bullish liquidity. This transparent swing logic provides a robust way to highlight areas where price is most likely to react—making it an invaluable tool for traders applying Smart Money Concepts, supply and demand, or liquidity-based strategies.
How It Works:
The indicator scans every candle on your chart to detect and label swing highs and lows.
A swing high (“BSL swing high”) is identified when a central candle’s high is greater than the highs of the previous two and next two candles.
A swing low (“SSL swing low”) is identified when a central candle’s low is lower than the lows of the previous two and next two candles.
Labels are plotted for every detected swing point, providing clear visualization of important market liquidity levels on any symbol and timeframe.
How to Use:
Liquidity levels marked by the indicator are potential price reversal zones. To optimize your entries, combine these levels with confirmation signals such as reversal candlestick patterns, order blocks, or fair value gaps (FVGs).
When you see a “BSL swing high” or “SSL swing low” label, observe the price action at that area—if a reliable reversal pattern or order block/FVG forms, it can signal a high-probability trade opportunity.
These marked liquidity swings are also excellent for locating confluence zones, setting stop losses, and identifying where institutional activity or smart money may trigger significant moves. Always use market structure and price action in conjunction with these levels for greater consistency and confidence in your trading.
Features:
Customizable label display for swing highs (BSL) and swing lows (SSL)
Automatic detection using robust 5-candle palm logic
Works with all symbols and chart timeframes
Lightweight, clear visual style—easy for manual and algorithmic traders
Notes:
The indicator requires at least two candles both before and after each swing point, so labels will start appearing after enough historical data is loaded.
For deeper historical analysis, simply scroll left or zoom out on your chart to load more candles—the indicator will automatically process and display swing points on all available data.
UTBotLibrary "UTBot"
is a powerful and flexible trading toolkit implemented in Pine Script. Based on the widely recognized UT Bot strategy originally developed by Yo_adriiiiaan with important enhancements by HPotter, this library provides users with customizable functions for dynamic trailing stop calculations using ATR (Average True Range), trend detection, and signal generation. It enables developers and traders to seamlessly integrate UT Bot logic into their own indicators and strategies without duplicating code.
Key features include:
Accurate ATR-based trailing stop and reversal detection
Multi-timeframe support for enhanced signal reliability
Clean and efficient API for easy integration and customization
Detailed documentation and examples for quick adoption
Open-source and community-friendly, encouraging collaboration and improvements
We sincerely thank Yo_adriiiiaan for the original UT Bot concept and HPotter for valuable improvements that have made this strategy even more robust. This library aims to honor their work by making the UT Bot methodology accessible to Pine Script developers worldwide.
This library is designed for Pine Script programmers looking to leverage the proven UT Bot methodology to build robust trading systems with minimal effort and maximum maintainability.
UTBot(h, l, c, multi, leng)
Parameters:
h (float) - high
l (float) - low
c (float)-close
multi (float)- multi for ATR
leng (int)-length for ATR
Returns:
xATRTS - ATR Based TrailingStop Value
pos - pos==1, long position, pos==-1, shot position
signal - 0 no signal, 1 buy, -1 sell
EU & US Open Signals (Triple Confirmation)🚀 EU & US Open Signals: Triple Confirmation Breakouts
💡 What This Indicator Does
This indicator plots the opening prices of the European (EU) and American (US) trading sessions as key daily support/resistance levels. Its main function is to generate three distinct levels of signals based on the breakout of these levels, strictly filtered by candlestick type.
The goal is to easily spot market momentum following the opening of the major trading sessions.
🔑 Key Features
1. Daily Session Levels
The indicator plots two crucial horizontal lines that reset daily:
EU Open (Black Line): The European session opening price (Default: 06:00 UTC).
US Open (Dark Blue Line): The American session opening price (Default: 12:00 UTC).
2. Triple Signaling Logic
All signals are only generated if the breakout candle is bullish (for Buy) or bearish (for Sell), and only within your set trading hours.
Logic I. EU Single Break
Condition: Close breaks above/below the EU Open Level + Bullish/Bearish candle.
Visual Plot: Small Cross (Green for Buy / Red for Sell).
Meaning: Early signal focused on EU session momentum.
Logic II. US Single Break
Condition: Close breaks above/below the US Open Level + Bullish/Bearish candle.
Visual Plot: Small Cross (Green for Buy / Red for Sell).
Meaning: Signal focused on US session momentum.
Logic III. Double Break (HIGH CONFIRMATION)
Condition: Close breaks above Both Levels (EU and US) for Buy, or below Both Levels for Sell + Bullish/Bearish candle.
Visual Plot: Large Triangle (Dark Green/Red).
⚠️ Crucial: This is the strongest signal, indicating strong momentum as both key daily levels have been broken.
⚙️ Simple Settings
Easily customize the indicator to fit your strategy:
EU/US Session Open Hour (UTC): Set the exact session open times.
Time Zone: Select your time zone for accurate level calculation.
Start/End Trading Hour: Define the daily window for when signals will be active.
🎯 Recommended Use
High Confidence: Focus on the Double Break (Logic III) - Large Triangle for your most confirmed entries.
Context: Use the Single Break signals (I and II) to confirm early market bias.
Risk: The Open Levels can serve as natural points for setting Stop-Loss orders.
Disclaimer: Trading carries risk. This tool is for analysis purposes only. Use it at your own discretion.