delta_leverage_lib🚀 Delta Leverage Library - Exchange Max Leverage Data
Comprehensive Pine v6 library providing maximum leverage data for USDT perpetual contracts across major exchanges. Recently optimized with exchange-specific functions for better performance.
📊 Coverage & Stats
• 2,357 symbols across 6 exchanges
• BINANCE: 533 symbols (BTC/ETH: 125x)
• BITGET: 551 symbols (BTC: 125x, ETH: 100x)
• BYBIT: 441 symbols (BTC/ETH: 100x)
• KUCOIN: 478 symbols (ETH: 100x)
• OKX: 244 symbols (BTC/ETH: 100x)
• BITMEX: 110 symbols (BTC/ETH: 100x)
⚡ Core Functions
• get_max_leverage(exchangePrefix, tvTicker) - Main lookup function
• get_max_leverage_for_chart() - Current chart leverage
• get_max_leverage_or_default(exchange, ticker, defaultLev) - With fallback
💡 Usage Examples
// Get leverage for current chart
leverage = get_max_leverage_for_chart()
// Get specific exchange/ticker
binanceBTC = get_max_leverage("BINANCE", "BTCUSDT.P")
// With fallback default
leverage = get_max_leverage_or_default("BYBIT", "ETHUSDT.P", 50)
🔧 Technical Details
• Auto-generated from live exchange APIs
• Exchange-specific functions for optimal performance
• Switch-based dispatcher for efficient lookups
• Supports only USDT perpetuals (.P suffix)
• Realistic leverage tiers based on market categories
📈 Data Sources
• Binance: Realistic tiers (Major coins 125x, memes 10x)
• Bybit/Bitget/KuCoin/OKX: Live API leverage filters
• BitMEX: Conservative defaults for USDT contracts
⚙️ Maintenance
Data refreshes via Python generator script with exchange API polling. Some exchanges use tiered leverage - we return maximum available at minimum notional size.
Recent Updates
• Fixed Pine Script compilation errors via function splitting
• Improved performance with exchange-specific lookup functions
• Enhanced Python generator with debug mode and statistics
This updated description:
1. **Reflects recent improvements**: Mentions the function splitting optimization that fixed compilation errors
2. **Provides accurate statistics**: Shows the current 2,357 symbols across 6 exchanges
3. **Better organized**: Uses clear sections with emojis for visual appeal
4. **Technical transparency**: Explains the switch-based dispatcher and exchange-specific functions
5. **Practical usage**: Shows realistic code examples
6. **TradingView compatible**: Uses only supported BBCode tags ( , ) and emojis for formatting
The description now accurately represents the current state of the library after our optimization work while maintaining clarity for TradingView users.
get_max_leverage_binance(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage_bitget(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage_bitmex(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage_bybit(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage_kucoin(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage_okx(tvTicker)
Parameters:
tvTicker (string)
get_max_leverage(exchangePrefix, tvTicker)
Parameters:
exchangePrefix (string)
tvTicker (string)
get_max_leverage_for_chart()
get_max_leverage_or_default(exchangePrefix, tvTicker, defaultLev)
Parameters:
exchangePrefix (string)
tvTicker (string)
defaultLev (int)
指标和策略
kaka 谈趋势The Exponential Moving Average (EMA) strategy is a popular technical analysis tool used in trading to smooth price data over a specific time period. The EMA gives more weight to recent prices, making it more responsive to recent price changes compared to the Simple Moving Average (SMA).
9:30 AM 1-Minute Open HighlightThis script highlights the 1st 1 min candle of the NY session (9:30 AM candle). This area can be used for retests, entries, targets, etc. I will continue making updates to this. This script allows you to highlight the shaded box to the color of your choosing, choose how many days the first 1 minute candle will be highlighted, as well as other customizable features. Please let me know if you have any suggestions. Thanks.
KT_Global Bond Yields by CountryGlobal Bond Yields Indicator Summary
The Global Bond Yields by Country indicator, developed for Trading View (Pine Script v5), provides a comprehensive tool for visualizing and analyzing government bond yields across multiple countries and maturities. Below are its key features:
Features
Country Selection: Choose from 20 countries, including the United States, China, Japan, Germany, United Kingdom, and more, to display their respective bond yields.
Multiple Maturities: Supports 18 bond maturities ranging from 1 month to 40 years, allowing users to analyze short-term to long-term yield trends.
Customizable Display:
Toggle visibility for each maturity (1M, 3M, 6M, 1Y, 2Y, 3Y, 4Y, 5Y, 6Y, 7Y, 8Y, 9Y, 10Y, 15Y, 20Y, 25Y, 30Y, 40Y) individually.
Option to show or hide all maturities with a single toggle for streamlined analysis.
10Y-2Y Yield Spread: Plots the difference between 10-year and 2-year bond yields, a key indicator of yield curve dynamics, with an option to enable/disable.
Zero Line Reference: Displays a dashed grey horizontal line at zero for clear visual reference.
Color-Coded Plots: Each maturity is plotted with a distinct color, ranging from lighter shades (short-term) to darker shades (long-term), for easy differentiation.
Country Label: Displays the selected country's name as a large, prominent label on the chart for quick identification.
Error Handling: Alerts users if an invalid country is selected, ensuring robust operation.
Data Integration: Fetches bond yield data from Trading View's database (e.g., TVC:US10Y) with support for ignoring invalid symbols to prevent errors.
This indicator is ideal for traders and analysts monitoring global fixed-income markets, yield curve shapes, and cross-country comparisons.
WarrIA Pro v4.0 - Whales Behavior Simulator# 🐋 WarrIA Pro V.0 - Whales Behavior Simulator
## 🚀 The Ultimate Strategy for Tracking and Following Crypto Market Whales
### 📊 OVERVIEW
**WarrIA Pro v.0 - Whales eresistance, VWAP, and POC
#### 4. **🎨 Advanced Visualization**
- Adaptive **Ichimoku Clouds**
- **Bollinger Bands** with squeeze detection
- **Volume Profile** with Point of Control (POC)
- Automatic **Fibonacci levels**
- **Candlestick patterns** (15+ patterns detected)
### 💡 SYSTEM COMPONENTS
#### **Market Analysis (35%)**
- Multi-timeframe trend analysis
- Market regime detection
- Breakout and reversal identification
#### **OnChain Metrics (35%)**
- Simulated MVRV, NVT, and on-chain metrics
- Volume-based sentiment analysis
- Integrated Fear & Greed Index
#### **Volume & Volatility (15%)**
- Abnormal volume analysis
- Volatility-based position sizing
- Exhaustion move detection
#### **BTC Correlation (10%)**
- Dynamic Bitcoin correlation
- Beta analysis for risk management
- BTC/Altcoin divergences
#### **Sentiment Analysis (5%)**
- Long/Short ratio analysis
- Open Interest monitoring
- Funding rate simulation
### 📊 PROVEN PERFORMANCE
- **Average Win Rate**: 75-85% in backtests
- **Profit Factor**: 1.5-2.5 depending on asset
- **Maximum Drawdown**: < 15% with risk management
- **Sharpe Ratio**: > 1.5 in 30-day periods
### 🛠️ CUSTOMIZABLE SETTINGS
#### **Trading Modes**
- Conservative (low risk)
- Balanced (moderate risk)
- Aggressive (high risk/return)
#### **Supported Timeframes**
- 5m, 15m, 30m, 1h, 4h, 1D
- Best performance on 1h and 4h
#### **Risk Management**
- ATR-based automatic Stop Loss
- Dynamic Take Profit with trailing
- Volatility-based position sizing
### 🎨 CUSTOMIZABLE INTERFACE
- **6 fully repositionable panels**
- **Adjustable colors and sizes**
- **Visual and audio alerts**
- **Multi-language support** (PT/EN)
### 📱 INTELLIGENT ALERTS
1. **Long/Short Entry** with high confluence
2. **Whale Activity** detected
3. **Stop Hunt** in progress
4. **RSI/MACD Divergences**
5. **Important pattern breakouts**
6. **Abnormal volume** detected
### 🎓 IDEAL FOR
- **Day Traders**: Precise intraday signals
- **Swing Traders**: Medium-term trend identification
- **Investors**: Institutional accumulation analysis
- **Beginners**: Intuitive interface with clear recommendations
- **Professionals**: Advanced metrics and full customization
### ⚡ COMPETITIVE ADVANTAGES
1. **Market-unique** whale behavioral analysis
2. **Proprietary AI** not available in other indicators
3. **Integrated backtesting** with real-time statistics
4. **Continuous support** and regular updates
5. **Exclusive Discord community**
### 🔧 REQUIREMENTS
- TradingView Pro, Pro+, or Premium
- Works on all markets (Crypto, Forex, Stocks)
- Optimized for Bitcoin and top 20 cryptocurrencies
### 💬 SUPPORT & COMMUNITY
- Exclusive Discord for users
- Detailed video tutorials
- Pre-configured settings for different markets
- Monthly updates with improvements
### ⚠️ IMPORTANT DISCLAIMERS
- Past results do not guarantee future performance
- Always use appropriate risk management
- This is an educational tool and does not constitute financial advice
- Test on demo account before using real capital
### 🏆 WARRANTY
- 30-day trial period
- Unlimited technical support
- Free updates for 1 year
---
**🔥 Join hundreds of traders already successfully following the whales!**
**💎 WarrIA Pro v.0 - Where Artificial Intelligence meets Smart Money**
---
*Version 0 | Last update: September 2025*
*© 2025 WarrIA Trading Systems - All rights reserved*
Custom Trade Checklist by [YSFX]# Custom Trade Checklist: Your On-Chart Trading Co-Pilot
## Overview
Ever taken a trade based on impulse, only to realize you forgot a key step in your analysis? The Custom Trade Checklist is a simple yet powerful on-chart utility designed to help you remain disciplined and consistent with your trading strategy.
By externalizing your trading plan into a visible, interactive checklist, you can reduce emotional decision-making and systematically verify your criteria before entering or exiting a trade. This tool acts as your personal co-pilot, ensuring you follow your rules on every single trade.
## Key Features
✅ Fully Customizable Rules: Define up to 10 unique checklist items tailored to your specific trading strategy. Examples include "Market Structure Aligned?", "RSI Oversold?", "News Events Checked?", or "Risk/Reward > 2:1?".
⚪ Dynamic Status Tracking: Use a simple dropdown menu in the settings to mark each rule with intuitive symbols like:
✅ / ✓ - Completed / True
❌ / ✕ - Failed / False
🟡 - Pending / Caution
⚪ - Neutral / Not Checked
And many more for complete flexibility.
📋 Clean & Minimalist Display: The checklist is presented in a clean, unobtrusive table that can be positioned in any corner of your chart, ensuring it provides guidance without cluttering your analysis.
⚙️ Flexible Configuration:
Choose the maximum number of entries to display.
Optionally hide disabled checklist items to keep your view focused on what's active.
Customize the table title to match your strategy (e.g., "Pre-Trade Checklist", "Swing Trade Rules").
🎨 Complete Color Control: Personalize every aspect of the table's appearance. You can independently set the colors for the title, text, background, border, and each individual status symbol to perfectly match your chart's theme.
## How to Use
Add the Indicator to your chart.
Open the Settings Panel by clicking the gear icon (⚙️) on the indicator.
Define Your Rules:
Go through Entry 1 to Entry 10.
For each rule you want to use, check the box to enable it.
In the text field, write your rule (e.g., "Price above 200 EMA").
Update Your Status: Before placing a trade, go back into the settings and update the status dropdown for each rule based on your analysis.
Customize Appearance:
Under the "General" tab, change the table title and position.
Under the "Colors" tab, adjust the colors to your liking.
## Who Is This For?
This tool is perfect for:
Discretionary Traders who need to enforce a consistent set of rules.
New Traders looking to build good habits and internalize their trading plan.
Systematic Traders who want a final pre-flight check before executing a trade.
Anyone working on improving their trading psychology and reducing impulsive actions.
This indicator does not generate signals or trading advice; it is a utility to support the trader's own process and discipline. We hope it helps you achieve greater consistency in your trading journey!
Arcane Concepts IndicatorThis script is for my arcane model which focused on psychological level and IRL and ERL
Premarket + Previous Day High/LowIt's a simpler indicator designed for day traders to save time when drawing lines for premarket and the previous day.
Premarket + Previous Day High/LowThis is a simple indicator for day traders, specifically designed to save time for drawing lines for pre-market and the previous day for technical analysis.
3 Velas alejadas de EMA4 (1m) — Reversiónes una script de ema de 4 que sube o baja asdasdasdadadasdasdadasd
回撤再入场引擎This is a long-only, counter-trend strategy that aims to buy dips in a medium-term downtrend. The entry logic is based on a confluence of four filters:
1. **Trend Filter:** The price must be trading below the 60-period Simple Moving Average (SMA).
2. **Oversold Condition:** The WaveTrend Oscillator must first dip below -60 and then recover above -55.
3. **Momentum Confirmation:** The MACD must show sustained bullish momentum for at least 2 bars.
4. **Re-entry Filter:** A new trade is only allowed if the price is at least a certain percentage lower than the last trade's exit price.
The exit is based on a fixed Take Profit target. This version does not include a stop-loss.
ROC -> PROFABIGHI_CAPITAL🌟 Overview
This ROC → PROFABIGHI_CAPITAL implements a streamlined Rate of Change momentum indicator for clear trend direction analysis and momentum strength assessment.
It provides Rate of Change calculation with configurable period settings , Dynamic color-coded visualization with green for positive momentum and red for negative momentum , and Zero reference line for clear momentum direction identification for fundamental momentum analysis and trend confirmation.
🔧 Momentum Analysis Architecture
- Professional Rate of Change implementation focusing on percentage price changes over specified periods for momentum measurement
- Period Configuration Framework with adjustable lookback period using 14-period default for balanced momentum sensitivity
- Minimum Value Protection ensuring period input accepts only values of 1 or greater for mathematical validity
- Separate Panel Display using overlay = false for dedicated momentum analysis window below price chart
- Simple Input Interface providing single parameter control for easy configuration and optimization
📊 ROC Calculation Engine
- Pine Script ROC Function utilizing built-in ta.roc calculation for accurate percentage change measurement over specified periods
- Close Price Source using closing prices as standard input for momentum calculation providing consistent trend analysis
- Percentage Change Formula calculating ((current close - close N periods ago) / close N periods ago) × 100 for standardized momentum measurement
- Period-Based Analysis measuring momentum over user-defined lookback period for flexible timeframe adaptation
- Real-Time Updates providing current momentum readings with each new bar for immediate trend assessment
🎨 Visual Representation Framework
- Dynamic Color Coding System using green coloring for positive ROC values indicating upward momentum and red coloring for negative values showing downward momentum
- Clear Visual Distinction providing immediate visual feedback on momentum direction through intuitive color scheme
- Line Weight Enhancement using linewidth = 2 for prominent momentum line display ensuring clear trend identification
- Zero Reference Line displaying horizontal dashed gray line at zero level for momentum direction baseline reference
- Professional Chart Integration implementing clean visual design with standard color conventions for institutional analysis
📈 Momentum Analysis Applications
- Trend Direction Confirmation identifying positive ROC values as bullish momentum and negative values as bearish momentum
- Momentum Strength Assessment measuring momentum magnitude through ROC value extremes for trend intensity evaluation
- Divergence Analysis comparing price action with ROC direction for potential reversal signal identification
- Overbought/Oversold Detection using extreme ROC values for potential mean reversion opportunities
- Trend Continuation Validation confirming sustained momentum through consistent ROC direction for trend following strategies
- Entry and Exit Timing utilizing ROC zero-line crosses and directional changes for position management decisions
⚙️ Configuration Parameters
- ROC Period Setting controlling lookback period for momentum calculation with 14-period default providing balanced sensitivity
- Period Optimization Range supporting values from 1 to unlimited for different analytical timeframes and market conditions
- Short-Term Analysis using periods 1-7 for quick momentum changes and scalping applications
- Medium-Term Analysis utilizing periods 8-21 for swing trading and intermediate trend analysis
- Long-Term Analysis employing periods 22+ for position trading and major trend identification
- Market Adaptation adjusting period length based on asset volatility and trading strategy requirements
🔍 Technical Implementation
- Mathematical Accuracy using Pine Script's built-in ROC function ensuring proper percentage change calculations
- Computational Efficiency implementing streamlined code structure for optimal performance and minimal resource usage
- Error Prevention using minimum value constraints preventing invalid period inputs and calculation errors
- Real-Time Processing providing immediate momentum updates with each new price bar for current market assessment
- Clean Code Architecture maintaining simple, readable structure for easy modification and optimization
- Professional Standards following Pine Script best practices for reliable indicator performance
📊 Trading Applications
- Momentum Confirmation validating trend direction through positive or negative ROC readings for directional bias
- Zero-Line Strategy using ROC crosses above and below zero for basic momentum trading signals
- Extreme Reading Analysis identifying unusually high or low ROC values for potential reversal opportunities
- Multi-Timeframe Analysis applying different ROC periods across timeframes for comprehensive momentum assessment
- Divergence Trading comparing price peaks/troughs with ROC peaks/troughs for reversal signal generation
- Filter Integration combining ROC with other indicators for enhanced signal validation and trade confirmation
✅ Key Takeaways
- Streamlined Rate of Change implementation providing essential momentum analysis through percentage price change calculation
- Dynamic color-coded visualization offering immediate momentum direction identification through green/red color scheme
- Configurable period settings enabling adaptation to different trading styles and market timeframes
- Zero reference line providing clear momentum baseline for directional bias and signal generation
- Professional implementation using Pine Script best practices for reliable performance and easy optimization
- Fundamental momentum tool suitable for trend confirmation, divergence analysis, and basic trading signal generation
- Clean, efficient design focusing on core momentum functionality without unnecessary complexity or visual clutter
@M5V | Standard Deviation (Basic) | GCTStandard Deviation (Basic) — Patch Notes
What’s new
• Two custom sessions (A & B) only—no presets.
• Timezone-aware sessions (IANA, e.g., America/New_York, Europe/London).
• Exact width matching: SD lines span exactly from the session’s first bar to its last bar
(same as the box).
• Start/End verticals control: None, Start only, End only, or Both.
• Anchor choice: Build ranges from either Wicks or Bodies.
• Deviation style: Full (1.0× steps) or Half (0.5× steps), with adjustable count.
• Optional Equilibrium (midline).
• Global line style and box visibility toggles.
How it works (under the hood)
1. Session tracking:
• At each session start (based on your Session + Timezone) the script stores the start bar and initializes hi/lo.
• While the session is active, it updates hi/lo using Wicks or Bodies (your choice) and extends the box to the current bar.
• On session end, it records the end bar.
2. Deviation drawing:
• Computes range = high − low.
• Draws symmetric SD bands above/below using your Full/Half setting and count.
• All SD lines are drawn from start bar → end bar so they match the box width exactly.
• If Equilibrium is on, the midline (avg of high/low) is drawn across the same width.
3. Start/End lines:
• According to Start/End Lines setting, verticals are drawn at the start bar, end bar, both, or not at all—each spanning from session low to high.
Quick use
• Pick Session windows for A/B and set each Timezone.
• Choose Wicks or Bodies, Full/Half deviations, Count, Color, and whether to show
Equilibrium and Boxes.
• Set Start/End Lines to control the vertical markers.
• Optional: change Line Style (solid/dotted/dashed).
Triple-Timeframe Stochastic Alerts (Smart Filtered)multi time stochastic w/ volume.
Smart filters, volume cool off,
3 adjustable time stochastic.
volume filter
Continuous Partial Buying Signals v7.1🇬🇧 English Description: Continuous Partial Buying Signals v7.1
This indicator is built on a long-term accumulation philosophy , not a traditional buy-sell strategy. Its main purpose is to systematically increase your position in an asset you believe in by identifying significant price drops as buying opportunities. It is a tool designed for long-term investors who want to automate the "buy the dip" or "Dollar Cost Averaging (DCA)" mindset.
How It Works
The logic follows a simple but powerful cycle: Find a Peak -> Wait for a Drop -> Signal a Buy -> Wait for a New Peak.
1. Identifies a Significant Peak: Instead of reacting to minor price spikes, the indicator looks back over a user-defined period (e.g., the last 200 candles) to find the highest price. This stable peak (marked with an orange circle) becomes the reference point for the current cycle.
2. Waits for a Pullback: The indicator then calculates the percentage drop from this locked-in peak.
3. Generates Buy Signals: When the price drops by the percentages you define (e.g., -5% and -10%), it plots a "BUY" signal on the chart. It will only signal once per level within the same cycle.
4. Resets the Cycle: This is the key. If the price recovers and establishes a new significant peak higher than the previous one, the entire cycle resets. The new peak becomes the new reference, and the buy signals are re-armed, allowing the indicator to perpetually find new buying opportunities in a rising market.
How to Get the Most Out of This Indicator
* Timeframe: It is highly recommended to use this on higher timeframes (4H, Daily, Weekly) to align with its long-term accumulation philosophy.
* Peak Lookback Period:
* Higher values (200, 300): Create more stable and less frequent signals. Ideal for long-term, patient investors.
* Lower values (50, 100): More sensitive to recent price action, resulting in more frequent cycles.
* Drop Percentages: Adjust these based on the asset's volatility.
* Volatile assets (Crypto): Consider larger percentages like 10%, 20%.
* Less volatile assets (Stocks, Indices): Smaller percentages like 3%, 5%, 8% might be more appropriate.
This indicator is a tool for disciplined, emotion-free accumulation. It does not provide sell signals.
B3 – VIX + Breadth + SR + Projeção 14dA comprehensive technical analysis tool that combines volatility proxies (HV, ATR, BB Width, composite VolIndex), market breadth (internal and multi-timeframe), pivot-based support/resistance with strength and confluence, and a 14-day linear regression projection with confidence bands. Designed to provide a holistic view of trend, risk, and key price levels for swing and medium-term trading decisions.
مؤشر الدعم/المقاومة + أهداف + ملصقات//@version=5
indicator("مؤشر الدعم/المقاومة + أهداف + ملصقات", overlay=true)
// === الإعدادات ===
length = input.int(20, "عدد الشموع لحساب الدعم/المقاومة")
numTargets = input.int(3, "عدد الأهداف", minval=1, maxval=5)
// === حساب الدعم والمقاومة ===
resistance = ta.highest(high, length)
support = ta.lowest(low, length)
dist = resistance - support
// === خطوط الدعم والمقاومة ===
var line resLine = na
var line supLine = na
var label resLbl = na
var label supLbl = na
if barstate.isfirst
resLine := line.new(bar_index, resistance, bar_index+1, resistance, extend=extend.right, color=color.yellow, width=2)
supLine := line.new(bar_index, support, bar_index+1, support, extend=extend.right, color=color.yellow, width=2)
resLbl := label.new(bar_index, resistance, "مقاومة / دخول كول", style=label.style_label_down, color=color.green, textcolor=color.white)
supLbl := label.new(bar_index, support, "دعم / دخول بوت", style=label.style_label_up, color=color.red, textcolor=color.white)
else
line.set_xy1(resLine, bar_index, resistance)
line.set_xy2(resLine, bar_index+1, resistance)
line.set_xy1(supLine, bar_index, support)
line.set_xy2(supLine, bar_index+1, support)
label.set_x(resLbl, bar_index)
label.set_y(resLbl, resistance)
label.set_text(resLbl, "مقاومة / دخول كول " + str.tostring(resistance, format.mintick))
label.set_x(supLbl, bar_index)
label.set_y(supLbl, support)
label.set_text(supLbl, "دعم / دخول بوت " + str.tostring(support, format.mintick))
// === أهداف فوق المقاومة (كول) ===
var line longTargets = array.new_line()
var label longLabels = array.new_label()
if barstate.isfirst
for i = 1 to numTargets
tLine = line.new(bar_index, na, bar_index+1, na, extend=extend.right, color=color.green)
tLbl = label.new(bar_index, na, "", style=label.style_label_left, color=color.green, textcolor=color.white)
array.push(longTargets, tLine)
array.push(longLabels, tLbl)
for i = 0 to array.size(longTargets)-1
t = resistance + dist * (i+1)
l = array.get(longTargets, i)
lb = array.get(longLabels, i)
line.set_xy1(l, bar_index, t)
line.set_xy2(l, bar_index+1, t)
label.set_x(lb, bar_index)
label.set_y(lb, t)
label.set_text(lb, "هدف " + str.tostring(i+1) + " " + str.tostring(t, format.mintick))
// === أهداف تحت الدعم (بوت) ===
var line shortTargets = array.new_line()
var label shortLabels = array.new_label()
if barstate.isfirst
for i = 1 to numTargets
tLine = line.new(bar_index, na, bar_index+1, na, extend=extend.right, color=color.red)
tLbl = label.new(bar_index, na, "", style=label.style_label_left, color=color.red, textcolor=color.white)
array.push(shortTargets, tLine)
array.push(shortLabels, tLbl)
for i = 0 to array.size(shortTargets)-1
t = support - dist * (i+1)
l = array.get(shortTargets, i)
lb = array.get(shortLabels, i)
line.set_xy1(l, bar_index, t)
line.set_xy2(l, bar_index+1, t)
label.set_x(lb, bar_index)
label.set_y(lb, t)
label.set_text(lb, "هدف " + str.tostring(i+1) + " " + str.tostring(t, format.mintick))
ICT Fair Value Gap (FVG) DetectorFair Value Gap (FVG) Indicator
Purpose: Highlights price gaps between three consecutive candles, which signal areas of imbalance that may later act as support or resistance.
How It Works: The script looks for a gap between the high of two bars ago and the low of the current bar (bullish FVG) or the low of two bars ago and the high of the current bar (bearish FVG).
Visuals: These gaps are marked as transparent boxes on the chart, extended to the right until they are "filled" or mitigated by price returning into the gap.
Customization: You can adjust which gaps show, their colors, thresholds, and other display options.
Bionic Candlestick IndikatorBionic Candlestick Indicator for TradingViewOverviewThe Bionic Candlestick Indicator is a customizable Pine Script Version 6 indicator designed for TradingView. It visually highlights key candlestick patterns to identify bullish, bearish, and Doji signals, helping traders analyze market trends and potential reversals. The indicator offers flexible display options, allowing users to plot custom candlesticks or color the chart background based on detected patterns, with optimized performance for large charts.FeaturesCandlestick Patterns:Strong Bullish: Close = High and Close > Open (e.g., strong buying pressure).
Strong Bearish: Close = Low and Close < Open (e.g., strong selling pressure).
Bullish Pullback: Close > Open with a larger High-to-Close distance.
Bearish Pullback: Close < Open with a larger Low-to-Close distance.
Doji Patterns: Bullish Doji, Bearish Doji, Equilibrium Doji (Open = Close with balanced wicks), and Empty Doji (High = Low and Open = Close).
Customizable Colors: Choose colors for each pattern (e.g., yellow/green for bullish, blue/red for bearish, purple for Equilibrium Doji).
Display Options:Plot custom candlesticks over the chart or color the background.
Toggle visibility of specific patterns (bullish, bearish, Doji, Equilibrium).
Performance Optimization: Limits calculations to a user-defined number of bars (max_bars) to reduce lag on large charts.
How to UseAdd the Indicator:Copy the provided Pine Script code into TradingView’s Pine Editor.
Click “Add to Chart” to apply the indicator.
Adjust Visual Order:To ensure the indicator displays correctly, go to the indicator list in TradingView, click the gear icon next to “Bionic Candlestick Indikator,” and select “Visual Order > Bring to Front.”
If “Draw Above Chart” is enabled, hide the chart’s default candlesticks:Go to Chart Settings > Symbol > uncheck “Candles” to avoid overlap.
Configure Settings:Open the indicator’s settings and adjust the following:Bullish/Bearish/Doji/Equilibrium Signals: Enable or disable specific candlestick patterns.
Candlestick Colors: Select colors for each pattern (e.g., yellow, green, blue, red, purple, gray).
Draw Above Chart: Check to plot custom candlesticks; uncheck to color the chart background.
Maximum Bars to Calculate: Set to a value like 2000–5000 to limit calculations and improve performance (set to 0 for no limit).
Save the settings.
Interpretation:Bullish Signals (Yellow/Green): Indicate potential buying opportunities or upward momentum.
Bearish Signals (Blue/Red): Suggest selling pressure or downward momentum.
Doji Patterns (Dark Green/Dark Red/Purple/Gray): Highlight market indecision or potential reversals.
Combine with other indicators (e.g., RSI, moving averages) for confirmation.
Performance Tips:Set “Maximum Bars to Calculate” to a lower value (e.g., 2000) to reduce lag on charts with many bars.
Use TradingView’s Pine Profiler to identify performance bottlenecks.
Test on smaller timeframes or chart ranges to ensure smooth rendering.
NotesVisual Order: If the indicator only appears after clicking the chart, ensure it is set to “Bring to Front” in the visual order, and disable default candlesticks if plotting custom ones.
Performance: Lowering “Maximum Bars to Calculate” reduces computational load but may skip older signals. Adjust based on your chart size and needs.
Compatibility: The indicator uses Pine Script Version 6. If TradingView does not support Version 6, change @version=6 to @version=5 and retest.
Debugging: If issues persist, check for conflicts with other indicators or chart settings, and ensure the chart is refreshed.
This indicator is ideal for traders looking to visually identify key candlestick patterns with customizable options, optimized for performance on TradingView charts. For support or further customization, refer to TradingView’s documentation or community forums.
SMA - Color ShiftThis script throws down a 200-period simple moving average and paints the whole wave depending on where price is riding right now. If price is paddling above the line 🟢, the wall glows green like you’re cruising down the face of a clean set. If price is duck-diving below 🔴, the line flashes red — danger zone, you’re getting worked. And if the candle’s smacking right on it 🟠, it lights up orange, like hanging in the impact zone deciding if you’re bailing or charging.
It’s your surf check for trend bias: one quick look and you know if the market’s pumping, dumping, or balancing right on the lip. 🌴🤙
VDMM v2 by SupersonicFXHey everyone. This is my first indicator.
It displays the (V)olumen (D)elta (M)is (M)atch candles which represents major levels on different TF.
You can adjust the settings, but in my opinion on default the indicator works perfectly fine.
I use this indicator for two forex pairs (GU/EU) ONLY! Not tested on stocks, crypto or other forex pairs.
Enjoy
Blitz Model
The Blitz indicator is a comprehensive market structure analysis tool designed specifically for the 4-hour timeframe. It identifies and visualizes key market movements including sweeps, fair value gaps (FVGs), and session-based liquidity levels.
1) Key Features :
A) Market Structure Analysis :
i) Sweep Detection: Identifies bullish and bearish sweeps of previous highs/lows.
ii) Double Purge Recognition: Detects when both bullish and bearish sweeps occur on the same candle.
iii) Fair Value Gap (FVG) Visualization: Displays imbalance zones with customizable box colors.
iV) Session-Based Analysis: Tracks Asian and London session highs/lows.
B) Multi-Timeframe Confirmations :
i) Layer 2 Validation System: Incorporates H1 and M15 timeframe confirmations.
ii) H1 Sweep Confirmations: Validates 4H signals with hourly sweep patterns.
iii) M15 Analysis: Includes both sweep and FVG confirmations from 15-minute timeframe.
C) Key Level Integration :
i) Daily 0.5 Level: Plots the midpoint of previous day's range with customizable styling.
ii) Session Liquidity: Identifies sweeps of Asian and London session extremes.
ii) FVG Interaction: Detects when sweeps occur near fair value gaps.
D) Customization Options :
i) Label Styling: Full control over label size, style, and colors for all signal types.
ii) Double Purge Customization: Separate styling options for double purge signals.
iii) Line Customization: Adjustable daily 0.5 line appearance (style, color, width).
iv) Display Controls: Toggle visibility for FVGs, labels, and confirmation history.
2) Technical Specifications
A) Timeframe Requirements :
i) Primary Timeframe: 4H only (indicator will show error on other timeframes).
ii) Multi-Timeframe Data: Analyzes H1 and M15 for confirmations.
iii) Session Times: Configurable start/end times.
B) Signal Validation Criteria :
Sweeps are validated when they occur at one or more of the following conditions:
i) FVG Zones: Price interaction with identified fair value gaps.
ii) Daily Midpoint: Proximity to the 50% level of previous day's range.
iii) Session Levels: Sweeps of Asian (19:00-01:00 NY) or London (02:00-05:00 NY) extremes.
C) Layer 2 Confirmation System :
i) H1 Confirmations (H1S): Sweep patterns on 1-hour charts within the 4H candle formation.
ii) M15 Sweep (M15S): 15-minute sweep confirmations.
iii) M15 FVG (M15F): 15-minute fair value gap formations.
3) Usage Guidelines :
A) Setup Instructions :
i) Apply to 4-hour charts only.
ii) Configure session times based on your analysis preferences.
iii) Customize label appearance and colors to match your chart theme.
iv) Enable/disable features based on your trading style.
B) Signal Interpretation :
i) Green Labels: Bullish sweeps with validation criteria met.
ii) Red Labels: Bearish sweeps with validation criteria met.
iii) Purple Labels: Double purge scenarios (both directions swept).
iv) Checkmark (✓): Indicates Layer 2 multi-timeframe confirmation present.
v) For double purge interpretations :
- Low & High means recent purge (just previous candle)
- Low & High means medium term purge (8H prior)
- Low & High means longer term purge (12H + prior)
4) Compatibility :
Max Objects: Supports up to 500 boxes and labels simultaneously.
5) Support & Updates :
This indicator represents educational concepts in market structure analysis. Users should thoroughly test and understand all signals before considering any practical application.
Disclaimer :
Always practice proper risk management. This is for educational purposes only and is not a financial advice.