XAU/USD Lot Size CalculatorThis indicator automatically calculates the optimal lot size for XAUUSD (gold) based on the level of risk the trader wants to take. It is designed for traders using MetaTrader 4 or 5 and helps adjust position size according to the specific volatility of gold. The user can set the percentage of capital they are willing to risk on a single trade, for example 1%. The indicator also takes into account the stop loss level, which can be entered in pips or in dollars, as well as the account size (balance or equity).
Based on these parameters, it calculates the exact lot size that matches the risk amount. It then displays on the chart the recommended lot size, the risk amount in dollars, the pip value for XAUUSD, and a confirmation of the stop loss level. This type of indicator is useful for maintaining disciplined risk management and avoiding position sizing errors, especially on a highly volatile asset like gold.
Temel Analiz
Non-Commercial Bias TrackerNon-Commercial Bias Tracker
Overview
The Non-Commercial Bias Tracker is a sophisticated sentiment analysis tool designed to provide traders with a clear view of the positioning of institutional speculators in the futures market. By analyzing the weekly Commitment of Traders (COT) report, this indicator helps you understand the underlying bias of large market participants for a wide range of assets, including forex, commodities, and indices.
The primary goal of this tool is to identify the prevailing trend in market sentiment and alert you to significant shifts in that trend, allowing you to align your strategy with the flow of institutional money.
Key Features
Dual Asset Analysis: Automatically detects the two assets in a trading pair (e.g., EUR and USD in EURUSD) or a single asset (e.g., GOLD) and displays their sentiment data side-by-side.
Comprehensive Data Table: A clean, customizable dashboard shows you the most critical sentiment metrics at a glance, including the current Net Position, the Change %, and the Overall Bias.
Visual Sentiment Plot: The indicator plots the primary sentiment metric and its signal line, giving you a visual representation of momentum and trend.
Clear Bias-Shift Signals: Green and red circles appear directly on the plot to highlight the exact moment the underlying sentiment momentum shifts, providing clear and timely signals.
How to Use the Indicator
Important Note: The Commitment of Traders data is released weekly. For the most accurate and meaningful signals, it is strongly recommended to use this indicator on the Weekly (W) chart timeframe.
1. The Data Table
The table in the corner of your screen is your main dashboard. Here’s what each row means:
Net Position: Shows the net difference between long (bullish) and short (bearish) contracts held by non-commercial traders. A positive number indicates a net long position; a negative number indicates a net short position.
Change %: This is the primary metric used for analysis, representing the net sentiment as a percentage.
Overall Bias: This is the final output of the indicator's analysis. It provides a clear "Long" or "Short" signal based on the current sentiment momentum. This cell is color-coded for quick interpretation (Green for Long, Red for Short).
2. The Chart Plots
Blue Line: Represents the current sentiment metric ("Change %" or "Net Position %").
Orange Line: Represents the signal line, or the average sentiment over a specific period.
Crossover Signals:
A Green Circle appears when the blue line crosses above the orange line, signaling a shift to a Long Bias.
A Red Circle appears when the blue line crosses below the orange line, signaling a shift to a Short Bias.
Settings & Customization
You can tailor the indicator to your specific needs via the Settings menu:
Data Source: Choose between "Futures Only" or the combined "Futures and Options" data.
Metric Type: Select whether to analyze the market using "Change %" (for momentum) or "Net Position %" (for conviction).
Bias Signal Line Length: Adjust the sensitivity of the crossover signals. A shorter length is faster, while a longer length provides smoother, more confirmed signals.
Style Settings: Customize the position of the data table and the color of the text to match your chart theme.
Disclaimer: This indicator is a tool for analysis and should not be considered as direct financial advice. All trading involves risk. Always use proper risk management and conduct your own due diligence before making any trading decisions.
DISEGNATORE Livelli ATR H4 v1.3 FinaleThe Drawer needed to display "ATR. St. Dev. CALCULATOR H4" output.
ATR St. Devs. CALCULATOR H4a Calculator able to create a Statistical Sample of 4h time-specific candles and their ATR Values, and projects its Standard Deviations on any timeframes chart.
Livelli Giornalieri ATRDisplays daily Open price and its ATR Value projections. Import the data from "ATR Screener"
Livelli Settimanali ATRDisplays Weekly Open price and its ATR Value projections. Import the data from "ATR Screener"
Livelli Mensili ATRDisplays monthly ATR Value projections. Use this indicator combined with "ATR Screener".
Sessioni Colorate come ScreenshotPre-Market and Post-Market Session Highlighter (US)
This script highlights the Pre-Market and Post-Market trading sessions for US stocks and indices by coloring the background directly on the chart.
Time zone: UTC
• Pre-Market: 09:00 – 13:30 UTC
• Regular Session: 13:30 – 20:00 UTC (not highlighted)
• Post-Market: 20:00 – 00:00 UTC
Useful for identifying price behavior outside regular trading hours.
JIYANS RDRBThis script is based on the ICT (Inner Circle Trader) Redelivered concepts, specifically focusing on the Rebalance principle. It automatically identifies price imbalances (Fair Value Gaps) and highlights potential rebalance zones where the market is likely to revisit before continuing its delivery. The tool helps traders spot key inefficiencies and anticipate where price may return to mitigate those gaps. Fully customizable for different timeframes, this script is designed to support precision trading aligned with ICT methodologies.
Steez's Timeframe TableSimple timeframe indicator which can assist with daily bias or draw on liquidity.
Shows all timeframes from 1 minute to 1 day.
Shows close time and if the candle is currently bearish or bullish.
EMA Crossover with DiamondsGreen diamond when 20 exponential moving average crosses over 50 exponential moving average, and shows a red diamond when 50 moving average crosses over 20 exponential moving average
Boomerang Trading Indicator# Boomerang News Trading Indicator
## Overview
The Boomerang Trading Indicator is designed to identify potential reversal opportunities following major economic news releases. This indicator analyzes the initial market reaction to news events and provides visual cues for potential counter-trend trading opportunities based on Fibonacci retracement levels.
## How It Works
### News Event Detection
- Automatically detects major news release times (NFP, CPI, FOMC, etc.)
- Analyzes the first significant price movement following news releases
- Requires minimum candle size threshold to filter out weak reactions
### First Move Analysis
The indicator employs multiple analytical methods to determine the initial market direction:
**Simple Analysis (High Confidence):**
- When the news candle has ≥70% body-to-total ratio, uses straightforward bullish/bearish classification
**Advanced Analysis (Complex Cases):**
- Volume-weighted direction analysis
- Momentum and wick pattern analysis
- Market structure and gap analysis
- Weighted voting system combining all methods
### Entry Signal Generation
Based on the "boomerang" concept where markets often reverse after initial news reactions:
**For Bullish First Moves (Price Up Initially):**
- Generates SHORT entry signals when price retraces to 1.25-1.5 Fibonacci levels
- Visual: Red triangles above price bars
**For Bearish First Moves (Price Down Initially):**
- Generates LONG entry signals when price retraces to -0.25 to -0.5 Fibonacci levels
- Visual: Green triangles below price bars
## Key Features
### Visual Elements
- **Fibonacci Levels**: Displays key retracement levels based on the initial reaction range
- **Entry Zones**: Clear visual marking of optimal entry areas
- **Direction Arrows**: Shows the initial market reaction direction
- **Target Levels**: Displays profit target zones at 50% and 100% retracement levels
### Information Panel
Real-time display showing:
- Current setup status
- First move direction and body percentage
- Recommended trade direction
- Key price levels (reaction high/low)
- Profit targets with historical success rates
### Alert System
- Pre-news warnings (customizable timing)
- News event notifications
- Setup activation alerts
- Entry signal notifications
### Success Tracking
- Visual "BOOM!" animations when targets are hit
- Target 1 (50% level): ~95% historical success rate
- Target 2 (Main target): ~80% historical success rate
## Configuration Options
### Time Settings
- News release hour and minute (customizable for different events)
- Pre-news alert timing
- Setup duration (default 60 bars after news)
### Fibonacci Levels
- Adjustable retracement percentages
- Customizable target levels
- Mid-level importance weighting
### Risk Management
- Minimum reaction candle size filter
- Maximum risk point setting
- Visual risk/reward display
### Display Options
- Toggle Fibonacci level visibility
- Toggle target level display
- Toggle animation effects
- Customizable alert preferences
## Applicable News Events
This indicator is designed for high-impact economic releases:
- Non-Farm Payrolls (NFP) - First Friday, 8:30 AM ET
- Consumer Price Index (CPI) - Monthly, 8:30 AM ET
- Producer Price Index (PPI) - Monthly, 8:30 AM ET
- Gross Domestic Product (GDP) - Quarterly, 8:30 AM ET
- FOMC Interest Rate Decisions - 8 times yearly, 2:00 PM ET
## Trading Strategy Framework
### Core Principle
Markets often overreact to news initially, then reverse toward more rational price levels. This "boomerang effect" creates short-term trading opportunities.
### Entry Strategy
1. Wait for significant initial reaction (>10 points minimum)
2. Identify the initial direction using multi-factor analysis
3. Trade opposite to the initial reaction when price reaches sweet spot zones
4. Use Fibonacci retracement levels as entry triggers
### Risk Management
- Always use appropriate position sizing
- Set stop losses beyond recent swing levels
- Consider market volatility and news importance
- Monitor for setup invalidation signals
## Important Notes
### Educational Purpose
This indicator is for educational and analytical purposes. Users should:
- Thoroughly test strategies in demo environments
- Understand the risks involved in news trading
- Consider market conditions and volatility
- Use proper risk management techniques
### Market Considerations
- High volatility during news events increases both opportunity and risk
- Spreads may widen significantly during news releases
- Different brokers may have varying execution conditions
- Economic calendar timing may vary between sources
### Limitations
- Past performance does not guarantee future results
- Market conditions can change, affecting strategy effectiveness
- News events may have unexpected outcomes affecting normal patterns
- Technical analysis should be combined with fundamental analysis
## Version Information
- Compatible with TradingView Pine Script v5
- Designed for 1-minute timeframe optimal performance
- Works on major forex pairs, indices, and commodities
- Regular updates based on market condition changes
---
**Disclaimer:** This indicator is provided for educational purposes only. Trading involves substantial risk and is not suitable for all investors. Past performance is not indicative of future results. Users should conduct their own research and consider their financial situation before making trading decisions.
Fair Value Gaps (FVG)Overview:
This indicator detects Fair Value Gaps (FVGs) – also known as Liquidity Voids – which are three-candle price inefficiencies formed when the market aggressively moves in one direction, leaving an imbalance between buyers and sellers. These zones often act as magnetic areas where prices return to "fill the gap" before continuing their trend.
🔍 Core Logic:
A bullish FVG is identified when the high of candle 1 (two bars back) is below the low of candle 3 (current bar).
A bearish FVG is identified when the low of candle 1 (two bars back) is above the high of candle 3 (current bar).
A minimum gap size is required (defined in points or as a multiple of ATR).
Each detected FVG is drawn as a rectangle, extending forward in time until mitigation.
🛠️ Key Features:
✅ Bullish & Bearish Detection: Option to show/hide each type.
📏 Minimum Gap Filter: Define minimum size in absolute points or ATR-based.
📈 Trend Filter: Enable EMA-based directional filtering to align FVGs with the trend.
🧠 Mitigation Logic: Supports four modes:
None: Gaps remain visible regardless of price action.
Partial: Mitigated when the price trades within the gap.
Full: Mitigated only when the price fills the gap.
Midpoint: Mitigated once the midpoint of the gap is touched.
⏳ Lookback Control: Automatically removes old FVGs after a configurable number of bars.
🎯 Use Cases:
Entry confirmation: Price returning to an FVG in line with the higher-timeframe trend may signal a high-probability trade.
Liquidity mapping: Helps identify where institutional orders may be filled.
Confluence zones: Combine with market structure (BOS/CHOCH) or order blocks for refined entries.
📊 Customization:
Fully adjustable visuals (color, opacity) for both active and mitigated zones.
User-defined settings to fit different instruments, timeframes, or strategies.
🧠 Best Practices:
Use FVGs on 15m–1h charts with trend confirmation from higher timeframes (e.g., 4H or Daily).
Combine with market structure shifts, momentum indicators, or volume spikes for better decision-making.
In volatile markets, consider increasing the minimum gap size or ATR multiplier.
⚠️ Disclaimer:
This tool is intended for educational and analytical purposes only. It does not constitute financial advice. Always backtest and validate before trading live.
Price to Earnings (P/E) Ratio with Yearly Avgthis price to earning ratio indicator with average PE line.
average PE line can be customize for period
Price to Earnings (P/E) Ratio with Yearly Avgthis is Price to earning ratio with average PE ratio line.
Average line can be customize for duration.
Trading Sessionsthis indicator labels asia, london, and new york sessions with accurate times for trading indexes like nq, es, or ym. It gives a range from the session lows to session highs which can be used to identify liquidity grabs and price action.
Multi Horizontal Lines 1000 Bars
This indicator is not my code, I have copied this from another user and extened the lines so they go back 1000 bars for back testing.
I use this indicator to trade Crude Oil and set the horizontal lines to 20 cents increments, 0.2 is 20 cents. You can change the horizontal lines to any price distance to suit your style of trading.
My idea is when price crosses over a horizontal line I will enter a trade long or short looking to secure 20 cents.
ADT MSI TableKey Features:
1. Market Smith Methodology
Composite Rating: Combines price and volume strength
Relative Strength Rating: Measures stock performance vs benchmark
Base Pattern Detection: Identifies consolidation patterns
Breakout Signals: Detects valid breakouts with volume confirmation
2. Indian Market Adaptations
INR Currency Formatting: Displays prices in ₹, Lakhs, and Crores
Indian Benchmarks: NIFTY, SENSEX, NIFTY500 options
Market Cap Display: Formatted in Indian currency standards
Trading Hours Compatibility: Works with NSE/BSE data
3. Comprehensive Data Table
Real-time Metrics: Current price, daily change, volume analysis
Technical Indicators: MA positions, RS rating, composite rating
Performance Tracking: 3M, 6M, 12M returns
Signal Generation: BUY/SELL/HOLD recommendations
4. Visual Elements
Multiple Moving Averages: 10, 20, 50, 200 period MAs
Support/Resistance Levels: Dynamic pivot-based levels
Volume Analysis: Color-coded volume bars with surge detection
Trend Background: Color-coded background based on trend strength
Breakout Markers: Visual signals for valid breakouts
5. Customizable Parameters
Adjustable Periods: All timeframes can be modified
Table Positioning: 9 different table positions
Alert System: Customizable breakout and volume alerts
Display Options: Toggle any component on/off
6. Indian Market Specific
No Errors: Fully compatible with Indian stock data
Proper Formatting: All values in Indian currency format
Market Hours: Optimized for Indian trading sessions
Volume Calculations: Adapted for Indian market volume patterns
Global Risk Matrix [QuantAlgo]🟢 Overview
The Global Risk Matrix is a comprehensive macro risk assessment tool that aggregates multiple global financial indicators into a unified risk sentiment framework. It transforms diverse economic data streams (from currency strength and liquidity measures to volatility indices and commodity prices) into standardized Z-Score readings to identify market regime shifts across risk-on and risk-off conditions.
The indicator displays both a risk oscillator showing weighted average sentiment and a dynamic 2D matrix visualization that plots signal strength against momentum to reveal current market phase and historical evolution. This helps traders and investors understand broad market conditions, identify regime transitions, and align their strategies with prevailing macro risk environments across all asset classes.
🟢 How It Works
The indicator employs Z-Score normalization across various global macro components, each representing distinct aspects of market liquidity, sentiment, and economic health. Raw data from sources like DXY, S&P 500, Fed liquidity, global M2 money supply, VIX, and commodities undergoes statistical standardization. Several components are inverted (USDT.D, DXY, VIX, credit spreads, treasury bonds, gold) to align with risk-on interpretation, where positive values indicate bullish conditions.
This unique system applies configurable weights to each component based on selected asset class presets (Crypto Investor/Trader, Stock Trader, Commodity Trader, Forex Trader, Risk Parity, or Custom), creating a weighted average Z-Score. It then analyzes both signal strength and momentum direction to classify market conditions into four distinct phases: Risk-On (positive signal, rising momentum), Risk-Off (negative signal, falling momentum), Recovery (negative signal, rising momentum), and Weakening (positive signal, falling momentum). The 2D matrix visualization plots these dimensions with historical trail tracking to show regime evolution over time.
🟢 How to Use
1. Risk Oscillator Interpretation and Phase Analysis
Positive Territory (Above Zero) : Indicates risk-on conditions with capital flowing toward growth assets and higher risk tolerance
Negative Territory (Below Zero) : Signals risk-off sentiment with capital seeking safety and defensive positioning
Extreme Levels (±2.0) : Represent statistically significant deviations that often precede regime reversals or trend exhaustion
Zero Line Crosses : Mark critical transitions between risk regimes, providing early signals for portfolio rebalancing
Phase Color Coding : Green (Risk-On), Red (Risk-Off), Blue (Recovery), Yellow (Weakening) for immediate regime identification
2. Risk Matrix Visualization and Trail Analysis
Current Position Marker (⌾) : Shows real-time location in the risk/momentum space for immediate situational awareness
Historical Trail : Connected path showing recent market evolution and regime transition patterns
Quadrant Analysis : Risk-On (upper right), Risk-Off (lower left), Recovery (lower right), Weakening (upper left)
Trail Patterns : Clockwise rotation typically indicates healthy regime cycles, while erratic movement suggests uncertainty
3. Pro Tips for Trading and Investing
→ Portfolio Allocation Filter : Use Risk-On phases to increase exposure to growth assets, small caps, and emerging markets while reducing defensive positions during confirmed green phases
→ Entry Timing Enhancement : Combine Recovery phase signals with your technical analysis for optimal long entry points when macro headwinds are clearing but prices haven't fully recovered
→ Risk Management Overlay : Treat Weakening phase transitions as early warning systems to tighten stop losses, reduce position sizes, or hedge existing positions before full Risk-Off conditions develop
→ Sector Rotation Strategy : During Risk-On periods, favor cyclical sectors (technology, consumer discretionary, financials) while Risk-Off phases favor defensive sectors (utilities, consumer staples, healthcare)
→ Multi-Timeframe Confluence : Use daily matrix readings for strategic positioning while applying your regular technical analysis on lower timeframes for precise entry and exit execution
→ Divergence Detection : Watch for situations where your asset shows bullish technical patterns while the matrix shows Risk-Off conditions—these often provide the highest probability short opportunities and vice versa