Relative Strength v4Relative Strength follow IDB and Mark Minervini
Thank Chat GPT 5 Help me to finish this indicator
Educational
Simple Confluence Buy SignalMulti time frame. best time frames are higher frames for it. clean structure.
TCLC - Multi TimeFrame VWAPVWAP :
VWAP, or Volume Weighted Average Price, is a trading indicator that represents the average price of a security over a specific period, weighted by the volume of trades at each price level. It is calculated by taking the sum of the product of price and volume and dividing it by the total volume for the period. Essentially, VWAP shows the average price at which most trades occurred, giving more weight to prices with higher trading volumes.
The Indicator Plots the VWAP in Daily, WEEKLY , MONTHLY , YEARLY which helps to gauage the trend where the Volume vs Price exists....
Position Size Calculator MKThis indicator uses for automating your trading very good for taking position with tension free
also have touch entry of price or closing basis entry and stop loss and also show live position
Break Point Record Table — GSK-VIZAG-AP-INDIA "Break Point Record Table — GSK-VIZAG-AP-INDIA" indicator captures key break points during each trading session and presents a clear, color-coded table overlay on the chart for quick visual reference. Specifically, it logs sessions' open price and monitors subsequent price action for notable breaks in the session high or low prices. Each break event is recorded with the time, price, and percentage change from the previous break, helping traders identify significant price movements within the session at a glance.
Key Features:
Records the session start time and opening price for context.
Tracks every intraday break above the previous session high or below the previous session low.
Calculates and displays the percentage change at each break event.
Highlights breaks with descriptive text including break time and values to aid trade decision-making.
Displays a table with columns for Time, Open, High, Low, and a Description of the event.
Uses color-coded cells to differentiate between session start, highs, lows, and break descriptions for better readability.
Maintains performance and readability by limiting the table to the latest 30 break events.
Usage & Benefits:
This indicator is ideal for intraday traders who want reliable visual cues to monitor momentum shifts and breakout/breakdown points during the trading day. By capturing these break points as discrete events and organizing the data into an easily accessible, visually intuitive table, it improves situational awareness and supports timely trading decisions.
Wick Box: Hammer + Engulfing |Thaowick boxes and hammer box drawings for engulfing and hammer candles bullish and bearish
the best indicator for spotting reversal s
Session Based Liquidity# Session Based Liquidity Indicator - Educational Open Source
## 📊 Overview
The Session Based Liquidity indicator is a comprehensive educational tool designed to help traders understand and visualize liquidity concepts across major trading sessions. This indicator identifies Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels created during Asia, London, and New York trading sessions, providing insights into institutional order flow and potential market reversal zones.
## 🎯 Key Features
### 📈 Multi-Session Tracking
- **Asia Session**: Tokyo/Sydney overlap (20:00-02:00 EST)
- **London Session**: European markets (03:00-07:30 EST)
- **New York Session**: US markets (09:30-16:00 EST)
- Individual session toggle controls for focused analysis
### 💧 Liquidity Level Detection
- **Buy-Side Liquidity (BSL)**: Identifies stop losses above swing highs where short positions get stopped out
- **Sell-Side Liquidity (SSL)**: Identifies stop losses below swing lows where long positions get stopped out
- Advanced filtering algorithm to identify only significant liquidity zones
- Configurable pivot strength for sensitivity adjustment
### 🎨 Visual Management System
- **Unclaimed Levels**: Active liquidity zones that haven't been hit (default: black lines)
- **Claimed Levels**: Swept liquidity zones showing historical interaction (default: red lines)
- Customizable line styles, colors, and widths for both states
- Dynamic label system showing session origin and level significance
- Real-time line extension and label positioning
### ⚙️ Advanced Configuration
- **Pivot Strength**: Adjust sensitivity (1-20) for liquidity detection
- **Max Levels Per Side**: Control number of tracked levels (1-10) per session
- **Label Offset**: Customize label positioning
- **Style Customization**: Full control over visual appearance
## 📚 Educational Value
### Core Concepts Explained
- **Liquidity Pools**: Areas where stop losses and pending orders cluster
- **Liquidity Sweeps**: When price moves through levels to trigger stops, then reverses
- **Session-Based Analysis**: How different market sessions create distinct liquidity characteristics
- **Institutional Order Flow**: Understanding how large players interact with retail liquidity
### Trading Applications
- Identify high-probability reversal zones after liquidity sweeps
- Understand where stop losses are likely clustered
- Avoid trading into obvious liquidity traps
- Use session context for timing entries and exits
- Recognize institutional accumulation and distribution patterns
### Code Learning Opportunities
- **Pine Script v6 Best Practices**: Modern syntax and efficient coding patterns
- **Object-Oriented Design**: Custom types and methods for clean code organization
- **Array Management**: Dynamic data structure handling for performance
- **Visual Programming**: Line, label, and styling management
- **Session Detection**: Time-based filtering and timezone handling
## 🔧 Technical Implementation
### Performance Optimized
- Efficient memory management with automatic cleanup
- Limited historical level tracking to maintain responsiveness
- Optimized array operations for smooth real-time updates
- Smart filtering to reduce noise and focus on significant levels
### Code Architecture
- **Modular Design**: Clean separation of concerns with dedicated methods
- **Type Safety**: Custom SessionLiquidity type for organized data management
- **Extensible Structure**: Easy to modify and enhance for specific needs
- **Educational Comments**: Comprehensive documentation throughout
## 💡 Usage Guide
### Basic Setup
1. Add indicator to chart
2. Configure session times for your timezone
3. Adjust pivot strength based on timeframe (higher for lower timeframes)
4. Enable/disable sessions based on your trading focus
### Interpretation
- **Unclaimed levels**: Watch for price interaction and potential reversals
- **Claimed levels**: Use as potential support/resistance after sweep
- **External levels**: Beyond session range, higher significance
- **Internal levels**: Within session range, may indicate ranging conditions
### Best Practices
- Use higher timeframes (15m+) for cleaner signals
- Combine with price action analysis for confirmation
- Consider session overlap periods for increased significance
- Monitor multiple sessions for comprehensive market view
## 🎓 Educational Goals
This open-source project aims to:
- Demystify liquidity concepts for retail traders
- Provide practical coding examples in Pine Script v6
- Encourage understanding of institutional trading behavior
- Foster community learning and collaboration
- Bridge the gap between theory and practical application
## 📄 License & Usage
Released under Mozilla Public License 2.0 - free for educational and commercial use with proper attribution.
## 🤝 Contributing
As an open-source educational tool, contributions are welcome! Whether it's bug fixes, feature enhancements, or educational improvements, your input helps the trading community learn and grow.
## ⚠️ Disclaimer
This indicator is for educational purposes only. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
---
*By studying and using this indicator, traders can develop a deeper understanding of market microstructure and improve their ability to read institutional order flow patterns.*
SuperPower_369The supertrend is a trend-following overlay placed directly on price charts as a single line that shifts color and position according to trend direction. This indicator was developed by Olivier Seban, primarily to simplify trend detection for traders. Its value is calculated using the Average True Range (ATR) and a multiplier to adjust for market volatility.
Previous Day OHLC Dashboard (Last N Days)Indicator: Previous Day OHLC Dashboard (Multi-Day)
This indicator displays a dashboard-style table on your chart that shows the Open, High, Low, and Close (OHLC) of the previous trading days. It’s designed to help traders quickly reference key daily levels that often act as important support and resistance zones.
🔑 Features:
Dashboard Table: Shows OHLC data for the last N trading days (default = 3, up to 10).
Customizable Appearance:
Change the position of the dashboard (Top-Right, Top-Left, Bottom-Right, Bottom-Left).
Adjust text size (Tiny → Huge).
Customize colors for header, labels, and each OHLC column.
Yesterday’s OHLC Lines (optional): Plots horizontal lines on the chart for the previous day’s Open, High, Low, and Close.
Intraday & Multi-Timeframe Compatible: Works on all timeframes below Daily — values update automatically from the daily chart.
📊 Use Cases:
Quickly identify yesterday’s key levels for intraday trading.
Track how current price reacts to previous day’s support/resistance.
Keep a multi-day reference for trend bias and range context.
⚙️ How it Works:
The indicator pulls daily OHLC values using request.security() with lookahead_on to ensure prior day’s values are extended across the next session.
These values are displayed in a compact table for quick reference.
Optionally, the most recent daily levels (D-1) are plotted as chart lines.
✅ Perfect for day traders, scalpers, and swing traders who rely on yesterday’s price action to plan today’s trades.
60 신저가 숏“60-Day New Low Short” is a momentum breakdown setup that sells short when price prints a fresh 60-day low, betting that failed support will extend the downtrend.
Entries are usually taken on the breakdown close (or next open) with confirmation like rising volume, relative weakness, and price below the 50/200-day MAs.
Manage risk with a stop above the recent swing high or 20-day high; take profits via ATR-based targets or a trailing stop, and avoid trades near major catalysts (earnings/news).
OSOK KatxumotoThe OSOK Dynamic Box Enhanced is designed for scalpers and traders using the OSOK (One Shot, One Kill) method on futures like the NQ.
Features include:
A midline that dynamically follows the current price in real-time.
Upper (LS) and lower (LI) protection lines at configurable distances from the current price, representing stop or protection levels.
Target lines offset from LS and LI according to your risk/reward strategy, also fully configurable.
Customizable colors and thickness for all lines, allowing you to adapt the visualization to your trading style.
All lines automatically extend to the right from the current price, keeping the chart clean without accumulating old lines.
This indicator helps traders quickly visualize key levels, manage risk, and set objectives efficiently—perfect for scalping and high-precision setups.
Configurable parameters:
Protection distance (LS/LI) in points
Target distance from LS/LI in points
Line colors and thickness
Line extension to the right
123Scalp-AHTDetector de patrones con confirmación para scalping.
Identifica Hammer/Shooting Star, Engulfing, Morning/Evening Star y Doji. Genera BUY/SELL con Entry/SL/TP (1R/1.5R/2R), opción 1-bar exit, filtro EMA, y alertas. Render Classic o Anchored (ABS) anclado al precio. No repinta tras la confirmación; pensado para intradía/scalping.
Scalp Pattern Signals — fast pattern/confirmation for intraday.
Detects Hammer/Shooting Star, Engulfing, Morning/Evening Star, and Doji. Produces BUY/SELL with Entry/SL/TP (1R/1.5R/2R), optional 1-bar exit, EMA trend filter, and alerts. Choose Classic or Anchored (ABS) rendering (anchored to price). No repaint after confirmation; built for scalping/intraday.
TitanFlow Position CalculatorTitanFlow Position Calculator - Professional Risk Management Tool
Transform your trading with precision position sizing and advanced risk management
The TitanFlow Position Calculator is a comprehensive Pine Script indicator designed for serious traders who demand professional-grade risk management tools. Whether you're trading forex, commodities, indices, or crypto, this calculator ensures you never risk more than intended while maximizing your profit potential.
🎯 Key Features:
SMART POSITION SIZING
Automatic lot size calculation based on your risk parameters
Support for percentage risk, fixed amount, or losing streak buffer modes
Real-time position size updates as market conditions change
Double-up mode for aggressive trading strategies
MULTI-ASSET SUPPORT
Pre-configured settings for Forex Major/Minor pairs
Commodities: Gold, Silver, Oil with accurate pip values
Stock indices with proper contract specifications
Cryptocurrency trading support
Custom instrument configuration for any asset
ADVANCED RISK MANAGEMENT
Visual risk level categorization (Conservative, Moderate, Aggressive, Extreme)
Color-coded risk warnings with threshold alerts
Margin requirement calculations with leverage integration
Take profit level planning with lot distribution
PROFESSIONAL THEMES
TitanFlow Dark theme matching the professional trading platform
TitanFlow Light theme for bright chart environments
Classic dark/light themes for traditional traders
Full custom colour control for personalized setups
COMPREHENSIVE LEVERAGE SUPPORT
Complete leverage options from 1:1 to 1:500 including:
1:1, 1:10, 1:15, 1:20, 1:30, 1:50, 1:100, 1:200, 1:300, 1:400, 1:500
📊 What You'll See:
REAL-TIME CALCULATIONS
Position size in lots displayed prominently
Risk level percentage with color coding
Margin requirements in your account currency
Stop loss distance in pips
Take profit distribution across multiple levels
CLEAN INFORMATION TABLE
Account balance and currency display
Current risk amount being wagered
Calculated position size and margin needs
Risk categorization with visual indicators
Leverage ratio confirmation
SMART ALERTS
Extreme risk warnings (>5% per trade)
Large position alerts (>10 lots)
High margin usage notifications (>50% account)
Real-time risk assessment updates
🚀 Take Your Trading Further with TitanFlow
Want more than just position sizing?
Visit titanflow.co.uk to discover the complete TitanFlow trading ecosystem:
✅ Advanced Trading Dashboard - Comprehensive portfolio tracking and analytics
✅ Trade Journal Integration - Log and analyze every trade automatically
✅ AI-Powered Coaching - Get personalized trading insights and recommendations
✅ Monthly Performance Reports - Detailed analytics delivered to your inbox
✅ Risk Management Suite - Professional tools for serious traders
✅ Trading Calendar - Never miss important market events
✅ Community Access - Connect with successful traders worldwide
Special Offer: TradingView users get exclusive access to premium features. Transform your trading from guesswork to systematic success. coming soon
🎨 Customization Options:
Theme Selection
Choose from 5 professional themes
Customize every colour element
Match your chart aesthetic perfectly
Professional branding options
Display Controls
Position table in any corner
Show/hide alerts and warnings
Adjustable text sizes
Clean, distraction-free interface
💡 Perfect For:
Day Traders who need quick position sizing decisions
Swing Traders planning multi-level exits
Scalpers requiring precise risk control
Portfolio Managers overseeing multiple accounts
Risk Managers monitoring exposure levels
Trading Educators teaching proper risk management
🚀 How to Use:
Set Your Account - Enter balance and currency
Choose Risk Mode - Percentage (recommended 1-2%), fixed amount, or losing streak buffer
Configure Instrument - Select asset type or use custom settings
Set Stop Loss - Enter your stop distance in pips
Read Results - Get instant position size and risk analysis
⚠️ Risk Management Excellence:
This calculator embodies the core principle that successful trading is about risk management, not just profit hunting. By using proper position sizing, you'll:
Survive losing streaks with capital intact
Compound profits systematically
Sleep better knowing your risk is controlled
Build consistent trading habits
Protect your trading capital long-term
Ready to elevate your entire trading operation? Start with this position calculator, then visit titanflow.co.uk to unlock the full potential of systematic, professional trading.
This indicator is part of the TitanFlow trading ecosystem. titanflow.co.uk coming soon here you'll be able to obtain the complete professional trading platform.
FVG & IFVG ICT IndicatorThe FVG & IFVG ICT Indicator is a comprehensive technical analysis tool designed for traders who follow the Fair Value Gap (FVG) and Inversion Fair Value Gap (IFVG) methodology popularized by ICT concepts. It automatically detects bullish and bearish FVGs and IFVGs on your chart, plots them with customizable colors and mitigation levels, and provides real-time alerts for potential trading opportunities.
Key features include:
FVG & IFVG Detection: Automatically identifies demand (bullish) and supply (bearish) FVGs and their inversion counterparts.
Mitigation Levels: Highlights key reaction zones using Proximal, 50% OB, or Distal levels to plan entry or exit strategies.
Alert System: Sends alerts for FVG and IFVG mitigations with customizable frequency and time zone display.
Break Triangles: Plots visual triangle markers when price breaks an FVG, validated with ATR thresholds for reliable signals.
Customizable Visuals: Supports light and dark color themes and full control over displayed zones and colors.
Advanced Filtering: Filters FVGs by width (Very Aggressive → Very Defensive) to reduce noise and focus on significant zones.
Dynamic Lookback: Tracks the most recent FVGs and resets them after a defined lookback period to avoid multiple signals.
This indicator is ideal for swing and intraday traders seeking precise zone-based entries, exits, and confirmations based on price imbalance logic.
Relative Strength Heat [InvestorUnknown]The Relative Strength Heat (RSH) indicator is a relative strength of an asset across multiple RSI periods through a dynamic heatmap and provides smoothed signals for overbought and oversold conditions. The indicator is highly customizable, allowing traders to adjust RSI periods, smoothing methods, and visual settings to suit their trading strategies.
The RSH indicator is particularly useful for identifying momentum shifts and potential reversal points by aggregating RSI data across a range of periods. It presents this data in a visually intuitive heatmap, with color-coded bands indicating overbought (red), oversold (green), or neutral (gray) conditions. Additionally, it includes signal lines for overbought and oversold indices, which can be smoothed using RAW, SMA, or EMA methods, and a table displaying the current index values.
Features
Dynamic RSI Periods: Calculates RSI across 31 periods, starting from a user-defined base period and incrementing by a specified step.
Heatmap Visualization: Displays RSI strength as a color-coded heatmap, with red for overbought, green for oversold, and gray for neutral zones.
Customizable Smoothing: Offers RAW, SMA, or EMA smoothing for overbought and oversold signals.
Signal Lines: Plots scaled overbought (purple) and oversold (yellow) signal lines with a midline for reference.
Information Table: Displays real-time overbought and oversold index values in a table at the top-right of the chart.
User-Friendly Inputs: Allows customization of RSI source, period ranges, smoothing length, and colors.
How It Works
The RSH indicator aggregates RSI calculations across 31 periods, starting from the user-defined Starting Period and incrementing by the Period Increment. For each period, it computes the RSI and determines whether the asset is overbought (RSI > threshold_ob) or oversold (RSI < threshold_os). These states are stored in arrays (ob_array for overbought, os_array for oversold) and used to generate the following outputs:
Heatmap: The indicator plots 31 horizontal bands, each representing an RSI period. The color of each band is determined by the f_col function:
Red if the RSI for that period is overbought (>threshold_ob).
Green if the RSI is oversold (
Guru Tandav ShortGuru Tandav Short is a price-action + momentum based short selling indicator designed for intraday.
⚡ Designed for intraday short trades but can also be applied to higher timeframes for swing setups.
3-Layer Trend Trail SystemThia is best for first 15 min after market opens. It will show you Buy and Sell signals with 85% accurate.
Indian market session on Gift Nifty chartsGift Nifty Market Session Highlighter
This indicator highlights the official Indian market session on Gift Nifty charts — from 9:15 AM to 3:30 PM IST. It shades the background during this time window so traders can instantly identify when the local market is open.
Features:
Marks 9:15 AM to 3:30 PM (IST) session on intraday charts.
Adjustable highlight color and transparency.
Works seamlessly across lower timeframes (1m, 5m, 15m, etc.).
Helps traders align Gift Nifty activity with NSE market hours.
Use Cases:
Quickly distinguish active market hours from overnight or global sessions.
Backtest trading strategies specific to Indian session volatility.
Improv
e focus on expiry-day setups and intraday opportunities.
Disclaimer:
This tool is provided for educational and informational purposes only. It is not financial advice, nor does it guarantee trading success. Always do your own research and consult a licensed financial professional before making investment decisions.
SMT Divergence PSP&PCP - Milana TradesThis indicator is designed for traders who want to combine SMT Divergence (SMT) analysis with Precision Swing Points and Candles (PSP/PCP) to identify potential market reversals, trend changes, and optimal entry points. It works on one, two, or three symbols simultaneously, and provides alerts for all key signals.
1. SMT Divergence
Purpose:
SMT Divergence identifies discrepancies between the price movements of a reference market (controlling asset) and the current chart. This helps traders detect when “smart money” might be acting differently than the public trend.
How it works:
The indicator tracks pivot highs and lows in both the current chart and the reference symbol.
If the current chart forms a high but the reference asset fails to confirm it (or vice versa), this creates a bearish or bullish divergence.
These divergences are drawn as lines on the chart with customizable color, style, and label size.
Broken or invalid divergences are automatically removed to avoid clutter.
Visual Features:
+SMT / -SMT labels indicate bullish or bearish divergences.
Lines connect the divergence points for easy visualization.
Alerts:
Bullish SMT
Bearish SMT
2. Precision Swing Points (PSP) and Precision Candle Points (PCP)
Purpose:
Precision Swing Points are extremely accurate pivot points in the price movement, showing potential short-term reversals.
Precision Candle Points extend this by confirming reversal candlestick patterns at these pivots.
How it works:
The indicator checks pivot highs/lows for patterns across multiple symbols.
Bullish PSP indicates a potential upward reversal.
Bearish PSP indicates a potential downward reversal.
PCP signals are more conservative and require a pattern confirmation, often used for safer entries.
Key Features:
Works with 1, 2, or 3 symbols simultaneously to detect correlated reversals.
Automatically removes broken or invalid PSP/PCP points.
Supports display customization: text size, colors, and which patterns to show.
Provides correlation between symbols to gauge market synchronicity.
Alerts:
Bullish PSP
Bullish PCP
Bearish PSP
Bearish PCP
This SMT & Precision Swing Point Indicator combines smart money divergence with highly accurate swing points and candlestick pattern confirmations to provide a powerful tool for market analysis. It helps traders:
Detect divergences between key markets.
Identify high-probability reversal points.
Filter signals according to trend and precision.
Receive alerts for actionable trading opportunities without constant chart monitoring.
It is ideal for traders using Price Action, Smart Money concepts, and multi-symbol analysis.
Qabas systemQabas System — Multi-Layered Smart Trading Framework
The Qabas System is an advanced all-in-one Pine Script indicator designed to combine institutional-grade analysis, smart entry/exit detection, and adaptive risk management into a single framework. It integrates multiple professional trading concepts into one ecosystem, making it suitable for intraday, swing, and position trading.
⸻
Core Components
1. VSA Engine (Volume Spread Analysis)
Detects institutional footprints (accumulation, distribution, no-demand, supply tests) by analyzing the relationship between candle spread, volume, and close location.
2. Order Blocks (Supply & Demand Zones)
Automatically highlights bullish and bearish order blocks with customizable transparency, showing where institutions left unfilled orders.
3. Smart Traps (Liquidity Traps)
Identifies bull and bear traps by detecting abnormal wicks and volume exhaustion near highs/lows — a common reversal signal.
4. Fibonacci Golden Levels
Draws adaptive retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6) aligned with the current market trend.
5. CPR (Central Pivot Range)
Daily pivot zones acting as magnets for price, helping detect high-probability reversal and breakout areas.
6. Liquidity Zones
Detects liquidity sweeps above highs and below lows combined with strong volume confirmation.
7. Market Structure (Chanlun Waves)
Tracks higher-highs / lower-lows to outline bullish or bearish structural waves.
8. Breakout Engine (Duanxian Gate)
Confirms valid breakouts using EMA/Donchian/Linear Regression baselines with ATR and volume filters.
9. Adaptive Resonance Oscillator (ARO)
A proprietary entry/exit system based on Hilbert transform and RSI resonance, plotting BUY/SELL arrows only when conditions are valid and alternating (to avoid duplicate signals).
⸻
Risk & Trade Management
• Smart ATR / Fibonacci / Structure-based stop loss options.
• Fibonacci / Risk-Reward / Structure-based take profit logic.
• Built-in auto-risk engine with position sizing (% risk per trade).
• ATR-based adaptive targets for breakout scenarios.
⸻
Visualization & Dashboard
• Multiple color themes (Neon, Professional, Matrix, Gold).
• Smart candle coloring for volume spikes and weak drops.
• Order Block boxes with custom transparency.
• A dynamic Arabic/RTL dashboard showing:
• Decision (Buy/Sell/Strong Buy/Strong Sell/Wait)
• Trend strength (across multiple timeframes)
• Volume pressure (Accumulation / Distribution / Neutral)
• Range & Breakout probabilities
⸻
Dynamic Probabilities Engine
The system records historical outcomes near supply/demand boundaries and continuously adapts breakout probability calculations. This enables it to dynamically project probability of ranging vs breaking out, and update targets accordingly.
⸻
How It Works (Step-by-Step)
1. Market Context: Multi-timeframe EMAs define overall trend score.
2. Institutional Clues: VSA, order blocks, traps, CPR, liquidity, and Fibonacci generate signals.
3. Structural Confirmation: Breakouts and wave analysis validate directional bias.
4. Decision Engine: Weighted scoring system fuses all signals into a single decision (BUY / SELL / WAIT) with confidence level.
5. Execution: ARO entry/exit signals provide precise timing inside the broader context.
6. Risk Management: Adaptive stop loss and take profit methods are applied automatically.
⸻
👉 In summary:
The Qabas System acts like an institutional trading toolkit inside one indicator — combining price action, smart volume, liquidity, structure, and adaptive risk to deliver context-aware, probability-driven trade signals with a clear visual dashboard.
Lot Size & Risk Calculator [FunkyMax]🔹 Overview
This script is a lot size and risk management calculator directly integrated into your chart.
It automatically determines the optimal position size based on your account balance, chosen risk percentage, and stop-loss distance.
In addition to risk calculation, the script also displays Entry, Stop-Loss, and Take-Profit levels on the chart, along with a dashboard panel summarizing all key trading information:
Account balance
Selected risk %
Amount at risk
Optimal lot size
Stop & TP distances in pips
Risk/Reward ratios (R:R)
Potential profit for each TP
Contract size & pip size
🔹 Key Features
✅ Automatic lot size calculation based on:
Account balance
Risk %
Stop-Loss distance
✅ Clear visual display:
Dynamic labels for Entry, Stop, and TP (supports 1 or 2 TPs)
Colored lines (green for TP, red for SL, blue for Entry)
Profit/Loss zones filled on the chart
✅ Dashboard panel:
Compact summary displayed on-screen (position customizable)
Real-time automatic updates
✅ Automatic asset detection:
Forex: contract size = 100,000 (pip = 0.0001 or 0.01 for JPY pairs)
Gold (XAUUSD): contract size = 100 (pip = 0.1)
Indices & crypto: contract size = 1 (pip = 1.0)
Manual override available (custom contract & pip size)
✅ Multi-currency support:
Display in USD or EUR
🔹 How to Use
Add the indicator to your chart then define entry price, stop-loss, Take-Profit targets (TP1 & TP2) by clicking directly on chart. Then, configure settings of the indicator as needed :
1. Basic settings (Money Management tab):
Enter your account balance (e.g., $1000).
Select your risk percentage (e.g., 1%, 2%, 3%).
Choose your deposit currency (USD or EUR).
2. Trading levels (Levels tab):
Set your Entry price.
Define your Stop-Loss (SL).
Add up to two Take-Profit targets (TP1 / TP2).
3. Chart display:
Toggle levels on/off with Display TP & SL on chart.
Levels appear automatically with lot size and R:R ratio.
4. Dashboard (Dashboard tab):
Choose text size (Normal / Small).
Position the info panel anywhere (top/bottom/left/right).
🔹 Benefits
Time-saving: no more manual lot size calculations
Risk control: enforces consistent money management
Versatility: works across Forex, Gold, Indices, Crypto
Clarity: instant visualization of risk and potential reward
🔹 Limitations
Pip value may vary depending on your broker (CFDs, Futures, etc.). Double-check with your platform.
Educational purpose only: this script is not financial advice.
🔹 Author
Script developed and optimized by FunkyMax.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Statistical FootprintStatistical Footprint - Behavioral Support & Resistance
This indicator identifies key price levels based on actual market behavior rather than traditional pivot calculations. It analyzes how bulls and bears have historically moved price from session opens, creating statistical zones where future reactions are most likely.
The concept is simple: track how far bullish candles typically push above the open versus how far bearish candles drop below it. These patterns reveal the market's behavioral "footprint" - showing where momentum typically stalls and reverses.
Key Features:
- Separate analysis for daily and weekly timeframes
- Smart zone merging when levels cluster together (within 5 points)
- Uses both mean and median calculations for more robust levels
- XGBoost-optimized lookback periods for maximum statistical significance
- Clean zone-only display focused on actionable price areas
How it Works:
The code separates bullish and bearish sessions, measuring their typical range extensions from the open. It then projects these statistical ranges forward from current session opens, creating "behavioral zones" where the market has historically shown consistent reactions.
When daily and weekly levels align closely, they merge into combined zones with enhanced significance. Labels show both the mean and median values when they differ meaningfully.
Best Used For:
- Identifying high-probability reversal zones
- Setting profit targets based on historical behavior
- Understanding market sentiment shifts at key levels
- Confluence analysis between different timeframes
The lookback periods have been optimized using machine learning to find the most predictive historical sample sizes for current market conditions.