Anya1This script is a **Trend-Following Momentum Strategy** specifically designed for **Gold (XAUUSD)** but applicable to other assets. It combines an oscillator (to find entry points) with two moving averages (to ensure you are trading with the trend).
Here is a breakdown of how the logic works and how to read the signals on your chart.
---
### 1. The Strategy "Gears" (The Filters)
The script uses a "triple-filter" system. A signal is only generated when all three of these conditions click into place at the exact same time:
* **Gear 1: Momentum (Cipher Twister):** This oscillator looks for "turning points." It identifies when the market is exhausted.
* **Buy:** The momentum lines cross while **below the zero line** (recovering from oversold).
* **Sell:** The momentum lines cross while **above the zero line** (dropping from overbought).
* **Gear 2: Medium-Term Trend (MA 25):** The price must be on the "correct" side of the **Yellow Line**. This ensures that the immediate price action is moving in your favor.
* **Gear 3: Macro Trend (MA 150):** This is the final gatekeeper (the **White Line**). You are forbidden from buying if the price is below this line, and forbidden from selling if it is above. This keeps you on the right side of the "Big Picture."
---
### 2. How to Read the Signals
| Signal | Chart Visual | Rule |
| --- | --- | --- |
| **BUY** | **Green "BUY" Label** | Price is above the Yellow & White lines + Oscillator crossed below zero. |
| **SELL** | **Red "SELL" Label** | Price is below the Yellow & White lines + Oscillator crossed above zero. |
**Visual Confirmation:** The script will also highlight the background in **Lime** for a Buy and **Red** for a Sell to make it impossible to miss.
---
### 3. Risk Management (The Exit)
This version is built as a **Strategy**, meaning it has a built-in "Exit Plan" for every trade:
* **Stop Loss (SL):** 100 Pips ($10.00 move in Gold).
* **Take Profit (TP):** 120 Pips ($12.00 move in Gold).
When a trade is entered, TradingView will automatically track the price. If it hits your target, the trade closes in profit. If it hits your stop, it closes to protect your capital.
---
### 5. Best Use Cases
* **Trending Markets:** This script thrives when Gold is in a clear uptrend or downtrend.
* **Timeframes:** It is most effective on the **15-minute (15M)** or **1-hour (1H)** charts. Lower timeframes (like the 1M) may hit the Stop Loss too frequently due to market noise.
**Would you like me to add a "Trailing Stop" feature, so the strategy locks in profits automatically as the price moves in your favor?**
Bandas y canales
MTF Dynamic MA TrackerThis indicator allows you to track the behavior of price relative to a key Moving Average across up to 9 different timeframes simultaneously.
The idea behind this tool is to see what your favourite MA is doing at various TFs while solving the problem of "chart clutter." Plotting 9 different Moving Averages on a single chart usually results in a messy interface that is hard to read. This script solves that using Dynamic Dimming.
Default Settings:
By default, the script is configured to track the EMA 200 (Exponential Moving Average). However, this is for illustration purposes only. You can fully customize the indicator to track your preferred Moving Average Type (EMA, SMA, HMA, WMA, or RMA) and your preferred Length (e.g., 50, 100, 200) in the settings menu.
Key Features:
Multi-Timeframe Tracking:
Monitor your chosen Moving Average across 9 user-defined timeframes (e.g., 1m, 5m, 15m, 1H, 4H, Daily, etc.) directly on your current chart.
Dynamic Visibility (Dimming):
By default, the MA lines remain transparent (dimmed) to keep your chart clean.
The lines automatically brighten (light up) only when the price comes within a specific proximity of the MA. This highlights immediate Support or Resistance levels without visual noise.
You can customize the "Proximity Method" using either a Percentage of price or an ATR multiplier.
Tag Detection & Alerts:
The script detects "Tags"—moments where price interacts with a Moving Average (e.g., wicks into it and closes back above/below).
Bull Tag (Support): Price dips into the MA but closes above it.
Bear Tag (Resistance): Price spikes into the MA but closes below it.
You can set alerts to trigger whenever these interactions occur on any monitored timeframe.
Dashboard (Nexus):
A status table displays "Clusters" (when price is near multiple MAs simultaneously) and lists any active Bull/Bear tags occurring on the current bar.
Customization:
MA Type: Choose between EMA, SMA, HMA, WMA, or RMA.
MA Length: Input any length (Default: 200).
Timeframes: Individually enable/disable and select up to 9 specific timeframes.
Dimming: Adjust the transparency for "dimmed" vs "bright" states.
Intervalo de la confianza 10 Bollinger Bands y IC-FUD12 Y 14Este Intervalo de la Confianza= IC-10 Bollinger Bands les puede ser una herramienta para
ver donde se encuentra el precio si en FOMO o FUD
Analicen la parte de abajo del Bollinger Bands, donde IC-10 FUD cruza arriba de IC-14 FUD.
Esta herramienta no es in ningun momento una forma de consejo de inversion ni de trading.
Cada quien va con sus propios riesgo en perdidas porque en ganancias nadie comparte sus ganancias nadie comparte sus perdidas.
This Confidence Interval (CI-10) Bollinger Bands can be a tool to help you see where the price is in terms of FOMO or FUD. Analyze the lower part of the Bollinger Bands, where the CI-10 FUD crosses above the CI-14 FUD.
This tool is not, under any circumstances, investment or trading advice. Everyone assumes their own risk of loss, because no one shares their profits or losses.
Daily Gap + Pre-Market Zones + EMA 9Intraday Gap Zones & Pre-Market Range
Description
Concept & Overview This indicator is designed for intraday traders (Indices and Equities) who focus on structural price action at the market open. The script automates the drawing of two critical liquidity zones:
The Gap Zone: The empty space between the previous Regular Trading Hours (RTH) Close and the current day's Open.
The Pre-Market Range: The High and Low established between 04:00 AM and 09:30 AM ET.
By visualizing these levels automatically, traders can instantly see if the market is opening inside value or gapping out of range. It also includes an EMA 9 to assist with trend determination.
Key Features
Automated Gap Visualization: Automatically draws a box from yesterday's 4:00 PM Close to today's 9:30 AM Open. This box extends to the right, creating a visual reference for potential "Gap Fill" plays.
Pre-Market High/Low: Captures the full range of the pre-market session. Once the market opens, these levels are locked and extended as key Support/Resistance levels for the day.
Timezone Intelligence: The script is hardcoded to America/New_York time. This ensures accurate level detection regardless of your local timezone or chart settings.
Smart Alerts (Context Aware): Unlike standard EMA alerts, this script utilizes specific logic. Alerts are only triggered if an EMA crossover occurs inside the Gap Zone. This filters out noise and focuses on reversals or continuations specifically within the gap.
How it Works
Session Tracking: The script distinguishes between Pre-Market (04:00-09:30 ET) and RTH (09:30-16:00 ET).
Level Locking: At 09:30 AM ET, the script takes a snapshot of the pre-market high/low and the calculated gap. It draws the boxes and locks them for the remainder of the trading day.
EMA Filter: A standard 9-period EMA runs continuously.
Signal Generation: If price is strictly trading inside the Gap Box during RTH, and it crosses the EMA 9, a signal is generated.
Settings & Customization
Gap Zone Color: Customize the color and transparency of the Gap box.
Pre-Market Zone Color: Customize the look of the pre-market range.
EMA Length: Adjust the moving average period (Default: 9).
Best Practices
Timeframe: Best used on intraday timeframes (1m, 3m, 5m, 15m).
Markets: Optimized for US Equities and Indices (SPY, QQQ, NVDA, TSLA, etc.) due to the specific RTH logic.
Disclaimer & Risk Warning
For Educational Purposes Only This script and the indicators generated are for educational and informational purposes only. They do not constitute financial advice, investment recommendations, or a solicitation to buy or sell any securities.
Risk Warning Trading financial markets involves a high level of risk and may not be suitable for all investors. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.
No Guarantee: Past performance of any trading system or methodology is not necessarily indicative of future results.
Software Limitations: While every effort has been made to ensure the accuracy of the calculations in this script, technology failures, data feed errors, or bugs may occur. Always verify levels manually before executing trades.
Usage By using this script, you acknowledge that you are solely responsible for your own trading decisions and results.
MOMENTUM FLIPPERScalp tops and bottom of big volatility moves.
Detects when momentum is shifting.
Look for clusters of dim arrows followed by a solid arrow or two.
Best on 2-3 minute chart.
Do not use when choppy.
Golder/Silter SetupsGolden/Silver Strategy
Overview
The Tony Rago Golden/Silver Strategy is a high-precision mean-reversion system specifically engineered for the Nasdaq (NQ/MNQ). It leverages the psychological 100-point price blocks to identify institutional exhaustion and reversal points.
Unlike standard "grid" bots, this strategy uses a sophisticated "Arm & Fire" logic: it requires a specific price "touch" to arm the setup, followed by a retracement to a "Golden" entry level to execute.
Key Logic: The 100-Point Grid
The strategy divides price action into 100-point blocks (e.g., 19500 to 19600).
Golden Setup (Long): Triggered when price touches the 50 level (mid-point). The order is placed at the 26 level on the retracement.
Silver Setup (Short): Triggered when price touches the 00 or 100 levels (block boundaries). The order is placed at the 77 or 26 levels on the retracement.
Professional Risk Management
This edition features a Dual-Contract Management system designed for Prop Firm consistency:
Contract 1 (The Scalp): Aims for a quick 24-point target (TP1) to secure realized gains and cover costs.
Contract 2 (The Runner): Stays in the trade for an extended 51-point target (TP2).
Automated Break-Even (BE): The moment TP1 is hit, the Stop Loss for the Runner is automatically moved to the entry price (plus a small offset). This ensures a "risk-free" environment for the remainder of the trade.
Independent Stop Losses: The Scalp and the Runner use different SL distances to account for Nasdaq volatility, preventing a single "noise" wick from wiping out the entire position.
Intelligent Filters
ADX Range Filter: The strategy monitors market trend strength. It only allows trades when the ADX is below a user-defined threshold (default 25), ensuring you only play mean-reversion during ranging or "choppy" markets.
MA Visual Semaphor: The 50 EMA changes color dynamically based on ADX (Lime/Green for Range, Orange/Red for Trend), giving you an instant visual "Go/No-Go" signal.
Time-Session Filtering: Optimized for three custom sessions (NY Open, Mid-Day Reversal, and Late Night). Outside these sessions, the strategy can "Arm" setups in memory but will not "Fire" orders.
How to Use
Timeframe: Optimized for 1-Minute or 2-Minute charts for precision entry.
Asset: Nasdaq 100 (NQ, MNQ) or similar high-volatility indices.
Setup: * Enable Session Filters to avoid news volatility.
Adjust TP/SL in Points (1 Point = 4 Ticks) to suit your specific risk appetite.
Watch for the "Armados" labels—these indicate the system is ready and waiting for the Golden/Silver entry.
Visual Interface
Dynamic Boxes: Real-time visual representation of your TP1, TP2, and SL levels.
Activation Labels: Clear indications of when a Long or Short setup has been "Armed" in memory.
Status Dashboard: A clean top-right table showing current ADX values, Session status, and Risk settings.
Disclaimer
Trading involves significant risk. This strategy is a tool for decision support and backtesting. Past performance does not guarantee future results. Always test on a demo account before risking live capital.
BTC Pro High-Win Scalper w/ % Risk Hello,
I have been working on this 15min scalper for bitcoin. Its still in progress but is showing some promising results.
Check it out and let me know your thoughts
Thanks
PEAKPROFIT MARKOUTThe PeakProfit indicator is a price-action–based day trading system designed to help traders identify high-probability entries, clear bias, and key reaction zones during the trading session.
It focuses on:
Market structure & trend direction
Key liquidity and institutional levels
High-confidence entry confirmations
Clean risk-to-reward trade setups
The indicator removes noise from the chart and highlights where smart money is most likely active, allowing traders to stop guessing and start executing with confidence. It works best for day trading ES, NQ, and major indices, but can be applied to any liquid market.
Built for traders who want clarity, discipline, and consistency, not random signals.
Kalman Exponential SuperTrendThe Kalman Exponential SuperTrend is a new, smoother & superior version of the famous "SuperTrend". Using Kalman smoothing, a concept from the EMA (Exponential Moving Average), this script leverages the best out of each and combines it into a single indicator.
How does it work?
First, we need to calculate the Kalman smoothed source. This is a kind of complex calculation, so you need to study it if you want to know how it works precisely. It smooths the source of the SuperTrend, which helps us smooth the SuperTrend.
Then, we calculate "a" where:
n = user defined ATR length
a = 2/(n+1)
Now we calculate the ATR over "n" period. Classical calculation, nothing changed here.
Now we calculate the SuperTrend using the Kalman smoothed source & ATR where:
kalman = kalman smoothed source
ATR = Average True Range
m = Factor chosen by user.
Upper Band = kalman + ATR * m
Lower Band = kalman - ATR * m
Now we just smooth it a bit further using the "a" and a concept from the EMA.
u1 = Upper Band a bar ago
l1 = Lower Band a bar ago
u = Upper Band
l = Lower Band
Upper = u1 * (1-a) + u * a
Lower = l1 * (1-a) + u * a
When the classical (not Kalman) source crosses above the Upper, it indicates an uptrend. When it crosses below the Lower, it indicates a downtrend.
Methodology & Concepts
When I took a look at the classical SuperTrend => It was just far too slow, and if I made it faster it was noisy as hell. So I decided I would try to make up for it.
I tried the gaussian, bilateral filter, but then I tried kalman and that worked the best, so I added it. Now it was still too noisy and unconsistent, so I revisited my knowledge of concepts and picked the one from the EMA, and it kinda solved it.
In the core of the indicator, all it does is combine them in a really simple way, but if you go more deeply you see how it fits the puzzlé really well.
It is not about trying out random things´=> but about seeking what it is missing and trying to lessen its bad side.
That is the entire point of this indicator => Offer a unique approach to the SuperTrend type, that lessen the bad sides of it.
I also added different plotting types, this is so everyone can find their favorite
Enjoy Gs!
Thanks @BackQuant for making a open source Kalman code <3
PDH/PDL 2 daysthe indicator marks the previous 2 days high and low. this can be used to identify the break of previous day ranges.
Adaptive MA SuperTrend 2.0The Adaptive MA SuperTrend 2.0 is a new cutting edge SuperTrend that adapts to the environment and provides users with fast, smooth signals that can enhance the strategies of any user.
How does it work?
This indicator combines the classic ATR with Moving Average of users choice, and filters the data. It uses a condition, that flips the Moving Average between the past and current value, adapting and trying to enhance the accuracy of the indicator
Argentina FX BandsEN
This indicator plots Argentina's FX band system implemented by the BCRA starting April 11, 2025. It shows the floor and ceiling for the ARS/USD exchange rate. Inside the band, the rate floats. Touching the floor implies USD buying; touching the ceiling implies USD selling.
Phase rules:
- Phase 1 (Apr 11, 2025 to Dec 31, 2025): floor moves -1% per month, ceiling moves +1% per month
- Phase 2 (Jan 1, 2026 onward): both bands adjust by inflation with a 2-month lag (T-2)
Projections: next month's inflation is assumed equal to the latest known inflation unless you enter a custom value.
Disclaimer: Educational only. No investment advice.
---
ES
Bandas Cambiarias BCRA - Fase 3
Este indicador grafica el esquema de bandas cambiarias implementado por el BCRA a partir del 11 de abril de 2025. Muestra el piso y el techo del tipo de cambio ARS/USD y su evolucion en el tiempo.
Reglas por fase:
- Fase 1 (11 Abr 2025 a 31 Dic 2025): el piso baja 1% mensual y el techo sube 1% mensual
- Fase 2 (desde 1 Ene 2026): ambas bandas se ajustan por inflacion con rezago T-2 (2 meses)
Proyecciones: se asume que la inflacion del proximo mes es igual a la ultima inflacion conocida, salvo que ingreses un valor personalizado.
Aviso legal: Solo informativo y educativo. Eco Valores S.A. no brinda asesoramiento ni recomendaciones de inversion. Consulte a un profesional calificado antes de invertir.
Breakeven LECAPs BONCAPsEN
Breakeven LECAPs & BONCAPs (ARS → USD) + Futures Curve
This indicator plots the breakeven USD/ARS exchange rate for Argentine fixed-rate Treasury instruments LECAPs (S tickers) and BONCAPs (T tickers), showing the USD/ARS level at each maturity where holding the peso instrument would match the performance of holding dollars.
What you get
• Breakeven labels at (Maturity Date, Breakeven Dollar)
• Automatic FX benchmarks:
• Dólar MEP: BCBA:AL30 / BCBA:AL30D
• Dólar Cable (CCL): BCBA:AL30 / BCBA:AL30C
• Optional Custom Dollar input (1000–10000 ARS)
• Optional MatbaRofex USD futures labels at their expiry dates
• Optional polynomial regression curves for LECAPs, BONCAPs, and Futures (degree 1–4), with independent toggles, colors, and smoothness points
Core calculations
• Direct Return = (Maturity Price / Last Price) - 1
• TNA (Annualized Rate) = Direct Return × 365 / Days to Maturity
• Breakeven Dollar = Current Dollar × (1 + Direct Return)
Tooltip (hover labels)
Ticker/type, maturity date, days to maturity, current price, maturity price (px_finish), direct return, TNA, and breakeven value.
⸻
ES
Breakeven LECAPs & BONCAPs (ARS → USD) + Curva de Futuros
Este indicador grafica el tipo de cambio USD/ARS de equilibrio (breakeven) para instrumentos de tasa fija del Tesoro argentino LECAPs (tickers S) y BONCAPs (tickers T). Te muestra a qué nivel de dólar, en cada vencimiento, una inversión en pesos igualaría el rendimiento de quedarse en dólares.
Qué muestra
• Etiquetas de breakeven en (Fecha de vencimiento, Dólar breakeven)
• Referencias automáticas de tipo de cambio:
• Dólar MEP: BCBA:AL30 / BCBA:AL30D
• Dólar Cable (CCL): BCBA:AL30 / BCBA:AL30C
• Opción de Dólar Custom (1000–10000 ARS)
• Opción de mostrar futuros de USD MatbaRofex en sus vencimientos
• Curvas de regresión polinómica opcionales para LECAPs, BONCAPs y Futuros (grado 1–4), con toggle, color y suavizado configurables por separado
Cálculos principales
• Retorno Directo = (Precio de vencimiento / Último precio) - 1
• TNA = Retorno Directo × 365 / Días al vencimiento
• Dólar Breakeven = Dólar actual × (1 + Retorno Directo)
Tooltip (pasar el mouse por las etiquetas)
Ticker/tipo, fecha de vencimiento, días restantes, precio actual, precio de vencimiento (px_finish), retorno directo, TNA y valor de breakeven.
==================== DISCLAIMER / AVISO LEGAL ====================
This indicator is for informational and educational purposes only.
Eco Valores S.A. does NOT provide investment advice or recommendations.
Consult a qualified financial advisor before making investment decisions.
Este indicador es solo para fines informativos y educativos.
Eco Valores S.A. NO brinda asesoramiento ni recomendaciones de inversion.
Consulte con un asesor financiero calificado antes de invertir.
===================================================================
CNE - Efficient Swing Structure + MomentumThe CNE Efficient Swing Structure and Momentum indicator is a sophisticated technical analysis tool designed to quantify the strength and exhaustion of price movements relative to genuine market structure rather than arbitrary time constraints. Unlike traditional oscillators that reset based on a fixed number of candles, this indicator anchors its calculations to confirmed structural pivots. The foundation of the system is a volatility-adaptive swing detection algorithm that utilizes the Average True Range (ATR) to filter out insignificant noise. A trend change is only registered when price retraces against the current direction by a user-defined multiple of the ATR, ensuring that the tool remains locked onto the prevailing trend until a statistically significant reversal occurs. This mechanism allows the trader to view momentum as a cumulative force continuously building from a verified low or high, providing a pure view of the current leg's intensity.
Once a structural anchor is established, the indicator calculates the "Pivot-to-Pivot" momentum, displaying the percent change from the start of the trend to the current price. This creates a zero-based oscillator where the zero line represents the structural origin—the absolute bottom of the current uptrend or the absolute top of the current downtrend. To contextualize this raw data, the script overlays dynamic statistical bands based on standard deviations. These bands function similarly to Bollinger Bands but are applied to the momentum of the swing itself. When the momentum histogram pushes into the outer deviation bands, specifically beyond two standard deviations, it signals that the current move is statistically overextended relative to the asset's recent volatility profile. This helps traders distinguish between a healthy, sustainable trend and a climactic move that is prone to a mean-reversion snapback.
A critical feature of this system is its ability to visualize the "average extension" of market moves, providing an immediate benchmark for trade management and target setting. The indicator plots two distinct sets of lines for both upward extensions and downward drawdowns without relying on heavy historical arrays, ensuring optimal computational efficiency. The first is a solid step-line representing the historical average of all past swings, serving as a long-term baseline for what constitutes a "normal" move. The second is a dotted marker representing a recency-weighted average, heavily biased toward the last five swings. By comparing these two lines, a trader can instantly gauge the changing market regime; if the recent weighted average is expanding away from the historical baseline, volatility is increasing, whereas a contracting recent average suggests the market is entering a period of compression.
Finally, the indicator integrates automated divergence detection based on structural flips rather than simple candle-to-candle comparisons. It records the peak momentum value of every completed trend leg and compares it to the peak of the previous leg in the same direction. If price makes a new structural high but the momentum oscillator fails to surpass the peak of the previous uptrend leg, a bearish divergence is flagged. Conversely, if price pushes to a new structural low with weaker downside momentum than the prior drop, a bullish divergence is highlighted. This combination of volatility-filtered structure, statistical deviation bands, efficiency-optimized extension targets, and structural divergence creates a comprehensive framework for assessing the probability of trend continuation versus reversal.
King Trade 4 and 3 hour buy-sell strategy V2This strategy is a Trend-Following Breakout System specifically designed for high-volatility environments like the 4-hour and 3 hour (3h) (4H) timeframe. It focuses on identifying "Smart Money" movements by combining price action with significant volume surges.
Here is the breakdown of the strategy logic:
1. The Core Signal (Breakout)
The strategy identifies a level using the previous candle's High and Low.
Long Entry: Occurs when the current price crosses above the previous candle's high.
Short Entry: Occurs when the current price crosses below the previous candle's low.
2. The Smart Money Filter (Volume)
A price breakout without volume is often a "Bull Trap" or "Bear Trap." To minimize fake signals, this strategy calculates a Volume Moving Average (SMA 20).
It only enters a trade if the breakout candle's volume is at least 1.5x (or your chosen multiplier) higher than the average. This ensures that the move is backed by institutional or high-intensity trading.
3. The Trend Filter (EMA 200)
To stay on the right side of the market, the strategy uses the 200-period Exponential Moving Average (EMA) as a "Trend Guard":
Only Longs are allowed if the price is above the EMA 200 (Uptrend).
Only Shorts are allowed if the price is below the EMA 200 (Downtrend). This prevents you from buying into a crashing market or selling during a strong bull run.
Adaptive MA SuperTrendAdaptive MA SuperTrend is a new trend following tool designed for more responsive & smoother signal production from the classical SuperTrend indicator.
It works by picking two Moving Averages, that are swapped in their function between being used for the upper base or the lower base, based on the circumstances.
Then it applies either SD or ATR (based on the users preference) to the bases.
This provides smooth, fast trend signals that users can use to enhance their trading/investing strategies.
Enjoy!
Strategy Battle: Lump Sum vs. DCA vs. Dip BuyingSummary This indicator is a "Strategy Battle" simulator designed to answer the ultimate investing question: Is it better to invest immediately, Dollar Cost Average (DCA), or wait for a market crash?
Unlike standard back-testers, this script simulates a realistic "High-Yield Savings" environment. It acknowledges that cash sitting on the sidelines is not dead money—it earns interest (e.g., 3-5%) while waiting for a buying opportunity. This levels the playing field and allows for a fair comparison between being fully invested vs. keeping "dry powder" for a crash.
The script compares 4 distinct strategies simultaneously on your chart, starting with a fresh yearly budget every January 1st.
he 4 Strategies
🔵 Option 1: Lump Sum (The "Set & Forget")
Takes the entire yearly budget and invests it all on the first trading day of the year.
Pros: Maximizes "time in the market."
Cons: vulnerable to buying at immediate peaks.
🟠 Option 2: DCA (The "Steady Earner")
Splits the yearly budget into 12 equal parts.
Invests monthly regardless of price.
The "Fairness" Twist: The money waiting to be spent sits in the cash pile and accumulates interest until it is deployed.
🟢 Option 3: Regression Sniper (The "Math Hunter")
Keeps the entire budget in cash (earning interest).
Watches a dynamic Linear Regression Channel.
Trigger: If the price drops below the channel, it goes "All-In," deploying all accumulated cash and interest immediately to buy the dip.
🔴 Option 4: Manual Sniper (The "Trend Hunter")
Keeps the entire budget in cash (earning interest).
Watches a User-Defined Growth Line (e.g., a straight line growing at 10% per year).
Trigger: If the price drops below this specific valuation line, it goes "All-In."
Detailed Settings & Options
💰 Money Settings
Yearly Budget ($): The amount of fresh capital injected into the simulation every January 1st.
Cash Interest Rate (%): The annual interest rate earned on uninvested cash (compounded monthly). This is crucial for accurately simulating the "opportunity cost" of holding cash.
⚙️ Sniper Settings (Option 3)
Channel Baseline Length: How far back the math looks to determine the "fair value" curve.
Vertical Shift (%): Move the buy zone up or down. Negative numbers (e.g., -5) make the strategy more conservative, waiting for deeper crashes.
Source: Defaults to Low to catch market wicks and intraday crashes.
📈 Manual Line Settings (Option 4)
Start Price ($): The valuation of the asset at the start of the simulation (Jan 1, Start Year).
Yearly Growth (%): The expected "fair" growth rate of the asset (e.g., S&P 500 average is ~10%).
Vertical Shift (%): Slide the manual line up or down to fine-tune your buy signal.
👁️ Visual Settings
Show Buy Price: Displays the exact dollar amount invested and the stock price at the moment of the buy on the chart labels.
Show Lump Sum Markers: Adds a Blue label at the start of every year to visualize the Lump Sum entry.
Show DCA Markers: Adds small Orange labels for every monthly buy.
Vol Compression PRO
## Volatility Compression PRO (Fully Fixed)
This indicator is an **options-theory-inspired “volatility compression → expansion” detector**, enhanced for **crypto trading on 4H/1D**. It is designed as a **two-stage system**:
1. **Environment / Setup (1D)**: Detects a volatility-compressed regime where a breakout is more likely.
2. **Trigger (current chart TF, recommended 4H)**: Confirms the breakout using price structure + volatility expansion + (optional) volume.
A major feature of this script is that it **avoids TradingView’s 5000-bar historical limitation** by recommending a **Daily HV (1D) computation mode**, which is stable and not constrained by intraday bar counts.
---
## Core Concept
### Stage A — “Setup” (Daily Environment Filter)
On the **daily timeframe**, the script estimates realized volatility (HV) and produces an **Environment Score (0–100)** that reflects how “compressed” volatility is versus its own history.
A **Setup window** becomes active when:
* `Environment Score >= Setup Threshold`
* Optional “persistence” can keep Setup active for N days after triggering (to avoid edge flicker).
It also calculates a **daily directional bias** (Bull/Bear) using one of two methods:
* **Price vs Daily EMA** (default): bias is bullish if daily close > daily EMA, bearish if below.
* **MACD > 0**: bias is bullish if daily MACD line > 0, bearish if < 0.
This stage answers:
**“Are we in a volatility-compressed regime worth watching, and what is the higher-timeframe bias?”**
---
## HV / Compression Scoring Model
The script computes:
* **Short-term HV**: standard deviation of log returns over a short window
* **Long-term HV**: standard deviation of log returns over a long window
* **HV Percentile**: percentile rank of short HV over a historical lookback
* **Compression Ratio (S/L)**: short HV divided by long HV (`<1` implies compression, `>1` implies expansion)
* **Log-Z Deviation**: Z-score of log(HV) vs its historical distribution (more stable than raw HV Z-score)
Then it builds a **0–100 score** using weighted components:
* Low HV percentile (lower = more compressed)
* Compression ratio below 1 (more compression)
* Negative log-Z deviation (HV below typical)
This produces a single number: **“Explosion Potential (Environment Score)”**.
---
## Stage B — Trigger Logic (Current Chart Timeframe, recommended 4H)
A **Long Trigger** fires only when **all** of the following are true:
1. **Setup is active** (from daily environment score)
2. **Daily bias is bullish**
3. **Donchian breakout UP**
* Close breaks above the **previous bar’s** highest high of the last N bars
* Uses ` ` to avoid same-bar repaint-style lookback issues
4. **Volatility expansion confirmation**, via either:
* **Bollinger Band Width rising** (BBW turns up and exceeds its mean), and/or
* **ATR% rising** (ATR as % of price increases)
5. **Optional volume confirmation**:
* Volume > SMA(volume) × multiplier (if enabled)
A **Short Trigger** mirrors the long logic (requires bearish bias + downside Donchian break), and can be toggled on/off.
This stage answers:
**“Did price actually escape the compression box, and is volatility expanding with it?”**
---
## Two HV Calculation Modes (5000-bar limitation fix)
### 1) **Daily HV (Recommended)**
* Computes HV + Score + Setup on the **daily timeframe using `request.security(...,"D",...)`**
* This avoids intraday needing thousands of bars to represent many days
* Much more stable and reliable for regime detection
### 2) **Adaptive to Chart TF**
* Computes HV on the **current chart timeframe**
* Includes a strict conversion of “days → bars” and clamps lengths to **<= 4800 bars** to avoid the 5000-bar ceiling
* Still less robust on small timeframes, but won’t crash the script
---
## Visualization
* Plots the **Environment Score** as the main line (colored by score level)
* Draws reference lines at 70 / 50 / 30
* Highlights the background when **Setup** is active
* Optional trigger markers:
* **“L”** for long trigger (triangle up)
* **“S”** for short trigger (triangle down)
* A top-right info panel shows:
* HV short/long, HV percentile, compression ratio, log-Z deviation
* Environment score, Setup active status, daily bias
* Breakout status, expansion confirmation, volume confirmation
* Current mode (“1D fixed” vs “Adaptive”)
---
## Alerts
Built-in alert conditions:
* Setup active (compression window)
* Long Trigger
* Short Trigger
---
## Intended Use (Practical)
* Use **1D** to judge whether volatility is compressed and define bias
* Use **4H** to wait for a clean breakout plus expansion confirmation
* Avoid forcing entries during compression without a real breakout (“don’t catch falling knives” logic)
Mod_capital_trend kanal⚙️ How It Works
1️⃣ Trend Detection
The trend is identified using a Simple Moving Average (SMA) combined with ATR volatility filtering:
Uptrend: Price breaks above SMA + ATR
Downtrend: Price breaks below SMA − ATR
This method avoids false signals and only reacts to strong directional moves.
2️⃣ Dynamic Channel Construction
Once a trend is confirmed, the indicator builds a three-line channel:
Middle Line: Mean price (HL2 smoothed)
Upper Channel: Middle line + (ATR × Channel Width)
Lower Channel: Middle line − (ATR × Channel Width)
The channel automatically expands and contracts based on market volatility.
3️⃣ Smart Trend Switching
When the trend changes:
The previous channel is frozen
A new channel is created in the new direction
Old trend lines are visually de-emphasized (dashed & faded)
This keeps the chart clean and readable, even during market transitions.
4️⃣ Future Price Projection
The indicator calculates the slope of the active trend channel and projects a future price level:
Displays a projected price label at a user-defined future index
Helps visualize trend continuation potential
Useful for planning entries, exits, and targets
🎨 Visual Logic
Green Channel: Bullish trend
Orange Channel: Bearish trend
Solid Lines: Active trend
Dashed Lines: Inactive / previous trend
Automatic Channel Fill: Highlights the price range
All visuals follow a minimal, professional Mod_Capital style.
🧠 Best Use Cases
Trend-following strategies
Dynamic support & resistance
Pullback and continuation trading
Breakout confirmation
Market structure visualization
Manual and discretionary trading
🔧 Customizable Inputs
Trend detection length
Channel width (volatility multiplier)
Future price projection distance
Uptrend & downtrend colors
Works on all markets and timeframes.
✅ Key Advantages
No repainting after trend confirmation
Volatility-adaptive channels
Clean and professional chart design
No unnecessary indicators or signals
Built for serious traders
MOD_CAPITAL trend Line🔹 MOD_CAPITAL Trend Line Indicator (Professional Tool)
The MOD_CAPITAL Trend Line indicator is a clean and advanced tool designed for traders who focus on market structure, trend direction, and price respect.
This indicator automatically builds valid trend lines using confirmed pivot highs and pivot lows, filtering out weak or broken structures.
Only real, respected trend lines remain on the chart — no noise, no clutter.
⚙️ Key Features
Automatically detects valid bullish and bearish trend lines
Built on pivot high / pivot low logic
Filters false lines by checking price respect
Clean Mod_Capital minimal design
Single color for professional chart clarity
No repainting after confirmation
Works on all markets and timeframes
Perfect for manual trading and confirmation
🎯 Best Used For
Trend confirmation
Breakout & breakdown analysis
Market structure trading
Support & resistance with trend logic
Professional discretionary trading
💡 Why MOD_CAPITAL?
Because clean charts = clear decisions.
No indicators overload.
No unnecessary signals.
Only structure, trend, and discipline.
GCM Price Volume Trend with BB [Dual Signal]Title:
GCM Price Volume Trend with BB
Description:
This script presents an advanced variation of the Price Volume Trend (PVT) indicator, enhanced with a Dual-Signal system and Bollinger Bands to provide a complete volume-momentum analysis tool.
The Concept:
Standard PVT can often produce jagged, noisy signals that make trend identification difficult. To solve this, this script integrates three distinct technical concepts into a single "Volume Dashboard":
Trend Baseline (Signal 1 - SMA): A standard Simple Moving Average (Length 21) acts as the slow-moving baseline to filter out minor volume noise.
Volume-Weighted Trigger (Signal 2 - VWMA): We utilize a Volume Weighted Moving Average (VWMA) (Length 9) as the fast signal. Applying a Volume-Weighted average on top of a Volume indicator (PVT) provides a double-confirmation of volume momentum, making the signal highly sensitive to significant volume spikes while ignoring low-volume drift.
Volatility Context (Bollinger Bands): Standard Bollinger Bands are calculated on the PVT data itself. This allows traders to identify when the volume trend is statistically overextended (touching Upper Band) or oversold (touching Lower Band), which often precedes a price reversal.
Key Features
Dynamic Trend Coloring: The PVT line changes color (Bright Green/Red) based on its immediate slope (Rising vs. Falling), offering instant visual feedback on momentum.
Dual Ribbon System:
Ribbon 1: Fills the space between PVT and the Baseline (SMA) to show the macro trend.
Ribbon 2: Fills the space between PVT and the Fast Trigger (VWMA). By default, this ribbon changes color based on the slope of the PVT, highlighting the strength of the move.
Volatility Bands: A background fill between the Bollinger Bands helps visualize the "normal" operating range of the volume trend.
How to Use
Trend Confirmation: Look for the PVT line to be above the SMA (Signal 1) and the Ribbon to be Green.
Entry Signals: A crossover of the PVT above the VWMA (Signal 2) suggests an immediate influx of buying volume.
Exhaustion: If the PVT line touches or exceeds the Upper Bollinger Band, the volume trend may be overheated, suggesting a potential pause or reversal in price.
Settings
Signal 1: Defaults to SMA (21) for the baseline.
Signal 2: Defaults to VWMA (9) for the fast trigger.
Bollinger Bands: Enabled by default (2.0 Deviation, 20 Length).
Visuals: Fully customizable transparency, colors, and line types.
ASIA | LONDON | NEW YORK - Session Range [Entry Lab]This free community indicator automatically plots the highs and lows of each trading session, helping you clearly identify where liquidity is likely to be swept. Fully customisable to your personal time zone, it removes the manual work and keeps your focus on what matters most: structure, context, and timing.
Built by the EntryLab team for traders who want better entries, deeper market understanding, and a repeatable edge. Our mission is simple — make winning a common occurrence, not a rare one.
#EntryLab






















