Chỉ báo và chiến lược
Time+Another way of looking at time, with each time classification split into 4 parts, where you can assess in what quarter of time price moves, or does not.
20MA_Touch_LongCandle//@version=5
indicator("MA20 Touch + Big Bull Candle (Daily)", overlay=true)
// --- Inputs
maLen = input.int(20, "MA Length", minval=1)
avgLen = input.int(20, "Avg Body Lookback", minval=5)
bigMult = input.float(2.0, "Big Candle Multiplier", step=0.1)
touchMode = input.string("Touch (low <= MA)", "MA Touch Mode", options= )
nearPct = input.float(0.3, "Near % (if Near mode)", step=0.1) // 0.3% default
// --- MA
ma20 = ta.sma(close, maLen)
plot(ma20, "MA20", linewidth=2)
// --- Candle metrics
body = math.abs(close - open)
avgBody = ta.sma(body, avgLen)
// --- Conditions
isBull = close > open
isBig = body >= avgBody * bigMult
touchCond = switch touchMode
"Touch (low <= MA)" => low <= ma20 and high >= ma20 // '찍었다' 느낌(통과 포함)
=> math.abs(close - ma20) / ma20 * 100 <= nearPct
signal = isBull and isBig and touchCond
// --- Plot
plotshape(signal, title="Signal", style=shape.labelup, text="MA20 BIG", location=location.belowbar, size=size.tiny)
// --- Alert
alertcondition(signal, title="MA20 Touch + Big Bull", message="MA20 Touch + Big Bull Candle detected on {{ticker}} (Daily)")
TGA Real Historialen Based on the Publish script window on your screen, here is a concise description in English that you can use for your indicator:
"This indicator displays the historical balance of the U.S. Treasury General Account (TGA). Data is dynamically loaded from an external CSV file hosted on GitHub to ensure the history is automatically kept up to date."
Golden Cross
This indicator is designed to identify major trend reversals and entry points using a Triple Exponential Moving Average (EMA) system. It simplifies trend analysis by visually plotting three key moving averages and highlighting crossover points with distinct markers.
How it Works: This script plots three specific EMAs to track short, medium, and long-term market sentiment:
Short-Term Momentum (20 EMA): Captures immediate price action and potential pullbacks.
Medium-Term Trend (50 EMA): Acts as the primary signal line for swing trading.
Long-Term Baseline (200 EMA): Defines the overall market health (Bullish vs. Bearish territory).
Visual Guide & Colors:
💛 Yellow Line (20 EMA): The fastest moving average.
💚 Green Line (50 EMA): The medium trend line.
💙 Blue Line (200 EMA): The major trend filter.
Trading Signals: The indicator automatically plots an "X" on the chart whenever a significant crossover occurs:
Short-Term Cross (Yellow/Green "X"):
Occurs when the 20 EMA crosses the 50 EMA.
Useful for identifying early entry points or adding to positions within an existing trend.
The Golden Cross (Green/Blue "X"):
Occurs when the 50 EMA crosses the 200 EMA.
Bullish Signal: 50 EMA crosses above the 200 EMA. This is the classic "Golden Cross," often signaling the start of a long-term bull market.
Bearish Signal: 50 EMA crosses below the 200 EMA. This is the "Death Cross," often signaling the start of a long-term bear market.
Best Use:
Timeframe: Highly recommended for the Daily (1D) chart to reduce noise and capture significant market moves.
Markets: Works well on Stocks, Crypto, and Forex pairs that trend strongly.
Disclaimer: This tool is for educational purposes and trend visualization. Always use proper risk management and confirm signals with other indicators (such as Volume or RSI).
30-Candle Look-Back MarkerA simple dotted line that marks 30 candles back of historical data. On the 4 HR timeframe this equals a weeks worth of trading history.
TQ Silver / Gold (Weekly Macro)This indicator tracks the Silver / Gold ratio on a weekly basis to determine whether silver is leading gold (risk appetite returning inside metals) or gold is leading silver (a more defensive precious-metals posture).
Within the TQ Weekly Macro Framework, this indicator is designed to be used after confirming the broader macro environment using TQ Gold Trend (Weekly Macro), TQ Gold / DXY (Weekly Macro), and TQ Gold / SPY (Weekly Macro).
Why Silver / Gold matters
>When Silver / Gold rises, silver is outperforming gold — often associated with reflation, growth expectations, or broad risk appetite within precious metals.
>When Silver / Gold falls, gold is outperforming silver — often associated with defense, uncertainty, or tighter financial conditions.
>This ratio is not a timing tool — it is a regime and leadership indicator within the metals complex.
How it works (regime rules)
Using weekly data:
Compute Silver ÷ Gold
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (silver leading)
Bear: Ratio below a falling 30-week SMA (gold leading)
Neutral: Transition / range
A clear label marks the current regime.
How to use it in your system
Use after confirming:
TQ Gold Trend (Weekly Macro)
TQ Gold / DXY (Weekly Macro)
TQ Gold / SPY (Weekly Macro)
> If Silver / Gold is Bull, metals participation is broadening and silver often has more upside torque.
> If Silver / Gold is Bear, gold leadership is defensive and silver exposure may underperform.
> Neutral often signals rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis.
TQ Gold / SPY (Weekly Macro)What this indicator does
This indicator tracks the Gold/SPY ratio on a weekly basis to show whether gold is outperforming U.S. equities (risk assets). It helps you determine if the market is favoring hard money / defensive leadership vs risk-on equity leadership.
Within the TQ Weekly Macro Framework, this indicator is intended to be used after confirming gold’s primary trend using TQ Gold Trend (Weekly Macro) and its monetary backdrop using TQ Gold / DXY (Weekly Macro).
Why Gold/SPY matters
Gold can rise during equity booms and during equity stress.
The Gold/SPY ratio tells you which asset class is winning in relative terms.
Rising Gold/SPY often signals defensive leadership, shifting macro preferences, or risk repricing, especially when aligned with TQ Gold Trend (Weekly Macro).
How it works (regime rules)
Using weekly data:
Compute Gold ÷ SPY
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (gold leading equities)
Bear: Ratio below a falling 30-week SMA (equities leading gold)
Neutral: Transition / range
A clear label marks the current regime.
How to use it in your system
Use after TQ Gold Trend (Weekly Macro) and TQ Gold / DXY (Weekly Macro).
> If Gold/SPY is Bull, gold is leading risk assets — metals tend to behave stronger and more “macro-relevant.”
> If Gold/SPY is Bear, equities are winning — gold moves may be less dominant.
> Neutral usually means rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis, not short-term trading.
TQ Gold / DXY (Weekly Macro)What this indicator does
This indicator tracks the relative performance of gold versus the U.S. dollar using the Gold/DXY ratio. It helps determine whether gold’s strength is real (monetary) or merely nominal.
Why Gold/DXY matters
Gold rising with a rising dollar is not a strong signal.
Gold rising against a weakening dollar signals monetary outperformance.
This ratio filters out dollar noise and focuses on true purchasing-power strength.
How it works
The indicator calculates Gold ÷ DXY using weekly data.
A 30-week SMA is applied to the ratio.
Regimes are defined as:
Bull: Ratio above a rising 30-week SMA (gold beating the dollar)
Bear: Ratio below a falling 30-week SMA
Neutral: Transition or range-bound periods
A clear on-chart label shows the current regime.
How to use it
Use after confirming Gold Trend is Bull.
When Gold/DXY is Bull, gold has a true monetary tailwind.
When Gold/DXY is Bear, gold rallies are often fragile or dollar-driven.
Neutral readings signal consolidation or regime change.
Best timeframe
Designed for weekly charts and macro analysis.
Not intended for short-term trading signals.
Weekly macro ratio indicator comparing gold vs SPY 30 SMAWhat this indicator does
This indicator tracks the Gold/SPY ratio on a weekly basis to show whether gold is outperforming U.S. equities (risk assets). It helps you determine if the market is favoring hard money / defensive leadership vs risk-on equity leadership.
Why Gold/SPY matters
Gold can rise during equity booms and during equity stress.
The Gold/SPY ratio tells you which asset class is winning in relative terms.
Rising Gold/SPY often signals defensive leadership, shifting macro preferences, or risk repricing.
How it works (regime rules)
Using weekly data:
Compute Gold ÷ SPY
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (gold leading equities)
Bear: Ratio below a falling 30-week SMA (equities leading gold)
Neutral: Transition/range
A clear label marks the current regime.
How to use it in your system
Use after Pane 1 (Gold Trend) and Pane 2 (Gold/DXY).
If Gold/SPY is Bull, gold is leading risk assets — metals tend to behave stronger and more “macro-relevant.”
If Gold/SPY is Bear, equities are winning — gold moves may be less dominant.
Neutral usually means rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis, not short-term trading.
Weekly macro trend indicator for gold using a 30-week SMAWhat this indicator does
This indicator identifies the macro trend regime of gold using a simple, time-tested framework: the weekly price of gold relative to its 30-week simple moving average.
It is designed to answer one question only:
Is gold currently in a monetary uptrend?
How it works
The indicator uses weekly data and applies a 30-week SMA regime filter:
Bullish (Monetary Uptrend):
Gold price is above a rising 30-week SMA.
Bearish (Monetary Downtrend):
Gold price is below a falling 30-week SMA.
Neutral (Transition):
All other conditions (range-bound or early trend change).
A clear on-chart label displays the current regime.
How to use it
Use this as the first filter before analyzing silver, miners, or relative-strength ratios.
When gold is Bull, precious metals deserve attention.
When gold is Bear, most precious-metal trades lose their edge.
When gold is Neutral, patience is usually rewarded.
Best timeframe
This indicator is designed for weekly charts and macro-level decision-making.
It is not intended for day trading or short-term signals.
Who this is for:
Investors and traders focused on macro trends
Those treating gold as a monetary asset, not a short-term trade
Anyone looking for a clean, objective regime filter.
[OBJ] Customisable MAsThis Moving Averages indicator was made and is used by members of the OneBigJourney Discord
Gold And Silver Macro Dashboard A weekly, macro-focused dashboard for precious metals that tracks gold’s trend plus three key relative-strength ratios: Gold/DXY, Gold/SPY, and Silver/Gold. Uses a 30-week SMA regime filter to label each series as Bull / Neutral / Bear and provides a quick “full picture” read.
What this indicator does
This dashboard helps you read the big picture for precious metals using a simple regime framework (weekly + 30-week SMA). It combines four signals into one view:
Gold (XAUUSD) — establishes the core precious-metals trend
Gold / DXY — shows whether gold is outperforming the U.S. dollar
Gold / SPY — shows whether gold is outperforming U.S. equities (risk assets)
Silver / Gold — shows whether risk appetite is returning inside metals (silver leadership)
How it works (simple rules)
Each item is classified using the same weekly regime logic:
Bull: price/ratio is above a rising 30-week SMA
Bear: price/ratio is below a falling 30-week SMA
Neutral: everything else (transition/range)
How to use it (30-second weekly scan)
Start with Gold: if Gold is Bull, metals have a tailwind.
Confirm with Gold/DXY: Bull means gold is beating fiat.
Confirm with Gold/SPY: Bull means gold is beating risk assets.
Use Silver/Gold to size aggressiveness: Bull implies reflation/confidence and often stronger silver participation.
Best timeframe
Designed for Weekly charts. The script can force weekly calculations, so it remains consistent even if you view other timeframes.
Customization
Change tickers if your preferred feed differs (OANDA spot vs futures vs ETFs).
Toggle the plotted lines on/off and keep only the dashboard table if you want a cleaner screen.
Important note
This is a macro regime tool for orientation and context. It is not meant to time entries/exits on lower timeframes.
Default symbols are:
Gold: OANDA:XAUUSD
Silver: OANDA:XAGUSD
Dollar Index: TVC:DXY
SPY: AMEX:SPY
Core Rule: Gold tells you WHEN metals matter. Ratios tell you WHY and HOW aggressive to be.
Bull across all four = strongest PM regime. Mixed readings = transition. Gold Bull + Silver/Gold Bear = defensive gold-led phase.
Caja TavoStrategy based on "The Box" by Z and Scott
This strategy is based on measuring price volatility one hour before the market opens and half an hour after.
The trade is made in the direction that breaks the upper or lower limits.rior o inferior.
kamsakang Pivot Breakout OK. Not "the latest N highs" but **" based on the previous high (the most recently confirmed swing high) '**, I'll change it to catch the moment it crosses that value.
The key is to pivot high. (It took a few bongs to confirm "this was the high point" → This is the cleanest "pivot high point")
Liquidity Trap Strategy - ATR OptimizedLiquidity Trap Strategy – Optimized Version
1. Overview
The Liquidity Trap Strategy is a high-probability price action trading system designed to exploit “trapped buyers or sellers” around key levels from the previous trading day.
Markets: Works on any market (Forex, Crypto, Futures, Indices, Stocks)
Timeframes: Designed for 15-minute (15m) and 1-hour (1H) charts
Trading Style: “Hunter” style — trades may not happen every day, but setups are high-probability
Trade Frequency: Only first trade per day is taken for simplicity and high quality
2. Key Components
a) Daily Levels
Previous Day High (PDH) and Previous Day Low (PDL) are automatically calculated using the prior day’s bar.
These are drawn as anchored horizontal lines, extending to the current day.
PDH/PDL act as key support/resistance zones — areas where liquidity is often trapped.
b) Trap Concept
The strategy is based on the “liquidity trap” principle:
Buyer Trap (Short Entry):
Price breaks above the previous day high (PDH) → buyers think price will continue higher.
Price reverses immediately below PDH, trapping aggressive buyers above the key level.
This creates selling pressure, giving an opportunity to enter short.
Seller Trap (Long Entry):
Price breaks below the previous day low (PDL) → sellers think price will continue lower.
Price reverses immediately above PDL, trapping aggressive sellers below the key level.
This creates buying pressure, giving an opportunity to enter long.
The key idea: trapped traders cause the market to move in the opposite direction of the breakout, creating high-probability moves.
c) Trade Execution Logic
Buyer Trap / Short Entry:
Condition: high > PDH AND close < PDH AND no trade taken yet today
Entry: Short at the close of the trap candle
Stop Loss: ATR-based above the trap candle high to avoid minor wick stops
Take Profit: 2:1 Risk-to-Reward ratio
Seller Trap / Long Entry:
Condition: low < PDL AND close > PDL AND no trade taken yet today
Entry: Long at the close of the trap candle
Stop Loss: ATR-based below the trap candle low
Take Profit: 2:1 Risk-to-Reward ratio
Only the first trap trade of the day is allowed to avoid overtrading.
d) Risk Management
Stop-Loss (SL):
ATR-based to account for market volatility
Ensures the trade survives minor wick sweeps without being stopped out prematurely
Take-Profit (TP):
Fixed 2:1 R:R relative to SL
Ensures each winning trade outweighs potential losses
Trade Frequency:
Only first trade per day is allowed, making it highly selective and reducing noise
3. Visual Features
PDH/PDL Lines: Anchored to previous day, extend into current day, color-coded:
PDH → Green
PDL → Red
Trade Labels: Placed on the trap candle:
Short → Red label “Short”
Long → Green label “Long”
The visual markers make it easy to identify exactly where the trap occurred and the trade was triggered.
4. How the Strategy Works – Step by Step
Example for Short (Buyer Trap):
Market opens, PDH/PDL from yesterday are drawn.
Price spikes above PDH → some buyers enter expecting breakout continuation.
Price immediately closes back below PDH, trapping buyers.
The strategy enters short at the close of the reversal candle.
SL: placed above the trap candle using ATR to give room
TP: calculated as 2x the risk (distance from entry to SL)
Trade executes — first trade of the day. Any further trap signals today are ignored.
Example for Long (Seller Trap):
Price drops below PDL → some sellers enter.
Price immediately closes back above PDL, trapping sellers.
Strategy enters long at the close of the reversal candle.
SL: below trap candle using ATR
TP: 2:1 R:R
Trade executes — only first trade of the day.
5. Why This Strategy Works
Exploits liquidity zones: Markets often hunt stops above PDH or below PDL.
High-probability reversals: Trapped traders create strong counter moves.
ATR SL: avoids being stopped by minor market noise or wick spikes.
Selective trading: Only first trade per day → reduces overtrading and noise.
Clear visual markers: Makes manual observation and confirmation easy.
6. Key Tips for Traders
Best on high-volume instruments like Forex majors, indices, or crypto pairs with decent liquidity.
Works well on 15m and 1H charts — 15m allows quicker signals, 1H filters noise.
Avoid trading around major news releases — traps can behave differently during high volatility events.
Always backtest and use the ATR SL — never reduce SL too much, otherwise stops will trigger before the real move.
✅ Summary:
The Liquidity Trap Strategy identifies trapped buyers/sellers using previous day highs/lows.
It uses ATR-adapted stops and 2:1 R:R TP.
Only first trade per day is executed, reducing false signals.
Anchored PDH/PDL lines and labels make trade opportunities clear.
This system is low-frequency, high-probability, focusing on trading smart rather than frequently.
HL Zone + Vol Alert (Complete) + Vol Explosion Alertabc
a
kfsdkfjaighhguhgdfndnfdinfdndgdsgdsgdgdfsjgndfjgnsjfgnsdjgnjsgnjdfngsdfgs
RTH Volume Candle DeltaOverview
This indicator is designed specifically for RTH (Regular Trading Hours) intraday traders who scalp the E-mini S&P 500 (ES), Nasdaq (NQ), and other high-liquidity futures. It solves a major flaw in time-based charts: the inability to see the "Speed of the Tape." By using a unique Transparency Heatmap, it simulates MotiveWave-style Constant Volume Bars while keeping your candles fixed to the time-based X-axis to maintain alignment with indicators like VWAP and EMAs.
The Power of RTH (Regular Trading Hours)
This script is optimized for the high-liquidity environment of the US Regular Session.
During RTH: The volume distribution is statistically significant, allowing the script to accurately identify institutional "sweeps."
During ETH (Overnight): Volume is often too thin for reliable delta analysis. I have included a "Hide Overnight" toggle to keep your chart clean and focused on the liquidity that matters.
Core Logic 1: Volume Partitioning (The Heatmap)
The script partitions volume into two visual states based on your target (Default: 1000V):
Normal Volume (< Target): These candles are dimmed (High Transparency). They represent background noise where the volume target has not yet been reached within that time slice.
Burst Volume (> Target): These candles become solid (Opaque). If a single 15s bar exceeds 1000V, it highlights a Velocity Peak—this is where institutional "Big Money" is actively consuming liquidity.
Core Logic 2: Effort-Based Delta (1s Precision)This is the "engine" of the script. Rather than using simple Close-Open delta, it fetches 1-second sub-bar data (the highest precision available without tick data) and applies an Effort vs. Result formula:$ SET:DELTA = Volume \times \frac{(Close - Low) - (High - Close)}{High - Low}$$Buyer Effort: $(Close - Low)$ — How effectively buyers lifted price from the floor before the close.Seller Effort: $(High - Close)$ — How effectively sellers pushed price down from the ceiling.Adaptive Light-Up: The candle "Lights Up" (White/Yellow) only when the Delta is 1.5x greater than the MA 20 of recent deltas. This filters out standard two-way trade and highlights aggressive initiative.
How to Trade with this Indicator
Spotting Absorption: If you see a Solid (Burst) candle with a small body and "Normal" color, a limit order "Wall" is likely absorbing the market orders.
Confirming the Drive: A Solid White/Yellow candle at a key level (VWAP, PDH, or Opening Range) is a high-probability signal that aggressive money is driving the breakout.
Multiplier Labels: The labels provide an "x Multiplier" (e.g., x4.2), telling you exactly how many 1000V rotations occurred within that single time-bar.
Final Recommendations for Users
ES (S&P 500): 1000V is the standard. On a 1m chart, set it to 4000V.
NQ (Nasdaq): 400V - 500V is recommended due to thinner liquidity.
Setup: For the best experience, hide the default TradingView candle bodies in your chart settings.
BINANCE 15m Alt Breakout Radar (TABLE)BINANCE 15m Alt Breakout Radar (TABLE)
"At the 15th installment of Binance Altcoin
Breaking High + Explosive Volume + Surging Stock
View at a glance with **indicator (table)**, not alarm"
Level to level Multi-TF + ATRLevel to level Multi-Timeframe + ATR/ADR Daily Progress
This indicator is a complete multi-timeframe market structure and volatility toolkit, designed primarily for active forex traders.
It combines Williams Fractals on five higher timeframes (Weekly, Daily, H4, H1, M5) with a live ATR/ADR dashboard, allowing you to see at a glance how much of the typical daily move has already been completed and how much “room” the market realistically has left to run.
Fractals are drawn as arrows and colored zones that clearly mark swing highs and lows, supply/demand pockets, and key reaction areas. These zones can be used as dynamic support/resistance, liquidity pools, and target/stop regions. The multi‑TF design lets you read higher‑timeframe structure while executing on lower timeframes, which is ideal for scalping and intraday trading.
The built‑in volatility table shows:
ATR Progress (%) with green / yellow / red status to indicate whether the current session is still developing, mature, or potentially exhausted.
Daily ATR & ADR values in pips, so you always know the typical and current range of the day.
Done / Left range, highlighting how many pips have already been travelled from low to high, and how many are statistically left.
ATR and ADR projection lines are also plotted from the daily open, giving you clear intraday reference levels for take profit, stop placement, and expected session extremes.
This tool works especially well when combined with Smart Money Concepts (SMC) such as:
Break of Structure (BOS) and Change of Character (CHoCH) using fractal highs/lows.
Liquidity grabs and stop hunts around fractal zones.
Order blocks and fair value gaps that overlap with higher‑TF fractals and ATR/ADR levels.
Use it on majors like EUR/USD, GBP/USD, XAU/USD or indices, on anything from fast M1–M5 scalping to H1–H4 swing trading. All colors, timeframes, sensitivities and volatility settings are fully customizable so you can adapt it to your own style and template.
Open Range BreakoutOpen Range Breakout is a volatility harvesting tool designed to exploit directional expansion following major market opens. It isolates price action during initial liquidity injections to project institutional-grade zones that define a session's structural bias.
Core Methodology
The script uses a time-anchored engine to map critical supply and demand boundaries:
Anchor Identification: The algorithm captures the absolute High and Low within a user-defined window at the start of Tokyo, London, or New York sessions.
Structural Projection: It generates a Neutrality Box. A breach via candle close signals the transition from consolidation to expansion.
Mathematical Risk Modeling: Upon breakout, it calculates a 3:1 Risk-Reward framework based on fixed percentage volatility.
Session Dynamics
The system is optimized for the global liquidity cycle:
Session 1 (Asia): Maps early-day consolidation and range-bound liquidity.
Session 2 (Europe): Captures the London Move to identify the trend.
Session 3 (US): Analyzes high-volume New York opens for maximum momentum.
Key Features
Dynamic Price Mitigation: TP/SL zones stop extending the moment price touches the target or invalidation level to keep charts clean.
Volatility-Adjusted Levels: Stop Loss parameters are normalized to price percentage for consistency across Indices, Forex, or Crypto.
Minimalist Interface: Professional aesthetic with high-contrast visual cues for instant scannability.
Use Cases
Momentum Trading: Identifying the Origin of the Move post-open.
Mean Reversion: Recognizing failed breakouts when price returns inside the range.
Quantitative Backtesting: Benchmarking 3.0 RR targets across different session anchors.






















