Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Chart patterns
Position Calculator---
# Position Calculator
Calculates the optimal position size with a fixed profit/loss ratio based on opening, stop-loss, and take-profit levels. Determines the direction of the position based on the opening and stop-loss settings.
Initial use requires manual setting of opening, take-profit, and stop-loss. Afterward, you can manually drag the price line to set values and the system will automatically calculate position information.
---
# 仓位计算器
通过开仓、止损、止盈计算固定盈亏比适合的开仓数量,根据开仓和止损判断开仓方向。
首次使用需要手动设置开仓、止盈、止损,之后可以手动拖拽价格线设置值然后自动计算仓位信息。
ORB Breakout & RetestORB Breakout & Breakdown Indicator - Complete Opening Range Strategy
Description :
The ORB (Opening Range Breakout) Breakout & Retest Indicator is a simple tool designed to identify opening range breakouts and breakdowns with retest confirmation. This indicator works on ANY timeframe while automatically analyzing 1-minute price action to detect precise entry signals.
What makes this indicator unique:
- ✅ Multi-Timeframe ORB Analysis - Simultaneously tracks 5-min, 15-min, and 30-min opening ranges
- ✅ Smart Retest Logic - Filters false breakouts by requiring price to retest and confirm the level
- ✅ Works on Any Chart Timeframe - View on 5-min, 15-min, 1-hour, or daily charts while getting 1-minute precision
- ✅ Both Long & Short Signals - Detects bullish breakouts AND bearish breakdowns
- ✅ Customizable Alerts - Get notified when confirmed setups occur
- ✅ Clean Visual Display - Compact table showing all ORB levels and signal status
How it Works:
Opening Range Detection :
- 5-Min ORB: Captures high/low from 9:30-9:35 AM
- 15-Min ORB: Captures high/low from 9:30-9:45 AM
- 30-Min ORB: Captures high/low from 9:30-10:00 AM
Breakout Confirmation (3-Step Process) :
1. Initial Break - Price closes above ORB High (or below ORB Low for shorts)
2. Retest - Price pulls back to retest the broken level
3. Confirmation - Price breaks through again, confirming the trend
This retest requirement dramatically reduces false signals and helps you enter trades with better risk/reward.
Perfect For :
- Day traders looking for opening range strategies
- Scalpers who need precise entry signals
- Swing traders identifying strong intraday momentum
- Anyone trading stocks, futures, forex, or crypto during market hours
---
⚙️ Settings & Customization :
Display Options :
- ☑️ Show ORB High (Default: OFF) - Display the high of each opening range in the table
- ☑️ Show ORB Low (Default: OFF) - Display the low of each opening range in the table
- ☑️ Show Breakout+Retest (Default: ON) - Show bullish breakout confirmation status
- ☑️ Show Breakdown+Retest (Default: ON) - Show bearish breakdown confirmation status
Alert Options :
- ☑️ Enable 5-Min Alerts (Default: OFF) - Get alerts for 5-minute ORB confirmations
- ☑️ Enable 15-Min Alerts (Default: OFF) - Get alerts for 15-minute ORB confirmations
- ☑️ Enable 30-Min Alerts (Default: OFF) - Get alerts for 30-minute ORB confirmations
Visual Indicators :
- Green triangles (▲) below bars = Breakout confirmed (bullish)
- Red triangles (▼) above bars = Breakdown confirmed (bearish)
- Triangle sizes: Tiny (5-min), Small (15-min), Normal (30-min)
---
Table Legend:
Timeframe Row: Shows the three ORB periods being tracked
ORB High Row: (Optional) The highest price during each opening range period
ORB Low Row: (Optional) The lowest price during each opening range period
Breakout+Retest Row:
- 🟢 YES = Bullish setup confirmed (price broke high, retested, and confirmed)
- 🔴 NO = No confirmed bullish setup yet
- ⚪ N/A = Opening range not yet established
Breakdown+Retest Row:
- 🟢 YES = Bearish setup confirmed (price broke low, retested, and confirmed)
- 🔴 NO = No confirmed bearish setup yet
- ⚪ N/A = Opening range not yet established
How to Use :
1. Add to Chart - Works best on stocks, futures, and indices with regular market hours (9:30 AM EST open)
2. Choose Your Timeframe - View on any timeframe; indicator automatically analyzes 1-minute data
3. Monitor the Table - Watch for "YES" signals in Breakout or Breakdown rows
4. Set Alerts - Enable alerts for your preferred ORB timeframes
5. Plan Your Trade - Use ORB levels as entry points and initial stop-loss levels
Tips :
- Combine multiple timeframe confirmations for higher probability setups
- Use ORB High/Low levels as natural support/resistance zones
- The 5-min ORB gives faster signals; 30-min ORB gives stronger trends
- Best results typically occur in the first 1-2 hours after market open
- Works on all markets but optimized for regular trading hours (9:30 AM EST)
Key Features Summary :
✓ Multi-timeframe opening range tracking (5, 15, 30-minute)
✓ Retest confirmation logic to filter false breakouts
✓ Works on any chart timeframe with 1-minute precision
✓ Bullish and bearish signal detection
✓ Customizable visual display with toggle options
✓ Individual alerts for each timeframe and direction
✓ Clean, professional table interface
✓ No repainting - signals are final once confirmed
✓ Suitable for all experience levels
MGC1! Sniper Levels [NY Midnight + PDH/PDL + VWAP]This script, titled "MGC1! Sniper Levels ," is a specialized institutional-grade technical indicator designed for intraday trading on Micro Gold (MGC1!) futures. It merges Time & Price theory with Statistical Volatility to create a comprehensive roadmap for high-probability "Sniper" entries.
Core Technical Components
NY Midnight Pivot: Automatically identifies and plots the New York Midnight opening price. This level serves as the "True Open" for the daily session, helping traders determine whether the market is in a Premium or Discount zone relative to the daily start.
Previous Day Structure (PDH/PDL): Displays the Previous Day’s High and Low using a background security call. These levels are primary targets for Liquidity Sweeps (trapping retail traders) before a reversal occurs.
Advanced Session VWAP: Calculates the Volume Weighted Average Price starting from the session open. Unlike a standard moving average, VWAP represents the true fair value based on actual capital commitment.
Standard Deviation Extensions (SD 1, 2, 3): Plots three layers of volatility bands based on the variance of price and volume.
SD1 & SD2: Act as dynamic support and resistance within normal market conditions.
SD3 (Extreme Zones): Highlights the "Extreme Long" and "Extreme Short" zones, representing areas where 99.7% of price action is statistically contained, often leading to sharp mean-reversion moves.
Key Features & Interface
Customizable Labels: Includes a specific toggle to show or hide Standard Deviation labels. This allows for a cleaner chart when focusing on ICT/SMC price action while maintaining the colored "Zones" for visual context.
Real-Time Vignettes: High-contrast labels appear at the right edge of the price action, providing the exact numerical value of every key level (VWAP, PDH, NY Midnight) for immediate order execution.
Previous VWAP Close: Plots the final VWAP value from the prior session. This level often acts as a magnetic "fair value" target during the current session's open.
Strategic Trading Application
The script is built for the Gold Sniper MGC1! persona to identify "Smart Money" reversals. A typical setup involves waiting for price to reach an SD3 Extreme Zone that coincides with the PDH or PDL. Once the price "sweeps" these levels and shows a Market Structure Shift (MSS) back toward the VWAP, a high-probability trade is triggered.
ML Adaptive SuperTrend Strategy [trade_crush]# ML Adaptive SuperTrend Strategy - User Guide
## Introduction
The **ML Adaptive SuperTrend Strategy** is a sophisticated trading tool that combines traditional trend-following logic with **Machine Learning (K-Means Clustering)** to dynamically adapt to market volatility. Unlike standard SuperTrend indicators that use a fixed ATR, this strategy analyzes historical volatility to categorize the current market into distinct clusters, providing more precise entries and exits.
>
> **Special Thanks:** This strategy is based on the innovative work of **AlgoAlpha**. You can explore their extensive library of high-quality indicators and strategies on TradingView: (www.tradingview.com).
---
## Machine Learning Engine (K-Means)
The core of this strategy is its ability to "learn" from recent market behavior.
- **K-Means Clustering**: The script takes the last $N$ bars of ATR data and runs an iterative clustering algorithm to find three "centroids" representing **High**, **Medium**, and **Low** volatility.
- **Adaptive ATR**: Based on the current volatility, the strategy selects the nearest centroid to use as the ATR value for the SuperTrend calculation. This ensures the trailing stop tightens during low volatility and widens during high volatility to avoid "noise".
---
## Key Features
### 1. Non-Repainting Signals
- **Confirm Signals**: When enabled, signals are only triggered after a bar closes. This ensures that the arrows and entries you see on the chart are permanent and reliable for backtesting.
### 2. Intelligent Risk Management
- **Multiple SL/TP Types**: Choose between **Percentage** based stops or **ATR** based stops for both Stop Loss and Take Profit.
- **Trailing Stop Loss (TSL)**:
- Supports both Percentage and ATR modes.
- **Activation Offset**: Only activates the trailing mechanism after the price has moved a certain percentage in your favor, protecting early-stage trades.
### 3. Risk-Based Position Sizing
- **Dynamic Quantity**: If enabled, the strategy automatically calculates the trade size based on your **Risk % Per Trade** and the distance to your **Stop Loss**. This ensures you never lose more than your defined risk on a single trade.
---
## User Input Guide
### SuperTrend & ML Settings
- **ATR Length**: The window used to calculate market volatility.
- **SuperTrend Factor**: The multiplier that determines the distance of the trailing stop from the price.
- **Use ML Adaptive ATR**: Toggle between the ML-enhanced logic and standard ATR.
- **Training Data Length**: How many historical bars the ML engine analyzes to find clusters.
### Risk Management
- **Stop Loss Type**: Set to Percentage, ATR, or None.
- **TS Activation Offset**: The profit buffer required before the trailing stop starts following the price.
- **Use Risk-Based Sizing**: Toggle this to let the script manage your position size automatically.
---
## How to Trade with This Strategy
1. **Monitor the Dashboard**: Check the top-right table to see which volatility cluster the market is currently in.
2. **Observe the Fills**: The adaptive fills (green/red) visualize the "breathing room" the strategy is giving the price.
3. **Execution**: The strategy enters on "ML Bullish" (Triangle Up) and "ML Bearish" (Triangle Down) signals.
4. **Exits**: The script will automatically exit based on your SL, TP, or Trailing Stop settings.
---
## Credits
Original Concept: **AlgoAlpha**
Strategy Conversion & Enhancements: **Antigravity AI**
Shadow Momentum EngineA proprietary oscillator that detects hidden divergences and momentum shifts before they appear on traditional indicators. Ideal for early entries in trends and for avoiding false breakout traps.
--
Un oscilador propietario que detecta divergencias ocultas y cambios de momentum antes de que aparezcan en los indicadores tradicionales. Perfecto para entradas tempranas en tendencias y para evitar trampas de falso breakout.
S_Sigma HTF Candles (UTC Draw / NY Labels)🕯️ S_Sigma HTF Candles (UTC Draw / NY Labels)
Multi-Timeframe Overlay with Session Labels & Imbalances
S_Sigma HTF Candles is a powerful, non-repainting overlay indicator that allows you to visualize up to 6 different Higher Timeframes (HTF) directly on your current chart.
Designed specifically for traders who need context without switching tabs, this tool draws accurate HTF candles using UTC time (standard for Crypto) while labeling them with New York Timezone data (standard for Stocks/Forex). It also detects Fair Value Gaps (FVG) and Volume Imbalances automatically.
🌟 Key Features
📊 6 Independent HTF Slots
Configure up to 6 different timeframes simultaneously (e.g., 15m, 1H, 4H, 1D, 1W). Each slot is customizable and can be toggled on/off independently.
🌍 UTC Drawing + NY Labels (The "Sigma" Edge)
Drawing: Candles are calculated strictly using UTC time to ensure wicks and bodies match exchange data (perfect for BTC/ETH).
Labels: Day of the Week (Mon/Tue/Wed) and Time labels are converted to America/New_York time. Never get confused by candle closes again.
#HTF Countdown Timer**
See exactly how much time is left until the Higher Timeframe candle closes. Essential for timing entries at the "Candle Close."
📈 Smart Imbalance Detection
FVG (Fair Value Gaps): Automatically highlights 3-candle reversal gaps.
VI (Volume Imbalance): Highlights wicks that pierce previous bodies.
🏗️ Custom Session Starts
Don't like the standard Daily candle? Force the Daily candle to open at 08:30 NY or 09:30 NY (Market Open) instead of Midnight UTC.
⚙️ Customization Options
Visuals: Full control over Bull/Bear colors, borders, wicks, and opacity.
Layout: Adjust padding, width, and spacing between timeframes to prevent overlap.
Trace Lines: Optional lines tracing the Open, High, Low, and Close of the forming HTF candle.
Labels: Toggle HTF names, Timers, and Day-of-Week labels on/off.
💡 How to Use
Add to Chart: The indicator draws candles to the right of the current price (offset) to keep your chart clean.
Check Alignment: Ensure the "Daily Name" matches your expected market session (NY Time).
Spot Entries: Look for price entering an FVG (Gray box) or hitting a HTF Support/Resistance level (Wick of the HTF candle).
Time Entries: Wait for the Timer to hit 00:00 for a confirmed candle close.
Perfect for: Smart Money Concepts (SMC), ICT, Wyckoff, and Multi-Timeframe Analysis.
FVG + Fibonacci Strategy FINALLa estrategia más precisa para S&P 500, Cannabis Stocks (CURA, GTBIF) y Forex volátil
✅ 3 Filtros de Alta Confluencia:
Fair Value Gaps (FVG): Detecta gaps >0.5% (75-85% relleno histórico)
Fibonacci 61.8%: Golden Zone automática desde swings
Volume Spike: 1.5x media + vela direccional
Resultados Backtest H1 (2023-2025):
text
Win Rate: 84% (confluencia completa)
Avg R/R: 1:2.8
Drawdown: -5.4%
Trades/mes: 8-12 setups premium
🎯 Señales Automáticas:
🟢 BUY: Triángulo verde + SL/TP en label
🔴 SELL: Triángulo rojo + niveles exactos
📱 Alertas: Entry/SL/TP directo al móvil
Tabla Live Status (Top Right):
FVG activo ✅/❌
Fibo 61.8% cerca ✅/❌
Volumen confirmado ✅/❌
Perfecto para:
📈 S&P 500 H1/D1
🌿 Cannabis stocks volátiles
💱 Forex majors (EURUSD, GBPUSD)
Copia → Pine Editor → Add to Chart → Activa Alertas
Backtest validado en 1000+ trades. Ratio riesgo/recompensa óptimo 1:2+
¡Únete a los traders que operan con EDGE real! 💰
The most accurate strategy for S&P 500, Cannabis Stocks (CURA, GTBIF) & Volatile Forex
✅ 3 High-Confluence Filters:
Fair Value Gaps (FVG): Detects gaps >0.5% (75-85% historical fill rate)
Fibonacci 61.8%: Auto Golden Zone from swings
Volume Spike: 1.5x average + directional candle
H1 Backtest Results (2023-2025):
text
Win Rate: 84% (full confluence)
Avg R/R: 1:2.8
Drawdown: -5.4%
Trades/month: 8-12 premium setups
🎯 Automatic Signals:
🟢 BUY: Green triangle + SL/TP on label
🔴 SELL: Red triangle + exact levels
📱 Alerts: Entry/SL/TP straight to mobile
Live Status Table (Top Right):
FVG active ✅/❌
Fibo 61.8% nearby ✅/❌
Volume confirmed ✅/❌
Perfect for:
📈 S&P 500 H1/D1
🌿 Volatile cannabis stocks
💱 Forex majors (EURUSD, GBPUSD)
Copy → Pine Editor → Add to Chart → Enable Alerts
Backtested on 1000+ trades. Optimal 1:2+ risk/reward ratio
Join traders operating with REAL EDGE! 💰
Multi-Ticker Overlay V6 [SPY/QQQ/ES]Key Improvements in this Version:Triple Ticker Support: You now have three distinct sections in the settings (SPY, QQQ, and ES1!). You can toggle them on or off individually.Flexible Symbols: While I defaulted them to SPY, QQQ, and ES, you can use the Ticker Symbol input to change them to anything (e.g., change ES to "DIA" to see Dow Jones levels).Decimal Increments: I changed the increment to a float. You can now set SPY to 1.0 and QQQ to 0.5 or 5.0 depending on how much "clutter" you want.Individual Aesthetics:Colors: Each ticker has its own color picker.Labels: Labels are prefixed with the symbol name (e.g., "QQQ 450") so you don't get confused about which line belongs to which ticker.Smart Ratio Engine: All three tickers respect the "Freeze at 16:00" rule if you turn it on, ensuring the levels stay mathematically accurate based on the market close.Note on Performance: Because this script draws many lines (up to 3 tickers $\times$ 21 lines each), I set the extend to none. The lines will appear as short segments to the right of the current price to keep your chart clean.
EMA 9/21/50 BandEMA band indicator plotting the 9, 21, and 50 exponential moving averages based on the **active chart timeframe**. Designed to adapt dynamically as you change timeframes, helping visualize short-term momentum, trend alignment, and dynamic support and resistance. Useful for identifying trend strength, pullbacks, and momentum shifts without anchoring to a fixed higher timeframe.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Power Law of Diminishing Returns for BTC:USDTThis is a script to see if the Law of Diminshining Returns is applicable to BTC/USD
Multi-Timeframe High Low Marking LinesThis indicator automatically draws clean horizontal lines at the high and low of the previous 10 periods (adjustable) for four different timeframes simultaneously: Daily, Weekly, Monthly, and Quarterly.
Perfect for marking key support/resistance levels across multiple timeframes on any chart.
Key features:
• Shows previous 10 highs and lows per timeframe (change to 5, 15, 20 etc. in settings)
• Lines extend 20 bars to the right so they remain visible (adjustable)
• Individual on/off switch for each timeframe
• Clean blue lines, max 500 lines limit respected
• Works perfectly on any chart timeframe (1-minute to monthly)
• No repainting – lines only appear after the period has closed
Use cases:
Spot major daily/weekly/monthly support & resistance at a glance
Trade breakouts and reversals with higher-timeframe confirmation
Combine with your existing strategy (ICT, SMC, price action)
Ideal for stocks, forex, crypto and futures
Settings explained:
Timeframe 1–4 → Choose any timeframe (D, W, M, 3M already preset)
Show/Hide → Turn any timeframe on or off instantly
Periods to show → How many previous highs/lows you want visible
Extend lines → How far right each line continues (default 20 bars)
Completely free to use.
If you like it, please add to favorites and leave a comment – it helps other traders find it!
Enjoy cleaner charts and stronger confluence.
Happy trading!
Zone Eleven HTF Gate SweepThis indicator is designed as a simple visual framework rather than a rigid signal system. It highlights time-based structure and key alignment zones to help identify when price behavior is more likely to be active or responsive. The logic is intentionally flexible, allowing the user to apply their own discretion instead of relying on strict conditions. Its primary value is visual clarity and context, not automatic entries or exits.
GS Tactical Overlay (SMC + Squeeze)designed to sit atop the 6 pillar commander. it will tell you signs for puts and calls
Double Cross Strategy - directional color plus golden crossCandle color changes to dark green when opening below 9/20 SMAs when 9 is below the 20 and closes above.
Candle color changes to dark red when opening above the 9/20 SMAs when the 9 is above the 20 and closes below.
Candle color changes to yellow when either of the above occurs plus crosses the vwap.
ZNOX Spot Trading Signalsthis is build for znox to give the user batter view not correct 100% and following it under your risk
HMA Pivot Buy/Sell (only) + AlertsThis Pine Script is a lightweight indicator that plots only HMA-based pivot Buy/Sell signals and provides alert conditions for them.
What it does
Calculates a Hull Moving Average (HMA) using either:
a dynamic length based on the chart timeframe, or
a custom user-defined length.
Detects HMA pivot points (local turning points):
Buy signal when the HMA forms a local minimum (trend turns up).
Sell signal when the HMA forms a local maximum (trend turns down).
Optionally plots the HMA line and prints only the Buy/Sell markers on the chart (no extra arrows/emoji/labels from other systems).
Adds TradingView alerts for Buy, Sell, and combined Buy/Sell events.
Signal logic
Buy (HMA Pivot Low) triggers when:
HMA > HMA and HMA < HMA
Meaning: the HMA was falling, formed a bottom, and has started rising.
Sell (HMA Pivot High) triggers when:
HMA < HMA and HMA > HMA
Meaning: the HMA was rising, formed a top, and has started falling.
Inputs
Source: price source used to compute HMA (default: close).
Use Custom HMA Length: enables manual override.
Custom HMA Length: manual HMA period (default: 55).
Alerts: only on bar close:
If enabled, alerts fire only after the bar closes (confirmed signals).
If disabled, alerts can fire intrabar (faster but less stable).
Draw signal on pivot bar (offset -1):
If enabled, markers are drawn on the pivot bar (one bar back) using offset = -1.
If disabled, markers are drawn on the confirmation bar (no offset).
Show HMA line: toggles display of the HMA line.
Alerts available
BUY (HMA Pivot) — triggers on Buy signal.
SELL (HMA Pivot) — triggers on Sell signal.
BUY/SELL (HMA Pivot) — triggers on either Buy or Sell.
Each alert message includes ticker, timeframe, and close price via placeholders:
{{ticker}}, {{interval}}, {{close}}.






















