Stoch Cross Strategy with Dynamic Lot SizeEntry:
Buy when %K crosses above %D in oversold (<20).
Sell when %K crosses below %D in overbought (>80).
Exit:
TP fixed at +1000 pips.
SL fixed at -500 pips.
Lot management:
Start at 0.01.
+0.01 after every win (up to 10.0).
–0.01 after every loss (never below 0.01).
Alerts:
Alerts fire on every valid signal.
Messages show direction, lot size, SL, and TP
Educational
ASM Pro EMA Indicator – Smart Buy/Sell SignalsAdvanced EMA crossover indicator with auto Buy/Sell signals, real-time alerts, and multi-market support. Perfect for Indian Market, Crypto, Forex & Stocks traders.
🔹ASM Pro EMA Indicator – Key Features:
1.Dual EMA Crossover Strategy – Detects market trend shifts using Fast & Slow EMA crossover.
2.Auto Buy/Sell Labels – Instantly shows clear green BUY and red SELL signals on chart.
3.Multi-Timeframe Support – Works smoothly from 1-minute to daily charts.
4.Real-Time Alerts – Receive instant alerts on TradingView app, email, or pop-up.
5.Beginner Friendly – Simple, easy-to-use with no complex setup.
6.Professional Look – Premium design with Blue & Orange EMAs + smart labels.
7.Universal Market Fit – Optimized for Crypto, Forex, Stocks, and Gold.
8.Low Lag Signals – Faster and more reliable than standard EMA crossovers.
9.Risk-Reward Friendly – Helps traders find clear entries, stop-loss, and exit zones.
10.Premium Access Model – Available via monthly & yearly subscription.
🔹How to Make Profit with ASM Pro EMA Indicator:
1.Follow Buy/Sell Signals with Discipline – Enter on Green BUY, exit/short on Red SELL.
2.Use Multi-Timeframe Confirmation – Small timeframe entry, big timeframe trend confirmation.
3.Set Stop-Loss at EMA Levels – Below EMA for BUY, above EMA for SELL.
4.Book Partial Profits – Secure 50% at key levels, trail the rest with EMA.
5.Trade Only Trending Markets – Works best in strong uptrend or downtrend.
Crypto Perp Calc v1Advanced Perpetual Position Calculator for TradingView
Description
A comprehensive position sizing and risk management tool designed specifically for perpetual futures trading. This indicator eliminates the confusion of calculating leveraged positions by providing real-time position metrics directly on your chart.
Key Features:
Interactive Price Selection: Click directly on chart to set entry, stop loss, and take profit levels
Accurate Lot Size Calculation: Instantly calculates the exact position size needed for your margin and leverage
Multiple Entry Support: DCA into positions with up to 3 entry points with customizable allocation
Multiple Take Profit Levels: Scale out of positions with up to 3 TP targets
Comprehensive Risk Metrics: Shows dollar P&L, account risk percentage, and liquidation price
Visual Risk/Reward: Color-coded boxes and lines display your trade setup clearly
Real-time Info Table: All critical position data in one organized panel
Perfect for traders using perpetual futures who need precise position sizing with leverage.
---------
How to Use
Quick Start (3 Clicks)
1. Add the indicator to your chart
2. Click three times when prompted:
First click: Set your entry price
Second click: Set your stop loss
Third click: Set your take profit
3. Read the TOTAL LOTS value from the info table (highlighted in yellow)
4. Use this lot size in your exchange when placing the trade
Detailed Setup
Step 1: Configure Your Account
Enter your account balance (total USDT in account)
Set your margin amount (how much USDT to risk on this trade)
Choose your leverage (1x to 125x)
Select Long or Short position
Step 2: Set Price Levels
Main levels use interactive clicking (Entry, SL, TP)
For multiple entries or TPs, use the settings panel to manually input prices and percentages
Step 3: Read the Results
The info table shows:
TOTAL LOTS - The position size to enter on your exchange
Margin Used - Your actual capital at risk
Notional - Total position value (margin × leverage)
Max Risk - Dollar amount you'll lose at stop loss
Total Profit - Dollar amount you'll gain at take profit
R:R Ratio - Risk to reward ratio
Account Risk - Percentage of account at risk
Liquidation - Price where position gets liquidated
Step 4: Advanced Features (Optional)
Multiple Entries (DCA):
Enable "Use Multiple Entries"
Set up to 3 entry prices
Allocate percentage for each (must total 100%)
See individual lot sizes for each entry
Multiple Take Profits:
Enable "Use Multiple TPs"
Set up to 3 TP levels
Allocate percentage to close at each level (must total 100%)
View profit at each target
Visual Elements
Blue lines/labels: Entry points
Red lines/labels: Stop loss
Green lines/labels: Take profit targets
Colored boxes: Visual risk (red) and reward (green) zones
Info table: Can be positioned anywhere on screen
Alerts
Set price alerts for:
Entry zones reached
Stop loss approached
Take profit levels hit
Works with TradingView's alert system
Tips for Best Results
Always verify the lot size matches your intended risk
Check the liquidation price stays far from your stop loss
Monitor the account risk percentage (recommended: keep under 2-3%)
Use the warning indicators if risk exceeds margin
For quick trades, use single entry/TP; for complex strategies, use multiple levels
Example Workflow
Find your trade setup using your analysis
Add this indicator and click to set levels
Check risk metrics in the table
Copy the TOTAL LOTS value
Enter this exact position size on your exchange
Set alerts for key levels if desired
This tool bridges the gap between TradingView charting and exchange execution, ensuring your position sizing is always accurate when trading with leverage.
Disclaimer, this was coded with help of AI, double check calculations if they are off.
BTC_Hull Suite StrategyOverview
BTC_Hull Suite Strategy is a trend-following system designed to keep drawdowns modest while staying exposed during genuine uptrends. It uses the Hull Moving Average (HMA) for fast, low-lag trend turns, a long-term SMA filter to avoid chop, and a percentage trailing stop to protect gains.
🔧 What the strategy includes
- Hull Moving Average (HMA) with configurable length (default 55)
- SMA filter (default 130) to trade only with higher-timeframe bias
- Trailing stop in percent (default 5%) based on the running peak of close
- Execution model: signals are evaluated on the previous bar and entries are placed at the next bar’s open (TradingView default)
📈 How it works:
✅ Entry (Long):
Detects a bullish Hull turn by comparing the current HMA to its value 3 bars ago:
h > h3 and h <= h3 → HMA just turned up on the prior bar
The SMA filter must confirm: close > sma
If both are true (and within the date window), a long is opened next bar at the open
❌ Exit:
Hull turn down: h < h3 and h >= h3 , or
Trailing stop: price closes below peak * (1 – trailingPct)
Either condition closes the position at the current bar’s close
Notes:
pyramiding = 1 → allows one add-on (maximum two concurrent long positions)
Position sizing defaults to 20% of equity per entry (adjustable in Properties)
Who is this for?
This strategy is tailored for Bitcoin traders (spot or perpetuals) who want a rules-based, low-lag trend system with built-in drawdown protection.
It works best on Daily or 4H charts, but parameters can be adapted for other timeframes.
⚠️ Disclaimer
This strategy is provided for educational and research purposes only.
It is not financial advice. Markets are risky — always test on your own data, include realistic fees/slippage, and forward-test before using real capital.
Illyad Strategy 1.0 - Automate your alerts by connecting to MT5Illyad Strategy 1.0 – Automated Prop Trading System (30m Timeframe)
Description:
The Illyad Strategy 1.0 is a rule-based automated trading system designed for serious traders and prop-firm challenges.
🔑 Key Features:
Optimised to work best on the 30-minute timeframe.
Built-in money management to keep drawdown controlled.
Dynamic stop-loss / take-profit levels.
Works across forex, indices, and stocks.
Compatible with TradingView alerts → MT5 automation.
⚙️ Optimisation:
Each symbol has its own behaviour. For best results, you should optimise the parameters (moving averages, signal intensity, SL/TP ratios) on the symbol you want to trade. The algo adapts differently to EURUSD vs NASDAQ vs stocks like TSLA, so proper tuning is critical.
💡 Best Use Case:
Prop firm accounts (FTMO, MyForexFunds, AquaFunded, etc.).
Consistent returns without emotional decision-making.
Traders who want to scale multiple accounts at once.
⚠️ Disclaimer:
This script is for educational purposes. Past results do not guarantee future returns. Always backtest and forward test on demo before going live.
📲 Next Step:
This is the public version. If you’d like to connect it directly to MT5/MT4 for fully automated trading, visit my profile or contact me for details.
Money Flow | Lyro RSMoney Flow | Lyro RS
The Money Flow is a momentum and volume-driven oscillator designed to highlight market strength, exhaustion, and potential reversal points. By combining smoothed Money Flow Index readings with volatility, momentum, and RVI-based logic, it offers traders a deeper perspective on money inflow/outflow, divergences, and overbought/oversold dynamics.
Key Features
Smoothed Money Flow Line
EMA-smoothed calculation of the MFI for noise reduction.
Clear thresholds for overbought and oversold zones.
Normalized Histogram
Histogram plots show bullish/bearish money flow pressure.
Color-coded cross logic for quick trend assessment.
Relative Volatility Index (RVI) Signals
Detects overbought and oversold conditions using volatility-adjusted RVI.
Plots ▲ and ▼ markers at exhaustion points.
Momentum Strength Gauge
Calculates normalized momentum strength from ROC and volume activity.
Displays percentage scale of current momentum force.
Divergence Detection
Bullish divergence: Price makes lower lows while money flow makes higher lows.
Bearish divergence: Price makes higher highs while money flow makes lower highs.
Plotted as diamond markers on the oscillator.
Signal Dashboard (Table Overlay)
Displays real-time status of Money Flow signals, volatility, and momentum.
Color-coded readouts for instant clarity (Long/Short/Neutral + Momentum Bias).
How It Works
Money Flow Calculation – Applies EMA smoothing to MFI values.
Normalization – Scales oscillator between relative high/low values.
Trend & Signals – Generates bullish/bearish signals based on midline and histogram cross logic.
RVI Integration – Confirms momentum exhaustion with overbought/oversold markers.
Divergences – Identifies hidden market imbalances between price and money flow.
Practical Use
Trend Confirmation – Use midline crossovers with histogram direction for money flow bias.
Overbought/Oversold Reversals – Watch RVI ▲/▼ markers for exhaustion setups.
Momentum Tracking – Monitor momentum percentage to gauge strength of current trend.
Divergence Alerts – Spot early reversal opportunities when money flow diverges from price action.
Customization
Adjust length, smoothing, and thresholds for different markets.
Enable/disable divergence detection as needed.
Personalize visuals and dashboard display for cleaner charts.
⚠️ Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used alongside other methods and proper risk management. The creator is not responsible for financial decisions made using this script.
Range + Breakout/Breakdown + Box [Sharad] v5🔷 Range + Breakout/Breakdown + Box
This indicator is designed to detect consolidation ranges and highlight potential breakouts (up) or breakdowns (down) when price escapes those ranges.
It automatically draws a rectangle box over the detected range, making it easier to visualize sideways price action and potential coil patterns.
✨ Features
Detects range conditions based on:
Range width (as % of price and/or relative to ATR).
Consecutive bar count inside range.
Optional ADX filter for trend strength.
Highlights Breakout Up and Breakdown Down with on-chart markers.
Draws a box around the range that persists until the range ends.
Built-in TradingView alerts:
Range Detected
Breakout Up
Breakdown Down
Customizable inputs for sensitivity, buffer, and visualization.
⚠️ Warnings & Disclaimer
This tool is for educational and research purposes only.
It does NOT provide financial advice, trade recommendations, or guaranteed results.
Market conditions can invalidate signals; false breakouts are common.
Always backtest before using in live trading.
Use strict risk management (stop-loss, position sizing, risk–reward planning).
You are fully responsible for any trades taken using this indicator.
👉 Use at your own risk. Neither the author nor TradingView accepts liability for financial loss or damages.
Progressive Entry Position Sizer v3Progressive Entry Position Sizer (PEPS) - DEVELOPMENT VERSION
⚠️ IMPORTANT DISCLAIMER: This indicator is currently in development and should NOT be relied upon for trading accuracy. Use at your own risk and always verify calculations independently before making any trading decisions.
Overview:
The Progressive Entry Position Sizer (PEPS) is a risk management tool designed to help traders plan multiple entry positions with progressive scaling. This indicator calculates position sizes and margin requirements across multiple entry levels while maintaining consistent risk exposure.
Key Features:
Progressive Risk Scaling: Uses a token-based system (1, 2, 3, 4, 5...) to progressively increase position sizes at each entry level
Leverage Support: Accommodates leverage up to 50x with proper margin calculations
Dollar-Based Position Sizing: Displays position values in dollar amounts rather than share quantities
Visual Entry Planning: Shows entry zones, target, and stop loss levels with extended lines
Comprehensive Risk Table: Detailed breakdown of each entry with position values and margin requirements
How It Works:
Set your account balance, risk percentage, and leverage
Define primary entry, final entry, target, and stop loss prices
Choose number of limit orders (2-8)
The indicator calculates evenly distributed entry prices with progressive position sizing
Each subsequent entry receives more "risk tokens" resulting in larger position sizes
Use Cases:
Planning DCA (Dollar Cost Averaging) strategies
Risk management for leveraged positions
Visualizing multi-entry trading setups
Educational purposes for understanding progressive scaling
⚠️ Development Status:
This script is actively being developed and may contain bugs or calculation errors. Always:
Verify all calculations manually
Test thoroughly on paper trades first
Consult with financial professionals
Never risk more than you can afford to lose
Feedback Welcome:
As this is a development version, user feedback and suggestions for improvements are greatly appreciated.
This indicator is for educational and planning purposes only. Not financial advice.
How to avoid repainting when using security() - viewing optionsHow to avoid repainting when using the security() - Edited PineCoders FAQ with more viewing options
This may be of value to a limited few, but I've introduced a set of Boolean inputs to PineCoders' original script because viewing all the various security lines at once was giving me a brain cramp. I wanted to study each behavior one-by-one. This version (also updated to PineScript v6) will allow users to selectively display each, or any combination, of the security plots. Each plot was updated to include a condition tied to its corresponding input, ensuring it only appears when explicitly enabled. The label-rendering logic only displays when its related plot is active; however, I've also added an input that allows you to remove all labels, enabling you to see the price action more clearly (the labels can sometimes obscure what you want to see). Run this script in replay mode to view the nuanced differences between the 12 methods while selecting/deselecting the desired plots (selecting all at once can be overcrowded and confusing).
All thanks and credit to PineCoders--these changes I made only provide more control over what’s shown on the chart without altering the core structure or intent of the original script. It helped me, so I thought I should share it. If I inadvertently messed something up, please let me know, and I will try to fix it.
I set the defaults for viewing monthly security functions on the daily timeframe. Only the first 2 security functions plot with the default settings, so change the settings as needed. Be sure to read the original notes and detailed explanations in the PineCoders posting "How to avoid repainting when using security() - PineCoders FAQ."
Bottom line, you should use one of the two functions: f_secureSecurity or f_security, depending on what you are trying to do. Hopefully, this script will make it a little easier for the visual learner to understand why (use replay mode or watch live price action on a lower timeframe).
Gap Detector (Body and Candle)Finds/Detects gaps between candles and candle bodies for any chart/timeframe with O(n+delta) performance.
Candle Gaps (between wicks) act as strong support or resistance. They are drawn as solid boxes.
Body Gaps (ignores wicks) act as mild support or resistance. They are depicted with lines.
Adjust the settings for candle/body gap width, smaller the time frame, smaller the gap.
Adjust max historical bars to fine tune performance on your system/setup. The more historical bars the script scans, more time required to load the chart. At times based on system configuration, TradingView may timeout the script due to too many bars. Reducing the max bars helps in this scenario.
This is a revamped version of "Body Gap Detector".
Happy charting !
D|W|M - AkashDaily Weekly Monthly Divider Indicator
- Day Name
- Daily Weekly Monthly Divider
- Hide Unhide Divider
- Can Change The Color and Style
Gann For XAUUSDThe Gann levels for XAUUSD indicator is designed to plot dynamic Gann levels based on either the previous day’s Close price (for large-cap stocks) or the current day’s Open price (for small-cap stocks). These levels help traders identify key price zones, reversals, and potential trading opportunities.
🔑 Key Features:
Auto/Manual Toggle →
Auto Mode: Automatically fetches the previous day’s Close and today’s Open using real-time market data.
Manual Mode: Allows traders to manually input values for customized backtesting or specific scenarios.
Large vs. Small Stocks Modes → Choose between two calculation sets depending on whether you’re trading large or small stocks.
Dynamic Gann Levels → Multiple levels (e.g., ±T1, ±T2, ±T3, EB, KB, MB, AB, QB, etc.) are plotted with distinct colors for clarity.
Chart Labels → Each level is clearly labeled with its value, making it easy to read without hovering over lines.
Info Panel → Displays the active mode (Auto/Manual) and the exact Close and Open values being used.
🎯 How to Use:
Select Large Stocks mode for higher-value instruments (levels calculated from previous day’s Close).
Select Small Stocks mode for smaller instruments (levels calculated from today’s Open).
Use the Auto Mode for convenience (no daily inputs needed) or switch to Manual Mode if you want to test specific price scenarios.
Watch how price reacts to Gann levels for potential support/resistance zones and trade setups.
⚠️ Disclaimer:
This indicator is intended for educational purposes only and should not be considered financial advice. Always use proper risk management and combine with other tools/analysis before trading.
Balanced Big Wicks (50/50) HighlighterThis open-source indicator highlights candles with balanced long wicks (50/50 style)—that is, candles where both upper and lower shadows are each at least 30–60% of the full range and within ~8% of each other, while retaining a substantial body. This specific structure often reflects indecision or liquidity sweeps and can precede strong breakout moves.
How It Works (Inputs and Logic)
Min wick % (each side): 30–60% of candle range
Max body %: up to 60% of range (preserves strong body presence)
Equality tolerance: wicks within 8% of each other
ATR filter (multiples of ATR14): ensures only significant-range candles are flagged
When a “50/50” candle forms, it’s visually colored and labeled; audibly alertable.
How to Use It
Long setup: price closes above the wick-high → potential long entry (SL below wick-low, TP = 1:1).
Short setup: price closes below wick-low → potential short entry (SL above wick-high, TP = 1:1).
Especially effective on 5–15 minute scalping charts when aligned with high-volume sessions or HTF trend context.
Why This Indicator Is Unique
Unlike standard wick or doji voters, this script specifically filters for candles with a strong body and symmetrical wicks, paired with a range filter, reducing noise significantly.
Important Notes
No unrealistic claims: backtested setups indicate high occurrence of clean breakouts, though performance depends on market structure.
Script built responsibly: uses real-time calculations only, no future-data lookahead.
Visuals on the published chart reflect default input values exactly.
Advanced Candle Patterns detector-GSK-VIZAG-AP-INDIA 📌 Description
This indicator automatically detects and highlights common candlestick patterns on the chart and provides a reference table with explanations. It is designed as a visual and educational tool for learning candlestick psychology and price action.
🔍 Features
Pattern Detection (on-chart):
Detects well-known bullish, bearish, and neutral patterns:
Bullish Engulfing, Bearish Engulfing
Hammer, Inverted Hammer
Morning Star, Evening Star
Three White Soldiers, Three Black Crows
Bullish Harami, Bearish Harami
Piercing Line, Dark Cloud Cover
Tweezer Bottom, Tweezer Top
Doji
Patterns are marked directly on the chart using labels.
Labels can show pattern names or serial numbers (user choice).
Bullish = Green, Bearish = Red, Neutral = Yellow.
Reference Table (on-chart panel):
Lists all detected patterns with color-coded text.
Option to show short explanations for each pattern, or just identifiers.
Table includes a “Serial” column so users can match with chart labels.
Chart & Table Settings (customizable):
Table Position: choose Top Left, Top Right, Bottom Left, Bottom Right.
Text Size: choose Tiny, Small, Normal, Large, or Huge.
Toggle Options:
Show/Hide explanation table.
Show/Hide descriptions in table.
Show serial numbers instead of pattern labels on chart.
🎓 Educational Purpose
This tool is meant for study and research. Candlestick patterns alone are not reliable signals; their strength depends on trend, volume, and market context. Use this script to visually learn patterns and combine with other analysis methods.
⚠️ Disclaimer:
This indicator is for educational purposes only. It does not provide trading or investment advice. No candlestick pattern guarantees future price movement. Always confirm with other tools and do your own research before making trading decisions.
LUCID LION TRINITY V1The LUCID LION TRINITY V1 is a precision trading tool designed to simplify decision-making and enhance trade execution through clear entry, stop-loss, and multi-target profit zones.
This indicator combines a dynamic EMA trend filter with ATR-based risk management, giving traders a structured approach to spotting setups and managing trades effectively.
Core Features
• Automatic Buy & Sell Signals
• Buy signals appear when price crosses above the EMA.
• Sell signals appear when price crosses below the EMA.
• Risk Management Built In
• ATR-based Stop Loss ensures volatility-adjusted protection.
• Fully configurable ATR length & multiplier.
• Multi-Level Take Profits (TP1, TP2, TP3)
• TP1 aligns with your chosen Risk:Reward ratio.
• TP2 & TP3 extend profits for trend continuation.
• Adjustable multipliers to fit your style.
• Visual Trade Levels
• EMA trend confirmation.
• Stop Loss and TP levels plotted on chart.
• Clear entry markers for easy reference.
• Alerts Ready
• Instant notifications for Buy and Sell setups.
How to Use
1. Watch for a BUY or SELL signal.
2. Manage the trade using the plotted Stop Loss and TP zones.
3. Scale out at TP1, TP2, and TP3 to secure profits.
4. Always combine with your own analysis for best results.
Important Note
The LUCID LION TRINITY V1 does not guarantee profitable trades. It highlights potential entry and exit areas, but proper risk management and additional analysis are required.
📩 To gain access, email: lucidlionllc@icloud.com
Disclaimer
The LUCID LION TRINITY V1 indicator is provided strictly for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy or sell any financial instrument.
Trading financial markets involves significant risk. Past performance does not guarantee future results. Use this tool at your own risk and always apply proper risk management.
Terms of Use
By purchasing or gaining access to the LUCID LION TRINITY V1, you agree to the following:
1. Educational Use Only – This tool is for educational purposes and not investment advice.
2. No Profit Guarantee – Results are not guaranteed. Market conditions vary.
3. User Responsibility – You are solely responsible for your trading decisions. Lucid Lion LLC is not liable for outcomes.
4. Non-Transferable Access – Access is for personal use only; redistribution is prohibited.
5. Risk Disclosure – Trading carries risk. Trade only with money you can afford to lose.
6. Refund Policy – All purchases are final. No refunds will be issued.
Market Structure Protected Ranges (JAB)Draws what are considered strong zones based on Market Structure.
Relative Strength v4Relative Strength follow IDB and Mark Minervini
Thank Chat GPT 5 Help me to finish this indicator
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.*