🤖🧠 ALGO Sniper🤖🧠 How the Script Works
The ALGO Sniper Indicator is a powerful trend-following tool designed to identify high-probability trading opportunities with precise buy and sell signals. Built on Pine Script v5, it leverages advanced trend detection and risk management features to enhance trading decisions. Below are the key mechanics of the script:
1. Advanced Trend Detection: Utilizes a smoothed range algorithm and the proprietary Algo Sniper filter to identify market trends, ensuring accurate trend direction analysis.
2. Candle-Close Signals: Generates buy and sell signals only after candle confirmation (barstate.isconfirmed), eliminating lag and ensuring reliable entries.
3. Sideways Market Filter: Includes a "No Signal in Sideways Market" option to avoid false signals during low-volatility, range-bound conditions.
4. Dynamic Stop-Loss: Offers both manual (ATR-based) and auto (20-40 pips) stop-loss options, allowing users to manage risk effectively.
5. Flexible Take-Profit: Supports manual (user-defined pips) and auto (300-800 pips) take-profit settings for customizable profit targets.
6. Visual Clarity: Plots clear buy/sell signals with "STRONG BUY" and "STRONG SELL" labels, along with dashed stop-loss and entry lines for easy trade monitoring.
7. Customizable Inputs: Provides user-friendly inputs for scan range, observation period, stop-loss offset, line colors, and thicknesses to tailor the indicator to individual preferences.
8. Alert System: Includes alert conditions for buy, sell, and take-profit events, enabling users to stay informed about market opportunities.
9. Volatility Adjustment: Adapts to market conditions using a smoothed range multiplier, ensuring robust performance across different assets and timeframes.
10. Non-Repainting Logic: Signals are generated post-candle close, preventing repainting and providing dependable trade setups.
Candlestick analysis
EMA 9 - inder singh✅ EMA 9 line with color change based on previous candle close
✅ Line thickness setting in the inputs
Hourly High-Low BoxesDraws a shaded box for each hourly period.
The top of the box is the highest price during that hour.
The bottom is the lowest price during that hour.
The left side starts at the first bar of the hour.
The right side ends just before the last bar of the hour — creating a small gap at the end.
The fill color and opacity of the boxes can be customized.
No border is shown (fully transparent border).
AlgoRanger FlowState//@version=5
indicator("AlgoRanger FlowState", overlay=true)
// === INPUTS ===
atrPeriod = input.int(10, title="ATR Period")
factor = input.float(3.0, title="Multiplier")
// === ATR & BASIC BANDS ===
atr = ta.atr(atrPeriod)
hl2 = (high + low) / 2
upperBand = hl2 + factor * atr
lowerBand = hl2 - factor * atr
// === SUPER TREND LOGIC ===
var float supertrend = na
var bool isUpTrend = true
if na(supertrend)
supertrend := hl2
else
if close > supertrend
supertrend := math.max(lowerBand, supertrend)
isUpTrend := true
else
supertrend := math.min(upperBand, supertrend)
isUpTrend := false
// === TREND REVERSAL SIGNALS ===
buySignal = isUpTrend and not isUpTrend
sellSignal = not isUpTrend and isUpTrend
// === PLOT SUPER TREND ===
plot(supertrend, title="Supertrend", color=isUpTrend ? color.green : color.red, linewidth=2)
// === PLOT COLOR-CODED BARS ===
barcolor(isUpTrend ? color.new(color.green, 0) : color.new(color.red, 0))
Buying vs Selling Pressure **Buying vs Selling Pressure**
This indicator measures and visualizes intrabar buying and selling pressure using a normalized ATR-based formula. It helps identify which side—buyers or sellers—is currently in control.
🔍 How it works:
Buying Pressure: Calculated from the distance between the close and low, adjusted by ATR.
Selling Pressure: Calculated from the distance between the high and close, also adjusted by ATR.
Histogram bars change color based on which side is stronger:
🟢 Green = Buying pressure dominant
🔴 Red = Selling pressure dominant
🔵 Blue = Potential transition or imbalance
Includes a zero line for easy reference.
This script is useful for spotting intraday momentum shifts and understanding market behavior beyond just candlestick patterns.
Sq9 Gold Scaping Chiem Tinh FX 88"This tool allows users to interactively drag and drop significant high and low price levels on the 1-minute timeframe. Based on the selected five key levels, the script automatically identifies potential entry points and suggests reasonable take-profit zones to support short-term trading strategies."
Gann Fan with Buy/Sell SignalsThis Pine Script indicator is based on W.D. Gann's theory, specifically using Gann Fan lines to identify key relationships between price and time. It automatically detects a recent pivot low and draws multiple fan lines—such as 1x1 (45°), 2x1, 1x2, and others—from that point. These angles act as dynamic support and resistance levels. The script also provides buy and sell signals based on the 1x1 angle: a buy signal is triggered when price crosses above the 1x1 line, and a sell signal when it crosses below. For the most accurate results, this indicator works best on higher timeframes such as the 1-hour, 4-hour, or daily charts, where price movements are more stable and Gann's time-price relationships have better significance. This tool is ideal for swing traders and those looking to combine price action with geometric analysis.
Gaps EnhancedThis advanced gap detection tool identifies and visualizes price gaps on trading charts, helping traders spot potential support/resistance levels and trading opportunities.
🔲 Components and Features
Visual gap boxes with directional coloring
Dynamic labels showing key price levels
Smart sorting of nearest gaps
Customizable appearance
Key Features
Gap Visualization
Colored boxes (orange for support, green for resistance)
Dashed lines marking gap boundaries
Right-aligned price labels
Smart Gap Table
Shows 5 most relevant open gaps
Sorted by proximity to current price
Displays required move percentage to fill each gap
Customization Options
Adjustable gap size threshold
Color customization
Label positioning controls
Table location settings
How To Use
Basic Interpretation
Orange boxes: Price gaped up might come back (support zones)
Green boxes: Price gaped down price might come back to close the gap (resistance zones)
The table shows how much the price needs to move to fill each gap (as percentage)
Trading Applications
Look for price reactions near gap levels
Trade bounces off support/resistance gaps
Watch for gap fills as potential trend continuation signals
Use nearest gaps as profit targets
Settings Guide
Minimal Deviation: Set minimum gap size
Max Number of Gaps: Limits how many gaps are tracked
Visual Settings: Customize colors and label positions
Table Position: Choose where the info table appears
Pro Tips
Combine with other indicators for confirmation
Watch for volume spikes at gap levels
Larger gaps often act as stronger S/R
FVG Finder [VM]FVG Finder
Overview
The FVG Finder is a powerful Pine Script indicator designed for TradingView to identify and visualize Fair Value Gaps (FVG) on price charts. Fair Value Gaps are areas where price moves quickly, leaving gaps between candles that represent potential areas of interest for traders. This indicator highlights both bullish and bearish FVGs with customizable visual elements, including shaded zones, middle lines, and boundary lines, to assist traders in spotting key levels for potential reversals or continuations.
Created by Vlad_Mind (Telegram: @Dreamer528), this indicator is highly configurable and optimized for clarity and performance, with a maximum of 500 boxes and lines to ensure smooth operation on any chart.
Features
Bullish and Bearish FVG Detection: Automatically identifies bullish (green) and bearish (red) Fair Value Gaps based on specific candlestick patterns.
Customizable Display: Option to toggle FVG zones on or off via the input settings.
Dynamic Visualization:
Shaded Zones: Highlights FVG areas with semi-transparent boxes (green for bullish, red for bearish).
Middle Lines: Draws dashed lines at the midpoint of each FVG zone for reference.
Boundary Lines: Tracks the upper (bearish) or lower (bullish) boundaries of FVGs, updating dynamically as price interacts with these levels.
Automatic Cleanup: Removes FVGs when price fully closes the gap, keeping the chart clean and relevant.
Performance Optimized: Limits the number of displayed boxes and lines to 500, ensuring smooth performance even on large datasets.
How It Works
The indicator scans for FVGs based on the following conditions:
Bearish FVG: Occurs when three consecutive bearish candles create a gap where the low of the third candle is higher than the high of the first candle.
Bullish FVG: Occurs when three consecutive bullish candles create a gap where the high of the third candle is lower than the low of the first candle.
Once detected, the indicator:
Draws a shaded box representing the FVG zone.
Adds a dashed middle line at the midpoint of the gap.
Tracks the boundary of the gap with a line that updates as price approaches or crosses it.
Deletes the FVG zone when price fully closes the gap (i.e., when the high/low of a new candle surpasses the gap's boundary).
Settings
Show FVG: Toggle to enable or disable the display of FVG zones (default: enabled).
Visual Customization
Bullish FVG Colors:
Zone: Light green (80% transparency).
Middle Line: Green (50% transparency).
Boundary Line: Blue when price interacts with the gap.
Bearish FVG Colors:
Zone: Light red (80% transparency).
Middle Line: Red (50% transparency).
Boundary Line: Blue when price interacts with the gap.
Text Labels: Each FVG zone is labeled with "FVG" in white, with adjustable text size (small by default, tiny when price interacts with the gap).
Usage
Add the FVG Finder to your TradingView chart.
Adjust the Show FVG setting to enable or disable FVG zones as needed.
Use the highlighted zones to identify potential support/resistance levels, breakout opportunities, or areas where price may return to fill the gap.
Combine with other technical analysis tools (e.g., trendlines, volume, or indicators) to confirm trading decisions.
Notes
The indicator is designed to work on any timeframe and market, but its effectiveness may vary depending on volatility and trading style.
For best performance, avoid applying the indicator to extremely large historical datasets, as it is capped at 500 boxes and lines.
Contact Vlad_Mind (Telegram: @Dreamer528) for support or feedback.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always conduct your own research and consult with a professional before making trading decisions.
Happy trading!
INDICATOR RENKO LONG/SHORT Fair Value Gap (FVG) Zones • Auto Entry & Exit Signals • Built-in Risk Management
Overview
This Pine Script® indicator automatically identifies and highlights Fair Value Gaps—price imbalances created when consecutive bars leave a “gap” between them—and offers on-chart mock entries, stop-losses, take-profits, and customizable alerts. Use it to visually spot high-probability imbalance zones, refine your entries, and maintain disciplined risk management, all without cluttering your chart.
🔍 Key Features
Dynamic FVG Detection
Scans for bullish and bearish gaps based on your lookback period and minimum size.
Automatically plots filled zones in semi-transparent green (bullish) or red (bearish).
Automated Entry & Exit Labels
BUY / SELL markers trigger when price re-enters an active FVG.
Long Exit / Short Exit markers show when your mock stop-loss or take-profit is hit.
Risk-Reward Management
Define your preferred Risk : Reward ratio (e.g. 1 : 2) and watch the script calculate targets.
Optional “Mid-Gap” entry: choose to fill at the midpoint of the gap for better average price.
Configurable Alerts
Four built-in alertconditions let you hook into TradingView alerts for:
FVG Buy
FVG Sell
Exit Long
Exit Short
⚙️ Inputs & Parameters
Setting Default Description
FVG gap lookback (bars) 2 Bars to look back when measuring gaps (min 2, max 5)
Min FVG Size (points) 2.0 Minimum gap size in price units (step 0.25)
Risk : Reward Ratio 2.0 Multiplier for target distance vs. stop-loss distance
Use Mid-Gap Entry? false If enabled, entry price = midpoint of the FVG rather than edge
📈 How to Use
Add to Chart
Copy & paste the script into TradingView’s Pine Editor (Version 6).
Adjust the inputs to match your trading style and instrument volatility.
Interpret the Zones
Green rectangles mark bullish FVGs—potential demand areas.
Red rectangles mark bearish FVGs—potential supply areas.
Follow the Labels
When price re-enters an active gap, a BUY or SELL label appears.
A Long Exit or Short Exit label appears once your mock stop or target is reached.
Set Alerts
Create alerts on any of the four conditions to receive real-time notifications.
🔔 Alerts & Automation
Use the built-in alert conditions to automate your monitoring:
FVG Buy Signal: "Fair Value Gap Buy Triggered"
FVG Sell Signal: "Fair Value Gap Sell Triggered"
FVG Exit Long: "Fair Value Gap – Long Position Exited"
FVG Exit Short: "Fair Value Gap – Short Position Exited"
⚠️ Disclaimer
This indicator is provided “as is” under the Mozilla Public License 2.0. It is intended for educational purposes and to aid in technical analysis. It is not financial advice. Always backtest and paper-trade before applying to live capital, and never risk more than you can afford to lose.
my scriptMy personal script that shows an alert if any candlestick touch or bounce up or down from 13EMA on all major tickers.
AlgoRanger TrendFlow BB//@version=5
indicator("AlgoRanger TrendFlow BB", overlay=true)
// === Input ===
length = input.int(20, title="BB Length")
src = input(close, title="Source")
mult = input.float(2.0, title="StdDev Multiplier")
// === Bollinger Bands Calculation ===
basis = ta.sma(src, length)
dev = ta.stdev(src, length)
// === Additional Lines (6 Lines Total) ===
upper2 = basis + (2 * dev)
upper1 = basis + dev
lower1 = basis - dev
lower2 = basis - (2 * dev)
// === Trend Detection ===
isUptrend = close > basis
isDowntrend = close < basis
isSideway = not isUptrend and not isDowntrend
// === Color Based on Trend ===
upperBandColor = isUptrend ? color.rgb(106, 249, 111) : isDowntrend ? color.red : color.rgb(0, 140, 255)
lowerBandColor = isUptrend ? color.green : isDowntrend ? color.red : color.rgb(0, 140, 255)
basisColor = isUptrend ? color.green : isDowntrend ? color.red : color.rgb(0, 140, 255)
upper2Color = isUptrend ? color.green : color.rgb(0, 139, 253)
upper1Color = isUptrend ? color.green : color.rgb(0, 140, 255)
lower1Color = isDowntrend ? color.red : color.rgb(0, 140, 255)
lower2Color = isDowntrend ? color.red : color.rgb(0, 140, 255)
// === Plot Bollinger Bands with 6 Lines ===
plot(upper2, title="Upper 2", color=upper2Color, linewidth=1, style=plot.style_line)
plot(upper1, title="Upper 1", color=upper1Color, linewidth=1, style=plot.style_line)
plot(basis, title="Basis", color=basisColor, linewidth=3, style=plot.style_line)
plot(lower1, title="Lower 1", color=lower1Color, linewidth=1, style=plot.style_line)
plot(lower2, title="Lower 2", color=lower2Color, linewidth=1, style=plot.style_line)
CANDLE SCRUTINY | GSK-VIZAG-AP-INDIAIndicator: CANDLE SCRUTINY | GSK-VIZAG-AP-INDIA
1. Overview
The CANDLE SCRUTINY indicator is a candle-by-candle analytical tool designed to dissect and visually represent the behavior of recent candles on a chart. It presents a concise table overlay that summarizes critical candlestick data including price movement, directional trend, volume dynamics, and strength of price sequences — all updated in real time.
2. Purpose / Trading Use Case
This tool is ideal for:
Scalpers and intraday traders needing quick real-time candle insights.
Trend analyzers who want to observe evolving price momentum.
Volume-based decision makers monitoring buyer-seller imbalance.
Traders who scrutinize candles for confirmations before entries or exits.
3. Key Features & Logic Breakdown
Candle Classification: Each candle is categorized as Bullish, Bearish, or Doji based on open-close comparison.
Move Calculation: Calculates and displays net candle move (Close - Open) for each bar.
Trend Count: Tracks the number of consecutive candles of the same type (bullish or bearish).
Sequential Move (Total SM): Aggregates move values when candles of the same type form a sequence.
Volume Breakdown: Approximates buy/sell volume ratio using candle type logic.
Delta Volume: Measures buy-sell imbalance to gauge intrabar strength.
Time Localization: Candle timestamps are shown in the user-selected timezone.
4. User Inputs / Settings
Number of Candles (numCandles): Choose how many recent candles to analyze (1–10).
Table Position (tablePos): Set to top_right by default.
Timezone Selector (tzOption): Choose from multiple global timezones (e.g., IST, UTC, NY, London) to view local candle times.
These settings let traders customize the scope and perspective of candle analysis to fit their trading region and strategy focus.
5. Visual & Plotting Elements
A floating data table appears on the chart (top-right by default), showing:
Time of candle (localized)
Type (Bullish/Bearish/Doji)
Move value with green/red background
Total SM (sequential movement) with trend-based color shading
Trend Count
Buy Volume, Sell Volume, Total Volume
Delta (volume imbalance) with color-coded strength indicator
Color coding makes it visually intuitive to quickly assess strength, direction, and sequence.
6. Effective Usage Tips
Use in 1-minute to 15-minute timeframes for scalping or momentum breakout confirmation.
Monitor Delta and Sequential Move (SM) to confirm strength behind price action.
Trend Count helps gauge sustained direction—useful for short-term trend continuation strategies.
Combine with support/resistance zones or volume profile for stronger confluence.
Great for detecting early signs of exhaustion or continuation.
7. What Makes It Unique
Combines price action + volume behavior + trend memory into one compact visual table.
Allows user-defined timezone adjustment, a rare feature in similar indicators.
Designed to give a story of the last N candles from a momentum and participation viewpoint.
Fully non-intrusive overlay—doesn't clutter chart space.
8. Alerts / Additional Features
Currently no alerts, but future versions may include:
Alert when trend count exceeds a threshold
Alert on strong delta volume shifts
Alert on back-to-back Dojis (sign of indecision)
9. Technical Concepts Used
Candlestick Logic: Bullish, Bearish, Doji classification
Volume Analysis: Approximate buy/sell split based on candle type
Color Coding: For intuitive interpretation of move, trend, and delta
Arrays & Looping Logic: Efficient tracking of trends and sequences
Timezone Handling: Uses hour(time, timezone) and minute(time, timezone) for local display
10. Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest thoroughly and use appropriate risk management when applying this or any indicator in live markets. The author is not responsible for any financial losses incurred.
黄金人民币价格(每克)v6
🟡 Title: Gold Spot Price in Chinese Yuan (per gram)
This indicator converts the XAUUSD gold spot price into Chinese Yuan per gram (CNY/g) in real-time, based on the offshore USD/CNH exchange rate.
📌 Features:
Recalculates gold price in CNY using:
CNY/g = XAUUSD × USDCNH ÷ 31.1035
Uses standard gold-to-gram conversion (1 troy ounce = 31.1035 grams)
Ideal for traders who monitor gold prices in RMB, such as arbitrage between offshore and onshore markets
📈 Data Sources:
XAUUSD: Gold spot price in USD
USDCNH: Offshore RMB exchange rate
You can use this script to track gold prices from an RMB perspective, compare against domestic benchmarks (e.g. AU9999), or monitor cross-border pricing dynamics.
ZHUZHUBLCKBKX MACDThis indicator is based on the standard Trading View MACD Indicator with added visual prompts to take the guess work out of buying and selling. Only use this indicator when you decide to get in or get out. Used in conjunction with "BLCKBOX Buying / Selling Sentiment" indicator.
💰 Profit Prophets - SMC Candle Zone Extensions with Alerts)In this script you will see zone extension boxes which alerts can be added too