指标和策略
MACD-v Bullish/Bearish DivergenceMACD-v Bullish/Bearish Divergence
Overview This indicator is a specialized divergence detector based on the MACD-v (Volatility Normalized Momentum) concept. Unlike standard MACD which uses absolute price differences, MACD-v normalizes values against volatility (ATR), allowing for fixed, universal Overbought/Oversold thresholds across all assets and timeframes.
Recommendation: This script is highly effective when paired with the original MACD-v by Alex Spiroglou. While this indicator focuses on identifying and visualizing divergence entries, using the original oscillator alongside it provides the best visual context for the overall momentum structure.
How It Works
This tool uses a dual-signal mechanism (Raw Line + Signal Smooth) to identify specific divergence setups:
Setup (Yellow/Blue Dots): Identifies when price momentum has extended significantly into extreme zones (Overbought/Oversold).
Trigger (Red/Green Dots): Fires when price fails to make a new momentum extreme despite price action (classic divergence/failure swing).
Active State (Background Color): Once a trigger fires, the background highlights (Red for Bearish, Green for Bullish) to indicate an active divergence play.
Reset (Exit): The signal state clears when momentum returns to the neutral "safe zone."
Important Note: Momentum Washout
The colored background persists as long as the divergence trade remains valid. Traders should note the concept of "Momentum Washout":
Signal End: The background color turns off when the MACD returns to the neutral range, indicating the primary high-velocity impulse is over.
Performance Continuation: Significant positive or negative price performance can often continue even after the background signal ends. This period allows the remaining momentum to "wash out" or drift before the next major impulse.
Strategy Tip: The indicator is designed to capture the high-volatility portion of the reversal. Do not assume the end of the signal is the absolute top or bottom of the trend; it simply marks the normalization of momentum.
Strategy Recommendation: Multi-Timeframe Analysis
Divergence signals are most powerful when confirmed across timeframes. It is highly recommended to look for alignment before taking a trade:
Trend Confirmation: If you see a signal on a lower timeframe (e.g., 5m or 15m), check a higher timeframe (e.g., 1H or 4H). A bullish divergence on the 5m is significantly more reliable if the 1H momentum is already bullish or oversold.
Signal Stacking: Valid signals often appear sequentially—first on the 1m, then the 5m, and finally the 15m. Waiting for this "cascade" can filter out false reversals.
Visual Guide
🔵 Blue Dot: Bullish Divergence Setup (Watch for entry).
🟢 Green Dot: Bullish Divergence Trigger (Long Entry).
🟡 Yellow Dot: Bearish Divergence Setup (Watch for entry).
🔴 Red Dot: Bearish Divergence Trigger (Short Entry).
Background Color: Indicates an active trade (Red = Bearish / Green = Bullish).
Settings
Auto-Detect: Automatically switches between Scalping settings (tighter thresholds) for low timeframes and Swing settings for high timeframes.
Strict Invalidation: If enabled, cancels a setup if momentum pushes too far in the opposite direction before triggering.
Active Signal Multiplier: Dynamically smooths the signal line only when a trade is active to prevent premature exits during choppy corrections.
Disclaimer: This tool is for educational purposes and trend analysis only. Always manage your risk appropriately.
Balanced 0DTE Scalper [Clean]Balanced 0DTE Scalper is a professional-grade execution system designed specifically for the high-velocity world of 0DTE (Zero Days to Expiration) options trading on indices like SPY, QQQ, and IWM.
Unlike standard indicators that repaint or lag, this system uses Non-Repainting Multi-Timeframe Logic to align the institutional trend (15m) with precision entry triggers (5m). It is engineered to solve the two biggest killers of 0DTE traders: Theta Decay (holding too long) and Choppy Markets (trading without trend).
How It Works
1. The "Safety Belt" (15-Minute Trend Filter) Before any trade is taken, the system checks the confirmed 15-minute Trend and ADX (Strength).
No Repainting: It strictly uses the previous closed 15m bar to determine bias. Once a signal prints, it stays printed.
Regime Detection: It automatically blocks trades during low-volume "chop" (Low ADX) to save you from theta burn.
2. Precision Entry Triggers (5-Minute) Once the 15m trend gives the "Green Light," the system hunts for 5m setups using a confluence of:
EMA Crossovers: For immediate momentum.
VWAP Filter: Ensuring you are on the right side of institutional volume.
RSI Check: To avoid buying tops or selling bottoms.
3. Aggressive Risk Management (The "Profit Locker") 0DTE profits can vanish in seconds. This script manages the trade for you visually:
Dynamic Trailing Stop: Trails price based on candle Highs/Lows (not closes), allowing it to lock in profits at the peak of a spike.
Time Stop: If a trade stalls for 60 minutes (12 bars), the system triggers a "Time Exit." In 0DTE, time is money—if it's not working, get out.
Visual Levels: Automatically draws your Stop Loss, Target 1 (Conservative), and Target 2 (Runner) lines on the chart.
Features & Dashboard
Live Dashboard: Monitors Trend Bias, ADX Strength, RSI, and Open PnL in real-time.
On-Chart Tickets: Prints a "CALL OPEN" or "PUT OPEN" label with the exact Entry Price, Stop Loss, and Strike Suggestion.
Session Filters: Automatically avoids the first 10 minutes (Open Volatility) and the last 15 minutes (Close Chaos).
Settings Guide
Risk Mode:
Balanced (Default): The recommended blend of Trend + Momentum.
Conservative: Requires a very strong ADX trend. Fewer trades, higher win rate.
Aggressive: Ignores ADX strength. Good for FOMC/CPI days only.
Strike Suggestion: Automatically calculates the nearest Strike Price (ATM/OTM) for SPY/QQQ based on your settings.
Disclaimer
This tool is for educational purposes only. 0DTE options trading involves extreme risk of capital loss. Past performance (even with non-repainting logic) is not indicative of future results. Always manage your risk.
V-Max: Crypto Scaling & Professional Risk Calculator🛡️ 【V-Max】Crypto Scaling & Professional Risk Calculator
Overview The V-Max Crypto Scaling & Risk Calculator is a professional-grade execution utility designed to automate capital allocation and risk management. It enables traders to instantly determine the mathematically correct position size based on their specific risk tolerance and market volatility.
Technical Methodology & Logic This script functions as a real-time risk engine using the following calculation models:
Dynamic Lot Sizing: The position size is calculated using the formula: (Total Capital * Risk Percentage) / Stop Loss Distance. This ensures that every trade adheres to a fixed monetary risk regardless of price fluctuations.
Triple SL Logic:
3M Range: A proprietary SMA-based average range (High-Low) over a 20-period lookback.
ATR: Utilizes the Average True Range for volatility-adjusted stops.
Structural Pivot: Automatically identifies the lowest low (for longs) or highest high (for shorts) within a user-defined lookback window.
Low Volatility Safeguard: The script monitors the current market range against a user-defined threshold. If volatility drops below the "Choke Zone," a visual warning is triggered, suggesting a wider SL multiplier to prevent "stop-hunting" in illiquid conditions.
How to Use
Input your total capital and the percentage you are willing to risk (e.g., 1.5%).
Select your preferred SL source and multiplier.
The dashboard will display the exact suggested quantity and stop-loss price.
產品概述 V-Max 加密貨幣風控計算機是一款專業級執行工具,旨在將資金分配與風險管理自動化。它能幫助交易者根據特定的風險承受能力與市場波動率,即時計算出數學上正確的建倉數量。
技術邏輯與功能 本腳本透過以下運算模型實現即時風險控管:
動態倉位計算:採用 (總保證金 * 風險百分比) / 止損距離 的公式,確保每筆交易的損失金額固定,不受價格波動影響。
三種止損模式:提供 3M 平均波幅、ATR 指標以及自動偵測結構高低點(結構 K 低點/高點)。
低波動防護機制:監測當前波幅是否低於「窒息區」門檻。若波動過低,系統將發出警告並建議調大止損倍數,以避免在流動性不足時被惡意掃損。
This is a free utility from the V-Max strategic suite.
Premium Access: For L1-L3 professional indicators, please contact our authorized assistant: @VMax_Helper_bot.
Disclaimer: For educational and technical analysis purposes only. Not financial advice.
LR Candles V2IMPORTANT: Use this strategy only with Heikin Ashi candles; otherwise, the results will be negative.
The use of this strategy is solely and exclusively under the responsibility of the operator.
To perform testing correctly and as close to market reality as possible, we suggest setting the strategy preferences as follows:
Slippage = 3
Using bar magnifico = Enabled
Commission = Completed
Detail: It is important to include at least 1,000 trades in the test. This provides a certain robustness in the historical analysis of a strategy. Values lower than this may alter the expected results when trading in real life.
Tip:
Play around with different time frames and calibrations on the strategic indicator. Examples include unchecking Ling-Reg, unchecking EMA, or using both in combination. Look for the best probability and results for a specific asset.
The strategy usually performs well on time frames longer than 1 hour; this is what has been observed.
NQ Pro Dashboard (Master Fix)This indicator is a "Head-Up Display" designed specifically for trading NQ (Nasdaq-100 Futures). It aggregates data from the broader market (volatility) and the specific stocks that drive the Nasdaq index (The "Magnificent 7") to give you a single Trend Power Score.
Here is a breakdown of how the logic works under the hood:
1. The Inputs (Data Feed)
The script watches 9 specific assets in real-time (daily timeframe data):
Fear Gauges:
VIX: The volatility index for the S&P 500.
VXN: The volatility index specifically for the Nasdaq-100.
The Engine (Mag 7):
NVDA, AAPL, MSFT, AMZN, GOOGL, META, TSLA.
2. The Logic: "Weighted" Market Strength
Instead of treating every stock equally, the script applies a Weighting Multiplier to the Mag 7 stocks based on their approximate impact on the Nasdaq-100 index.
Heavyweights (1.5x): NVDA, AAPL, MSFT (These move the market the most).
Middleweights (1.0x): AMZN, GOOGL, META.
Lightweight (0.7x): TSLA (Has the least pull of the group).
It calculates a single percentage number (MAG 7 (W)) representing the combined push or pull of these stocks.
3. The "Trend Power" Score (0-100)
This is the core signal. It starts at a neutral 50 and adds/subtracts points based on market conditions.
Fear Factor:
If VIX or VXN drops > 2% (Fear dying), it adds points (Bullish).
If VIX or VXN spikes > 2% (Fear rising), it subtracts points (Bearish).
Stock Strength:
If the Weighted Mag 7 Average is > 1.0% (Strong Rally), it adds a massive 30 points.
If it's negative (Sell-off), it subtracts points.
The Score Breakdown:
80 - 100 (Green): STRONG BULL. The engines are firing (stocks up) and the brakes are off (VIX down). Do not short.
0 - 20 (Red): STRONG BEAR. Panic selling is occurring. Do not buy.
40 - 60 (Orange): CHOP / RANGE. Conflicting signals (e.g., stocks are up but VIX is also up). Be careful.
4. The "Exhaustion" Meter (ATR)
The RANGE row tells you if the market has "gas left in the tank."
It compares Today's Range (High - Low) to the 14-Day Average Range (ATR).
< 50% (Yellow): Compressed. The market hasn't moved much yet. Expect a breakout soon.
> 120% (Purple): Extended. The market has moved massive amounts today. A reversal or pause is statistically likely (mean reversion).
5. The Visuals (Leaders Row)
The bottom row gives you a quick visual scan of the individual stocks:
N▲ (Green): Nvidia is up.
T▼ (Red): Tesla is down.
This helps you spot "divergences"—for example, if the Trend Score is high but NVDA is Red, the rally might be fragile.
Low Volume Pullback [CrossTrade]PACKAGE 2: CrossTrade Edition (NinjaTrader)
1. The Strategy Guide
Strategy: Low Volume Pullback Detector (VPA)
Concept: Same logic as above (Trend + Volume Dry Up).
Integration: Designed for NinjaTrader 8 via CrossTrade.
Automation:
ATM Strategy: Uses the bot_strat name (e.g., "twoRun") to trigger your saved stops/targets in NinjaTrader.
Entry Timing: Select "Signal Candle Close" (Standard) or "Confirmation Candle Close" (Conservative).
CrossTrade Setup Steps
Add Script: Paste the code above into the Pine Editor and click "Add to Chart".
Settings: Open the indicator settings and enter your Secret Key, Account Name, and ATM Strategy Name (case sensitive).
Get Webhook: Go to your CrossTrade Dashboard and copy your URL.
Create Alert:
In TradingView, create a new Alert.
Condition: Select Low Volume Pullback .
Trigger: Select "Any function call".
Webhook: Paste your CrossTrade URL in the Webhook box.
Message: LEAVE EMPTY (The script handles this).
Click Create.
SZS Slow StochasticThis indicator is designed to:
Identify momentum extremes using Slow Stochastic
Highlight duration of overbought/oversold conditions
Signal potential reversals when exiting extremes
Confirm conditions using RSI momentum coloring
Provide clear, low-noise visual cues without clutter
It is especially useful for:
Mean-reversion strategies
Timing entries after momentum exhaustion
Visual backtesting of stochastic behavior over time
CCVD | Continuous Cumulative Volume DeltaThis indicator fills the gaps on traditional CVD, and behaves the same way on every timeframe, so it's easy to use it in a template that you apply on different TFs.
RAMO 30DK SHORT Signal30-minute chart short signal indicator.
Detects Lower High followed by a rejection candle.
Prevents repeated signals in the same area using a cooldown.
Plots a red down triangle and a label “RAMO 30DK SHORT” on the chart when a short signal occurs.
Optimized for 30-minute timeframe.
Biotech Volume Oscillator1️⃣ What This Indicator Is (In One Sentence)
It tells you whether people are actually showing up to trade the stock, or if price is just drifting around on low interest.
That’s it.
It does not predict price.
It tells you whether a move is real or fragile.
2️⃣ What the Lines Mean
You see two lines:
🔵 Blue Line = Live Participation
Fast
Reacts immediately
Shows what traders are doing right now
Think:
“Is anyone actually trading this candle?”
🟠 Orange Line = Accepted Participation
Slower
Smoothed
Shows what the market has decided is normal
Think:
“Is this level of activity sticking?”
3️⃣ What the Numbers Mean (Very Important)
The numbers are percentages vs normal volume for this stock.
Around 0
Volume is normal
Nothing special happening
+10 to +25
Healthy interest
Traders are paying attention
Moves can continue
Above +25
Abnormal participation
News, hype, or institutions involved
Moves here tend to be fast
Below –20
Participation drying up
Drift, chop, fake breakouts
Below –30
Nobody is home
Price can move, but it’s fragile
Breakouts usually fail
4️⃣ How to Use It (Step-by-Step)
Step 1: Ignore Price for a Second
Look only at the oscillator.
Ask:
“Is this above zero or below zero?”
Step 2: Look at Direction
Rising oscillator → interest increasing
Falling oscillator → interest fading
Step 3: Compare Blue vs Orange
✅ Good / Healthy
Blue above orange
Both rising
→ New participation is entering
⚠️ Warning
Price rising
Blue flat or falling
Orange flat
→ Float, not conviction
🚨 Distribution
Blue rolls over from high levels
Orange follows
Price still looks “fine”
→ Selling into strength
Advanced Multi-Level S/R ZonesAdvanced Multi-Level S/R Zones: The Comprehensive Guide
1. Introduction: The Evolution of Support & Resistance:
Support and Resistance (S/R) is the backbone of technical analysis. However, traditional methods of drawing these levels are often plagued by subjectivity. Two traders looking at the same chart will often draw two different lines. Furthermore, standard indicators often treat every price point equally, ignoring the critical context of Volume and Time.
The Advanced Multi-Level S/R Zones script represents a paradigm shift. It moves away from subjective line drawing and toward Quantitative Zoning. By utilizing statistical measures of variability (Standard Deviation, MAD, IQR) combined with Volume-Weighting and Time-Decay algorithms, this tool identifies where price is mathematically most likely to react. It treats S/R not as thin lines, but as dynamic zones of probability.
2. Core Logic and Mathematical Foundation:
To understand how to use this tool optimally, one must understand the "engine" under the hood. The script operates on four distinct pillars of logic:
A. Session-Based Data Collection:
The script does not look at every single tick. Instead, it aggregates data into "Sessions" (daily bars by default logic). It extracts the High, Low, and Total Volume for every session within the user-defined lookback period. This filters out intraday noise and focuses on the macro structure of the market.
B. Adaptive Statistical Variability:
Most Bollinger Band-style indicators use Standard Deviation (StdDev) to measure width. However, StdDev is heavily influenced by outliers (extreme wicks). This script offers a sophisticated Adaptive Method-Skewness Detection: The script calculates the skewness of the price distribution. Adaptive Selection: If the data is highly skewed (lots of outliers, typical in Crypto), it switches to MAD (Median Absolute Deviation). MAD is robust and ignores outliers. If the data is moderately skewed, it uses IQR (Interquartile Range). If the data is normal (Gaussian), it uses StdDev.
Benefit: This ensures the zone widths are accurate regardless of whether you are trading a stable Forex pair or a volatile Altcoin.
C. The Weighting Engine (Volume + Time)
Not all price history is equal. This script assigns a "Weight Score" to every session based on two factors:
Volume Weighting: Sessions with massive volume (institutional activity) are given higher importance. A high formed on low volume is less significant than a high formed on peak volume.
Time Decay: Recent price action is more relevant than price action from 50 bars ago. The script applies a decay factor (default 0.85). This means a session from yesterday has 100% impact, while a session from 10 days ago has significantly less influence on the zone calculation.
D. Clustering Algorithm
Once the data is weighted, the script runs a clustering algorithm. It looks for price levels where multiple session Highs (for Resistance) or Lows (for Support) congregate.
It requires a minimum number of points to form a zone (User Input: minPoints).
It merges nearby levels based on the Cluster Separation Factor.
This results in "Primary," "Secondary," and "Tertiary" zones based on the strength and quantity of data points in that cluster.
3. Detailed Features and Inputs Breakdown:
Group 1: Main Settings
Lookback Sessions (Default: 10): Defines how far back the script looks for pivots. A higher number (e.g., 50) creates long-term structural zones. A lower number (e.g., 5) creates short-term scalping zones.
Variability Method (Adaptive): As described above, leave this on "Adaptive" for the best results across different assets.
Zone Width Multiplier (Default: 0.75): Controls the vertical thickness of the zones. Increase this to 1.0 or 1.5 for highly volatile assets to ensure you catch the wicks.
Minimum Points per Zone: The strictness filter. If set to 3, a price level must be hit 3 times within the lookback to generate a zone. Higher numbers = fewer, but stronger zones.
Group 2: Weighting
Volume-Weighted Zones: Crucial for identifying "Smart Money" levels. Keep this TRUE.
Time Decay: Ensures the zones update dynamically. If price moves away from a level for a long time, the zone will fade in significance.
ATR-Normalized Zone Width: This is a dynamic volatility filter. If TRUE, the zone width expands and contracts based on the Average True Range. This is vital for maintaining accuracy during market breakouts or crashes.
Group 3: Zone Strength & Scoring
The script calculates a "Score" (0-100%) for every zone based on:
-Point Count: More hits = higher score.
-Touches: How many times price wicked into the zone recently.
-Intact Status: Has the zone been broken?
-Weight: Volume/Time weight of the constituent points.
-Track Zone Touches: Looks back n bars to see how often price respected this level.
-Touch Threshold: The sensitivity for counting a "touch."
Group 4: Visuals & Display
Extend Bars: How far to the right the boxes are drawn.
Show Labels: Displays the Score, Tier (Primary/Secondary), and Status (Retesting).
Detect Pivot Zones (Overlap): This is a killer feature. It detects where a Support Zone overlaps with a Resistance Zone.
Significance: These are "Flip Zones" (Old Resistance becomes New Support). They are colored differently (Orange by default) and represent high-probability entry areas.
Group 5: Signals & Alerts
Entry Signals: Plots Buy/Sell labels when price rejects a zone.
Detect Break & Retest: specifically looks for the "Break -> Pullback -> Bounce" pattern, labeled as "RETEST BUY/SELL".
Proximity Alert: Triggers when price gets within x% of a zone.
4. Understanding the Visuals (Interpreting the Chart)
When you load the script, you will see several visual elements. Here is how to read them:
The Boxes (Zones)
Red Shades: Resistance Zones.
Dark Red (Solid Border): Primary Resistance. The strongest wall.
Lighter Red (Dashed Border): Secondary/Tertiary. Weaker, but still relevant.
Green Shades: Support Zones.
Dark Green (Solid Border): Primary Support. The strongest floor.
Orange Boxes: Pivot Zones. These are areas where price has historically reacted as both support and resistance. These are the "Line in the Sand" for trend direction.
The Labels & Emojis
The script assigns emojis to zone strength:
🔥 (Fire): Score > 80%. A massive level. Expect a strong reaction.
⭐ (Star): Score > 60%. A solid structural level.
✓ (Check): Score > 40%. A standard level.
"⟳ RETESTING": Appears when a zone was broken, and price is currently pulling back to test it from the other side.
The Dashboard (Top Right)
A statistics table provides a "Head-Up Display" for the asset:
High/Low σ (Sigma): The variability of the highs and lows. If High σ is much larger than Low σ, it implies the tops are erratic (wicks) while bottoms are clean (flat).
Method: Shows which statistical method the Adaptive engine selected (e.g., "MAD (auto)").
ATR: Current volatility value used for normalization.
5. Strategies for Optimum Output
To get the most out of this script, you should not just blindly follow the lines. Use these specific strategies:
Strategy A: The "Zone Fade" (Range Trading)
This works best in sideways markets.
Identify a Primary Support (Green) and Primary Resistance (Red).
Wait for price to enter the zone.
Look for the "SUPPORT BOUNCE" or "RESISTANCE REJECTION" signal label.
Entry: Enter against the zone (Buy at support, Sell at resistance).
Stop Loss: Place just outside the zone width. Because the zones are calculated using volatility stats, a break of the zone usually means the trade is invalid.
Strategy B: The "Pivot Flip" (Trend Following)
This is the highest probability setup in trending markets.
Look for an Orange Pivot Zone.
Wait for price to break through a Resistance Zone cleanly.
Wait for the price to return to that zone (which may now turn Orange or act as Support).
Look for the "RETEST BUY" label.
Logic: Old resistance becoming new support is a classic sign of trend continuation. The script automates the detection of this exact geometric phenomenon.
Strategy C: The Volatility Squeeze
Look at the Dashboard. Compare High σ and Low σ.
If the values are dropping rapidly or becoming very small, the zones will contract (become narrow).
Narrow zones indicate a "Squeeze" or compression in price.
Prepare for a violent breakout. Do not fade (trade against) narrow zones; look to trade the breakout.
6. Optimization & Customization Guide
Different markets require different settings. Here is how to tune the script:
For Crypto & Volatile Stocks (Tesla, Nvidia)
Method: Set to Adaptive (Mandatory, as these assets have "Fat Tails").
Multiplier: Increase to 1.0 - 1.25. Crypto wicks are deep; you need wider zones to avoid getting stopped out prematurely.
Lookback: 20-30 sessions. Crypto has a long memory; short lookbacks generate too much noise.
For Forex (EURUSD, GBPJPY)
Method: You can force StdDev or IQR. Forex is more mean-reverting and Gaussian.
Multiplier: Decrease to 0.5 - 0.75. Forex levels are often very precise to the pip.
Volume Weighting: You may turn this OFF for Forex if your broker's volume data is unreliable (since Forex has no centralized volume), though tick volume often works fine.
For Scalping (1m - 15m Timeframes)
Lookback: Decrease to 5-10. You only care about the immediate session history.
Decay Factor: Decrease to 0.5. You want the script to forget about yesterday's price action very quickly.
Touch Lookback: Decrease to 20 bars.
For Swing Trading (4H - Daily Timeframes)
Lookback: Increase to 50.
Decay Factor: Increase to 0.95. Structural levels from weeks ago are still highly relevant.
Min Points: Increase to 3 or 4. Only show levels that have been tested multiple times.
7. Advantages Over Standard Tools:
Feature Standard S/R Indicator, Advanced Multi-Level S/R Calculation, Uses simple Pivots or Fractals, Uses Statistical Distributions (MAD/IQR). Zone Width Arbitrary or Fixed Adaptive based on Volatility & ATR.
Context Ignores Volume Volume Weighted (Smart Money tracking).
Time Relevance Old levels = New levels Time Decay (Recency bias applied).
Overlaps Usually ignores overlaps Detects Pivot Zones (Res/Sup Flip).
Scoring None 0-100% Strength Score per zone.
8. Conclusion:
The Advanced Multi-Level S/R Zones script is not just a drawing tool; it is a statistical analysis engine. By accounting for the skewness of data, the volume behind the moves, and the decay of time, it provides a strictly objective roadmap of the market structure.
For the optimum output, combine the Pivot Zone identification with the Retest Signals. This aligns you with the underlying flow of order blocks and prevents trading against the statistical probabilities of the market.
Squeeze + ADX + TTM [V6]Execution speed: The TradingView engine processes v6 scripts much faster.
Stability: By using standard functions like ta.sma or ta.linreg, the indicator is less prone to calculation errors on lower timeframes.
Clarity: I've reorganized the ADX calculation within a function to make it more readable if you decide to modify it later.
Lot Size Calculator (Entry + SL) GOLDLot Size Calculator (Entry + SL)
This indicator helps traders calculate the correct position size (lots) based on risk management, using a fixed account balance and risk percentage per trade.
By providing an Entry Price and Stop-Loss Price, the script automatically computes:
Dollar risk per trade
Stop-loss distance
Risk per unit
Total position size in units
Final position size in lots (rounded to broker-compatible steps)
How It Works
Define your Account Balance.
Set your Risk % per trade (e.g., 1%).
Choose your Entry Price:
Manual input, or
Use the current market price.
Enter your Stop-Loss Price.
The indicator calculates the maximum lot size so that your loss at SL equals your predefined risk.
Key Features
Uses TradingView’s syminfo.pointvalue for accurate instrument pricing
Supports any market (Forex, indices, commodities, crypto)
Custom units per lot (FX standard, mini, micro, or custom CFD contracts)
roker-friendly lot rounding
Clean table display for quick decision-making
Ideal for traders who:
Follow strict fixed-percentage risk management
Want consistent position sizing
Trade multiple instruments with different contract sizes
This tool ensures every trade risks the same percentage of capital, regardless of stop-loss distance.
S&D Trend Pullback StrategyThis is simple indicator for myself to alert me when in trend pullback and entry.
Use in M5 chart.
SL put 30-50pips
TP can set 30-90pips
Anurag - Balanced 0DTE Scalper QQQ SPYBalanced 0DTE Scalper is a professional-grade execution system designed specifically for the high-velocity world of 0DTE (Zero Days to Expiration) options trading on indices like SPY, QQQ, and IWM.
Unlike standard indicators that repaint or lag, this system uses Non-Repainting Multi-Timeframe Logic to align the institutional trend (15m) with precision entry triggers (5m). It is engineered to solve the two biggest killers of 0DTE traders: Theta Decay (holding too long) and Choppy Markets (trading without trend).
How It Works
1. The "Safety Belt" (15-Minute Trend Filter) Before any trade is taken, the system checks the confirmed 15-minute Trend and ADX (Strength).
No Repainting: It strictly uses the previous closed 15m bar to determine bias. Once a signal prints, it stays printed.
Regime Detection: It automatically blocks trades during low-volume "chop" (Low ADX) to save you from theta burn.
2. Precision Entry Triggers (5-Minute) Once the 15m trend gives the "Green Light," the system hunts for 5m setups using a confluence of:
EMA Crossovers: For immediate momentum.
VWAP Filter: Ensuring you are on the right side of institutional volume.
RSI Check: To avoid buying tops or selling bottoms.
3. Aggressive Risk Management (The "Profit Locker") 0DTE profits can vanish in seconds. This script manages the trade for you visually:
Dynamic Trailing Stop: Trails price based on candle Highs/Lows (not closes), allowing it to lock in profits at the peak of a spike.
Time Stop: If a trade stalls for 60 minutes (12 bars), the system triggers a "Time Exit." In 0DTE, time is money—if it's not working, get out.
Visual Levels: Automatically draws your Stop Loss, Target 1 (Conservative), and Target 2 (Runner) lines on the chart.
Features & Dashboard
Live Dashboard: Monitors Trend Bias, ADX Strength, RSI, and Open PnL in real-time.
On-Chart Tickets: Prints a "CALL OPEN" or "PUT OPEN" label with the exact Entry Price, Stop Loss, and Strike Suggestion.
Session Filters: Automatically avoids the first 10 minutes (Open Volatility) and the last 15 minutes (Close Chaos).
Settings Guide
Risk Mode:
Balanced (Default): The recommended blend of Trend + Momentum.
Conservative: Requires a very strong ADX trend. Fewer trades, higher win rate.
Aggressive: Ignores ADX strength. Good for FOMC/CPI days only.
Strike Suggestion: Automatically calculates the nearest Strike Price (ATM/OTM) for SPY/QQQ based on your settings.
Disclaimer
This tool is for educational purposes only. 0DTE options trading involves extreme risk of capital loss. Past performance (even with non-repainting logic) is not indicative of future results. Always manage your risk.
SMC Post-Analysis Lab [PhenLabs]📊 SMC Post-Analysis Lab
Version: PineScript™ v6
📌 Description
The SMC Post-Analysis Lab is a dedicated hindsight analysis tool built for traders who want to understand what really happened during any historical trading period. Unlike forward-looking indicators, this tool lets you scroll back through time and instantly receive algorithmic classification of market states using Smart Money Concepts methodology.
Whether you’re reviewing a losing trade, studying a successful session, or building your pattern recognition skills, this indicator provides immediate context. The expansion-aware algorithm processes price action within your selected window and outputs clear, actionable classifications ranging from Parabolic Expansion to Consolidation Inducements.
Stop relying on subjective post-trade analysis. Let the algorithm objectively tell you whether institutional players were accumulating, distributing, or running inducements during your trades.
🚀 Points of Innovation
First indicator specifically designed for SMC-based post-trade review rather than live signal generation
Dual-mode analysis system allowing both dynamic scrollback and precise date selection
Expansion-aware classification algorithm that weighs range position against net displacement
Real-time efficiency metrics calculating directional quality of price movement
Integrated visual FVG detection within the analysis window only
Interactive table with clickable date range adjustment via chart interface
🔧 Core Components
Pivot Detection Engine: Uses configurable pivot length to identify significant swing highs and lows for structure break detection
Window Calculator: Determines active analysis zone based on either bar offset or timestamp boundaries
Data Aggregator: Tracks window open, high, low, close and counts bullish/bearish structure break events
State Classification Algorithm: Applies hierarchical logic to determine market state from six possible classifications
Visual Renderer: Draws structure breaks, FVG boxes, and window highlighting within the active zone
🔥 Key Features
Sliding Window Mode: Use the Scroll Back slider to dynamically move your analysis zone backwards through history bar-by-bar
Date Range Mode: Select specific start and end timestamps for precise session or trade review
Six Market State Classifications: Parabolic Expansion (Bull/Bear), Bullish/Bearish Order Flow, Accumulation/Distribution Reversal, and Consolidation/Inducement
Range Position Percentile: See exactly where price closed relative to the window’s high-low range as a percentage
Bull/Bear Event Counter: Quantified count of structure breaks in each direction during the analysis period
Efficiency Calculation: Net move divided by total range reveals trending quality versus chop
🎨 Visualization
Blue Window Highlight: Active analysis zone is clearly marked with blue background shading on the chart
Structure Break Lines: Dashed lines appear at each bullish or bearish structure break within the window
FVG Boxes: Fair Value Gaps automatically render as semi-transparent boxes in bullish or bearish colors
Dashboard Table: Top-right positioned table displays State, Analysis description, and Metrics in real-time
Color-Coded States: Each classification uses distinct coloring for immediate visual recognition
Interactive Tip Row: Optional help text guides users on clicking the table to adjust date range
📖 Usage Guidelines
General Configuration
Analysis Mode: Default is Sliding Window. Choose Date Range for specific timestamp analysis.
Sliding Window Settings
Scroll Back (Bars): Default 0. Increase to move window backwards into history.
Window Width (Bars): Default 100. Range 20-50 for scalping, 100+ for swing analysis.
Date Range Settings
Start Date: Select the beginning timestamp for your analysis period.
End Date: Select the ending timestamp for your analysis period.
Visual Settings
Show Help Tip: Default true. Toggle to hide instructional row in dashboard.
Bullish Color: Default teal. Customize for bullish elements.
Bearish Color: Default red. Customize for bearish elements.
SMC Parameters
Pivot Length: Default 5. Lower values (3-5) catch minor breaks. Higher values (10+) focus on major swings.
✅ Best Use Cases
Post-trade review to understand why entries succeeded or failed
Session analysis to identify institutional activity patterns
Trade journaling with objective algorithmic classifications
Pattern recognition training through historical scrollback
Identifying whether stop hunts were inducements or legitimate breaks
Comparing your real-time read versus what the algorithm detected
⚠️ Limitations
Designed for historical analysis only, not live trade signals
Classification accuracy depends on appropriate pivot length for the timeframe
FVG detection uses simple gap logic without mitigation tracking
State classification is based on window data only, not broader context
Requires manual scrolling or date input to review different periods
💡 What Makes This Unique
Purpose-Built for Review: Unlike most indicators focused on live signals, this is designed specifically for post-trade analysis
Expansion-Aware Logic: Algorithm weighs both position in range AND directional efficiency for accurate state detection
Interactive Date Control: Click the dashboard table to reveal draggable anchors for window adjustment directly on chart
🔬 How It Works
1. Window Definition:
User selects either Sliding Window or Date Range mode
System calculates which bars fall within the active analysis zone
Active zone receives blue background highlighting
2. Data Collection:
Algorithm captures window open, running high, running low, and current close
Structure breaks are detected when price crosses above last pivot high or below last pivot low
Bullish and bearish events are counted separately
3. State Classification:
Range Position calculates where close sits as percentage of high-low range
Efficiency calculates net move divided by total range
Hierarchical logic applies priority rules from Parabolic states down to Consolidation
4. Output Rendering:
Dashboard table updates with State title, Analysis description, and Metrics
Visual elements render within window only to keep chart clean
Colors reflect bullish, bearish, or neutral classification
💡 Note:
This indicator is intended for educational and review purposes. Use it to develop your understanding of Smart Money Concepts by analyzing what institutional order flow looked like during historical periods. Combine insights with your own analysis methodology for best results.
Trade Secrets by Pratik - Dual Intraday StrategyThe "Trade Secrets by Pratik" strategy is a high-momentum, dual-direction trading system designed to capture explosive moves after brief market pullbacks. It relies on a rigorous combination of trend-following moving averages and a strength filter.
1. Core Concept
The strategy identifies "Clean Pullbacks"—brief pauses in a strong trend where the price stays strictly away from the short-term average (10 EMA). This indicates extreme momentum, as buyers (in an uptrend) or sellers (in a downtrend) are too aggressive to allow a deeper correction.
2. Technical Filters
Trend Direction: Price must be above both 10 and 35 EMAs for Buys, and below both for Sells.
Strength Filter (RSI): Requires an RSI > 60 for Longs (to ensure high demand) and RSI < 40 for Shorts (to ensure heavy selling pressure).
3. Trade Execution
The Setup: Look for a "Floating Candle"—a Red candle for Buys or a Green candle for Sells that does not touch the 10 EMA.
The Trigger: A trade is entered only if the very next candle breaks the "Setup Candle's" high (Buy) or low (Sell).
Risk-Reward: Aim for a fixed 1:3 Ratio, ensuring that one winner covers three losing trades.
4. Safety Logic
The system includes a "No-Same-Candle-Exit" rule, preventing the script from triggering a Stop Loss on the same bar as the Entry. This filters out immediate price "whipsaws" and ensures the trade has room to develop.
Round Level Pro Stats
Here is a professional English description of your indicator, which you can use for your own records or if you ever want to share it on the TradingView Community Scripts:
Indicator Name: Dynamic Round Levels & Historical Strength Grid
Overview
This indicator is a sophisticated technical analysis tool designed to identify and evaluate "Round Number" psychological levels (e.g., 1.17100, 1.17200, 1.17300). Unlike a static grid, this tool actively scans historical data to provide a "Strength Score" for each level, helping traders distinguish between minor price points and significant historical reaction zones.
Key Features
Automated Price Grid: Generates a clean, horizontal grid based on user-defined price intervals (Steps). Perfect for Forex (0.001 pips), Stocks, or Crypto.
Historical Strength Engine: Analyzes up to 5,000 historical bars to calculate how "respected" a price level is.
The "3-Candle Confirmation" Logic: A level's strength is only increased if the price touches the line and successfully reverses/bounces, staying on the same side for at least 3 subsequent candles.
Smart Visual Coding:
Green (High Strength): Levels with >60% historical reversal success.
Orange (Medium Strength): Levels with 35%–60% success.
Red (Low Strength): Levels frequently breached without reaction.
Pro HUD Display: Bold percentage labels are positioned at the far right of the chart (near the price scale) to keep the main trading area clutter-free.
How to Use
Set your Step: For Forex, use 0.001 to see 10-pip increments. For Bitcoin or Gold, use 10 or 100.
Lookback Period: Adjust the history scan (up to 5,000 bars) to match your trading timeframe.
Identify Support/Resistance: Look for Green % STR labels. These represent "Round Numbers" that have acted as strong barriers in the past, offering higher-probability entry or exit points.
Technical Summary for Pine Script
Language: Pine Script v5
Max Lines/Labels: 500 (Optimized for performance)
Placement: Far-right margin alignment using bar_index offsets.
Laughing Grid Radar
// ═══ Row 9: 底部装饰线 ═══
table.cell(panel, 0, 9, "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄", bgcolor=c_void, text_color=c_neon_pink, text_halign=text.align_center, text_size=size.tiny)
table.merge_cells(panel, 0, 9, 1, 9)
V-Max: Tactical Clock & Real-time Price🛡️ 【V-Max】Tactical Clock & Real-time Price: Global Timezone Navigator
Overview The V-Max Tactical Clock & Price is a high-visibility utility dashboard designed for traders operating in global markets. It provides real-time price tracking and synchronized local time display directly on the chart, ensuring precise execution timing regardless of the exchange's default timezone.
Technical Methodology & Logic This script employs a millisecond-level time compensation engine:
Physical Time Calibration: Unlike standard chart clocks, this script uses timenow + (tz_offset * 3,600,000) to perform precise millisecond compensation based on user-defined GMT offsets.
Dynamic Price Rendering: The price display utilizes conditional coloring logic (close >= open ? up_col : dn_col) to provide immediate visual feedback on current bar momentum.
High-Identifiability UI: Leverages the table.new titan rendering engine with size.huge font specs for the price, ensuring critical data remains readable even on small mobile screens or complex chart layouts.
Monospaced Formatting: Uses font.family_monospace to ensure numerical alignment and prevent visual flickering during rapid price fluctuations.
How to Use
Timezone Setup: Enter your local GMT offset (e.g., +8 for Taiwan/Singapore, -5 for New York) in the settings.
Visual Customization: Adjust the dashboard position and background transparency to fit your trading workspace.
產品概述 V-Max 戰術時鐘與價格顯示器是一款為全球市場交易者設計的高辨識度工具。它在圖表上直接提供實時價格追蹤與同步化的本地時間顯示,確保交易者無論在任何交易所時區下都能精確掌握執行時機。
技術邏輯與功能 本腳本採用毫秒級時間補償引擎:
物理時間校準:利用 timenow 配合自定義偏移量,實現精確的全球時區校準。
動能價格渲染:價格顯示具備即時漲跌變色邏輯,提供直觀的即時盤感反饋。
高辨識度 UI:採用 size.huge(特大)字體規格顯示價格,確保在手機端或複雜圖表下依然清晰易讀。
等寬字體格式:使用等寬字體確保數字在劇烈波動時不會跳動閃爍,維持視覺穩定性。
This tool is a free utility from the V-Max strategic suite.
Authorization: For other V-Max premium indicators (L1-L3), contact @VMax_Helper_bot.
Community: Join our group for real-time market tactical reports.
Stoch + RSI Super Buy SpotWhat does this indicator do?
This indicator helps you spot the moment when a price is likely to start bouncing,
before the bounce becomes obvious on the chart.
Most buy signals appear after price has already moved up.
This indicator is designed to show a signal just before the move begins.
What kind of situation does it look for?
The indicator looks for three conditions at the same time.
① Price has fallen a lot
The Stochastic line is near the bottom (0–20).
This means the market has recently dropped significantly.
② The market is weak, but not broken
The RSI line stays between 40 and 50.
This suggests selling pressure exists, but strength is still holding.
③ Downward movement starts to slow and turn up
The Stochastic line stops falling
and starts to move upward, even slightly.
👉 When all three happen together, the indicator marks a BUY timing.
Why does this signal appear earlier than others?
Many indicators wait for:
line crossovers, or
levels to be clearly broken
That often means the signal appears after the price has already risen.
This indicator:
does not wait for crossovers
instead, it detects the first change in direction
So the signal appears one step earlier.
How should you use this BUY signal?
This BUY mark means:
“The downtrend may be ending, and a rebound could be starting.”
It is best used as:
a preparation signal, or
a buy zone alert,
not as a guaranteed entry on its own.
When does this indicator work best?
After a strong decline
Near support levels
During consolidation after a drop
It is especially useful for catching early rebounds.
One-sentence summary
“An indicator that highlights early signs of a rebound while the price is still low.”
Mid-Term Refuges (Refugios de Mediano Plazo)════════════
ENGLISH VERSION (SPANISH TEXT AT THE END)
════════════
MID-TERM REFUGES (RMP) V1.0
The Mid-Term Refuges (RMP) indicator plots psychological support and resistance levels based on a methodology used by institutional investors since auction floor days. RMP automatically calculates 31 key levels (refuges) from the asset's annual opening price.
METHODOLOGY
• RESISTANCES (R1-R15): Projected at +10% intervals from annual opening, identifying selling pressure zones
• SUPPORTS (S1-S15): Calculated at -10% intervals, marking buyer interest areas
• ANNUAL OPENING PRICE (PA): Central reference level
The 10% intervals represent significant psychological thresholds that capture market indecision, consolidation, or reversal moments. When critical mass of participants uses these same levels, they become self-fulfilling prophecies.
VALIDATION
Test RMP effectiveness on your assets:
1. Use TradingView's Bar Replay
2. Review periods with +/-10% movements
3. Count price reactions at refuge levels
4. Higher frequency = higher institutional usage probability
ECOSYSTEM INTEGRATION
RMP integrates with our other indicators:
• RLP/RLPS (Long-Term Refuges): Structural analysis
• RS (Weekly Refuges): Short-term tactical analysis
FEATURES
• 31 configurable levels with individual switches
• Professional visualization with formatted prices
• Complete customization (colors, widths, styles)
• Native integration with TradingView's price scale
• Bar Replay compatible
PHILOSOPHY
RMP doesn't predict the future—it observes price action at objective levels. No oscillators, no curve-fitting. Pure technical analysis based on auction floor techniques proven over decades.
══════════════
VERSION EN ESPANIOL
══════════════
REFUGIOS DE MEDIANO PLAZO (RMP) V1.0
El indicador Refugios de Mediano Plazo (RMP) traza niveles psicologicos de soporte y resistencia basados en una metodologia utilizada por inversores institucionales desde los tiempos de los pisos de subastas. RMP calcula automaticamente 31 niveles clave (refugios) a partir del precio de apertura anual del activo.
METODOLOGIA
• RESISTENCIAS (R1-R15): Proyectadas a intervalos de +10% desde la apertura anual, identificando zonas de presion vendedora.
• SOPORTES (S1-S15): Calculados a intervalos de -10%, marcando areas de interes comprador
• PRECIO DE APERTURA ANUAL (PA): Nivel de referencia central
Los intervalos del 10% representan umbrales psicologicos significativos que capturan momentos de indecision, consolidacion o reversion del mercado. Cuando una masa critica de participantes utiliza estos mismos niveles, se convierten en profecias autocumplidas.
VALIDACION
Pruebe la efectividad de RMP en sus activos:
1. Use el Reproductor de Barras de TradingView
2. Revise periodos con movimientos de +/-10%
3. Cuente las reacciones del precio en los niveles refugio
4. Mayor frecuencia = mayor probabilidad de uso institucional
INTEGRACION CON NUESTRO ECOSISTEMA DE INDICADORES DE REFUGIOS CON ACCION DEL PRECIO
Este indicador RMP se complementa con el uso de los siguientes indicadores:
• RLP (Refugios de Largo Plazo): Busqueda y definicion automatizada de fases preponderantes.
• RLPS (Refugios de Largo Plazo Simplificado): Analisis en base a fase preponderante conocida.
• RS (Refugios Semanales): Analisis tactico de fases de corto plazo.
CARACTERISTICAS
• 31 niveles configurables con switches individuales
• Visualizacion profesional con precios formateados
• Personalizacion completa (colores, grosores, estilos)
• Integracion nativa con la escala de precios de TradingView
• Compatible con Reproductor de Barras
FILOSOFIA
RMP no predice el futuro. Observa la accion del precio en niveles objetivos. Sin osciladores, sin sobreajustes. Analisis tecnico puro basado en tecnicas de piso de subastas probadas durante decadas.
════════════════════════════════════════════════════════════
Desarrollado por: aj p'oolom maasewal
Codificado con la valiosa colaboracion de: Claude Sonnet 4.5 de Anthropic
════════════════════════════════════════════════════════════






















