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.
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
MP Engulfing Candles UnsharpEngulfing Definition
A candle close 23.6% above or below the prior candle same direction min or max.
Basically a whale watching tool to spot stellar entries,
should you know how to use it....
London Judas Swing Indicator by PoorTomTradingThis indicator is designed to help people identify and trade the London Judas Swing by Inner Circle Trader (ICT).
UPDATES IN V2:
This is a v2 update with automatic timezone settings, there is no longer any need to adjust the time or offset for DST.
It will now also work on any chart that trades during the Asia and London sessions (20:00 - 05:00 NY Time), including crypto.
It is recommended to use this indicator on the 5 minute timeframe.
INTRODUCTION OF KEY CONCEPTS:
Swing Points are a candle patterns defining highs and lows, these are explained further down in the description in more detail. They are shown on the indicator by arrows above and below candles. They can be removed if you wish by turning their opacity to 0% in settings. Swing points are automatically removed when price trades beyond them (above swing highs, below swing lows).
The Asia Session can be set by the user, but is defined by default as 20:00 - 00:00 NY time. Lines are drawn at the high and low of the Asia Session and the Asian Range is set at midnight.
The London Session is defined as 02:00 - 05:00 NY time.
The user can also include the pre-London session (00:00 - 02:00) for detection of breakouts and Market Structure Breaks (MSBs - explained lower down in the description with examples). This is selected by default.
EXPLANATION OF INDICATOR:
During the London Session, the indicator will wait for a break of either the high or low of the Asian Range.
When this is detected, it will draw a dashed line where the breakout occurred and trigger an alert.
After the break of the Asian Range, the indicator will look for an MSB in the opposite direction, which is when price closes beyond a swing point opposing current price direction. The indicator will draw a line indicating the MSB point and trigger an alert.
Finally, the indicator will also trigger an alert when price returns to this MSB level, which is the most simple Judas Swing entry method.
The Judas swing
Example with chart for Judas Swing short setups -
Price breaks above the Asia High, no candle close is required, the indicator will then wait for price to close a candle below the last swing low.
A swing low is defined as a 3 candle pattern, with two candles on either side of the middle one having higher lows. When a candle closes below the middle candle's low, that is an MSB.
When price returns to the MSB point, the Take Profit and Stop Loss levels will appear.
When price goes to either the Stop Loss or Take Profit level, the MSB, TP and SL, lines will be removed.
After this, if price creates a new setup in the opposite direction, the indicator will also work for this, as shown in this example that occurred right after the first example
SETTINGS:
- The "Swing Point strength" can be adjusted in the settings.
Example:
For a swing low:
The default setting is 1 (one candle on each side of a middle candle has a higher low).
You can change this setting to 2, for a 5 candle pattern (two candles on each side of the middle candle have higher lows).
This can be changed to a maximum of 10. But only 1 or 2 is recommended especially on the 5 minute chart.
- ATR Length and Triangle Distance Multiplier settings are for adjusting how the swing point symbols appear on the chart.
This is to ensure triangles are not drawn over candles when price gets volatile.
The default setting is ideal for almost all market conditions, but you can play around with it to adjust to your liking.
- Alerts.
For alerts to be triggered, they must first be selected in settings.
Then you need to go on to the chart and right-click on an element of the indicator (such as the swing point symbols) and select "add alert on PTT-LJS-v2".
If after this, you change any settings on the indicator such as session times or pre-London session, you must add the alert again, and delete the old one if you wish.
Doji Candle with Horizontal Lines"Doji Candles with Lines" is a custom indicator designed to visually enhance candlestick charts by overlaying key price levels using dynamic lines. These lines may represent support/resistance, trend direction, or price action signals associated with each candle. It helps traders quickly identify market structure, trend continuation, or potential reversals.
Color Coded Volume IndicatorColor Coded Volume Indicator
Overview
Splits each bar’s total volume into estimated buy-side vs. sell-side components and displays them as stacked two-tone columns (red = sell, green = buy). Axis labels and tooltips use “K”/“M” formatting.
Features
Stacked Two-Tone Columns
Red Base : estimated sell volume (50% opacity)
Green Top : remaining buy volume (50% opacity)
Automatic K/M Formatting via format=format.volume
Zero Baseline for clean reference at zero
Positive-Only Bars (no negatives)
How It Works
True-Range Guard
Skips bars where high == low to avoid divide-by-zero.
Volume Split
BuyVol = Volume × (Close − Low) / (High − Low)
SellVol = Volume × (High − Close) / (High − Low)
Both series clamped ≥ 0.
Layered Plot
Draw semi-transparent green at full height, then overlay red sell portion.
Usage
Open TradingView’s Pine Editor
Paste in the full script
Click “Save & Add to Chart”
In the Publish dialog, title it “Color Coded Volume Indicator” and paste this description.
Interpretation
Green-dominant bars → strong buying pressure
Red-dominant bars → strong selling pressure
Equal halves → balanced activity
CANDLE KING MMC – ROS MODULE (REPEAT INTELLIGENCE)📜 Script Description – ROS Module (Repeat Intelligence)
This script is built to identify high-probability reversal areas by analyzing repeated market behavior using structured candlestick pattern logic. The detection system is grounded in the Mirror Market Concept, which emphasizes how specific formations tend to recur under similar conditions across timeframes.
It includes five key recognition modules:
RA-1: Bearish reversal following a weak-bodied candle (Negative Engulfed)
RA-2: Bullish engulfing of a potential Hanging Man
RA-3: Bullish engulfing after a Hammer
RA-4: Bearish engulfing following a Hammer
RA-5: Bearish engulfing of a Shooting Star–like structure
Each signal is based on strict parameters involving candle body size, wick-shadow ratio, and directional confirmation. Risk levels are also plotted automatically based on the structure highs/lows of the triggering formation, offering built-in stop zone references.
This tool is ideal for price action traders and analysts applying pattern repetition and structure symmetry in their strategy. It can assist in anticipating reversals without relying on traditional indicators, focusing purely on candle behavior within repeatable market sequences.
PSPPrecision Swing Point
Quarterly Theory Concept: Divergence in closing prices among closely correlated assets.
Question Mark at Specific Times5mins before 15 mins and this will giving the warming to user to pay attention to 15 mins candle to ensure trend is up or down