Pine Script®指標
圖表形態
Golden Pocket ZonesGolden Pocket Zones: High-Probability Reaction Zones
⚙️ Identify High-Probability Reaction Zones: The script automatically scans daily price action to plot powerful support and resistance zones based on the Golden Pocket Fibonacci retracement (50%-61.8%). These are areas where price is statistically likely to react, providing traders with a map of key market levels.
✅ Native support for Gold, Forex, Crypto, Stocks, Crude oil.
📦 Dynamic & Self-Merging Zones: The indicator identifies Golden Pockets from significant daily candles and automatically merges overlapping zones. This process consolidates multiple levels into a single, stronger, and more reliable area of interest, reducing chart noise and highlighting the most critical price boundaries.
🎯 Volatility-Adaptive Zone Height: Zone height is calculated as a percentage of the 10-day Average Daily Range (ADR10). This ensures that the zones dynamically adapt to the current market volatility. In volatile conditions, zones are wider; in calm markets, they are tighter, always remaining relevant to the instrument being traded.
💪 Strength & Age Analysis: Each zone is automatically rated for strength (4-10) based on the size of the daily candle that created it relative to the ADR10. Larger candles produce stronger zones. The age of the zone (in days) is also displayed, allowing traders to assess its relevance over time.
🔥 Proximity Heatmap: Zones are color-coded with a dynamic heatmap. The closer the current price is to a zone, the "hotter" (more orange) the color becomes. This provides an immediate visual cue to pay attention as price approaches a key reaction area.
🌍 Universal Asset Compatibility: While the logic is exceptionally powerful for Gold (XAUUSD), the indicator is designed for universal application across Futures (NQ/ES), Forex, Cryptocurrencies (BTC), and US Stocks. The ADR-based calculations ensure its principles adapt seamlessly to any market.
📌Recommended Timeframes
📦While the zones are calculated from the Daily chart, they are most effectively used for executing trades on intraday timeframes. The recommended timeframes for monitoring price action and looking for confirmation signals are:
•M30 (30-Minute)•H1 (1-Hour)•H2 (2-Hour)•H4 (4-Hour)
How to Use the Golden Pocket Zones
🕒This indicator is designed to identify high-probability areas for price reactions, not to provide direct entry signals. The core strategy is to use these zones as a map and wait for price to confirm a reaction before making a trading decision.
Identifying High-Probability Reaction Zones
✅1.Load the Indicator: Apply the "Golden Pocket Zones" indicator to your chart. With default settings, it will analyze the last 20 daily candles to generate the zones.
🎯 2.Identify Key Levels: The plotted boxes are your key areas of interest. These represent significant historical support and resistance. A zone’s strength is indicated by its rating (e.g., "S: 8"), with higher numbers indicating a more significant level.
🥇3.Watch for Price Approach: As price action on your trading timeframe (e.g., M15, H1, H4) approaches one of these daily zones, it is entering a high-probability reaction area. The zone’s color will shift from yellow to orange, signaling proximity.
⚙️4.Look for Confirmation: This is the most critical step. Do not blindly trade just because price touches a zone. Instead, wait for a clear confirmation signal on a lower timeframe. This could be:
•Candlestick Patterns: A bullish engulfing pattern, a hammer, or a doji at a support zone.
•Chart Patterns: A double bottom forming within a zone or a breakout and retest of a smaller pattern.
•Divergence: Bullish or bearish divergence on an oscillator like RSI or MACD as price interacts with the zone.
Trading Strategy & Logic
📌 Entry Logic
1.Patience is Key: Allow price to travel to a pre-identified Golden Pocket Zone. Do not chase the market.
2.Wait for Confirmation: Once price enters the zone, switch to a lower timeframe (e.g., from H4 to M15) and wait for a clear entry signal (like a bullish candlestick pattern for a long trade at a support zone).
3.Enter on Confirmation: Execute your trade once your entry criteria are met. The zone itself provides the context for the trade.
🛑 Stop Loss (SL) Placement
•For a Long Trade (at a support zone): Place your stop loss a reasonable distance below the lower boundary of the zone. The zone itself acts as a buffer.
•For a Short Trade (at a resistance zone): Place your stop loss a reasonable distance above the upper boundary of the zone.
🎯 Take Profit (TP) Strategy
•Target the Next Zone: The most logical target is the next Golden Pocket Zone in the opposite direction of your trade. If you enter a long trade from a support zone, your primary target would be the next resistance zone above.
•Partial Profits: For larger moves, you can use Fibonacci extension levels or other support/resistance structures as intermediate targets to take partial profits.
Using Default Settings
The indicator is optimized to work well out of the box for most assets.
•Lookback Days = 20: This analyzes approximately one month of daily price action, providing a relevant and recent map of the market structure.
•Zone Height (% of ADR10) = 3.0: This provides a reasonably sized zone that is large enough to absorb noise but tight enough to be precise. It is an excellent starting point for all assets.
•Min Candle Size (% of ADR10) = 60.0: This is a crucial filter. It ensures that only days with significant price movement (at least 60% of the average daily range) are used to create zones. This filters out insignificant, low-volatility days and focuses only on levels created by decisive market action.
By combining the powerful, automatically generated Golden Pocket Zones with patient observation and confirmation on lower timeframes, traders can significantly increase the probability of their trades across all major financial markets.
⚠️ IMPORTANT NOTICE
This indicator and the accompanying strategy are provided for educational purposes only. Trading financial markets involves substantial risk, and past performance is not indicative of future results. The logic described is based on a specific set of rules and does not guarantee profit. Always conduct your own analysis and risk management before entering any trade. The creators are not responsible for any financial losses incurred.
Pine Script®指標
Vanna/Charm Flow Strategy - Locked 2-WeekIn essense it just marks on the chart the OPEX dates, VIX expiration dates and when vanna/charm flows come into the market (which is pegged 2 weeks prior to the OPEX)
so nothing fancy but it is a good reminder when you see it on chart.
Pine Script®指標
GS Fibonacci Retracement Dynamic Anchor [Buy/Sell]GS Fibonacci Retracement Dynamic Anchor: Institutional Reversal Logic
The GS Fibonacci Retracement Dynamic Anchor is a high-precision Fibonacci tool designed for various assets including Stocks, Forex, and Options. Instead of static lines that become irrelevant as price moves, this script uses a rolling lookback engine to find the absolute Current Range . It then projects a "live grid" starting exactly from the highest and lowest bar indices.
How the Signals Work (Careful Entry):
This script does not just signal because a line was touched. It uses a Validation Phase :
The Pocket Entry: For a BUY signal, price must first dip into the "Golden Pocket" (below the 61.8% line). For a SELL signal, price must rise into the "Premium Pocket" (above 38.2%).
The Verification: The arrow only appears when the price closes back across the 50% Median Line . This confirms that the trend has truly shifted and the high/low is locked in.
Does this Redraw?
The Lines: Yes. The lines are Dynamic . If the market makes a higher high, the Fibonacci levels will automatically recalculate and shift up. This ensures you are always looking at the most current mathematical reality.
The Signals (Arrows): NO. The BUY and SELL arrows are calculated based on bar closes. Once an arrow appears on a closed candle, the logic is locked to that historical data.
Main Trading Applications:
Forex & Stocks: Ideal for catching "Mean Reversion." When a stock is overextended and enters the Premium Zone, the GS SELL signal helps you exit or short before the drop back to the median.
Options: The GS BUY signals represent "Deep Discount" entries where the Greeks (Delta/Theta) are most favorable for a bounce.
Equities/Funds: High-reliability signals for long-term investors to find "The Bottom" of a 75-day consolidation.
Key Features:
Institutional Ratios: Tracks the 21.0, 38.2, 50.0, 61.8, and 79.0 levels—the specific decimals used by automated trading algorithms.
Dynamic Anchor Dashboard: Real-time tracking of whether the price is in a "Premium" (Expensive) or "Discount" (Cheap) state.
Alert Ready: Fully integrated alert conditions for both Bullish and Bearish confirmations.
Points to Note:
Trend Strength: If the market is in a "Super Trend" (making new highs every 3 bars), the anchors will shift frequently. In these cases, wait for the price to stop making new anchors before trusting the 50% reclaim.
Lookback Setting: The 75-bar default is the "Sweet Spot" for most traders. Shortening it to 30 will make it a scalping tool; lengthening it to 200 will make it a macro-trend tool.
Pine Script®指標
Leading FVG IndicatorThis is a FVG (Fair Value Gap) Indicator
The indicator sends a Engine Call (E) - that suggests a BUY or SELL based on the H1 Bullish or Bearish bias. Once Engine call is got wait for the price to fall or rise to the next FVG and buy or sell at that FVG based on the bias. Dont buy when FVG box is red in a Bull bias or Blue in a Bear bias. Take profit based on your risk appetite. It doesnot give any exit signals.
Pine Script®指標
52 Week High Breakout + Trailing StopTrailing stop Loss & 52 WHB which gives the proper entry for short term and long term
Pine Script®指標
EMA Trend & Efficiency ValidatorEMA Tester by GKJ validating the EMA efficiency against the chop and its trend
Pine Script®指標
20-Stock Mining Basket Beta & CorrelationBeta and Correlation across a 20-stock mining basket. Move the timeline to showcase changes in beta and correlation. Not financial advice.
Pine Script®指標
Trend Forge
Trend Forge is a fully configurable multi-trend strategy that lets you mix and match three independent trend indicators to define bullish and bearish market states. When all three trends align above price, the strategy enters long; when all three align below, it enters short. Every position is protected by an ATR-based stop loss, and trades close automatically when the trend alignment breaks down.
This script was converted from the original Bear & Bull Builder indicator I published into a back testable strategy with real entries, exits, and stop loss orders. It gives you access to TradingView's full Strategy Tester including equity curves, trade lists, and performance metrics.
How It Works
Trend Selection:
You choose three trend indicators independently, each with its own type and length:
- Trend 1 (default: EMA 21) — fast trend
- Trend 2 (default: EMA 55) — medium trend
- Trend 3 (default: SMA 89) — slow trend
Each trend slot supports five indicator types: EMA, SMA, RSI, CCI, and WaveTrend (WT). This gives you complete freedom to build a trend-following system tailored to your instrument and timeframe.
Entry Logic
Long Entry: Triggered on the first confirmed bar where price closes above all three trend values. The strategy enters long at market and simultaneously places an ATR-based stop loss order.
Short Entry: Triggered on the first confirmed bar where price closes below all three trend values. The strategy enters short at market with an ATR-based stop loss.
Stop Loss Calculation
The stop loss distance is calculated as:
`Stop Loss Distance = ATR(20) × Multiplier`
- For longs, the stop is placed below the highest of the three trend values at entry.
- For shorts, the stop is placed above the lowest of the three trend values at entry.
The ATR multiplier is user-adjustable (default: 2.5), letting you widen or tighten risk per trade based on volatility.
Exit Logic
Positions close via market order when the trend alignment condition that triggered the entry is no longer met — i.e., when price crosses back through one or more of the trend lines. If the stop loss is hit first, the strategy exits at the stop price instead.
---
Visual Features
All of the original indicator's visual overlays are preserved:
-Stop Loss Zones — shaded red regions between the entry level and the ATR stop loss, shown for longs and/or shorts (toggle on/off).
- Trend Zones — green-shaded areas that highlight when a bullish or bearish state is active.
- Signal-to-Order Fill Zones — a green zone that visualizes the one-bar delay between signal generation (bar close confirmation) and order execution (next bar open).
- Entry, Stop, and Exit Labels — price labels printed on the chart at entry, stop loss, and exit points with color coding (green = entry, orange = stop, cyan = exit). Toggleable for longs and shorts independently.
---
Settings Reference
| Group | Setting | Default | Description |
|-------|---------|---------|-------------|
| First Trend** | Trend Type | EMA | Indicator type for Trend 1 |
| First Trend** | Trend Length | 21 | Lookback period for Trend 1 |
| Second Trend | Trend 2 | EMA | Indicator type for Trend 2 |
| Second Trend | Trend Length | 55 | Lookback period for Trend 2 |
| Third Trend | Trend 3 | SMA | Indicator type for Trend 3 |
| Third Trend| Trend Length | 89 | Lookback period for Trend 3 |
| Stop Loss | ATR Multiplier | 2.5 | Multiplied by ATR(20) to set stop distance |
| Display | Long/Short Labels | Long on | Show entry, stop, and exit price labels |
| Display| Stop Loss Zones | Long on | Shade the region between entry and stop |
| Display | Trend Zones | Long on | Shade active bull/bear trend areas |
| Display | Signal-to-Order Zones | Long on | Show the fill delay visualization |
---
Strategy Properties
| Property | Value |
|----------|-------|
| Default Qty Type | 100% of equity |
| Initial Capital | 10,000 |
| Pyramiding | 0 (no stacking) |
| Order Fill | Next bar open |
| Bar Confirmation | Orders only on confirmed bars |
---
Usage Tips
- Start with the default EMA 21 / EMA 55 / SMA 89 combination and adjust from there.
- Pair faster trend lengths for scalping on lower timeframes, or slower lengths for swing trading on daily/weekly charts.
- Increase the ATR multiplier on volatile instruments to avoid premature stop outs; decrease it on stable instruments for tighter risk control.
- Use the Strategy Tester tab to compare different trend type and length combinations across your chosen symbol and timeframe.
- The WaveTrend and CCI options can provide earlier signals in ranging markets but may generate more whipsaws — backtest before committing.
---
Disclaimer
This strategy is provided for educational and backtesting purposes only. Past performance does not guarantee future results. Always validate with out-of-sample data and proper risk management before trading live capital.
Pine Script®策略
Sunspot EMA CloudSunspot EMA Cloud
Overview
Sunspot EMA Cloud is a multi-layer exponential moving average framework designed to visualize market direction, internal structure, and higher-timeframe equilibrium zones within a single layout.
The script organizes EMA layers into a hierarchical structure that separates primary trend bias, medium-term momentum alignment, and long-term structural boundaries.
Primary Trend Cloud (55-200)
The foundation of the system is a fast and slow EMA pair, default values 55 and 200.
When the fast EMA is above the slow EMA, the cloud reflects bullish dominance.
When the fast EMA is below the slow EMA, the cloud reflects bearish dominance.
A gradient fill between the two averages visually highlights directional strength and transition phases.
Medium-Term EMA Cluster (30-60-120)
This layer provides internal structure confirmation.
It can be used to evaluate pullbacks, short-term acceleration, and compression within the direction defined by the primary trend cloud.
Long-Term EMA Tunnels
Three tunnel layers with default lengths 144-169, 288-338, and 576-676 represent progressively higher-order structural zones.
These zones act as dynamic support and resistance areas and help identify expansion or contraction phases in broader market structure.
Logic Framework
The system operates on three coordinated structural layers.
The 55-200 cloud defines directional bias.
The 30-60-120 cluster evaluates internal momentum alignment.
The long-term tunnels define macro structural boundaries.
Separating these elements into independent but coordinated layers provides contextual clarity while reducing visual noise.
How To Use
Use the primary trend cloud to determine directional preference.
Use the EMA cluster to assess pullbacks and short-term structure alignment.
Use the long-term tunnels to identify structural reaction zones.
Each layer can be independently enabled or disabled depending on trading requirements.
All parameters are adjustable to adapt to different markets and timeframes.
Pine Script®指標
Lunch Session LinesLines at 12 noon and 13:00 so you can easily see when you are running up to the lunch session.
Pine Script®指標
HTB Equivalent EMA + Trend Dashboard This is a solid Pine Script structure! You've built a multi-dimensional indicator that doesn't just look at price, but also considers trend slope (angle) and market regime (volatility/sideways).I’ve reviewed your logic. Here is a breakdown of what’s happening "under the hood" and a few minor refinements to ensure it runs smoothly in a live chart environment.🛠 Script Logic Breakdown1. Timeframe ScalingYour timeMultiplier logic is clever. It allows the indicator to "stay the same" visually even if you switch timeframes.The Math: If your baseTF is 5m and you move to a 1m chart, the script multiplies your lengths by 5.The Benefit: Your 200 EMA remains effectively a "5-minute 200 EMA" regardless of your current view.2. The Angle FormulaYou are using a normalized slope calculation:$$\text{Slope} = \frac{\Delta \text{Price}}{\text{ATR} \times \text{Length}}$ NYSE:BY dividing by the ATR (Average True Range), you prevent the angle from looking distorted when you switch from a high-priced asset (like BTC) to a low-priced one (like a penny stock). It keeps the "degrees" meaningful across different instruments.3. Market Regime FilteringThe script won't just fire signals blindly. It uses:ADX < 20: To identify "Chop" or sideways zones where EMAs usually fail.ATR Filter: To highlight high-volatility spikes.
Pine Script®指標
Pine Script®指標
JBK LBK - MA Ribbon + EMA Clouds + Custom EMA + Jurik BreakoutsJBK LBK - MA Ribbon + EMA Clouds + Custom EMA + Jurik Breakouts tendance
Pine Script®指標
Lunar Astronomical EventsThis script plots lunar events such as blood moons, blue moons, and super moons.
Pine Script®指標
Order Flow - Multi-TF BOSOrder Flow — Multi-TF BOS
Overview
Multi-timeframe order flow indicator that tracks market structure using Break of Structure (BOS) analysis. Displays a real-time table showing bullish/bearish bias across 4 configurable timeframes, and draws BOS/MSS/CHOCH structure marks directly on the chart.
Features
Multi-Timeframe Order Flow Table
- Shows order flow direction (BULLISH/BEARISH) for 4 timeframes simultaneously (default: 15m, 1h, 4h, 1D)
- All timeframes are configurable — works on any chart timeframe
- Color-coded cells for instant visual read of market bias alignment
- Anti-repainting: uses confirmed bars only (lookahead_off)
Break of Structure Visual Marks
- Draws horizontal lines from the swing point to the break bar at the broken swing price level
- Labels each break as BOS (trend continuation), MSS (Market Structure Shift — first counter-trend break), or CHOCH (Change of Character — confirmed reversal)
- Line styles distinguish break type: BOS = solid, MSS = dashed, CHOCH = solid thick
- Bullish breaks labeled above, bearish breaks labeled below
Structure Detection
- Swing highs and lows detected using pivot logic with configurable lookback (pivot bars)
- Close-based breaks only — no wick-through triggers, reducing false signals
- Two trend modes:
- MSS/CHOCH two-step flip (default): direction only changes after two consecutive counter-trend breaks, filtering noise
- Simple mode: direction flips immediately on any counter-trend break
- Broken swings are consumed to prevent re-triggering
- Optional strict pivot detection mode for precise swing identification
Inputs
Timeframes: 4 configurable timeframe selectors (default: 15m, 1h, 4h, 1D) with individual show/hide toggles
Swing Detection: Pivot bars (default 2), strict pivot mode toggle
Trend Mode: MSS/CHOCH two-step flip toggle
Structure Marks: Independent show/hide for BOS, MSS, and CHOCH. Per-type colors for bullish and bearish breaks (6 color inputs). Per-type line widths. Configurable label size and max marks displayed (default 50).
Table Style: Position, text size, bullish/bearish colors, header background, text color
How It Works
The indicator detects swing highs and swing lows using pivot analysis. When price closes beyond a tracked swing level, it classifies the break:
- BOS: Break in the direction of the current trend (continuation)
- MSS: First break against the current trend (puts trend in a "questioning" state)
- CHOCH: Second break against the trend after an MSS (confirms the reversal and flips direction)
The table evaluates this logic independently on each configured timeframe using request.security(), giving you a multi-timeframe view of market structure alignment. Structure marks are drawn on the current chart timeframe only.
Usage Tips
- Use the table to confirm multi-timeframe alignment before taking trades
- MSS marks serve as early warning of potential trend changes
- CHOCH marks confirm the reversal — useful for timing entries
- Increase pivot bars for higher timeframes to filter noise
- Toggle off BOS marks if you only want to see reversals (MSS/CHOCH)
Pine Script®指標
Muros Multi-TF (CON 50%)Claro, Chat. Aquí tienes la **descripción en inglés**, lista para pegar en TradingView:
---
### 📌 **Muros Multi-TF (Optimized)**
Advanced **multi-timeframe tunnel indicator** designed to identify **key dynamic support and resistance zones**, market structure, and institutional reaction areas.
The indicator plots tunnels based on **EMA 8 and EMA 15**, along with a **SMA 34**, across multiple timeframes:
* 🟥 **Monthly (M)**
* 🟪 **Weekly (W)**
* ⚪ **Daily (D)**
* 🔵 **4 Hours (4H)**
* 🟡 **1 Hour (1H)**
Each tunnel is displayed only when the current chart timeframe allows it, helping reduce noise and maintain a clean, professional chart.
---
### 🎯 **50% Tunnel Midline**
Each tunnel includes a **50% midline**, representing the equilibrium level between EMA 8 and EMA 15.
This midline can be **enabled or disabled individually** from the indicator settings for each timeframe.
The 50% level acts as:
* A price reaction zone
* A pullback level
* A decision area for trend continuation or rejection
---
### ⚙️ **Key Features**
* Optimized multi-timeframe visualization
* Full control from indicator settings
* Color-coded tunnels by timeframe
* Clean and professional design
* Suitable for **scalping, intraday, and swing trading**
* Works on any market
---
### 👨💻 **How to Use**
Use the tunnels as **dynamic walls** and the 50% midline as a key reference for:
* Pullback entries
* Trend confirmation
* Risk management and target planning
---
📈 *Built for traders who value structure, clarity, and precision.*
If you want, I can also create:
* a **short version**
* a **more technical description**
* or a **marketing-focused version** for public release
Pine Script®指標
NAVI by Ravi Devraj Saxena (Gold RR 1.3)NAVI by Ravi Devraj Saxena (Gold RR2)
This indicator is designed to help traders read volatility extremes and capture structured reversal opportunities using Bollinger Band interactions, session timing, and risk‑defined trade zones. NAVI intelligently manages one trade at a time, preventing overlapping positions and helping newer traders maintain disciplined execution.
The system includes:
Session‑filtered signals for precision trading during active hours
Primary Long/Short setups based on BB touches and candle strength
Extra Long/Short setups for momentum continuation opportunities
Dynamic RR zones, visual entry pads, stop‑loss blocks, and target boxes
Built‑in single‑position mode ensuring no new trade is taken until the current one fully closes
Automatic TP/SL detection with chart labels for clean visual tracking
Lightweight and optimized drawing engine for smooth use even on lower timeframes
NAVI is built to support disciplined, rule‑based trading with clear structure, clean visuals, and zero ambiguity. Whether you scalp or intraday trade, this tool keeps your chart organized and your decisions consistent.
Pine Script®指標
Inside Candle Positional StrategyIntroduction
This strategy implements a structured Inside Candle breakout model designed to capture expansion moves following short-term price compression.
An inside candle represents a temporary contraction in volatility, where the entire range of the current bar is contained within the previous bar. The preceding bar becomes the Mother Candle, and its range defines the potential breakout boundaries.
The model focuses purely on price structure and predefined risk parameters rather than trend-following overlays or momentum filters.
Core Logic and Structure
Inside Candle Detection
An inside candle is defined as:
Current High < Previous High
Current Low > Previous Low
When this condition occurs, the previous bar is marked as the Mother Candle. Only one breakout attempt is allowed per identified structure to prevent repeated entries within the same consolidation phase.
Trade Entry Rules
Entries are executed at market on confirmed bar close.
Long Position
Close > Mother Candle High
No active position
Short Position
Close < Mother Candle Low
No active position
This ensures breakout confirmation rather than anticipatory positioning.
Risk Management Framework
Risk control is fully rule-based and determined at the moment of entry.
For each trade:
Initial Stop Loss = Opposite boundary of the Mother Candle
Risk = Distance between entry price and initial stop
Target = Entry ± (Risk × Risk-Reward Ratio)
The Risk-Reward Ratio is user configurable.
Only one position is active at any time (pyramiding disabled).
Optional ATR-Based Trailing Stop
An optional trailing mechanism may be enabled:
Trailing Stop updates on every confirmed bar.
Calculated using ATR × Multiplier.
Moves only in the direction of profit.
Never worsens beyond the initial stop level.
If disabled, exits rely solely on the fixed stop and target.
Execution Model
All signals are calculated on confirmed bar closes.
Entries are market orders.
Stop and target levels are evaluated using bar OHLC values.
No repainting logic is used.
No intrabar order sequencing assumptions are applied.
Backtest performance may differ from live execution due to slippage, spread, liquidity, and market conditions.
Visual Components
Inside candles are highlighted (default: yellow).
Entry, Initial Stop, Trailing Stop (if enabled), and Target levels are displayed using line-break formatting for clarity.
Designed to maintain structural visibility without excessive chart clutter.
Strategy Defaults
Initial Capital: $1000
Commission: 0.05%
Position Size: 1 (fixed quantity)
Pyramiding: Disabled
These defaults can be adjusted in the Strategy Properties panel.
Intended Application
This strategy is suited for studying breakout behavior after short-term consolidation phases.
Performance characteristics will vary depending on instrument volatility, timeframe, and market regime.
It is presented as a structural breakout framework and should be tested and adapted according to individual risk tolerance and trading objectives.
Disclaimer
Trading involves significant risk. This script is provided for educational and research purposes only and does not constitute financial advice. Users are responsible for evaluating its suitability for their own trading decisions.
Pine Script®策略
Time-Based Trading StrategyA comprehensive automated trading strategy that executes trades within specific time windows with intelligent entry signals, dynamic risk management, and a unique performance scoring system. Perfect for forex, crypto, and other markets requiring time-specific trading approaches.
Pine Script®策略
[fr0x] ATR H4 & D1 Dashboard (Real Price)📊 Multi-Timeframe ATR Visualizer (H4 & Daily)
Optimize your risk management with this streamlined indicator that displays the Average True Range (ATR) in real time on two strategic timeframes: 4 Hours (H4) and Daily.
No need to switch timeframes to see the current volatility of the asset. This tool is designed for traders who want to place smart stop-losses and set price targets based on actual market volatility.
🚀 Key Features
Dual MTF Display: Instantly view the H4 ATR and Daily ATR directly on your current chart.
Standard Setting: Default configuration based on 14 periods, the industry standard for reliable analysis.
Real-Time Reading: Values update dynamically with each price movement.
Suitable for Price Action: Designed specifically for reading Japanese candlesticks.
💡 Why use this indicator?
ATR is essential for measuring market “breathing.” By knowing the Daily and H4 volatility, you can:
Adjust your Stop-Losses: Avoid being pushed out of the market by daily “noise.”
Validate a Breakout: A level breakout with a rising ATR often confirms the strength of the movement.
Calculate your position size: Adjust your leverage according to current volatility.
🛠️ Configuration
ATR period: 14 (can be changed in the settings).
Smoothing: RMWA (Wilder) method for optimal accuracy.
Note: This indicator is lightweight and does not clutter your interface, making it ideal for combining with your existing strategies.
Pine Script®指標
EMA 20 Dot Signals + Supertrend + Custom Time Filter
## Strategy Overview
This indicator combines **EMA-based price interaction**, **Supertrend directional bias**, and a **customizable intraday time filter** to generate high-probability intraday signals.
It is designed to identify pullback continuation setups and momentum-based reversals while aligning trades with prevailing trend conditions.
---
## Core Components
### 1️⃣ 20-Period Exponential Moving Average (EMA)
The 20 EMA acts as the primary dynamic reference level for short-term trend and value area assessment.
Buy or sell signals are generated when price demonstrates one of the following behaviors relative to the EMA:
* A confirmed close above or below the EMA after crossing it
* A direct touch (retest) of the EMA followed by a close in the direction of trend
* A near-touch setup where price comes within a predefined maximum distance (e.g., 5 points) from the EMA and closes back in trend direction
This allows the system to capture:
* Breakout continuation entries
* Pullback-to-EMA entries
* Shallow retracement momentum entries
The distance threshold is fully customizable, enabling adaptation for different instruments such as Bank Nifty, Nifty, or equities.
---
### 2️⃣ Supertrend Directional Filter
All EMA-based signals are filtered using the Supertrend indicator to ensure alignment with the prevailing market structure.
* Long signals are only permitted when the Supertrend indicates an uptrend
* Short signals are only permitted when the Supertrend indicates a downtrend
This prevents counter-trend trading and improves probability by ensuring trades follow dominant directional bias.
---
### 3️⃣ Customizable Time Filter
The script includes a fully adjustable intraday session filter that allows traders to block specific time windows.
* The filter can be enabled or disabled from settings
* The blocked session time is fully editable
* Signals are suppressed during the defined restricted period
This is particularly useful for:
* Avoiding low-liquidity afternoon sessions
* Skipping high-volatility news windows
* Restricting trades to preferred trading hours
---
## Signal Logic Summary
A trade signal is generated only when:
1. Price satisfies the EMA interaction condition
2. The signal direction aligns with Supertrend bias
3. The signal occurs outside the restricted time window
Only when all three conditions align will a visual signal appear.
---
## Trading Characteristics
* Trend-following structure
* Pullback + continuation logic
* Volatility-adjustable (via distance input)
* Time-controlled execution
* Suitable for intraday index option trading
---
## Ideal Use Case
This setup is well-suited for:
* Intraday Bank Nifty / Nifty trading
* Momentum continuation trades
* Controlled risk entries near dynamic support/resistance
* Traders seeking structured, rule-based execution
Pine Script®指標
Dollar Ladder Rulerutomatically draws clean horizontal dollar-based price levels around the current price to highlight key psychological support and resistance zones.
Designed for intraday traders, scalpers, and options traders (SPY / QQQ / high-liquidity stocks) who trade around whole and half-dollar magnets.
Levels update dynamically as price moves — no manual drawing needed.
Level hierarchy
• $0.50 → thin white dashed
• $1.00 → thin white solid
• $2.50 → yellow dashed
• $5.00 → thick yellow
• $10.00 → thicker yellow
• $50.00 → thickest possible (major macro level)
Higher increments stand out visually so you can instantly spot:
reaction zones
bounce/rejection areas
breakout levels
scalp targets
Best for
• 1m–5m charts
• SPY / QQQ / large caps
• 0DTE & day trading
• price action + structure trading
Settings
Range Above/Below ($)
Controls how many levels are displayed around current price.
Tip:
10–15 → tight scalping view
20–30 → broader intraday view
Pine Script®指標






















