Pine Script® strategy
Indicators and strategies
Round Number Magnet Map [AGPro Series]Round Number Magnet Map
════════════════════════════════════════
🔹 OVERVIEW
Round numbers act as psychological magnets on every liquid market. Traders cluster stop orders, limit orders, and mental entries around levels like 2000, 2400, 50000. These levels attract price, get tested repeatedly, and either hold with sharp reactions or break with decisive momentum. Yet most round-number tools ship a hard-coded list (100, 500, 1000) that works on some charts and fails on others.
Round Number Magnet Map is a psychological level engine that detects the right round numbers for any symbol automatically, tracks every touch with a composite reaction grading system, and ranks the strongest magnets in a professional leaderboard. It works out of the box on Bitcoin at 100k, on Ethereum at 2k, on Solana at 10, on EUR/USD at 1.05, on the S&P 500 at 5000, and on gold at 2400 — no configuration required. Traders who prefer manual control can override the auto-detected tiers with their own comma-separated list.
The indicator is asset-agnostic, non-repainting, bar-confirmed, and optimized for speed. It is designed to be a permanent chart companion on any timeframe.
🔹 UNIQUE EDGE
What separates Round Number Magnet Map from generic round-number indicators:
1. Asset-aware auto-detection. The script reads current price magnitude and selects the correct tier spacing automatically — 10000/5000/1000 for high-cap assets, 100/50/10 for mid-cap, 0.01/0.005/0.001 for forex majors. Three nested tiers render simultaneously so both major and minor psychological levels are visible with a clear visual hierarchy.
2. Composite reaction grading. Each touch is not just counted — it is graded. The script combines three inputs: ATR reaction (how many ATRs price traveled after the touch), wick rejection ratio (how strongly the touch bar rejected the level), and relative volume (whether institutional flow confirmed the reaction). The result is a 0-100 score mapped to A/B/C/D grades, so traders can distinguish a truly respected magnet from a level that price simply grazed.
3. Broken-level recovery logic. Most tools mark a level as "broken" the first time price closes through it and leave it broken forever. That is wrong on round numbers — price oscillates around 2000, 3000, 10000 repeatedly across months and years. This engine un-breaks a level the moment price returns to its zone, so the map always reflects current reality.
4. On-chart leaderboard. The panel ranks the top 5 most-touched levels visible in the current chart window, with touch count and composite grade, so the strongest magnets are always one glance away.
5. Clean by design. Rendering is restricted to an ATR-scaled window around current price, with optional toggles to hide broken and untouched levels. The chart stays readable even on high timeframes where dozens of round numbers would otherwise clutter the view.
🔹 METHODOLOGY
Tier generation. When auto-detect is enabled, the script classifies current price into a magnitude bucket (>10000, 1000-10000, 100-1000, 10-100, 1-10, <1, etc.) and assigns a three-tier spacing. Tier 0 is the major step, tier 1 is a half-step, tier 2 is a fine step. All three tiers are generated around current price within an ATR-scaled search range, deduplicated, and capped at a configurable maximum (default 20).
Touch detection. Each level is surrounded by a zone of thickness (ATR × configurable multiplier, default 0.20). A touch is registered when a bar's high-low range intersects the zone and at least N bars have passed since the last touch on that level (cooldown, default 5). This prevents a single consolidation from inflating the touch count.
Reaction grading. Exactly N bars after a touch (default 5), the script computes:
• ATR reaction (60% weight): maximum favorable excursion from the level in the direction of the test, normalized against a target of 2 ATRs = score 100.
• Wick rejection (25% weight): the rejection wick on the touch bar relative to the bar's range.
• Relative volume (15% weight): volume on the touch bar relative to the 20-bar average.
The three components are combined into a single 0-100 composite score. Scores of 80+ are grade A, 65-80 are grade B, 45-65 are grade C, below 45 are grade D.
Break detection. A level is marked as broken only when, during a reaction grading, price has closed beyond the zone by an additional 0.3 ATR in the opposite direction of the test. This strict criterion avoids false breaks from single wicks or low-conviction closes. Broken levels are un-marked automatically when price returns to the zone.
Rendering. Active non-broken levels render as solid blue lines with an optional S/R-style zone box. Broken levels render as dashed gray lines with a BRK badge. Labels show price, touch count, and grade. Priority-0 (major) levels render with increased line width, and levels within 1 ATR of price render thicker still (magnet effect).
🔹 SIGNALS & ALERTS
The script generates four non-repainting, bar-confirmed alert conditions:
• Touch — price has entered a round-number zone.
• Held (Strong Reaction) — a touch has resolved with a composite score ≥ 60, meaning the level held with meaningful reaction strength.
• Broken — a level has been decisively broken by a strong close beyond the zone.
• Magnet Approach — price is within 0.5 ATR of a level, approaching without yet touching.
Each alert fires at bar close and carries ticker and timeframe tokens for routing to external automation.
🔹 KEY INPUTS
Detection
• Auto-Detect Tiers — asset-aware tier selection (recommended).
• Custom Tiers — comma-separated override (e.g., "1000,500,100" for BTC).
• Level Search Range — how far from price to generate levels, in ATR-scaled units.
• Max Active Levels — hard cap on rendered levels (default 20).
Touch & Zone
• Zone Thickness — size of each round-number zone in ATR units (default 0.20).
• ATR Length — period for ATR used in zone and reaction calculations (default 14).
• Touch Cooldown — minimum bars between touches on the same level (default 5).
• Reaction Window — bars after a touch used for reaction grading (default 5).
Reaction Grading
• Weight: ATR Reaction / Wick Rejection / Relative Volume — configurable composite weights. Weights are normalized automatically if they do not sum to 1.
• ATR Normalization Target — the ATR-reaction value that maps to score 100.
Visuals
• Show Zones, Show Level Labels, Hide Broken Levels, Hide Untouched Levels, Magnet Effect.
• Far Levels Transparency, Label Size, Label Offset.
Panel
• Show Panel, Panel Location (6 options), Panel Theme (Dark/Light), Panel Font Size.
Alerts
• Independent toggles for Touch, Held, Broken, Magnet Approach.
🔹 HOW TO USE
The indicator is designed for discretionary trading and framework-based decision making. A few practical patterns:
1. Use the nearest Above and Below levels in the panel as your immediate target and invalidation reference. The Strongest line on the panel is the highest-conviction magnet in view.
2. Grade A and B levels are historically respected by this market. When price approaches one, expect a reaction. When price approaches a Grade D level, expect a clean pass-through or a trap.
3. Confluence with other tools. Round numbers combined with a swing high/low, a moving average, or a Fibonacci level are far more likely to hold than a round number alone. Treat this indicator as one layer in a stacked decision framework.
4. Timeframe selection. Use higher timeframes (1D, 4H) to identify the dominant magnets for position trading, and drop to lower timeframes (1H, 15m) for execution around those same levels.
5. Broken levels are still information. A dashed level with 20+ historical touches is a zone where liquidity has been swept and where retests often provide re-entry opportunities.
🔹 LIMITATIONS & TRANSPARENCY
• This tool identifies psychological levels and grades their historical reaction quality. It does not predict price direction and it is not a trading strategy. Use it as part of a complete decision framework.
• Reaction grades are historical, not forward-looking. A level that held five times may still break on the next test, especially in strong trending conditions or during high-impact news events.
• Touch counts depend on chart history. On symbols with limited history, recent levels may have fewer touches than their true significance warrants.
• The reaction window is fixed (default 5 bars). Reactions that take longer to develop will be graded as weaker than they truly are. Adjust the window to match the instrument and timeframe.
• Extremely low-volume symbols may produce noisy reaction scores because the relative-volume component becomes unreliable. Reduce its weight to 0 in such cases.
🔹 RISK DISCLOSURE
This indicator is a technical analysis tool for educational and discretionary decision support. It does not constitute financial advice, investment advice, a solicitation, or a recommendation to buy or sell any instrument. Past reactions at any level do not guarantee future behavior. All trading involves substantial risk of loss. You are solely responsible for your trading decisions and for managing your capital.
Pine Script® indicator
Engulfing Candles with Filters// =============================================================================
// ENGULFING CANDLES WITH FILTERS — Pine Script v6
// =============================================================================
//
// WHAT IT DOES
// Detects bullish/bearish engulfing patterns with three optional filters:
// - ATR body filter : engulfing candle body ≥ bodyMult × ATR
// - Prior-body floor : engulfed candle body ≥ priorMult × ATR
// - Volume confirmation : volume > volume
// Each filter has its own on/off toggle. Disabled = ignored (always passes).
//
// QUICK SETUP
// 1. Paste into TradingView Pine Editor → Save → Add to chart
// 2. Open gear icon on indicator legend to toggle filters / adjust parameters
// 3. Triangles plot on signals; alertconditions wired for both directions
//
// DEFAULT SETTINGS
// ATR(14), bodyMult 1.0, priorMult 0.3, volume filter ON
// Good starting point for 1H–4H on liquid equities/futures/crypto.
// On FX: disable volume filter (TV volume = broker tick count, not real flow).
//
// STRATEGY / BACKTEST MODE
// 1. Comment out the indicator(...) line
// 2. Uncomment the strategy(...) line
// 3. Uncomment the two if/strategy.entry/exit blocks at bottom
// 4. Set From/To date inputs; replace placeholder qty/profit/loss values
//
// FILTER TUNING WORKFLOW
// Disable all filters first → baseline signal count.
// Enable one at a time to isolate each filter's effect on hit rate.
// Don't trust combined-filter results without per-filter attribution.
//
// CAVEATS
// - Engulfing patterns are regime-dependent; stratify results by ADX/RV.
// - Strategy block defaults (qty=25000, profit=1000, loss=50) are placeholders.
// - No explicit prior-candle color check; priorMult filter is the proxy.
//
// =============================================================================
Pine Script® indicator
si_squeeze_live_summaryLibrary "si_squeeze_live_summary"
Lane-owned live summary entrypoint for the squeeze / expansion prototype. Staged for future host wiring without moving squeeze logic into the meta layer.
calc_squeeze_live_summary(regime_fast_length, regime_slow_length, regime_compression_length, regime_atr_length, regime_compression_threshold, structure_pivot_left, structure_pivot_right, structure_basis_length, structure_displacement_atr, fair_value_atr_length, fair_value_extreme_atr)
Public host-callable live squeeze summary surface. Returns the standardized 10-field primitive tuple.
Parameters:
regime_fast_length (simple int)
regime_slow_length (simple int)
regime_compression_length (int)
regime_atr_length (simple int)
regime_compression_threshold (float)
structure_pivot_left (int)
structure_pivot_right (int)
structure_basis_length (simple int)
structure_displacement_atr (float)
fair_value_atr_length (simple int)
fair_value_extreme_atr (float)
Pine Script® library
Danil - BTC Risk Metricbtc ma oversold / overbought indicator
used to identity times to buy and times to sell
Pine Script® indicator
Multi-Symbol Momentum ScreenerMulti-Symbol Momentum Screener ranks 20 instruments at once by decomposing each symbol's current-timeframe state into three independent, explicitly-normalised axes — Momentum, Trend, and Volatility — and then cross-checks every result against a higher-timeframe Daily direction derived from the same data. The output is a single sortable heatmap in which conflicts between intraday momentum and the daily bias are flagged as "Divergence" rather than hidden inside a composite number.
Why This Combination
Most single-axis screeners answer only one question ("Is RSI overbought?" or "Is ADX strong?"), which is why a high RSI reading on one pair often coexists with a weak trend and average volatility — a situation that does not warrant attention but looks attractive in a single-metric dashboard. The three axes chosen here are intentionally disjoint:
Momentum measures how stretched price is relative to its own recent history (RSI plus percentile-ranked Rate-of-Change).
Trend measures directional persistence using the EMA spread and Wilder's ADX, which is independent of where RSI currently sits.
Volatility measures whether ATR is expanding or contracting relative to its own 50-bar mean, independent of direction and momentum.
A symbol that scores highly across all three axes is simultaneously stretched, trending, and in an expanding-volatility regime — a profile that is meaningfully rarer (and more actionable) than any single component in isolation. The Daily direction column then adds a coarse higher-timeframe check without inflating the composite score, so the user can see when current-timeframe strength is fighting the daily trend.
What It Does
Scans 20 symbols from a preset (FX Majors & Minors / Crypto Top 20 / US Stocks Top 20) or a Custom slot list.
Produces four numbers per symbol: Momentum (0–100), Trend (0–100), Volatility (0–100), and a weighted Total Score (0–100).
Adds a Daily-timeframe direction column (Up / Down / Flat) computed on each symbol's own chart.
Classifies the current state into nine mutually-exclusive signal labels (Strong Up, Momentum Up, Moderate Up, Flat, Moderate Down, Strong Down, Weak, and two Divergence states).
Sorts the table automatically by Total Score or by any single axis.
How It Works
Each symbol consumes two request.security() calls — one on the chart timeframe and one on the Daily — for a total of exactly 40 calls, which is the per-indicator ceiling that applies on every TradingView plan.
Axis formulas
Momentum = mean of RSI(14) and percentrank(ROC(10), 100). RSI is already bounded to 0–100, and percentile-ranking a 10-bar ROC over the last 100 bars forces the second component onto the same scale. This avoids the common failure mode where a raw ROC is added to RSI and produces wildly different ranges across FX and crypto.
Trend = mean of an EMA-spread component and ADX(14). The EMA-spread component is 50 + (EMA20 − EMA50) / EMA50 × 100 × 20, clamped to 0–100. ADX(14) is already 0–100. Averaging the two gives equal weight to "how far apart the EMAs are" (direction) and "how persistently price has been trending" (strength).
Volatility = (ATR(14) / SMA(ATR, 50)) × 50, clamped to 0–100. A reading of 50 means current ATR equals its 50-bar average; 100 means ATR is at least 2× its average; 25 means ATR has halved.
Total Score is the weight-normalised average of the three axes. All weights are user-configurable between 0 and 3; if all three are set to zero the indicator falls back to equal weights rather than producing a division by zero.
Non-repainting
Every ta.* read inside the security expression is shifted by (previous confirmed bar) and the call is made with lookahead = barmerge.lookahead_on . This is the standard pattern that guarantees displayed values do not change after the bar closes.
Signal classification
The 9-pattern mapping combines Total Score thresholds (≥70, 50–69, <50) with Daily direction (Up / Flat / Down). Two cells are deliberately labelled "Divergence": high score on the chart timeframe with a bearish Daily, and low score with a bullish Daily. These are the two states where current-timeframe and higher-timeframe readings are in direct conflict.
How To Use
Add the indicator to any chart. The default preset loads 20 major and minor FX pairs; switch to Crypto Top 20 or US Stocks Top 20 from the Preset dropdown, or choose Custom and type your own tickers into the 20 slots.
Read the sorted table from the top. The highest-ranked symbol is the one whose three axes best satisfy your current weighting.
Check the Daily column before acting. A high Total Score with a bearish Daily direction will appear as "Divergence" in the Signal column — a warning that current-timeframe strength may be counter-trend relative to the daily bias.
Open the chart of the symbol you want to study and run your own entry logic there. This indicator is a ranking and filtering tool; it does not place or suggest trades.
Use the Score and Divergence alerts to be notified when any symbol crosses your chosen threshold or enters a divergent state, so you do not have to keep the chart open.
Settings
Preset — FX Majors & Minors / Crypto Top 20 / US Stocks Top 20 / Custom.
Symbol 1–20 — Editable when Preset = Custom. Leaving a slot blank skips it.
RSI Length / ROC Length — Defaults 14 / 10.
Fast EMA / Slow EMA / ADX Length — Defaults 20 / 50 / 14.
ATR Length / ATR SMA Length — Defaults 14 / 50.
Momentum / Trend / Volatility Weight — Range 0–3, default 1.0 each.
D1 Fast EMA / D1 Slow EMA / D1 Flat Threshold — Defaults 20 / 50 / 0.1%.
Score Alert Threshold / Enable Divergence Alert — Defaults 70 / On.
Table Position / Size / Max Rows / Sort By — Nine positions, three sizes, 5–20 rows, four sort options.
Platform Note
Because the indicator uses exactly 40 request.security() calls (20 symbols × 2 timeframes), it fits the limit on every current TradingView plan. If a "Too many requests" message appears, switch to the Custom preset and leave unused slots blank — empty slots are skipped and free up calls.
Limitations
This indicator ranks and classifies symbols from past price data only. It does not forecast future prices and does not guarantee profit.
Scores and signal labels are sensitive to the chosen inputs (RSI/ROC/EMA/ADX/ATR periods and the three axis weights). Results change materially with different settings — backtest and adjust to your own markets before acting on the output.
The script needs enough historical bars to compute the longest lookback (default: 100 bars for ROC percentile-ranking and 50 bars for the ATR SMA). On very new symbols or low-history feeds, early bars will show N/A until the lookbacks fill.
The ATR SMA Length is fixed at 50 by default; in abnormally quiet markets the Volatility score will sit near 50 and carry less information until the ratio moves.
When all 20 symbols return N/A simultaneously (e.g., weekend FX close), the table displays a "Market may be closed" footer. Scores do not update until data resumes.
The 40 request.security() calls are the hard platform ceiling. Do not attempt to add more timeframes or symbols; empty Custom slots are skipped, but the 40-call structure itself cannot be extended.
Disclaimer
This is a screening and classification tool. It does not forecast price, does not place orders, and makes no claim about future returns. Scores describe the most recently completed bar only. Always conduct your own analysis and apply your own risk management.
Pine Script® indicator
HOLDCHILLIndicador para los Holders de Bitcoin que no quieren complicaciones.
WinRate altísimo
Drawdown Bajo
Profits altos
Solo para Bitcoin en escala semanal.
Pine Script® indicator
Liquidity Void Mapper [forexobroker]The Liquidity Void Mapper identifies price zones where historically little volume was transacted, creating "voids" in the volume distribution. These thin liquidity areas behave like air pockets -- price tends to move through them quickly. The indicator maps these voids as visual boxes and generates signals when price enters a void zone, anticipating rapid directional movement through the thin area.
🔶 CONCEPTS
Volume is not evenly distributed across price levels. Some levels attract heavy trading activity (high volume nodes) and act as support, resistance, or magnets. Other levels have very little historical volume, creating gaps in the volume profile that institutional traders call liquidity voids.
When price reaches a void, there are fewer resting limit orders to absorb momentum. This means price often accelerates through the void rather than consolidating within it. Understanding where these voids exist provides a structural edge in anticipating price behavior.
🔶 HOW IT WORKS
The indicator divides the recent price range into a configurable grid of price levels. For each bar in the lookback window, its volume is distributed proportionally across the grid levels that the bar's range covers.
After building the volume distribution, the average volume per grid level is calculated. Any grid level with volume significantly below the average (controlled by the void threshold) is marked as a liquidity void.
These void zones are drawn as semi-transparent boxes on the chart, colored based on their position relative to current price. The indicator then monitors whether price enters any active void zone and generates directional signals when combined with trend and volume filters.
🔶 HOW TO USE
Apply the indicator to your chart. Void zones appear as transparent boxes spanning historical price ranges. Cyan-tinted boxes are below current price, purple-tinted boxes are above, and gold-tinted boxes contain current price.
When price enters a void from below in a bullish trend, a buy signal fires -- anticipating that price will move quickly through the thin zone. When price enters a void from above in a bearish trend, a sell signal fires.
The info table shows the number of active voids, the analyzed range, grid resolution, trend direction, and current volume status.
Use the void threshold to control sensitivity. A lower threshold (0.15-0.20) only flags the most extreme voids. A higher threshold (0.40-0.50) captures more zones but includes less significant ones.
🔶 FEATURES
- Rolling volume distribution with configurable grid resolution
- Visual void zone boxes with position-based color coding
- Multi-confirmation buy and sell signals with 3-layer glow arrows
- EMA trend filter with glow effect
- Info table showing void count, range details, and volume status
- 15-bar signal cooldown to prevent overtrading
- Volume confirmation filter on all signals
- Configurable maximum void zones to keep the chart clean
- 9 configurable alert conditions with webhook JSON support
- Non-repainting signals using bar confirmation
🔶 SETTINGS GUIDE
Volume Profile Lookback (default 50): How many bars to analyze for volume distribution. Longer lookbacks capture more price history but may include outdated zones.
Price Grid Divisions (default 20): Number of price levels in the grid. More divisions provide finer resolution but increase computation. 15-25 is the recommended range.
Void Threshold (default 0.30): Volume fraction below which a zone qualifies as a void. Expressed as a ratio of the average grid volume. Lower values detect only severe voids.
Max Void Zones (default 5): Limits the number of boxes displayed to keep the chart readable.
EMA Length (default 50): Trend direction filter for signal confirmation.
🔶 ALERTS
Nine alert conditions are available:
- Buy Signal / Sell Signal / Any Signal: Core trading alerts
- Void Entry Below / Void Entry Above: Directional void entry detection
- Many Voids: Alerts when multiple voids are present (unusual market structure)
- Volume Confirm: Above-average volume alert
- Any Void Entry: Non-directional void entry detection
- Webhook JSON: Structured data for automated systems
All alerts are based on confirmed bar data.
🔶 LIMITATIONS AND DISCLAIMER
Volume distribution analysis has inherent limitations. The grid resolution creates discrete zones that may not perfectly represent continuous volume distribution. Volume data quality varies significantly between instruments -- forex spot volume, for example, represents only a fraction of total market activity. The lookback window determines which historical volume is considered, and zones may become invalid as market structure changes. Void zones should be used as one input among many, not as standalone signals. Always practice proper risk management. This is an educational and analytical tool.
🔶 RELEASE NOTES
v1.0 - Initial release with rolling volume distribution, void zone detection, visual box mapping, and multi-confirmation signal system.
Pine Script® indicator
Harmonic Ratio Scanner [forexobroker]Harmonic Ratio Scanner detects simple harmonic ratios between consecutive price swings. Instead of waiting for rare full XABCD patterns, this indicator finds individual Fibonacci retracement ratios that occur frequently and provide actionable trade setups.
🔶 WHAT MAKES THIS UNIQUE
Traditional harmonic scanners require complete 5-point patterns (Gartley, Butterfly, Bat, Crab). These are complex, rare, and often subjective. The Harmonic Ratio Scanner takes a fundamentally different approach: it measures the ratio between any two consecutive swings.
If swing B retraces 61.8% of swing A, that single ratio represents natural market rhythm at a Fibonacci level. These individual ratios occur far more frequently than full patterns, giving traders more opportunities while still capturing the core principle of harmonic trading.
🔶 HOW IT WORKS
1. The indicator detects swing highs and lows using pivot logic
2. It stores the most recent swings in memory
3. For each pair of consecutive swings, it calculates the retracement ratio
4. If the ratio matches a known harmonic value (within configurable tolerance), a harmonic ratio is detected
5. The swing direction determines if the ratio is bullish or bearish
🔶 DETECTABLE RATIOS
- 38.2% - Shallow retracement (continuation likely)
- 50.0% - Half retracement (optional, disabled by default)
- 61.8% - Golden ratio (highest probability)
- 78.6% - Deep retracement (strong reversal zone)
Each ratio can be individually enabled or disabled.
🔶 SIGNAL LOGIC
BUY signals fire when:
- A bullish harmonic ratio is detected (swing low forming after swing high)
- Volume confirms the setup (above 20-period SMA)
- Bar is confirmed (no repainting)
SELL signals fire under inverse conditions.
A 15-bar cooldown prevents signal clustering.
🔶 VISUAL GUIDE
- Colored lines connect the detected harmonic swings
- Ratio percentage labels appear at swing midpoints
- Green lines and arrows for bullish ratios
- Pink lines and arrows for bearish ratios
- Info table displays the last detected ratio, direction, and active filters
🔶 RECOMMENDED SETTINGS
- Swing trading (1H-4H): Default settings work well
- Scalping (5m-15m): Reduce swing lookback to 3, increase tolerance to 5%
- Position trading (Daily): Increase swing lookback to 8-10
- For more signals: Enable the 50% ratio
- For higher quality: Disable 38.2%, keep only 61.8% and 78.6%
🔶 ALERTS
9 alert conditions available including buy/sell signals, ratio detection, bullish/bearish ratio alerts, and volume surge notifications. JSON-formatted alerts supported for webhook integration.
🔶 LIMITATIONS
- Swing detection requires lookback bars to confirm. There is an inherent delay equal to the swing lookback setting.
- Not all harmonic ratios lead to reversals. The ratio identifies a zone of interest, not a guaranteed outcome.
- On very low timeframes, swing noise may produce false ratios. Increase the minimum swing size filter.
- This indicator does not repaint. Swings are confirmed only after the lookback period completes.
- Past performance does not guarantee future results. Always use proper risk management.
Pine Script® indicator
High/Low Daily,Weekly, monthly. NY-Asia-LdnHTF Candle High/Low Projection (D/W/M/Y)
This indicator automatically projects the highs and lows of higher timeframe candles directly onto the current chart.
It supports Daily, Weekly, Monthly, and Yearly levels.
Each time a higher timeframe period closes:
the script records that candle’s high and low,
then draws them as horizontal levels on the chart,
with a clear label showing their origin: D, W, M, or Y.
These levels remain visible until price touches them for the first time.
Once a level is hit by a wick, the projection stops exactly at that point, allowing the trader to clearly identify where the market reacted.
The indicator is fully customizable:
enable or disable each timeframe individually,
choose custom colors for Daily, Weekly, Monthly, and Yearly levels,
adjust line style, line width, label size, and label offset,
control the maximum number of active objects on the chart.
This makes it useful for identifying:
higher timeframe liquidity,
important reaction zones,
untouched highs and lows,
and key areas where price may seek or react.
In short, this tool helps traders keep important HTF reference levels visible at all times in a clean and structured way.
Pine Script® indicator
Bollinger CandlesIt consists of Bollinger Bands converted into candlesticks. You can also calculate the middle band using different moving averages. Additionally, you can add the Bollinger Bands to the calculated candlesticks.
Pine Script® indicator
Gap Hunter Pro [forexobroker]Gap Hunter Pro is a specialized tool for detecting, classifying, and tracking price gaps in real time. Price gaps are among the most powerful yet underutilized chart features -- they reveal sudden shifts in supply and demand that occurred between trading sessions or during high-impact events. This indicator automates the entire gap analysis workflow from detection through fill tracking.
What sets Gap Hunter Pro apart is its gap classification engine. Rather than treating all gaps equally, it categorizes each gap as a Breakaway, Continuation, or Exhaustion gap based on trend context, volume characteristics, and price extension. This classification helps traders determine whether a gap is likely to fill or continue, which is critical for choosing the right trading approach.
The indicator serves both gap-fill traders who expect price to return to fill open gaps, and gap-and-go traders who want to ride the momentum when price accelerates away from an unfilled gap.
CONCEPTS
Not all price gaps carry the same meaning. Breakaway gaps occur with high volume as price moves in the trend direction from a non-extended position -- these tend to signal the start of a new trend leg and often remain unfilled for extended periods. Continuation gaps appear mid-trend with moderate volume, confirming that the existing move has further to run. Exhaustion gaps happen on low volume when price is already extended far from the trend mean -- these are the most likely to fill quickly.
Understanding gap fill statistics is also valuable. Studies across asset classes show that a large percentage of gaps eventually fill, but the timing varies enormously based on gap type and market conditions. Tracking fill rates in real time helps calibrate expectations for each open gap on your chart.
HOW IT WORKS
- Detects gaps when the open of the current bar differs from the previous close by more than the minimum gap percentage
- Classifies each gap using trend EMA position, volume ratio, and price extension from the mean
- Draws color-coded zone boxes: green for Breakaway, purple for Continuation, orange for Exhaustion
- Monitors all open gaps on every bar and marks them as filled when price returns through the zone
- Fires Gap Fill signals when a gap fills with above-average volume, and Gap-and-Go signals when price trends away from an unfilled gap with conviction
- Maintains a real-time fill rate statistic for all tracked gaps
HOW TO USE
1. Add the indicator to any chart -- gaps will automatically appear as colored zones
2. Note the gap type label (BRK, CNT, EXH) and percentage size on each gap zone
3. For gap-fill trading: watch for price approaching an open gap zone, and look for BUY/SELL fill signals when price enters the zone with volume
4. For gap-and-go trading: watch for price accelerating away from fresh gaps, confirmed by the gap-and-go signal with volume
5. Use the info table to monitor total gaps, fill count, open gaps, and fill rate
6. Place stops beyond the opposite side of the gap zone for gap-fill trades
FEATURES
- Non-repainting signals (barstate.isconfirmed)
- Works on all timeframes and instruments
- 9 alert conditions with JSON webhook support
- Three-category gap classification (Breakaway, Continuation, Exhaustion)
- Persistent gap zone boxes that extend until filled or expire
- Real-time fill rate tracking and statistics table
- Dual signal types: Gap Fill and Gap-and-Go
SETTINGS GUIDE
- Minimum Gap Size (%) -- Smallest gap worth tracking as a percentage of price (default 0.1%)
- Max Tracked Gaps -- Maximum number of gap zones displayed simultaneously (default 20)
- Trend EMA Length -- EMA period for determining trend context during gap classification (default 50)
- Volume SMA Length -- Period for the volume moving average used in signals (default 20)
- Signal Cooldown (bars) -- Minimum bars between consecutive signals (default 15)
- Show Filled Gaps (faded) -- Toggle whether filled gaps remain visible in gray
ALERTS
- Bullish Gap Fill -- Price fills a gap down zone with bullish candle and volume
- Bearish Gap Fill -- Price fills a gap up zone with bearish candle and volume
- Bullish Gap and Go -- Price trends up away from unfilled gap with volume
- Bearish Gap and Go -- Price trends down away from unfilled gap with volume
- Gap Up Detected -- A new gap up is identified
- Gap Down Detected -- A new gap down is identified
- Any Gap Filled -- Any tracked gap gets filled
- Any Signal -- Either fill or gap-and-go signal fires
- Large Gap -- A gap exceeding 1% of price is detected
LIMITATIONS & DISCLAIMER
- Technical analysis tool, not financial advice
- Past gap fill patterns do not guarantee future behavior
- Gap detection relies on session close-to-open price differences; instruments that trade continuously (24/7 crypto) may produce fewer traditional gaps
- Very small gaps near the minimum threshold may produce noise on volatile instruments
- Gap classification is based on heuristics and may not perfectly categorize every gap
Pine Script® indicator
Key Levels Pro [AGPro Series]Key Levels Pro
🔑 Overview
Key Levels Pro is a comprehensive, non-repainting level tracker that consolidates every institutionally significant price reference into one clean overlay. Previous day, week, and month highs/lows (PDH, PDL, PWH, PWL, PMH, PML) are plotted alongside Asian, London, and New York session highs and lows. Every level is actively monitored — touch count, break count, and respect rate update in real time, giving you a live quality score for each price zone.
Most level scripts stop at drawing lines. Key Levels Pro goes further: lines automatically thicken on repeated touches, switch to dashed style when broken, and fade to muted color to signal invalidation. Zone rectangles extend back to the formation bar of each level, making historical respect visible at a glance. An ATR-aware label collision system keeps the chart readable on every timeframe, and same-price levels are intelligently deduplicated so you never see four overlapping labels at the same price.
───────────────────────────────────────────────────────
📐 Unique Edge
Unlike generic pivot or S/R scripts, Key Levels Pro tracks the behavioral quality of each level — not just its existence. A level that has been tested five times without breaking carries a different weight than a fresh, untested one. Key Levels Pro surfaces that difference automatically through line width, style, and panel data.
What makes it distinct:
🔹 Complete previous-period coverage (PDH/PDL, PWH/PWL, PMH/PML) in one overlay, without redundant current-period duplicates.
🔹 Live session tracking for Asian, London, and New York simultaneously, with automatic hiding on Daily and higher timeframes.
🔹 Per-level touch count, break count, and respect rate computed from actual historical price interaction.
🔹 Dynamic line thickening on repeated touches (width 1 → 2 → 3).
🔹 Auto-broken state with dashed style + muted color — no distracting flags or banners.
🔹 Historical zone boxes extending back to the formation bar of each level.
🔹 ATR-aware label collision resolution that stacks overlapping labels vertically.
🔹 Price-based deduplication: when two levels share the same price, the higher-priority one wins (Monthly > Weekly > Daily > Session).
🔹 ATR-normalized proximity to the nearest level above and below the current price.
───────────────────────────────────────────────────────
🔬 Methodology
Previous-period levels are pulled from the daily, weekly, and monthly timeframes using request.security() with lookahead enabled for the completed-period values. This approach is standard, transparent, and non-repainting — historical data does not change.
Session levels are tracked bar by bar using customizable session time inputs. Each session resets at its start time and tracks the running high and low until the session closes. The Asian, London, and New York sessions can each be configured independently.
Touch detection uses an ATR-based tolerance band (default 10% of ATR). When price closes within that tolerance of a level, the touch counter increments. A break is registered when price closes on the opposite side of a level compared to the prior bar. Respect rate is calculated as touches / (touches + breaks) × 100.
Line width scales with touch count: 1 touch = width 1, 2–4 touches = width 2, 5+ touches = width 3. Broken levels switch to dashed style and a muted color.
The label collision system operates in three stages: first, all enabled levels are collected into a sorted array; second, same-price levels are deduplicated based on priority (Monthly highest, Session lowest); third, an upward sweep enforces minimum vertical spacing using a blend of ATR and chart-range heuristics, ensuring labels never overlap regardless of market volatility.
───────────────────────────────────────────────────────
📊 Signals & States
This script is a visualization and data tool — it does not generate buy or sell signals.
Level states are communicated visually:
🔹 Active (solid line, full color): level has not been broken.
🔹 Touched (thicker line, 2–3px): level has been tested one or more times.
🔹 Broken (dashed line, muted slate color): level has been decisively closed through.
Info panel states:
🔹 Session: active market session (Asian / London / New York / Off-Hours / N/A on Daily+).
🔹 Near Above / Near Below: price of the closest active level on each side of the current close.
🔹 Dist Above / Below ATR: distance expressed as a multiple of ATR(14).
🔹 Touch and respect rate data for PDH, PDL, PWH, PWL.
───────────────────────────────────────────────────────
⚙️ Key Inputs
Level Groups: Toggle previous day, week, month, and session levels independently.
Session Times: Fully customizable start/end times for Asian, London, and New York sessions in exchange timezone.
Zone Style: Enable/disable S/R zones and adjust zone transparency.
Lines & Labels: Set line extension length, toggle labels, choose label density (All / Reduced / Minimal), set font size, and enable or disable same-price deduplication.
Info Panel: Toggle panel, set location (six positions), and choose theme (Dark / Light).
ATR Settings: Set ATR period and touch tolerance as an ATR multiple (0.02 to 0.50).
───────────────────────────────────────────────────────
📖 How to Use
1. Add the script to a chart — all major levels appear immediately.
2. Adjust session times if trading non-crypto markets.
3. Watch line thickness: thicker = more tested = stronger historical reaction zone.
4. Dashed + muted color = broken. Treat broken levels as potential new S/R from the opposite side (role reversal).
5. Use the panel's Near Above and Near Below fields to gauge proximity before entry or exit decisions.
6. Use "Reduced" density (default) for cleaner charts, or switch to "All" when you need session context.
7. Works on all asset classes: crypto, forex, equities, indices, commodities.
Recommended timeframes: 15m–4H for session levels; 1H–1D for previous-period levels.
───────────────────────────────────────────────────────
⚠️ Limitations & Transparency
🔹 Session tracking is session-relative and resets each new session.
🔹 Touch tolerance is an ATR-based heuristic and may need adjustment on extremely low-volatility instruments.
🔹 All data is historical. Touch count and respect rate describe past price behavior, not future outcomes.
🔹 This script is not a trading strategy, does not issue trade signals, and cannot predict market direction.
🔹 On exotic or illiquid instruments with large gaps, formation-bar zone boxes may appear truncated if the level formed outside the chart's visible range.
───────────────────────────────────────────────────────
🛡️ Risk Disclosure
This script is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All trading involves risk. Past level behavior does not guarantee future results. Always use proper risk management and test any approach in a demo environment before committing real capital.
Pine Script® indicator
ATR Percentage[jackieee]Description
This indicator displays ATR as a percentage of price and adds Bollinger Bands around it to help visualize changes in market volatility. It can be used to identify relative volatility expansion, compression, and extreme conditions in a simple and clean way.
Pine Script® indicator
4-Dot Dashboard - Labeled StyleThis indicator provides a compact, multi-layered visual dashboard to monitor trend bias, price action structure, and momentum exhaustion/strength in real-time. By stacking four distinct logic layers, it allows traders to identify "confluence" at a glance without cluttering the main price chart.
The Four Layers
Row 1: BIAS (Trend Filter)Uses the Directional Movement Index (DMI). If BMV:DI + > DI-$, the dot reflects a bullish bias. If BMV:DI - > DI+$, the dot reflects a bearish bias. This serves as your primary trend filter.
Row 2: HH/LL (Price Action)Tracks "Higher Highs" and "Lower Lows." A bullish dot appears when the current high/low is higher than the previous bar's high/low during a bullish bias. A bearish dot appears when price is making lower lows during a bearish bias.
Row 3: ADX (Trend Strength)Monitors the Average Directional Index. When ADX is above the user-defined threshold (default 20), it signals a strengthening trend.
Row 4: VOL (Volume Flow)Compares current volume against a moving average. This highlights bars where volume is expanding, confirming the participation behind the move.
Master Sync Logic
The dashboard features a "Color Sync" mechanism. When Row 1 (Bias) and Row 2 (Price Action) align, the indicator considers the trend "Synchronized." Rows 3 and 4 will then dynamically change color to match the trend if their specific conditions are met, signaling high-probability momentum.
Pine Script® indicator
Supertrend + EMA Rejection Strategysuptrend rejection with ema 200, plz verify before trade
1. trend analysis ema 200
2. supertrebnd 10 , 2 , 3,5 and used multiple time frame
Pine Script® strategy
SMC OBThis is a professional, high-impact English introduction for your indicator. It is designed to look great on the TradingView "Public Library" or for your own promotional use. It highlights the features we just fixed and focuses on the **Smart Money Concepts (SMC)** logic.
---
## **SMC Order Block Pro | High-Probability Institutional Zones**
### **Overview**
The **SMC Order Block Pro** is a professional-grade tool designed for traders utilizing **Smart Money Concepts (SMC)** and **ICT** methodologies. This indicator automates the tedious task of identifying Market Structure Breaks (**BOS**) and the specific **Order Blocks (OB)** that follow, providing you with high-precision institutional entry zones.
Unlike generic indicators that clutter your chart with every single candle, this Pro version uses a **dual-confluence filtering system** (Engulfing + FVG) to ensure you only see the highest-probability setups.
---
### **Key Features**
* **⚡ Automated BOS Detection:** Automatically identifies "Break of Structure" points to confirm trend shifts and market intent.
* **📦 Smart Order Block Identification:** Scans historical price action to find the exact "last opposite candle" before a significant move.
* **🔍 High-Probability Filters:**
* **Engulfing Confirmation:** Only validates OBs that show immediate institutional strength.
* **FVG (Fair Value Gap) Detection:** Filters for OBs accompanied by price imbalances, a hallmark of big-bank participation.
* **🎯 Real-Time Mitigation Tracking:** Zones automatically change color or disappear once they are "mitigated" (tested by price), keeping your chart clean and relevant.
* **📊 Live Statistics Dashboard:** A sleek table showing total identified zones versus unmitigated opportunities.
---
### **How to Use It**
1. **Identify the BOS:** Wait for the indicator to signal a Break of Structure.
2. **Wait for the OB:** Look for the Blue (Bullish) or Red (Bearish) boxes to appear.
3. **Check for Warnings:** The indicator will label OBs as *"No FVG"* or *"Unconfirmed"* if they don't meet the high-probability criteria, allowing you to exercise caution.
4. **The Entry:** Look for a return to the "Unmitigated" zone for a potential high R:R entry.
---
### **Technical Settings**
* **BOS Confirmation:** Adjust how many candles are needed to confirm a structural break.
* **OB Scanning Range:** Control how far back the script looks to find the valid supply/demand zone.
* **FVG Threshold:** Fine-tune the sensitivity of the imbalance detection.
---
### **Disclaimer**
*This indicator is for educational and analytical purposes only. Trading involves significant risk, and past performance is not indicative of future results. Always use proper risk management.*
---
### **Suggested Tags for TradingView:**
#SMC #ICT #OrderBlock #PriceAction #SmartMoney #SupplyAndDemand #BOS #FVG
---
### **Pro-tip for your post:**
When you post this on TradingView, **attach a screenshot** showing a clear BOS followed by price retracing into one of the blue/red boxes and bouncing. People love seeing the "mitigation" in action!
**Do you need me to adjust the tone to be more aggressive (marketing-heavy) or more academic?**
Pine Script® indicator
Stan Weinstein's Stag AnalysisHere is the complete translation of the terminology and the color-coded language of the system, explained in clear, actionable terms.
---
### **Part 1: The Color Codes (Your Visual Dashboard)**
The colors on your chart are not decorative; they are strict commands dictating your posture toward the market.
**The Dominant Trend Line (The Moving Average)**
* **Yellow (Stage 1 - Accumulation):** The market is moving sideways. It is asleep. **Command:** Observe. Do not deploy capital.
* **Green / Lime (Stage 2 - Markup):** The asset is structurally compounding in value. **Command:** Deploy capital and hold. This is where wealth is generated.
* **Orange (Stage 3 - Distribution):** The momentum is dying. The asset is becoming volatile and heavy. **Command:** Play defense. Take partial profits, tighten your safety net, and do not buy more.
* **Red (Stage 4 - Markdown):** The asset is in a structural collapse. **Command:** Absolute avoidance. Keep your capital in cash.
**The Action Signals (Shapes and Labels)**
* **Green "S2 PRO" Label (The Master Buy Signal):** This appears below the price when everything aligns—the stock is entering Green (Stage 2), institutional volume is exploding, *and* the broader market is healthy. **Command:** Execute your purchase.
* **Aqua / Light Blue Circles (The Survival Line):** This dotted line only appears when you are in a Green (Stage 2) trend. It climbs upward as the stock climbs. **Command:** This is your hard exit. If the price closes below these circles, the math says the trend is over. Sell immediately.
* **Blue Triangle Pointing Up (Wyckoff Spring):** Appears during the Yellow phase. It signifies that big institutions are briefly pushing the price down to scare people into selling, so they can buy cheaply. **Command:** An early warning that a Green phase might be coming soon.
* **Fuchsia / Pink Triangle Pointing Down (Wyckoff Upthrust):** Appears during the Orange phase. Big institutions are pushing the price up to create fake hype, tricking retail traders into buying while the institutions secretly sell. **Command:** A massive warning that a Red crash is likely imminent.
---
### **Part 2: The Customization Terms (Your Control Panel)**
When you open the settings of the indicator, you are calibrating the mathematics of the system to suit your specific trading style.
#### **1. Macro Structure (Weinstein)**
This section defines how the system identifies the "Seasons" (Yellow, Green, Orange, Red).
* **WMA Length (Base):** *(Default: 30)*. This is the heartbeat of the system. It calculates the average price over the last 30 periods. By taking an average of 30 bars, it smooths out the daily chaos and reveals the true, underlying path of the money.
* **Slope Lookback (Bars):** *(Default: 4)*. To know if a car is turning, you have to watch it for more than a split second. This setting tells the system to look back 4 bars to prove the trend line is actually bending up or down, preventing you from getting faked out by a single weird day.
* **Flat/Equilibrium Threshold (%):** *(Default: 0.5)*. This defines "sideways." If the trend line is moving up or down by less than 0.5%, the system considers it flat (Yellow Stage 1 or Orange Stage 3). If you make this number higher, the system demands a much steeper climb before it will turn the line Green.
#### **2. Volume & Micro-Structure (Wyckoff)**
This section detects the footprints of massive institutional money (the "Whales").
* **Institutional Volume Multiplier:** *(Default: 1.5)*. A true breakout requires explosive money. This setting tells the script: *"Do not give me the 'S2 PRO' buy signal unless today's trading volume is at least 1.5 times (150%) bigger than the normal average."* * **Liquidity Sweep Lookback:** *(Default: 10)*. To find those Blue and Pink triangles (the institutional traps), the system needs to know what the recent high or low was. A setting of 10 means it will look at the last 10 bars to see if the big players just swept the price past recent levels to trigger people's stop-losses.
#### **3. Breadth Alignment (Dow Theory)**
This section ensures you are not swimming against a massive economic tide.
* **Require Nifty 50 Uptrend?** and **Macro Index:** If this box is checked, the system will secretly look at the Nifty 50. If the Nifty 50 is crashing, the system will **refuse** to give you a Green "S2 PRO" buy signal on your individual stock. It protects you from buying a good stock on a day the whole market is collapsing.
* **Require Sector Uptrend?** and **Sector Index:** Similar to above, but specific to an industry. If you are looking at an IT stock, you set the index to `NSE:NIFTYIT`. The system will ensure the entire IT sector is healthy before letting you buy that specific IT company.
#### **4. Risk Management (Survival)**
This section mathematically calculates exactly where your safety net (the Aqua Circles) should be.
* **ATR Length:** *(Default: 14)*. ATR stands for Average True Range. It measures the stock's "breathing pattern"—how far it typically swings up and down over the last 14 bars. A highly volatile stock takes deep breaths; a slow stock takes shallow breaths.
* **ATR Trailing Stop Multiplier:** *(Default: 2.0)*. This setting multiplies that breathing pattern. If the stock normally swings ₹10 a day (its ATR), a multiplier of 2.0 places your Aqua Circle safety net exactly ₹20 below the current price. It gives the stock enough room to breathe and wiggle naturally, but forces you to sell if it violently drops further than its normal behavior dictates.
Pine Script® indicator
MNQ Overnight Volume + VWAP Cross Time Study (19:00-05:00 CT)Analyzes MNQ overnight trading from 19:00 to 05:00 Central Time by measuring hourly volume and counting VWAP crosses to identify which overnight hour has the highest volume and which hour price crosses VWAP most often.
Pine Script® indicator
Xer0's Dual Engine Ladder AllocatorOverview
This indicator is designed for long-term investors using a "Dual Engine" portfolio strategy on M1 Finance — mixing a broad-market index fund with a leveraged counterpart in the same Pie. Instead of guessing when to buy the dip, this script provides a systematic, step-by-step roadmap for increasing your leveraged allocation as the market falls, and resetting it as the market recovers.
How It Works
The strategy is built on "Sticky All-Time High" logic. It tracks the highest close price and calculates the current drawdown from that peak, then responds with one of three scenarios:
Ladder Down (Risk On): For every defined drop step (e.g. every -5%), the indicator signals a RISK UP event — automatically calculating your new target allocation to the leveraged slice of your Pie. This forces systematic, disciplined buying at lower prices.
Recovery Reset (Risk Off): Once the market recovers by a set percentage from the bottom, the script signals a RESET — returning your allocation to the base level and locking in the gains from the dip-buying phase.
Bull Step: When the market pushes into new high territory, the script tracks each new leg up and keeps your reference point current.
Key Features
Sticky ATH Tracking: Automatically calculates true drawdown from the cycle peak
Customizable Ladder Steps: Define your own drop trigger percentage and leverage increase per step
Max Cap: Hard ceiling on leverage exposure to protect against catastrophic drawdowns
Bar Confirmation: All signals fire on daily close to avoid intraday false triggers
Visual Dashboard: Bottom-right table showing current mode, target leverage, drawdown, and recovery price target
Alert Conditions: Built-in RISK UP and RESET alerts compatible with TradingView's "Once Per Bar Close" setting
Backtested Performance (Simulated — Read Carefully)
The following results are from a Python backtest covering approximately 30 years (1996–2026), using $923/week in contributions every Friday. The strategy used two M1 Pies: Pie 1 (S&P 500 index fund / 3× S&P 500 ETF, base leverage 35%) and Pie 2 (Nasdaq-100 index fund / 3× Nasdaq-100 ETF, base leverage 25%). Tax assumptions reflect California state + federal rates for a $47K–$100K income bracket. Data prior to 2010 is synthetic, modeled from underlying index returns.
Results are hypothetical and do not represent actual trading. Past performance does not guarantee future results.
Ladder Strategy | VOO Benchmark
Total Contributed $1,395,576 | $1,395,576
Final Value (after-tax) $25,286,879 | $9,025,443
Total Return 1,711.9% | 546.7%
CAGR (on contributions) 10.1% | 6.4%
Max Drawdown -91.8% | -50.5%
Taxes Paid (CA) $5,358,907 | N/A (buy & hold)
Cash After Full Liquidation $23,500,189 | $7,171,385
The ladder strategy produced approximately 227.7% more after-tax cash than buy-and-hold VOO after full liquidation. However, the strategy experienced a maximum drawdown of -91.8% — meaning at its worst point, the portfolio lost nearly all of its value on paper. This level of volatility is not suitable for most investors and requires strong conviction and a long time horizon to hold through.
How to Use
Add this indicator to a Daily (1D) chart of your chosen index. Configure the inputs to match your risk tolerance — Base Leverage %, Drop Step %, and Max Cap %. Enter your M1 Pie name in the input field so alerts reference it by name. Set alerts using "Once Per Bar Close" and adjust your Pie allocation whenever a signal fires.
Disclaimer
This script is for informational and educational purposes only. It does not constitute financial advice. Backtested results are simulated and hypothetical — they do not account for all real-world frictions and should not be interpreted as a guarantee of future performance. Trading leveraged instruments involves significant risk, including the potential loss of your entire investment, and is not suitable for all investors.
Pine Script® indicator
HTF Candle Profile & Dealing RangeBuilt around the concept of HTF candle profiling and dealing ranges.
When a new HTF candle opens, the open line gives you an immediate reference point to profile price from. For a bullish candle formation, price typically trades lower first to form its wick before expanding higher and then closing. You are looking to spot the protraction phase (aka wick formation) of the HTF candle you are trading to then align yourself with the body (aka the expansion phase of the candle). The open line is your reference for validating the profile and confirming the candle is behaving as expected.
For bearish it is the mirror. Price trades high first to form the wick, then expands lower to create the candle body and then closes.
The EQ of the previous candle's dealing range acts as your continuation/invalidation level. In a true expansion, price should not make deep retracements back into the prior range. A breach of EQ questions the move. If price holds and continues, you stay in and target the prior swing high or low along with whatever HTF draws you have mapped beyond that.
The dealing range, wick high to wick low of the previous HTF candle, gives you the full boundary of where price came from and what it needs to respect or break to confirm the next move.
Auto-detects your chart timeframe. No manual setup needed.
Pairings: M1/M15 · M3/M30 · M5/1H · M15/4H · M90/6H · 1H/1D · 4H/1W
Pine Script® indicator
Pine Script® indicator
Sniper Scalping Bot 15M (NQ/ES/Gold)this script tells you H,L, and M for the day. If you read the chart correctly you can never miss. pay attention to the signals but don't take every move .
Pine Script® strategy






















