Indicator

Candlestick Edge Auto-Preset MTF Self-CalibratingCandlestick Edge only fires a candlestick pattern when it is "rightly placed" — confirmed by a higher-timeframe trend AND by where price sits in the developing volume profile. Then it does what most pattern tools don't: it forward-tests every signal and reports the MEASURED edge per pattern, so you read realized performance instead of a marketing claim.
WHY THIS IS ONE TOOL (not a bundle)
The parts answer one question about one candle: "is this pattern in a place that has historically paid, and does it beat a coin-flip here?"
PATTERN detection says WHAT printed (24 classic candlestick patterns).
HTF ALIGNMENT says whether the bigger trend agrees.
VOLUME-PROFILE POSITIONING says WHERE it printed — reversals only at value-area edges, naked POC, HVN support/resistance, or liquidity sweeps; continuations only through low-volume voids or on a value breakout.
The CALIBRATION SPINE forward-resolves each signal with a triple barrier and reports Hit% vs a matched Base% (Edge) with a Wilson confidence interval, so a placed-and-confirmed pattern can be told apart from a small-sample fluke.
One pattern substrate, one location read, one calibration spine.
MEASUREMENT (the differentiator)
Each signal opens at close with target = ±TP·ATR, stop = ∓SL·ATR, over a fixed horizon. The first barrier touched decides win/loss (same-bar tie counts as the stop — conservative). Base% is the unconditional same-barrier win-rate for that direction. Edge = Hit% − Base%; a "*" marks rows whose Wilson 95% lower bound clears the base rate. A leave-one-out row prices each filter's marginal contribution, and a footer lists only the patterns that are green AND have enough samples to trust in the current configuration.
AUTO PRESET (default on)
Candlestick edges are timeframe-specific. Auto Preset reads the chart's timeframe and switches on the pattern subset plus higher-timeframe distance that performed best for that timeframe in the author's study of NSE index futures, and forces the two filters on. Turn it OFF for full manual research mode: all 24 patterns selectable, filters and HTF distance (3x / 5x / 15x / custom) under your control. Nothing is ever removed — the preset only curates which patterns are active by default per timeframe.
HOW TO USE
Leave Auto Preset on and read the labelled signals (teal = bullish, red = bearish, each tagged with the pattern name). Open "Show scoreboard" to see measured Edge per pattern — trust the EDGE column and the "*", never a raw hit-rate. Best behaviour is on intraday timeframes (1H and below).
ORIGINALITY
Standard techniques are credited below. What is original is the combination: a location-gated pattern engine whose every signal is forward-calibrated, a timeframe-adaptive auto-preset, a leave-one-out filter attribution, and an auto-surfaced tradeable set — measured edge, not asserted.
NON-REPAINT
Signals open on confirmed bars; triple-barrier outcomes resolve on bars AFTER the trigger; all higher-timeframe / lower-timeframe / prior-day-POC requests use lookahead_off and confirmed intrabars. Pivots used by sweeps confirm first.
DATA & MARKETS
Runs on any symbol that reports volume; the developing profile needs volume to be meaningful. Defaults are tuned for intraday index futures. On the Enhanced data tier the delta read uses intrabar aggregation (richer on paid plans) and auto-falls-back to an OHLCV proxy when intrabars aren't served — safe to leave on for any plan.
CONCEPT CREDITS (methods operationalized — original Pine re-derivations)
Candlestick patterns — Nison; pattern-performance framing per Bulkowski
Market / auction profile, POC / Value Area — Steidlmayer; Dalton
Bulk Volume Classification — Easley, Lopez de Prado & O'Hara (2012)
Triple-barrier labelling — Lopez de Prado
Wilson score interval — Wilson (1927)
HONESTY / LIMITS
The profile is an ATR-binned developing session profile (not tick POC). Delta is an estimate (proxy or intrabar reconstruction), not true bid/ask. Reported edge is context measured on loaded history — not a prediction or a promise. The preset defaults were tuned on one instrument over a recent window, so treat them as a well-measured hypothesis, not proven alpha.
Educational tool. Not financial advice — you alone are responsible for your trading decisions. Indicator

