DECODE Global Liquidity IndexDECODE Global Liquidity Index 🌊
The DECODE Global Liquidity Index is a powerful tool designed to track and aggregate global liquidity by combining data from the world's 13 largest economies. It offers a comprehensive view of financial liquidity, providing crucial insights into the underlying currents that can influence asset prices and market trends.
The economies covered are: United States, China, European Union, Japan, India, United Kingdom, Brazil, Canada, Russia, South Korea, Australia, Mexico, and Indonesia. The European Union accounts for major individual economies within the EU like Germany, France, Italy, Spain, Netherlands, Poland, etc.
Key Features:
1. Customizable Liquidity Sources
Include Global M2: You can opt to include the M2 money supply from the 13 listed economies. M2 is a broad measure of money supply that includes cash, checking deposits, savings deposits, money market securities, mutual funds, and other time deposits. (Note: Australia uses M3 as its primary measure, which is included when M2 is selected for Australia).
Include Central Bank Balance Sheets (CBBS): Alternatively, or in addition, you can include the total assets held by the central banks of these economies. Central bank balance sheets expand or contract based on monetary policy operations like quantitative easing (QE) or tightening (QT).
Combined View: If you select both M2 and CBBS, and data is available for both, the indicator will display an average of the two aggregated values. If only one source type is selected, or if data for one type is unavailable despite both being selected, the indicator will display the single available and selected component. This provides flexibility in how you define and analyze global liquidity.
2. Lead/Lag Analysis (Forward Projection):
Lead Offset (Days): This feature allows you to project the liquidity index forward by a specified number of days.
Why it's useful: Global liquidity changes can often be a leading indicator for various asset classes, particularly those sensitive to risk appetite, like Bitcoin or growth stocks. These assets might lag shifts in liquidity. By applying a lead (e.g., 90 days), you can shift the liquidity data forward on your chart to more easily visualize potential correlations and identify if current asset price movements might be responding to past changes in liquidity.
3. Rate of Change (RoC) Oscillator:
Year-over-Year % View: Instead of viewing aggregate liquidity, you can switch to a Year-over-Year (YoY%) Rate of Change (ROC) oscillator.
Why it's useful:
Momentum Identification: The ROC highlights the speed and direction of liquidity changes. Positive values indicate liquidity is increasing compared to a year ago, while negative values show it's decreasing.
Turning Points: Oscillators make it easier to spot potential accelerations, decelerations, or reversals in liquidity trends. A cross above the zero line can signal strengthening liquidity momentum, while a cross below can signal weakening momentum.
Cycle Analysis: It helps in assessing the cyclical nature of liquidity provision and its potential impact on market cycles.
This indicator aims to provide a clear, customizable, and insightful measure of global liquidity to aid traders and investors in their market analysis.
指標和策略
EMA 34/72 CrossoverThe indicator is a trend follower that changes color according to the asset's phases.
Ele está configurado para este ciclo atual do bitcoin.
Momentum Candle Detector (Full Control)To Detect Momentum Candle
Larger Body Candle than before
Larger Total Candle than before (opt)
You can modified minimum or maximum pips (body or total)
Best for Scalping Momentum Candle on XAU/USD
Need to be combined with High Volume
Pi Cycle IndicatorThe Pi Cycle Top is a timing tool used to spot Bitcoin cycle peaks. It tracks the 111-day Simple Moving Average (SMA) and twice the 350-day SMA. When the faster 111-day SMA crosses above 2× the 350-day SMA, it has historically signaled major Bitcoin tops — often within days.
Core Idea: Measures market euphoria and overheated conditions by blending price and time dynamics. Designed to catch tops when momentum peaks.
Important: High historical accuracy, but not bulletproof. Works best as a macro cycle indicator — not for precise exits.
MVRV Z-ScoreThe MVRV ratio compares Bitcoin’s market cap (current price × supply) to its realized cap (the value of all coins at the price they last moved). It shows how overheated or undervalued Bitcoin is relative to historical investor cost bases.
Core Idea: High MVRV = market likely overheated (potential top). Low MVRV = market undervalued (potential bottom). It measures market sentiment and potential risk zones.
Important: Strong historical signals, but not foolproof. Best used as a macro tool — not for timing short-term moves.
Pi Cycle Bitcoin BottomThe Pi Cycle Bottom is an on-chain indicator designed to pinpoint Bitcoin market cycle lows. It uses two moving averages: the 471-day Simple Moving Average (SMA) and 150 times the 350-day Exponential Moving Average (EMA). Historically, when these two lines cross, it has accurately signaled the bottom of major Bitcoin bear markets — often within just a few days.
Core Idea: It measures extreme downside market exhaustion by combining price and time factors to highlight periods of maximum capitulation.
Important: Like any indicator, it’s not a guarantee — just a tool. Strong historical performance, but no promises for the future.
Momentum Fusion v1Momentum Fusion v1
Overview
Momentum Fusion v1 (MFusion) is a multi-oscillator indicator that combines several components to analyze market momentum and trend strength. It incorporates modified versions of classic indicators such as PVI (Positive Volume Index), NVI (Negative Volume Index), MFI (Money Flow Index), RSI, Stochastic, and Bollinger Bands Oscillator. The indicator displays a histogram that changes color based on momentum strength and includes "FUSION🔥" signal labels when extreme values are reached.
Indicator Settings
Parameters:
EMA Length – Smoothing period for the moving average (default: 255).
Smoothing Period – Internal calculation smoothing parameter (default: 15).
BB Multiplier – Standard deviation multiplier for Bollinger Bands (default: 2.0).
Show verde / marron / media lines – Toggles the display of auxiliary lines.
Show FUSION🔥 label – Enables/disables signal labels.
Indicator Components
1. PVI (Positive Volume Index)
Formula:
pvi := volume > volume ? nz(pvi ) + (close - close ) / close * sval : nz(pvi )
Description:
PVI increases when volume rises compared to the previous bar and accounts for price percentage change. The stronger the price movement with increasing volume, the higher the PVI value.
2. NVI (Negative Volume Index)
Formula:
nvi := volume < volume ? nz(nvi ) + (close - close ) / close * sval : nz(nvi )
Description:
NVI tracks price movements during declining volume. If the price rises on low volume, it may indicate a "stealth" trend.
3. Money Flow Index (MFI)
Formula:
100 - 100 / (1 + up / dn)
Description:
An oscillator measuring money flow strength. Values above 80 suggest overbought conditions, while values below 20 indicate oversold conditions.
4. Stochastic Oscillator
Formula:
k = 100 * (close - lowest(low, length)) / (highest(high, length) - lowest(low, length))
Description:
A classic stochastic oscillator showing price position relative to the selected period's range.
5. Bollinger Bands Oscillator
Formula:
(tprice - BB midline) / (upper BB - lower BB) * 100
Description:
Indicates the price position relative to Bollinger Bands in percentage terms.
Key Lines & Histogram
1. Verde (Green Line)
Calculation:
verde = marron + oscp (normalized PVI)
Interpretation:
Higher values indicate stronger bullish momentum. A FUSION🔥 signal appears when the value reaches 750+.
2. Marron (Brown Line)
Calculation:
marron = (RSI + MFI + Bollinger Osc + Stochastic / 3) / 2
Interpretation:
A composite oscillator combining multiple indicators. Higher values suggest overbought conditions.
3. Media (Red Line)
Calculation:
media = EMA of marron with smoothing period
Interpretation:
Acts as a signal line for trend confirmation.
4. Histogram
Calculation:
histo = verde - marron
Colors:
Bright green (>100) – Strong bullish momentum.
Light green (>0) – Moderate bullish momentum.
Orange (<0) – Bearish momentum.
Red (<-100) – Strong bearish momentum.
Signals & Alerts
1. FUSION🔥 (Strong Momentum)
Condition:
verde >= 750
Visualization:
A "FUSION🔥" label appears below the chart.
Alert:
Can be set to trigger notifications when the condition is met.
2. Background Aura
Condition:
verde > 850
Visualization:
The chart background turns teal, indicating extreme momentum.
Usage Recommendations
FUSION🔥 Signal – Can be used as a long entry point when confirmed by other indicators.
Histogram:
1. Green bars – Potential long entry.
2. Red/orange bars – Potential short entry.
3. Media & Marron Crossover – Can serve as an additional trend filter.
4. Suitable for a 5-15 minute time frame
Conclusion
Momentum Fusion v1 is a powerful tool for momentum analysis, combining multiple indicators into a unified system. It is suitable for:
Trend traders (catching strong movements).
Scalpers (identifying short-term impulses).
Swing traders (filtering entry points).
The indicator features customizable settings and visual signals, making it adaptable to various trading styles.
Low Volatility Breakout Detector)This indicator is designed to visually identify potential breakouts from consolidation during periods of low volatility. It is based on classic Bollinger Bands and relative volume. Its primary purpose is not to generate buy or sell signals but to assist in spotting moments when the market exits a stagnation phase.
Arrows appear only when the price breaks above the upper or below the lower Bollinger Band, the band width is below a specified threshold (expressed in percentage), and volume is above its moving average multiplied by a chosen multiplier (default is 1). This combination may indicate the start of a new impulse following a period of low activity.
The chart background during low volatility is colored based on volume strength—the lower the volume during stagnation, the less transparent the background. This helps quickly spot unusual market behavior under seemingly calm conditions. The background opacity is dynamically scaled relative to the range of volumes over a selected period, which can be set manually (default is 50 bars).
The indicator works best in classic horizontal consolidations, where price moves within a narrow range and volatility and volume clearly decline. It is not intended to detect breakouts from formations such as triangles or wedges, which may not always exhibit low volatility relative to Bollinger Bands.
Settings allow you to adjust:
Bollinger Band length and multiplier,
Volatility threshold (in %),
Background and arrow colors,
Volume moving average length and multiplier,
Bar range used for background opacity scaling.
Note: For reliable results, it’s advisable to tailor the volatility threshold and volume/background ranges to the specific market and timeframe, as different instruments have distinct dynamics. If you want the background color to closely match the color of breakout arrows, you should set the same volume analysis period as the volume moving average length.
Additional note: To achieve a cleaner chart and focus solely on breakout signals, you can disable the background and Bollinger Bands display in the settings. This will leave only the breakout arrows visible on the chart, providing a clearer and more readable market picture.
Contrarian Crowd OscillatorEver enter a trade because it looks super bullish or bearish and immediately goes the other way?
The Contrarian Crowd Oscillator identifies dangerous market sentiment extremes by synthesizing multiple technical indicators into a single powerful contrarian signal. Stop getting trapped in crowded trades and start profiting from crowd psychology!
What This Indicator Does
This oscillator combines 6 different technical perspectives (RSI, Stochastic, Williams %R, CCI, ROC, and MFI) to measure market consensus and identify when sentiment becomes dangerously one-sided. It answers the critical question: "Is everyone thinking the same thing right now?"
Why This Works
Market psychology is predictable. When everyone becomes extremely bullish or bearish, they create unsustainable conditions:
Extreme Bullishness: No buyers left to push prices higher
Extreme Bearishness: No sellers left to push prices lower
High Consensus: Crowded trades become vulnerable to sudden reversals
This oscillator quantifies these psychological extremes and gives you the edge to trade against the crowd when they're most likely to be wrong.
PER Bands (Auto EPS)PER Bands Indicator - Technical Specification
Function
This PineScript v6 overlay indicator displays horizontal price bands based on Price-to-Earnings Ratio multiples. The indicator calculates price levels by multiplying earnings per share values by user-defined PER multiples, then plots these levels as horizontal lines on the chart.
Data Sources
The script attempts to automatically retrieve earnings per share data using TradingView's `request.financial()` function. The system first queries trailing twelve months EPS data, then annual EPS data if TTM is unavailable. When automatic retrieval fails or returns zero values, the indicator uses manually entered EPS values as a fallback.
Configuration Options
Users can configure five separate PER multiples (default values: 10x, 15x, 20x, 25x, 30x). Each band supports individual color customization and adjustable line width settings from 1 to 5 pixels. The indicator includes toggles for band visibility and optional fill areas between adjacent bands with 95% transparency.
Visual Components
The indicator plots five horizontal lines representing different PER valuation levels. Optional fill areas create colored zones between consecutive bands. A data table in the top-right corner displays current EPS source, EPS value, current PER ratio, and calculated price levels for each configured multiple.
Calculation Method
The indicator performs the following calculations:
- Band Price = Current EPS × PER Multiple
- Current PER = Current Price ÷ Current EPS
These calculations update on each bar close using the most recent available EPS data.
Alert System
The script includes alert conditions for price crossovers above the lowest PER band and crossunders below the highest PER band. Additional alert conditions can be configured for any band level through the alert creation interface.
Debug Features
Debug mode displays character markers on the chart indicating when TTM or annual EPS data is available. This feature helps users verify which data source the indicator is using for calculations.
Data Requirements
The indicator requires positive, non-zero EPS values to function correctly. Stocks with negative earnings or zero EPS will display "N/A" for current PER calculations, though bands will still plot using the manual EPS input value.
Exchange Compatibility
Automatic EPS data availability varies by exchange. United States equity markets typically provide comprehensive fundamental data coverage. International markets may have limited automatic data availability, requiring manual EPS input for accurate calculations.
Technical Limitations
The indicator cannot fetch real-time EPS updates and relies on TradingView's fundamental data refresh schedule. Historical EPS changes are not reflected in past band positions, as the indicator uses current EPS values for all historical calculations.
Display Settings
The information table shows EPS source type (TTM Auto, Annual Auto, Manual, or Manual Fallback), allowing users to verify data accuracy. The table refreshes only on the last bar to optimize performance and reduce computational overhead.
Code Structure
Built using PineScript v6 syntax with proper scope management for plot and fill functions. The script uses global scope for all plot declarations and conditional logic within plot parameters to handle visibility settings.
Version Requirements
This indicator requires TradingView Pine Script version 6 or later due to the use of `request.financial()` functions and updated syntax requirements for plot titles and fill operations.
Time HighlightHow This Works:
Time Conversion: The script converts the current time to HHMM format (e.g., 9:16 becomes 916) for easy comparison.
Timeframe Detection: It checks the current chart's timeframe:
For 1-minute charts: Exactly matches the target times
For 5-minute charts: Checks if the target time falls within the 5-minute window
For 15-minute charts: Checks if the target time falls within the 15-minute window
Highlighting: When the condition is met, it highlights the candle with a semi-transparent yellow color.
Note:
The script will work on 1-minute, 5-minute, and 15-minute timeframes only
The highlight appears on the candle that contains the specified time
The transparency is set to 70% so you can still see the candle through the highlight
You can adjust the transparency level by changing the transp parameter (0 = fully opaque, 100 = fully transparent).
make a pine script which change the color of the candle in yellow color in 1,5,15 timeframe at the time of 9:16, 9:31, 9:46
ChoCH Down/Up + Entry (Guido, matt v2.0)Choch Entry indicator Guido,Matt v2.0
This indicator has a goal to use within a LTF(lower time frame) as a buy or sell signal after a CHOCH
Candle/RSI BUY SELLWhy Use Candlesticks?
They help traders visualize price action
Used in technical analysis and price pattern recognition (e.g., Doji, Engulfing, Hammer)
Assist in determining entry and exit points
Why Traders Use RSI:
To identify potential reversal zones
To confirm trend strength
To detect divergences between price and momentum
Why Combine Candlestick Patterns with RSI?
Using Candlestick patterns together with the Relative Strength Index (RSI) enhances trading decisions by combining price action and momentum analysis.
Conclusion:
Combining RSI with Candlestick patterns allows traders to:
Confirm potential reversals
Filter false signals
Improve entry and exit timing
Make more confident and accurate decisions
How It Works:
RSI Calculation
Custom RSI is calculated manually using Wilder's smoothing technique.
MA or BB Option
User can select whether to apply a smoothing MA or Bollinger Bands to RSI (useful for visual enhancements or custom strategies).
Buy/Sell Logic
check for:
Buy when the current candle is bullish (open <= close) and the previous candle was bearish (open >= close ), AND RSI is ≥ 50.
Sell when current candle is bearish and previous was bullish, AND RSI is ≤ 50.
Plot Buy/Sell Labels
Final Verdict
code is:
Valid (no syntax errors)
Useful (combines candlestick confirmation + RSI strength)
Extendable (can add divergence, alerts, etc.)
This Timeframe 5 min : XAU
Consolidation Range with Signals (Zeiierman)█ Overview
Consolidation Range with Signals (Zeiierman) is a precision tool for identifying and trading market consolidation zones, where price contracts into tight ranges before significant movement. It provides dynamic range detection using either ADX-based trend strength or volatility compression metrics, and offers built-in take profit and stop loss signals based on breakout dynamics.
Whether you trade breakouts, range reversals, or trend continuation setups, this indicator visualizes the balance between supply and demand with clearly defined mid-bands, breakout zones, and momentum-sensitive TP/SL placements.
█ How It Works
⚪ Multi-Method Range Detection
ADX Mode
Uses the Average Directional Index (ADX) to detect low-trend-strength environments. When ADX is below your selected threshold, price is considered to be in consolidation.
Volatility Mode
This mode detects consolidation by identifying periods of volatility compression. It evaluates whether the following metrics are simultaneously below their respective historical rolling averages:
Standard Deviation
Variance
Average True Range (ATR)
⚪ Dynamic Range Band System
Once a range is confirmed, the system builds a dynamic band structure using a volatility-based filter and price-jump logic:
Middle Line (Trend Filter): Reacts to price imbalance using adaptive jump logic.
Upper & Lower Bands: Calculated by expanding from the middle line using a configurable multiplier.
This creates a clean, visual box that reflects current consolidation conditions and adapts as price fluctuates within or escapes the zone.
⚪ SL/TP Signal Engine
On detection of a breakout from the range, the indicator generates up to 3 Take Profit levels and one Stop Loss, based on the breakout direction:
All TP/SL levels are calculated using the filtered base range and multipliers.
Cooldown logic ensures signals are not spammed bar-to-bar.
Entries are visualized with colored lines and labeled levels.
This feature is ideal for traders who want automated risk and reward reference points for range breakout plays.
█ How to Use
⚪ Breakout Traders
Use the SL/TP signals when the price breaks above or below the range bands, especially after extended sideways movement. You can customize how far TP1, TP2, and TP3 sit from the entry using your own risk/reward profile.
⚪ Mean Reversion Traders
Use the bands to locate high-probability reversion zones. These serve as reference zones for scalping or fade entries within stable consolidation phases.
█ Settings
Range Detection Method – Choose between ADX or Volatility compression to define range criteria.
Range Period – Determines how many bars are used to compute trend/volatility.
Range Multiplier – Scales the width of the consolidation zone.
SL/TP System – Optional levels that project TP1/TP2/TP3 and SL from the base price using multipliers.
Cooldown – Prevents repeated SL/TP signals from triggering too frequently.
ADX Threshold & Smoothing – Adjusts sensitivity of trend strength detection.
StdDev / Variance / ATR Multipliers – Fine-tune compression detection logic.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
2 CGC EMAChecks for 2 green closes above EMA.
Sends only one buy signal when this happens initially.
Won't send another buy signal until price closes below the EMA at least once (resets).
EMA is plotted with your offset visually.
ATR Display ShorcutATR Value Display - On-Chart Volatility Monitor
Clean ATR display directly on your price chart - no extra panels needed!
This indicator displays the current Average True Range (ATR) value as a clean table overlay on your price chart, eliminating the need for a separate indicator panel below your main chart.
✨ Key Features:
On-chart display: ATR value shown directly on price chart
Customizable positioning: Choose from 4 corner positions
Clean design: Minimal, non-intrusive table format
Real-time updates: Always shows the latest ATR value
Adjustable period: Default 14-period, fully customizable
🎯 Perfect For:
Position sizing calculations
Stop-loss placement (1x, 1.5x, 2x ATR)
Volatility assessment at a glance
Clean chart setups without extra panels
Quick reference during live trading
📊 How to Use:
Add to chart
Select your preferred table position
Adjust ATR period if needed (default: 14)
The current ATR value displays automatically
💡 Pro Tip:
Use this ATR value to:
Set stop-losses at 1.5x or 2x ATR distance
Determine position size based on account risk
Compare current volatility to historical levels
Clean charts, clear data, better trading decisions.
Compatible with all timeframes and instruments. Pine Script v6.
Feel free to adjust this description to match your style or add any specific features you want to highlight!
Key Levels with Alerts
Introducing the "Key Levels with Alerts" Indicator
This powerful and fully customizable indicator for the TradingView platform helps you easily identify and monitor crucial **daily, weekly, and monthly price levels** directly on your chart. Beyond just visual representation, the indicator offers advanced alert capabilities to notify you of any price breaks at these significant areas.
Key Levels Identified by the Indicator
This indicator calculates and displays six vital price levels based on the previous day's, week's, and month's closed candles:
1. **PDH (Previous Day High):** The highest price of the previous day.
2. **PDL (Previous Day Low):** The lowest price of the previous day.
3. **PWH (Previous Week High):** The highest price of the previous week.
4. **PWL (Previous Week Low):** The lowest price of the previous week.
5. **PMH (Previous Month High):** The highest price of the previous month.
6. **PML (Previous Month Low):** The lowest price of the previous month.
Core Features
* **Visual Line Display:** Each of these six levels is plotted as a **horizontal line** on your chart. These lines start from the current candle and extend forward for a specified number of candles (defaulting to 20 candles).
* **Complete Style Customization:** For every level (PDH, PDL, PWH, PWL, PMH, PML), you can **independently customize** the line's color, width, and style (solid, dashed, dotted) directly through the indicator's settings. This feature allows you to easily differentiate between the various levels.
* **Toggleable Labels:** You can choose whether to display text labels like "PDH", "PDL", "PWH", "PWL", "PMH", "PML" at the end of each line. The style of these labels will also automatically match their corresponding line colors.
* **Line Visibility Control:** Beyond just labels, you can also independently **show or hide the lines themselves** for PDH, PDL, PWH, PWL, PMH, and PML.
* **Price Break Alerts:** This is one of the indicator's most important features. You can set up alerts for each of these levels:
* **PDH Break Alert:** Triggers when the price moves above the **Previous Day High**.
* **PDL Break Alert:** Triggers when the price moves below the **Previous Day Low**.
* **PWH Break Alert:** Triggers when the price moves above the **Previous Week High**.
* **PWL Break Alert:** Triggers when the price moves below the **Previous Week Low**.
* **PMH Break Alert:** Triggers when the price moves above the **Previous Month High**.
* **PML Break Alert:** Triggers when the price moves below the **Previous Month Low**.
* **Clear Alert Messages:** Each alert message includes the **symbol or ticker name** (e.g., ` `) so you can quickly identify which asset the alert pertains to and which level has been broken.
* **Enable/Disable Alerts:** You have the flexibility to enable or disable each PDH, PDL, PWH, PWL, PMH, and PML alert independently via the indicator's settings.
Why This Indicator Is Useful
Daily, weekly, and monthly High and Low levels often act as **key support and resistance areas**. Traders use these levels to identify potential entry and exit points, set stop-loss and take-profit targets, and understand overall market sentiment. This indicator, with its clear visualization and timely alerts, helps you effectively leverage this crucial information in your trading strategies.
Simple Monthly SeasonalityThis script helps traders quickly visualize how an asset performs month by month over a customizable historical period.
🔍 What it does:
• Calculates average monthly returns over the past N years (default: 15).
• Highlights the current month for quick context.
• Displays results in a clean 2-column table (Month | Avg % Return).
💡 Features:
• Works on any timeframe – internally pulls monthly data.
• Color-coded performance (green for positive, red for negative).
• Dynamic highlights – the current month is softly emphasized.
• Fully customizable lookback period (1–50 years).
📈 Use cases:
• Spot seasonal market trends.
• Time entries/exits based on recurring historical strength/weakness.
• Build the foundation for more advanced seasonality or macro scripts.
Just load it on any chart and see which months historically outshine the rest.
⸻
FX Fix with Adjustable TimezoneFX Fix Time Highlighter
This indicator visually highlights candlesticks at a user-defined time and timezone to help traders easily identify when the FX fix occurs. Simply set your preferred timezone and the exact time you want to mark on the chart, and the indicator will automatically highlight the corresponding candlesticks.
Ideal for forex traders who want a clear visual reference of the FX fix window, aiding in analysis of price behavior during this key market event.
Features:
Customizable timezone selection
Adjustable highlight time (hour and minute)
Automatic candlestick highlighting at the chosen time
Supports all timeframes
Use this tool to better understand market dynamics around the FX fix and improve your trading decisions.
5/20 EMA Entry + 1/5 Cross-Count ExitThis script generates entry signals whenever the 5-period EMA crosses the 20-period EMA. A “BUY” label appears when the 5 EMA moves above the 20 EMA, and a “SELL” label appears when it moves below. Once a position is taken, the script begins counting every crossover between the 1-period EMA and the 5-period EMA. As soon as the first EMA(1)/EMA(5) cross occurs after entry, the script closes the trade and plots an “EXIT BUY” or “EXIT SELL” label on that bar. This ensures that each trade is exited on the very first short-term momentum shift (1/5 EMA cross) following the initial 5/20 EMA signal.
XAU/USD Custom Levels
XAU/USD Dynamic Support & Resistance Levels
This indicator automatically draws horizontal support and resistance levels for Gold (XAU/USD) based on the current market price, eliminating the need for manual price range adjustments.
**Key Features:**
- **Dynamic Price Range**: Automatically calculates levels above and below the current price using a customizable percentage range (default 5%)
- **Multi-Tier Level System**: Four distinct level types with different visual styling:
- Major Levels (100s) - Blue, thick lines
- Sub Levels (50s) - Red, medium lines
- Sub-Sub Levels (25s) - Yellow, thin lines
- Mini Levels (12.5s) - Gray, dotted lines
- **Fully Customizable**: Adjust range percentage, step size, colors, and line history through input settings
- **Universal Compatibility**: Works at any gold price level - whether $1800, $2500, $3300 or beyond
**How It Works:**
The script centers the level grid around the current closing price and extends lines from a specified number of bars back to the right edge of the chart. The hierarchical level system helps identify key psychological price points and potential support/resistance zones commonly used in gold trading.
**Settings:**
- Price Range %: Control how far above/below current price to draw levels (1-20%)
- Level Step Size: Adjust spacing between levels (1.0-50.0)
- Bars Back: Set how far back in history to start the lines
- Color Customization: Personalize colors for each level type
Perfect for gold traders who need clean, automatically-updating support and resistance levels without manual configuration.