XAUUSD Scalping IndicatorKey Features:
Moving Averages: The script calculates two simple moving averages (SMA) for price.
Trade Signals:
Buy signals are generated when the fast MA crosses above the slow MA.
Sell signals occur when the fast MA crosses below the slow MA.
Labels: Displays "BUY" and "SELL" labels on the chart next to the respective candles.
Stop Loss and Take Profit: The script calculates these based on a 1% movement from the entry price for illustrative purposes.
Important Considerations:
You can adjust the percentage for stop loss and take profit to fit your trading strategy.
Make sure to test this indicator on the appropriate time frame (like 5-minute or 15-minute) for scalping XAUUSD.
指標和策略
Olas21 BUY SELL TREND 1. Use Only Strong Buy/Sell Signals
The script already filters for "Strong BUY" (with Supertrend support). Use only:
🚀 Strong BUY when Supertrend is downtrend (direction < 0)
☄️ Strong SELL when Supertrend is uptrend (direction > 0)
Why?
These signals are filtered and more reliable.
2. Enable Trend Confirmation: EMA Filter
Make sure you enable the EMA filter (already in the script):
plaintext
Copy
Edit
✅ Use EMA Trend Filter = True
📈 Buy only if price is above EMA200 (bull trend)
📉 Sell only if price is below EMA200 (bear trend)
This ensures you only trade with the trend.
3. Add Confirmation Indicators
Here are the top options:
Indicator Use It For Recommended Settings
RSI Avoid overbought/oversold traps RSI(14) < 70 for buy, > 30 for sell
ADX Confirm strong trend ADX > 20 or 25
MACD Confirm momentum direction MACD line > Signal line for buy
Volume Spike Confirm market interest Volume > 20-period avg volume
4. Avoid Trading in Choppy Conditions
Stay out if:
Price is sideways near EMAs
Low volume or no trend confirmation
No clear higher high / lower low structure
5. Best Timeframes for High Win Rate
Use higher timeframes for cleaner signals:
1H, 4H, 1D (especially for swing trading)
5M–15M only if scalping with strict rules and fast exits
6. Backtest and Tune Your SL/TP
Use:
SL = 0.5–1.5%
TP = 1.5–2.5%
Tight stops + quick profits = higher win rate
👉 Use the strategy.tester in TradingView and adjust these values.
🔧 Sample Confirmation Logic (Optional Additions)
You can edit the script to add confirmations like RSI or MACD:
pinescript
Copy
Edit
rsi = ta.rsi(close, 14)
rsiBuyOk = rsi < 70
rsiSellOk = rsi > 30
adx = ta.adx(14)
trendStrong = adx > 20
finalLong = longCondition and rsiBuyOk and trendStrong
finalShort = shortCondition and rsiSellOk and trendStrong
Then replace your strategy.entry conditions with:
pinescript
Copy
Edit
if finalLong
strategy.entry("Long", strategy.long)
if finalShort
strategy.entry("Short", strategy.short)
✅ Summary: Your Confirmation Checklist
Filter Confirmed?
Supertrend alignment (Strong Buy/Sell) ✅
EMA trend filter (price above/below EMA200) ✅
RSI overbought/oversold ✅
ADX showing trend strength ✅
Volume above average ✅
Crosby RatioCrosby Ratio with Z-Score Indicator (Weekly on Daily)
Overview:
The Crosby Ratio is a technical indicator used to identify potential market tops and bottoms based on price action and volatility. It is derived from a smoothed Heikin Ashi close and a moving average of that close, and then adjusted by the Average True Range (ATR) to assess the magnitude of price movements relative to volatility.
The indicator is designed to be more accurate on the weekly timeframe for identifying significant turning points, but in this version, it is displayed on the daily chart, with the Crosby Ratio values calculated from weekly data.
A Z-score is calculated based on the Crosby Ratio values. The Z-score standardizes the Crosby Ratio, allowing traders to better assess extreme market conditions.
How the Crosby Ratio is Calculated:
Heikin-Ashi Close: The indicator starts with the Heikin-Ashi close, calculated as the average of the open, high, low, and close prices.
Heikin-Ashi Close
=
Open
+
High
+
Low
+
Close
4
Heikin-Ashi Close=
4
Open+High+Low+Close
Smoothing: The Heikin-Ashi close values are then smoothed over a specified period (default length is 30 bars).
Moving Average: The indicator calculates a simple moving average (SMA) of the smoothed Heikin-Ashi closes to determine the trend.
Height Calculation: The difference between the current moving average and the previous one is used to calculate the height, which indicates price momentum.
Atan Function: The height value is then adjusted using an arctangent (atan2) function that considers both the height and the Average True Range (ATR) over the period. This gives us the Crosby Ratio, which is normalized on a scale of -180 to 180 degrees.
Weekly Data: The Crosby Ratio is calculated on the weekly timeframe (using request.security) but displayed on the daily chart for ease of analysis.
Z-Score Calculation:
The Z-score is a statistical measure that shows how far a value is from the mean in terms of standard deviations. In this indicator:
Z-Score Max = 2 and Z-Score Min = -2 are the predefined limits for the Z-score.
The Z-score is calculated linearly based on the Crosby Ratio values, with the formula:
𝑍
Score
=
𝐶
𝑟
𝑜
𝑠
𝑏
𝑦
Ratio
−
Crosby Min
Crosby Max
−
Crosby Min
×
(
Z-Score Max
−
Z-Score Min
)
+
Z-Score Min
ZScore=
Crosby Max−Crosby Min
CrosbyRatio−Crosby Min
×(Z-Score Max−Z-Score Min)+Z-Score Min
When the Crosby Ratio reaches a value of 23, the Z-score will be +2 (indicating extreme overbought conditions).
When the Crosby Ratio reaches a value of -16, the Z-score will be -2 (indicating extreme oversold conditions).
How to Read the Indicator:
Crosby Ratio Line: The line represents the value of the Crosby Ratio over time. Higher values indicate strong bullish momentum, while lower values indicate strong bearish momentum.
Z-Score Table: The Z-score is displayed in the table in the upper right corner of the chart. It helps to understand how far the current Crosby Ratio is from its predefined limits:
Z-Score > 1: The market is in a potentially overbought condition, signaling that a reversal could be near.
Z-Score < -1: The market is in a potentially oversold condition, suggesting a potential reversal or bounce.
Z-Score near 0: The market is within a neutral range, indicating no extreme conditions.
Upper and Lower Bands: The upper and lower bands represent threshold levels for the Crosby Ratio, indicating where extreme conditions might occur:
Upper Threshold (20.285): If the Crosby Ratio approaches or exceeds this level, the market could be in a strong uptrend, signaling overbought conditions.
Lower Threshold (-18.250): If the Crosby Ratio falls to or below this level, the market could be in a downtrend, signaling oversold conditions.
Interpretation:
Crosby Ratio Above Upper Threshold (20.285): This suggests the market might be in an overbought condition, and a reversal or pullback could be imminent.
Crosby Ratio Below Lower Threshold (-18.250): This indicates the market might be oversold, and a reversal or bounce could occur.
Z-Score of +2: Extreme overbought conditions (Crosby Ratio = 23).
Z-Score of -2: Extreme oversold conditions (Crosby Ratio = -16).
How to Use:
Trend Reversals: Watch for significant changes in the Crosby Ratio and Z-score to spot potential trend reversals. A Z-score near +2 or -2 could indicate an overbought or oversold market, respectively.
Confirmation of Signals: The Z-score can be used to confirm the strength of the Crosby Ratio. For example, if the Crosby Ratio shows an extreme value with a corresponding Z-score of +2 or -2, it suggests a strong overbought or oversold condition.
HONZ4 SessionsDisplaying sessions according to stock market opening times:
Stock exchanges: JPX (Tokyo), LSE (London), NASDAQ (New York).
Japan – 9:00 - 15:25 (UTC+9)
London – 8:00 - 16:30 (UTC / in summer UTC+1)
New York – 9:30 - 16:00 (UTC-5 / in summer UTC-4)
The conversion of these times to UTC as of May 2025 looks like this:
Japan – 0:00 - 6:25 (UTC)
London – 7:00 - 15:30 (UTC)
New York – 13:30 - 20:00 (UTC)
MM7This indicator shows the cross between emas in the Gold, and the number of times was a cross
Use as ur discretion
GT P&L CalculatorA simple tool to give immediate feedback as to the profitability of your trade. Enjoy!
Active Addresses Z-ScoreActive Addresses Z-Score Indicator
The Active Addresses Z-Score Indicator is a fundamental analysis tool designed to evaluate the relationship between Bitcoin network activity and its price movements over a specified period. This indicator aims to provide insights into whether the market is showing signs of increasing or decreasing interest in Bitcoin, based on its network usage and activity.
How to Read the Indicator
Orange Line (Price Z-Score):
This line represents the Z-Score of the price change over a defined period (e.g., 28 days). The Z-Score normalizes the price change by comparing it to the historical mean and standard deviation, essentially measuring how far the current price change is from the average.
A positive Z-Score indicates that the price change is above the historical average (a bullish signal), while a negative Z-Score means the price change is below the historical average (a bearish signal).
Gray Line (Active Addresses Z-Score):
This line represents the Z-Score of the change in active addresses over the same period. The Z-Score here normalizes the change in the number of active Bitcoin addresses by comparing it to historical data.
A positive Z-Score suggests that the number of active addresses is increasing more than usual, which can be a sign of increased market activity and potential interest in Bitcoin.
A negative Z-Score suggests that active addresses are decreasing more than usual, which may indicate reduced interest or usage of Bitcoin.
Upper and Lower Threshold Lines:
The upper and lower threshold lines (set by the user) act as Z-Score boundaries. If either the price Z-Score or the active address Z-Score exceeds the upper threshold, it can signal an overbought or overactive condition. Similarly, if the Z-Score falls below the lower threshold, it could indicate an oversold or underactive condition.
These thresholds are customizable by the user, allowing for flexible interpretation based on market conditions.
Indicator Calculation
Price Change Calculation:
The percentage change in the Bitcoin price over a specified lookback period (e.g., 28 days) is calculated as:
Price Change
=
Close
−
Close
Close
Price Change=
Close
Close−Close
This shows the relative price movement during the specified period.
Active Address Change Calculation:
Similarly, the percentage change in active addresses is calculated as:
Active Address Change
=
Active Addresses
−
Active Addresses
Active Addresses
Active Address Change=
Active Addresses
Active Addresses−Active Addresses
This shows the relative change in the number of active Bitcoin addresses over the same period.
Z-Score Calculation:
The Z-Score for both the price and active address changes is calculated as:
𝑍
=
X
−
𝜇
𝜎
Z=
σ
X−μ
Where:
X is the current change (price or active addresses),
μ (mu) is the mean (average) of the historical data over the lookback period,
σ (sigma) is the standard deviation of the historical data.
This Z-Score tells you how far the current value deviates from its historical average, normalized by the volatility (standard deviation).
Smoothing (Optional):
A simple moving average (SMA) is applied to smooth out the Z-Score values to reduce noise and provide a clearer trend.
What the Indicator Does
Signals of Bullish or Bearish Market Behavior:
The Z-Score of Price tells you how strong or weak the price movement is relative to its past performance.
The Z-Score of Active Addresses reveals whether more users are interacting with the Bitcoin network, which can be an indication of growing interest or market activity.
When both the price and active address Z-Scores are high, it may indicate a strong bull market, while low Z-Scores may point to a bear market or decreasing interest.
Overbought/Oversold Conditions:
The upper and lower threshold lines help you visualize when the Z-Scores for either price or active addresses have reached extreme values, signaling potential overbought or oversold conditions.
For example, if the Price Z-Score exceeds the upper threshold (e.g., +2), it might indicate that the price has risen too quickly, and a correction may be due. Conversely, if it falls below the lower threshold (e.g., -2), it may indicate a potential buying opportunity.
Important Note on Activity and Price Movements:
After Rapid Price Increases:
A sharp increase in Bitcoin’s price followed by a spike in active addresses can be interpreted as a bearish signal. High network activity after a rapid price surge might indicate that investors are taking profits or that speculative interest is peaking, potentially signaling an upcoming correction or reversal.
After Extreme Price Declines:
Conversely, high network activity after a significant price drop may indicate a bottoming signal. A surge in active addresses during a price decline could suggest increased buying interest and potential accumulation, signaling that the market may be finding support and a reversal may be imminent.
Customization and Flexibility
The lookback period (default: 28 days) can be adjusted to suit different trading strategies or time horizons.
The smoothing length (default: 7 periods) allows for smoothing the Z-Score, making it easier to detect longer-term trends and reduce noise.
The upper and lower threshold values are fully customizable to adjust the indicator’s sensitivity to market conditions.
Conclusion
The Active Addresses Z-Score Indicator combines network activity with price data to give you a deeper understanding of the Bitcoin market. By analyzing the relationship between price changes and active address changes, this indicator helps you assess whether the market is experiencing unusual activity or if Bitcoin is trending in an extreme overbought or oversold condition.
It is a powerful tool for fundamental analysis and can complement traditional technical indicators for a more comprehensive trading strategy.
FVG Candle HighlighterThis indicator highlights only the true Fair Value Gap (FVG) creator candle — the middle candle in a 3-bar FVG formation — with zero clutter.
🔹 Bullish FVG: Candle is colored if price gaps above the high two bars back
🔹 Bearish FVG: Candle is colored if price gaps below the low two bars back
✨ No boxes. No zones. Just pure, visual price-action accuracy.
🔧 Powered by Pine Script v6
🧠 Based on institutional-style FVG logic
🎯 Ideal for Smart Money / ICT / Order Block strategies
Pivot Points StandardAdvance pivot levels based on 4 hour time frame. Can use default settings for best results
ADR% & CDR% - Clean Hover View✅ What This Does:
ADR% and CDR% (Current Day Range) now show up in the Data Window (when you hover over the chart)
The chart still looks completely clean (the plots are fully transparent)
Chart scale is unaffected, because the values are typical % ranges (e.g., 1–10%)
Logarithmischer Trendkanal (sichtbar, in Preisskala + Stilwahl)3. verbesserte Version des frei konfigurierbaren Trendkanals für log Charts
VOID Directional Spike MarkerThis indicator highlights significant directional moves on the $VOID chart (NYSE USI:UVOL − DERIBIT:DVOL ) using simple visual cues:
🔼 Green up arrows when the candle closes significantly higher than it opens
🔽 Red down arrows when the candle closes significantly lower than it opens
Threshold is fully customizable (default: 15,000,000)
Ideal for spotting explosive internal shifts on the 5-minute chart during key market moments
Alerts included for both up and down spikes
Use this to track aggressive buying or selling pressure across NYSE internals and time your entries on NQ, ES, or YM with stronger conviction.
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
Moving Average Ribbon 15It is a visual analysis tool (indicator) that plots multiple moving averages (MA – Moving Average) on the TradingView platform. It allows the user to choose moving averages of different types and lengths, assign colors and display them on the chart. The selection is quite exhaustive, it does not produce buy/sell products, it only copies.
Triple BBThis is an indicator of BB (Bollinger Band) that allows you to put three standard deviations in one go.
NYBREAKOUT by FliuxStrategy Concept
This strategy captures high-probability breakout moves by defining a tight 30-minute range during low-volatility hours and trading the first clear break beyond that range with a 2:1 reward-to-risk ratio.
Key Benefits
Simplicity: Clear, time-based range and mechanical entries/exits.
Defined R:R: Automatic 2:1 target ensures consistent risk management.
Time-filtered: Trades only the initial breakout of a calm, pre-session range.
How to Use
Add to Chart: Paste the Pine Script into TradingView’s Pine Editor, then click Add to Chart.
Backtest: Open Strategy Tester to review net profit, drawdown, win rate, and profit factor.
Optimize: Adjust stop-loss offset, R:R ratio, or session window parameters to suit different instruments or volatility regimes.
IU Mean Reversion SystemDESCRIPTION
The IU Mean Reversion System is a dynamic mean reversion-based trading framework designed to identify optimal reversal zones using a smoothed mean and a volatility-adjusted band. This system captures price extremes by combining exponential and running moving averages with the Average True Range (ATR), effectively identifying overextended price action that is likely to revert back to its mean. It provides precise long and short entries with corresponding exit conditions, making it ideal for range-bound markets or phases of low volatility.
USER INPUTS :
Mean Length – Controls the smoothness of the mean; default is 9.
ATR Length – Defines the lookback period for ATR-based band calculation; default is 100.
Multiplier – Determines how wide the upper and lower bands are from the mean; default is 3.
LONG CONDITION :
A long entry is triggered when the closing price crosses above the lower band, indicating a potential upward mean reversion.
A position is taken only if there is no active long position already.
SHORT CONDITION :
A short entry is triggered when the closing price crosses below the upper band, signaling a potential downward mean reversion.
A position is taken only if there is no active short position already.
LONG EXIT :
A long position exits when the high price crosses above the mean, implying that price has reverted back to its average and may no longer offer favorable long risk-reward.
SHORT EXIT :
A short position exits when the low price crosses below the mean, indicating the mean reversion has occurred and the downside opportunity has likely played out.
WHY IT IS UNIQUE:
Uses a double smoothing approach (EMA + RMA) to define a stable mean, reducing noise and false signals.
Adapts dynamically to volatility using ATR-based bands, allowing it to handle different market conditions effectively.
Implements a state-aware entry system using persistent variables, avoiding redundant entries and improving clarity.
The logic is clear, concise, and modular, making it easy to modify or integrate with other systems.
HOW USER CAN BENEFIT FROM IT :
Traders can easily identify reversion opportunities in sideways or mean-reverting environments.
Entry and exit points are visually labeled on the chart, aiding in clarity and trade review.
Helps maintain discipline and consistency by using a rule-based framework instead of subjective judgment.
Can be combined with other trend filters, momentum indicators, or higher time frame context for enhanced results.
FVG + OB + RSI Divergence + Volume Spikes🧠 FVG + OB + RSI Divergence + Volume Spikes – Market Structure Confluence Tool
This all-in-one indicator brings together four powerful market concepts into a single script designed to help traders identify high-probability trade setups with precision and clarity:
🔍 What It Does
✅ Fair Value Gaps (FVG)
Highlights inefficiencies in price action, showing where the market may return to “rebalance.”
✅ Order Blocks (OB)
Marks key institutional footprints — bullish and bearish order blocks based on engulfing candle structures.
✅ RSI Divergence
Detects both bullish and bearish divergences between price and RSI, signaling potential reversals.
✅ Volume Spikes
Flags bars where volume significantly exceeds the average — a common footprint of smart money.
🎯 How to Use
Use this tool to spot confluences between price inefficiencies (FVG), key reversal zones (OB), momentum shifts (RSI Divergence), and institutional interest (Volume Spikes). The best setups often occur when multiple signals align — especially at key support/resistance or trend zones.
⚙️ Inputs
RSI length (for divergence)
Volume spike sensitivity (multiplier)
Lookback for Order Blocks and FVGs
⚠️ Notes
This is a non-repainting tool.
Ideal for price action, SMC, ICT, and order flow traders.
Combine with your existing strategy and higher time frame bias for best results.
🦈Liquidity Sweeps MTF«Liquidity Sweeps MTF» – Smart Tool for Identifying Key Liquidity Levels
Author ©Cancamurria | Editor ©Spunsen
🦈 Liquidity Sweeps MTF is a professional indicator that automatically detects and marks significant liquidity levels on your chart based on sweep patterns across your chosen timeframe. Perfect for traders using Price Action and Order Flow strategies.
🔹 Key Features:
Multi-Timeframe Analysis – Works on all timeframes from minutes to weekly charts
Sweep Detection Modes – Choose between classic sweeps (Regular) or wick-only extremes (Wick Only)
Customizable Display – Adjustable line styles (solid, dotted, dashed)
Smart Labels – Automatic timeframe tags showing where levels originated
Instant Alerts – Real-time notifications when new sweeps occur
🔹 How It Works:
The indicator scans historical data to identify:
Bearish Sweeps – Price rejection zones after liquidity tests
Bullish Sweeps – Areas where stop-losses were triggered before sharp rallies
Projected onto your current chart, these levels reveal institutional interest zones.
🔹 Practical Applications:
Liquidity-Based Trading – Enter positions at level retests
Breakout Filter – Distinguish genuine vs. false breakouts
Stop Placement – Set orders beyond sweep levels
🎯 Non-repainting and reliable even in volatile markets
Customize the settings to match your trading style and incorporate these levels into your strategy!