Candle Rejection Quality Planner [AGPro Series]Candle Rejection Quality Planner
🧠 Core Idea
Is the rejection candle strong enough to create a valid planning context, or is it only a noisy wick?
📌 Overview / What it does
Candle Rejection Quality Planner is a chart-first rejection candle decision tool designed to evaluate wick-led rejection without turning the chart into a generic candlestick signal map.
The script identifies bullish and bearish rejection candles, scores their quality from 0 to 100, then tracks what happens next through a confirmation rail, failure edge, target-room guide, wick quality zone, compact labels, alerts, and a clean AG Pro planning panel.
It does not predict future price movement, automate entries, print buy/sell commands, or replace broader market context. Its purpose is to help traders judge whether a rejection candle has enough structure to deserve attention.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between simple wick markers and broader reversal systems.
Many traders can see a long wick. The harder question is whether that wick has enough close quality, candle range, participation, and follow-through potential to become useful context.
The design supports a planner mindset: evaluate the candle, define the confirmation level, know where the idea weakens, and wait for the next state instead of reacting to every wick.
⚡ Why This Script Is Different
Most tools focus on detecting a named candle pattern such as a pin bar, engulfing candle, or generic rejection marker.
This script does NOT clone Pin Bar Quality Filter, Engulfing Candle Quality, Rejection Block Quality, order block logic, liquidity sweep logic, or a broad candlestick scanner.
Instead, it focuses on the planning process after a rejection candle appears: quality score, confirmation rail, failure edge, target-room guide, and next-action state. The candle is not treated as an entry by itself. It is treated as a context that must prove itself.
⚙️ Methodology
1. Context Detection
The script measures candle range, upper wick, lower wick, close location, and relative volume to detect wick-led rejection context.
2. Reference Mapping
When a qualified rejection candle appears, the planner maps a wick quality zone, confirmation rail, failure edge, and target-room guide.
3. Reaction Evaluation
The model updates the 0-100 Rejection Quality score as confirmation develops, pressure works against the candle, time passes, or price reaches the planning guide.
4. Visual Output
The chart displays the wick zone, rail, guide lines, controlled labels, candle tint, alerts, and AG Pro panel.
🗺️ How to Read the Chart
Zones = the rejected wick area of the qualifying candle. The zone is a candle-quality reference, not a support/resistance map.
Labels = rejection context, confirmation, failure edge breaks, target-room completion, and sparse active-state markers.
Colors = teal supports bullish rejection context, pink marks bearish rejection or failure pressure, yellow marks caution, and indigo marks confirmation review.
Panel = a compact decision view showing Candle Side, Rejection Quality, Confirmation, Failure Risk, and Action.
🚦 Signals & States
• Bullish Rejection → lower wick rejection with stronger close location and sufficient quality.
• Bearish Rejection → upper wick rejection with weaker close location and sufficient quality.
• Awaiting Confirmation → a qualified rejection exists, but price has not accepted beyond the rail.
• Confirmed → price accepted beyond the confirmation rail.
• Failure Edge Broken → the rejection context lost its defined failure edge.
• Target Room Reached → price reached the planning guide mapped from the rejection context.
🔔 Alerts Logic
Alerts can trigger when a qualified rejection candle opens a new context, when confirmation rail acceptance appears, when the failure edge breaks, when target room is reached, or when the active planner state changes.
Alerts are attention markers. They are not trade instructions and do not imply a guaranteed outcome.
🧩 Confluence Logic
The strongest planner states appear when wick dominance, close location, reasonable candle range, supportive volume, and confirmation beyond the rail align together.
When those elements are weaker or delayed, the planner shifts toward monitor, weak confirmation, expired context, or invalidated state.
📊 When to Use
• Price-action review around visible reaction candles
• Liquid symbols where candle range and volume are readable
• Intraday or swing charts where wick rejection can be evaluated with ATR context
• Discretionary planning workflows that need confirmation and failure references
⚠️ When NOT to Use
• Extremely low-liquidity symbols with unreliable candles
• Very noisy low-timeframe charts where wicks appear randomly
• News spikes where candle range is distorted
• Situations where broader market structure is being ignored
🎛️ Key Inputs
• Sensitivity → changes how selective the rejection engine is.
• Minimum Rejection Quality → sets the 0-100 score required before a context appears.
• Dominant Wick Share → controls how much wick dominance is required.
• Close Location Quality → controls how strongly price must close away from the rejected wick.
• Confirmation Window → controls how long the script waits for follow-through.
• Failure Edge Buffer → defines the invalidation reference beyond the rejection wick.
• Target-Room Guide R → draws the planning guide from rejection close to failure edge distance.
• Visual settings → control zones, rails, labels, candle tint, panel location, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is intentionally compact and chart-first.
The wick quality zone keeps attention on the candle that created the context. The confirmation rail and failure edge create a structured review path. The AG Pro panel summarizes the current state without covering the chart with a broad dashboard.
🧪 Practical Usage Workflow
1. Read the panel and identify the active candle side.
2. Check the wick quality zone and confirmation rail.
3. Watch whether price confirms, weakens, expires, or breaks the failure edge.
4. Use the target-room guide as a planning reference, not as a promise.
🔍 Interpretation Guidelines
A stronger score means the rejection candle has cleaner wick dominance, better close location, a more useful candle range, and stronger participation support.
A confirmed state means price has accepted beyond the rail according to the script rules.
A failed state means the active rejection context lost its defined failure edge.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a pin bar clone
• Not an engulfing candle detector
• Not a generic support/resistance or order block map
⚠️ Limitations & Transparency
The script is rule-based and depends on candle structure, ATR, relative volume, and follow-through behavior.
Different timeframes can change how rejection appears. Volatility spikes can distort candle range and failure distance. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted within broader market structure, liquidity, volatility, and personal risk rules.
🧠 Market Context Notes
Rejection candles often matter more when they appear near meaningful structure, after a directional push, or during a volatility expansion attempt. The script intentionally does not build a full structure map because its narrow job is candle rejection planning.
🧾 Use Case Examples
When a candle prints a strong lower wick, closes high in its range, and then accepts above the confirmation rail, the planner may classify the context as ready for review.
When a strong upper wick appears but price fails to move beyond the confirmation rail and later breaks the failure edge, the planner marks the context as invalidated.
🧱 System Philosophy
AGPro Series tools are designed to convert visual market behavior into structured review states. This script follows that philosophy by turning a single rejection candle into a defined planning context with quality, confirmation, risk, and action fields.
🔐 Non-Promise Statement
No script can provide certainty.
No rejection candle guarantees continuation, reversal, or profitable execution.
📉 Risk Disclosure
Trading involves risk. This script is for technical analysis and educational use only.
Users remain responsible for their own analysis, position sizing, execution decisions, and risk management.
This script does not provide financial advice or guaranteed trading outcomes.
📚 Educational Note
Use the tool to study how rejection candles behave after they appear. The value is in structured observation, not automatic decision-making.
Indicator

