Macro FVG with Quarter Theory & CE AlertsStarting with Python, target, starting with script now, but I made this FvVG identifier. It will. Create the favorite group as it. Occurs. Just moving up it would be green, if it's moving down it would be red and if it's mitigated but turn dark black.
Wskaźniki i strategie
Multi Timeframe 50 EMA (15m | 1H | Daily)50 EMA of Daily 1 hr and 15 minutes visible in 3 minutes timeframe
Vishall - Spot - HA for Normal & FutureVishall - Spot - HA for Normal & Future
Vishall - Spot - HA for Normal & Future
Vishall - Spot - HA for Normal & Future
MA Ribbon (Horizontal Levels)📊 MA Ribbon (Horizontal Levels)
MA Ribbon (Horizontal Levels) is a minimalist moving average tool that displays moving averages as horizontal price levels instead of traditional sloping lines.
Rather than showing the historical path of each moving average, this indicator focuses exclusively on where each selected MA is currently located in price, allowing traders to treat moving averages as dynamic support and resistance levels.
The result is a clean, uncluttered chart that preserves moving average structure without visual noise.
🔍 What Makes It Different
No traditional moving average curves
No shading, bands, or fills
Each moving average is represented as a horizontal line at its current value
Lines automatically update as price and the MA value change
Designed to complement price action rather than dominate the chart
This approach makes it easier to see key MA levels at a glance, especially when multiple averages are in use.
⚙️ Key Features
✅ Fully Customizable Moving Averages
Select the moving average type:
SMA
EMA
SMMA (RMA)
WMA
VWMA
Choose the price source (e.g., close)
Configure up to 10 independent moving averages
✅ Per-MA Controls
Each moving average can be customized individually:
Enable or disable any MA (use anywhere from 1 to 10)
Set the MA period (length)
Choose line color
Adjust line thickness
Select line style (solid, dashed, dotted)
✅ Horizontal Level Visualization
Each MA is plotted as a horizontal line extending across the chart, representing the current value of that moving average.
As the MA updates, the level shifts vertically, maintaining a clear and consistent reference point.
🧠 How to Use It
This indicator is designed as a context and structure tool, not a signal generator.
Common use cases include:
Identifying dynamic support and resistance zones
Visualizing where short-term and long-term MA levels are stacked
Using MA levels as confluence with price action, VWAP, or volume-based tools
Maintaining a clean chart while still respecting moving average structure
Because the lines are horizontal, the indicator is especially useful for:
Breakout traders
Mean-reversion traders
Market participants who focus on structure and levels rather than indicator signals
🎯 Who It’s For
This indicator is ideal for traders who:
Prefer minimal, uncluttered charts
Think of moving averages as levels, not signals
Want full control over MA appearance and behavior
Use price action and structure first, indicators second
Use this tool in conjunction with standard moving average indicators, treating these horizontal MA levels as complementary reference points rather than replacements
MA Ribbon (Horizontal Levels) is built for traders who want clarity, flexibility, and structural insight — without sacrificing chart readability.
GD Spread FilterAdditional chart for Gold spread, which highlights not relevant periods (clearings and night time)
PT Spread FilterAdditional chart for Platinum spread, which highlights not relevant periods (clearings and night time)
CNY Spread FilterAdditional chart for CNY spread, which highlights not relevant periods (clearings and night time)
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.
Multi-Timeframe RSI (Daily + Weekly)View the Daily and Weekly RSI together so you see how the oscillate on any timeframe
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






