Morning & Evening Star Detector [SSFX]Morning & Evening Star Detector is an open-source candlestick pattern indicator designed to identify two classic 3-candle reversal formations: the Morning Star and the Evening Star.
The Morning Star is a bullish reversal pattern that typically appears after bearish pressure. The indicator identifies it using a 3-candle structure:
A strong bearish first candle
A small-bodied middle candle, representing hesitation or loss of momentum
A strong bullish third candle that closes back into the body of the first candle
The Evening Star is the opposite bearish reversal pattern. It is detected when the market forms:
A strong bullish first candle
A small-bodied middle candle
A strong bearish third candle that closes back into the body of the first candle
To make the patterns easier to read on the chart, the script automatically draws a box around the full 3-candle formation:
Green box = Morning Star
Red box = Evening Star
The box covers the full high-to-low range of the entire pattern, helping traders visually study where the reversal structure formed.
Main features:
Detects Morning Star bullish reversal patterns
Detects Evening Star bearish reversal patterns
Draws visual boxes around valid 3-candle patterns
Green highlight for Morning Star formations
Red highlight for Evening Star formations
Optional labels for detected patterns
Optional background highlighting
Adjustable candle body percentage filters
Adjustable middle candle size filter
Adjustable third candle close requirement
Optional gap requirement for more traditional pattern detection
Built-in alert conditions for both pattern types
The pattern logic is fully customizable. Users can adjust the required body size of the first candle, the maximum body size of the star candle, the minimum body size of the confirmation candle, and how deeply the third candle must close into the first candle’s body.
The optional gap setting is included for traders who prefer a more classical definition of Morning Star and Evening Star patterns. Since many markets such as forex, gold, crypto, and index CFDs often do not produce clean session gaps, the gap requirement can be turned off for more flexible detection.
This indicator is intended for educational and analytical use. It does not predict future price movement and should not be used as a standalone trading system. Morning Star and Evening Star patterns are best interpreted together with market structure, support and resistance, trend context, volume, and proper risk management.
Indicator

Smart Candlestick Pattern Filter [MarkitTick]💡 This Script is a sophisticated technical analysis tool designed to identify, grade, and display over 40 distinct candlestick formations based on a proprietary strength and context filtering system. Unlike standard pattern finders that often clutter charts with conflicting signals, this script utilizes a hierarchy logic to display only the most significant pattern detected on any given candle, ensuring chart clarity and actionable data.
● Originality and Utility
The primary utility of this script lies in its filtering engine. Standard indicators often flag every minor Doji or Spinning Top, creating noise. This indicator categorizes patterns into five distinct levels of strength, ranging from simple indecision to very strong reversal or continuation signals.
Furthermore, it incorporates a Trend Context filter, which checks the relationship between price and a Simple Moving Average (SMA). This ensures that reversal patterns (like Hammers) are prioritized during downtrends, while continuation patterns are highlighted during established moves, reducing false positives.
● Methodology
The indicator evaluates price action using specific ratios between the Open, High, Low, and Close, alongside the body size relative to the total range. It assigns a strength score to each detected pattern.
• Pattern Strength Grading
Strength 1 (Indecision): Includes patterns like Doji, Spinning Tops, Dragonfly, and Gravestone Dojis. These signal a pause in momentum.
Strength 2 (Weak): Includes patterns like Hanging Man, Inverted Hammer, Belt Holds, and In-Neck lines. These suggest potential movement but often require confirmation.
Strength 3 (Moderate): Includes classic reversals like Hammers, Shooting Stars, Haramis, Dark Cloud Cover, and Piercing Lines.
Strength 4 (Strong): Includes major signals like Engulfing patterns, Morning/Evening Stars, and Marubozu candles.
Strength 5 (Very Strong): Reserved for rare, high-probability multi-candle formations like Three White Soldiers, Three Black Crows, Rising/Falling Three Methods, and Breakaway gaps.
The script calculates all potential patterns for the current bar and then compares their strength scores. Only the pattern with the highest strength is displayed. If the Show Trend Context option is enabled, the script further validates the pattern against the current market direction (determined by the SMA and slope) before plotting.
● How to Use
Traders can use this tool to identify potential entry and exit points based on the strength of the signal.
• Visual Signals
Patterns are labeled directly on the chart:
Green Labels/Text: Indicate Bullish patterns.
Red Labels/Text: Indicate Bearish patterns.
Gray/White Labels: Indicate Indecision or Weak patterns.
Hovering over any label provides the full name of the pattern and its strength rating (e.g., "Bullish Engulfing - Strength: Strong").
• Trading Logic
High Strength Signals (Levels 4-5): These can be used as primary triggers for trend reversals or strong continuations.
Moderate Signals (Level 3): Useful for adding confluence to existing analysis or anticipating a setup.
Indecision (Level 1): Often useful for taking profits or tightening stop-losses, as they indicate the current trend may be stalling.
● Settings
Show Only Strong Patterns: When enabled, filters out Strength 1, 2, and 3, showing only the most significant signals (Strength >= 4).
Max Patterns to Display: Limits the number of historical labels to prevent chart clutter.
Max Candles to Check Engulfing: Adjusts how far back the script looks to validate the size of an engulfing candle.
Trend Detection Period: Sets the length of the SMA used to determine the background trend context.
Show Only Trend-Appropriate Patterns: If checked, bullish reversals are only shown in downtrends, and bearish reversals in uptrends.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Clean OHLC Lines | BaksPlots clean, non-repainting OHLC lines from higher timeframes onto your chart. Ideal for tracking key price levels (open, high, low, close) with precision and minimal clutter.
Core Functionality
Clean OHLC Lines = Historical Levels + Non-Repainting Logic
• Uses lookahead=on to anchor historical lines, ensuring no repainting.
• Displays OHLC lines for customizable timeframes (15min to Monthly).
• Optional candlestick boxes for visual context.
Key Features
• Multi-Timeframe OHLC:
Plot lines from 15min, 30min, 1H, 4H, Daily, Weekly, or Monthly timeframes.
• Non-Repainting Logic:
Historical lines remain static and never recalculate.
• Customizable Styles:
Adjust colors, line widths (1px-4px), and transparency for high/low/open/close lines.
• Candle Display:
Toggle candlestick boxes with bull/bear colors and adjustable borders.
• Past Lines Limit:
Control how many historical lines are displayed (1-500 bars).
User Inputs
• Timeframe:
Select the OHLC timeframe (e.g., "D" for daily).
• # Past Lines:
Limit historical lines to avoid overcrowding (default: 10).
• H/L Mode:
Draw high/low lines from the current or previous period.
• O/C Mode:
Anchor open/close lines to today’s open or yesterday’s close.
• Line Styles:
Customize colors, transparency, and styles (solid/dotted/dashed).
• Candle Display:
Toggle boxes/wicks and adjust bull/bear colors.
Important Notes
⚠️ Alignment:
• Monthly/weekly timeframes use fixed approximations (30d/7d).
• For accuracy, ensure your chart’s timeframe ≤ the selected OHLC timeframe (e.g., use 1H chart for daily lines).
⚠️ Performance:
• Reduce # Past Lines on low-end devices for smoother performance.
Risk Disclaimer
Trading involves risk. OHLC lines reflect historical price levels and do not predict future behavior. Use with other tools and risk management.
Open-Source Notice
This script is open-source under the Mozilla Public License 2.0. Modify or improve it freely, but republishing must follow PulseWire’s House Rules.
📈 Happy trading! Indicator

Indicator

Indicator

Indicator

Strategy

Indicator
