PCCE + False Breakout DetectorPCCE + False Breakout Detector
Type: Invite-Only Indicator (closed source)
Purpose : Detect price compression and the first expansion after it, while flagging failed breakouts (bull/bear traps) for risk control.
1) What’s original here!
This tool integrates three behaviour-driven tests that work in a single decision flow:
A compression score built from:
(a) monotonic body shrink,
(b) wick-dominance, and
(c) relative range contraction versus history.
This is not a bands/oscillator port; it’s a structure-first filter that isolates coils.
A thrusted expansion requirement that combines real-body impulse and relative-volume participation (+ optional EMA alignment) to qualify a breakout beyond the coil envelope.
An immediate post-breakout failure test (trap logic) that checks whether the breakout re-enters the prior swing range within a short window.
Used together, these steps turn raw breaks into contextual, risk-aware events: setup → trigger → validation. That is the value of the combination.
⸻
2) Concepts behind the calculations:
Let body_t = |close_t − open_t|,
uw_t = high_t − max(open_t, close_t) (upper wick),
lw_t = min(open_t, close_t) − low_t (lower wick),
R_t(k) = highest(high, k)_t − lowest(low, k)_t (range over k bars),
MA_body(k) = SMA(body, k), MA_vol(k) = SMA(volume, k).
2.1 Compression (coil) detection
We evaluate within a window k = coilLength:
• Body shrink count: number of consecutive steps where body_(t−i) < body_(t−i−1).
• Wick dominance: AvgWickBody = avg( (uw + lw) / body ) over the window; require AvgWickBody > wickRatioMin.
• Relative range contraction: current R_t(k) must be less than α × avg( R_(t−j)(k) ) computed over a lookback of rangeWindow windows, with α < 1 (tight market).
When all three are true, we mark a coil zone; the coil bounds are High_coil = highest(high, k), Low_coil = lowest(low, k).
2.2 Expansion (“Burst”) confirmation
A breakout is only qualified when all hold on bar close:
• Direction: close > High_coil → up; close < Low_coil → down.
• Body thrust: body_t > MA_body(k) × bodyMult.
• Participation: volume_t > MA_vol(k) × volumeMultiplier.
• Trend alignment (optional): close_t > EMA(emaLen) for up / < EMA for down.
• Cooldown: t − lastSignal > cooldownBars.
If satisfied, print Burst↑ or Burst↓ on that bar.
2.3 Failed breakout (trap) detection
Let H_s and L_s be the prior swing high/low from a lookback rangeLookback (excluding the current bar). Define:
• Bull break attempt: a bar that closed above H_s.
Bull trap: within fakeoutBars bars after that attempt, any close returns below H_s. Mark ❌ red above that bar.
• Bear break attempt: a bar that closed below L_s.
Bear trap: within fakeoutBars bars after that attempt, any close returns above L_s. Mark ❌ green below that bar.
Alerts fire on bar close only.
⸻
3) What you’ll see on the chart
• Coil box: shaded envelope (tight-range bounds).
• Burst labels: Burst↑ / Burst↓ only when thrust + volume (and optional EMA) confirm the break.
• Trap markers: ❌ red (failed bullish breakout) / ❌ green (failed bearish breakout).
• Alerts: “Burst Up” and “Burst Down” (close-based).
⸻
4) How to use it
1. Preparation : When a coil box appears, mark the bounds; expect expansion risk to rise.
2. Trigger : Act only on Burst labels (they already encode body/volume thrust and optional trend).
3. Validation : If a ❌ trap prints shortly after a breakout, treat it as a warning/exit event; breakouts that re-enter the prior swing range are statistically fragile.
4. Context : Works well on 15m–4H where structure is visible. Combine with your own higher-timeframe bias, S/R, liquidity pools, and risk rules.
5. Tuning :
• Tighten/loosen coil sensitivity via coilLength, wickRatioMin, and the range contraction factor.
• Use larger bodyMult / volumeMultiplier to demand stronger breaks.
• cooldownBars controls clustering in fast sessions.
• rangeLookback and fakeoutBars control how strict the trap check is.
⸻
5) Repainting, scope, and limitations
• Burst and trap labels are evaluated on bar close; once printed, they do not repaint. Coil boxes can update while forming; they stabilize once conditions are met.
• Sudden news/illiquid periods can defeat filters; adjust multipliers and cooldown for your instrument.
• This is an indicator, not a strategy; it does not publish PnL, win-rate, or forward promises.
Tiện ích Pine
Fetti Fields Header (Presets)This is for individuals that like to customize their charts and add some style and motivation
Cost Basis of DCA Strategy (Enhanced)“Cost Basis of DCA Strategy (Enhanced): An Analytical Tool for Smarter DCA Investing”
The indicator designed here serves as a comprehensive analytical tool for evaluating a Dollar-Cost Averaging (DCA) strategy. Instead of merely recording scattered buy transactions, it integrates all purchases into a clear framework that reveals the real cost basis, portfolio performance, and capital allocation. Its primary function is to transform the concept of DCA from a mechanical process into a measurable and strategic decision-making system.
At the foundation of its operation, the user provides essential inputs such as the initial capital, the price and size of each buy transaction, and an optional sell price for hypothetical exit scenarios. With these inputs, the indicator calculates how many units were acquired in total, how much money was spent, and what the average cost per unit—the cost basis—truly is. This cost basis acts as the anchor for evaluating whether the market price has moved in favor or against the investor’s average entry point.
Beyond this, the indicator goes further by calculating both realized and unrealized dimensions of performance. It presents the current market value of holdings based on live price data and contrasts it with the total cost to derive unrealized profit or loss in both absolute terms and percentages. If the user sets a sell price, the tool simulates a full liquidation scenario, displaying the expected profit or loss should all holdings be sold at that level. This dual perspective enables the user to examine their strategy both from a present-value standpoint and a forward-looking one.
In addition, the indicator keeps track of remaining capital—the portion of initial funds not yet deployed into purchases—thus bridging the gap between portfolio construction and financial planning. It also reports the number of buy transactions, reinforcing awareness of execution discipline in DCA.
For visualization, the system is not confined to numbers alone. It marks each buy price directly on the price chart with distinct horizontal lines, labeled for clarity. This allows the trader to see not just statistics in a table but also the spatial relationship between historical entry points and ongoing market dynamics.
In essence, this indicator reframes the practice of DCA into a structured analytical exercise. It empowers investors to understand the true average entry cost, evaluate ongoing performance, and simulate future outcomes under different price scenarios. By doing so, it elevates DCA from a passive habit into an active, data-driven investment methodology, allowing users to make more informed, confident, and strategically grounded decisions.
KD The ScalperWe have to take the trade when all three EMAs are pointing in the same direction (no criss-cross, no up/down, sideways). All 3 EMAs should be cleanly separated from each other with strong spacing between them; they are not tangled, sideways, or messy. This is our first filter before entering the trade. Are the EMAs stacked neatly, and is the price outside of the 25 EMA? If price pulls back and closes near or below the 25 or 50 EMA and breaks the 100 EMA, we don't trade. Use the 100 EMA as a safety net and refrain from trading if the price touches or falls below the 100 EMA.
1. Confirm the trend- All 3 EMAs must align, and they must spread
2. Watch price pull back to the 25th or the 50 EMA
3. Wait for the price to bounce - And re-approach the 25 EMA
Why is this powerful?
Removes 80% of the low-probability Trades
It keeps you out of choppy markets
Avoids Reversal Traps
Anchors us to momentum
We take the entry when the price moves up again and touches the 25 EMA from below, and then when it breaks above the 25 EMA, or even better, when a lovely green bullish candle forms. A bullish candle indicates good momentum. When a bullish candle closes in green, it means the momentum has increased significantly. This is when we enter a long trade, with the stop-loss just below the 50 EMA and the profit target being 1.5 times the stop-loss.
The same rule applies to the bearish trade.
Smart TP Manager V.1.0🔹 Smart TP Manager V1.0 is a complete trade management tool for TradingView.
It allows you to:
Automatically detect Long/Short signals using EMA crossovers, RSI filter, higher-timeframe EMA trend, and ADX.
Calculate and display a dynamic Stop Loss based on ATR.
Automatically set TP1, TP2, TP3 with Breakeven management (risk set to zero after TP1).
Track performance with a statistics table (Win/Loss, BE, win rate, net profit in R).
Get a clear visual display of entries, SL, and TP with colored lines and labels.
Receive automatic alerts for every signal or target reached.
📊 It’s a risk and trade exit management assistant designed to optimize your trades and secure your profits.
Nick2k Trend Tracker MT botNick2k Trend Tracker MT bot
Type: Indicator (signals + PineConnector alerts for EAs)
Markets: Designed for XAUUSD (gold), adaptable to other symbols
Timeframes: Optimized for M5/M15
---
What it does
Nick2k Trend Tracker MT bot identifies trend flips using a percentile-normalized SMA slope with hysteresis, then applies a multi-layer filter suite to avoid false signals in low-quality conditions.
It can optionally auto-manage trades via PineConnector:
Send open orders with SL/TP (ATR- or pip-based)
Breakeven activation
Dual trailing stops (pip-based or ATR-based)
Staged partial closes (up to 3 levels)
The indicator also:
Highlights chop zones in the background
Provides diagnostic labels showing which filters passed/failed
Lets you disable all alerts with one checkbox (visual testing mode)
---
Core logic (simplified)
Trend Engine: SMA slope normalized by a rolling percentile; flips with hysteresis at +0.1/–0.1.
Filters: optional checks for slope strength, ADX, narrow range ratio, ATR squeeze, higher-timeframe slope.
Sessions: entry/management can be gated to London, NY, Tokyo, Sydney sessions and weekdays.
Chop highlight: background shading when ranges/low-volatility are detected for consecutive bars.
---
Visuals
Colored SMA line (gradient by slope)
BUY/SELL labels at valid flip bars
Chop background (yellow overlay)
Filter score/diagnostic label (optional)
---
Alerts & PineConnector integration
Open orders: sent at valid BUY/SELL flips with embedded SL/TP + BE/trailing if enabled
Partial closes: 3 configurable milestones (ATR or pip based, % or fixed lots)
Master toggle: switch all alerts ON/OFF instantly
Alerts are formatted in PineConnector EA syntax for compatibility with MetaTrader auto-trading.
---
Inputs (organized by group)
SMA & Theme (length, colors)
Auto Trading (license, symbol, lots, master toggle)
SL/TP Target Type (prices vs pips)
ATR SL/TP (length, multipliers, rounding)
Breakeven (trigger/offset)
Pip Trailing (trigger/dist/step)
ATR Trailing (TF, period, multiplier, trigger)
Partial Closes (mode, lots or %)
Time Filters (sessions, weekdays)
Filters (Slope, ADX, NRR, ATR squeeze, HTF confirm)
Chop Zone Highlight (on/off, hold bars, color)
---
Why this script is unique (and closed-source)
This is not a simple moving-average crossover. It combines several custom-built methods that are rarely seen in public scripts:
Normalized SMA slope with hysteresis: avoids whipsaws, adapts to volatility regimes.
Multi-filter confirmation: ADX, NRR, ATR squeeze, HTF slope — stacked to improve quality.
Chop detection with persistence: custom counter/hold logic to highlight ranging markets.
Integrated trade management: PineConnector-ready messages with SL/TP, breakeven, dual trailing stops, staged partial closes.
EA-compatible syntax: formatted exactly for PineConnector EAs, including safety toggles.
This represents a full trading framework designed for semi-automated gold scalping, not just a “signal indicator.”
The source is protected to prevent clones and preserve development effort invested in unique logic and PineConnector integration.
---
Recommended starting settings (XAUUSD M5/M15)
Pip size: 0.10
Slope threshold: 0.20 (M5), 0.16–0.20 (M15)
ADX min: 18–22
NRR floor: 2.0–2.4
ATR ratio: 0.65–0.75
ATR SL/TP: SL = 1.5×ATR, TP = 2.5×ATR
Sessions: London & NY
---
Limitations & disclaimer
Not financial advice. Test on demo before live trading.
Performance depends on broker symbols, spread, and volatility regime.
Auto-trading requires PineConnector EA set up correctly.
---
Changelog
v1.0 – Initial release (trend engine, filters, sessions, chop highlight, PineConnector alerts, BE/trailing, partial closes, diagnostics)
PongExperience PONG! The classic arcade game, now on your charts!
With this indicator, you can finally achieve your lifelong dream of beating the Markets. . . at PONG!
Pong is jam-packed with features! Such as:
2 Paddles
A moving dot
Floating numbers
The idea of a net
This indicator is solely a visualization, it serves simply as an exercise to depict what is capable through PineScript. It can be used to re-skin other indicators or data, but on its own, is not intended as a market indicator.
With that out of the way...
> PONG
The Pong indicator is a recreation of the classic arcade game Pong developed to pit the markets against the cold hard logic of a CPU player.
Given the lack of interaction that is capable, the game is not played in the typical sense, by a player and computer or 2 players.
This version of Pong uses the chart price movements to control the "Market" Paddle, and it is contrasted by a (not AI) "CPU" Paddle, which is controlled by its own set of logic.
> Market Paddle
The Market Paddle is controlled by a data source which can be input by the user.
By default (Auto Mode), the Market Paddle is controlled through a fixed length Donchian channel range, pinning the range high to 100 and range low to 0. As seen below.
This can be altered to use data from different symbols or indicators, and can optionally be smoothed using multiple types of Moving Averages.
In the chart below, you can see how the RSI indicator is imported and smoothed to control the Market Paddle.
Note: The Market Paddle follows the moving average. If not desired, simply set the "Smoothing" input to "NONE".
> CPU Paddle
In simple terms, the CPU Paddle is a handicapped Aimbot.
Its logic is, more or less, "move directly towards the ball's vertical location".
If it were allowed to have full range of the screen, it would be impossible for it to lose a point. Due to this, we must slow it down to "play fair"... as fair as that may be.
The CPU Paddle is allowed to move at a rate specified by a certain Percent of its vertical width. By default, this is set to 2%.
Each update, the CPU Paddle can advance up or down 2% of its vertical width. The directional movement is determined based on the angle of the ball, and it's current position relative to the CPU Paddle's position. Given that it is not a direct follow, it may at times seem more... "human".
When a point is scored, the CPU paddle maintains its position, similar to the original Pong game, the paddles were controlled solely by the raw output of the controllers and did not reset.
> Ball
At the start of each point, the ball begins at the center of the screen and moves in a randomly determined angle at its base speed.
The direction is determined by the player who scored the last point. The loser of the last point "serves" the ball.
Given the circumstances, serving is a gigantic advantage. So the loser serving is just another place where the Market is given an advantage.
The ball's base speed is 1, it will move 1 (horizontal) bar on each update of the script. This speed can "technically" increase to infinity over time, if given the perfect rally. This is due to the hit logic as described below.
Note: The minimum ball speed is also 1.
> Bonk Math
When the ball hits a paddle, essentially 3 outcomes can occur, each resulting in the ball's direction being changed from positive to negative.
Action A: Its angle is doubled, and its speed is doubled.
Action B: Its angle is reversed, and its speed is decreased if it is going faster than base speed.
Action C: Its angle is preserved, and its speed is preserved. "Basic Bounce"
Each paddle is segmented into 3 zones, with the higher and lower tips (20%) of the paddles producing special actions.
The central 60% of each paddle produces a basic bounce. The special actions are determined by the trajectory of the ball and location on the paddle.
> Custom Mode
As stated above, the script loads in "Auto Mode" by default. While this works fine to simply watch the gameplay, the Custom Mode unlocks the ability to visualize countless possibilities of indicators and analyses playing Pong!
In the chart below, we have set up the game to use the NYSE TICK Index as our Market Player. The NYSE TICK Index shows the number of NYSE stocks trading on an uptick minus those on a downtick. Its values fluctuate throughout the day, typically ranging between +1000 and -1000.
Therefore, we have set up Pong to use Ticker USI:TICK and set the Upper Boundary to 1000 and Lower Boundary to -1000. With this method, the paddle is directly controlled by the overall (NYSE) market behaviors.
As seen in a chart earlier, you can also take advantage of the Custom Mode to overlay Pong onto traditional oscillators for use anywhere!
> Styles
This version of Pong comes stocked with 5 colorways to suit your chart vibes!
> Pro Tips & Additional Information
- This game has sound! For the full experience, set alerts for this indicator and a notification sound will play on each hit!*
*Due to server processing, the notification sounds are not precisely played at each hit. :(
- In auto mode, decreasing the length used will give an advantage to the market, as its actions become more sporadic over this window.
- The CPU logic system actually allows the market to have a "technical" edge, since the Market Paddle is not bound to any speed, and is solely controlled by the raw market movements/data input.
- This type of visualization only works on live charts, charts without updates will not see any movement.
- Indicator sources can only be imported from other indicators on the same chart.
- The base screen resolution is 159 bars wide, with the height determined by the boundaries.
- When using a symbol and an outside source, be mindful that the script is attempting to pull the source from the input symbol. Data can appear wonky when not considering the interactions of these inputs.
There are many small interesting details that can't be seen through the description. For example, the mid-line is made from a box. This is because a line object would not appear on top of the box used for the screen. For those keen eye'd coders, feel free to poke around in the source code to make the game truly custom.
Just remember:
The market may never be fair, but now at least it can play Pong!
Enjoy!
Sessions - Full HeightEN : Full-height background sessions using bgcolor(). Asia, London, and New York sessions with configurable time windows, colors, and timezone. Open-source for learning and reuse.
RU : Индикатор заливает фон сессий на всю высоту графика (Азия, Лондон, Нью-Йорк). Настраиваемые окна времени и цвета.
Alpha VolumeThis script is a comprehensive trading toolkit designed to integrate position sizing, risk management, and key data metrics directly onto your chart. It goes beyond a simple volume indicator by providing two interactive tables and a special volume signal to aid in trade planning and analysis.
What It Does
The "Alpha Volume" indicator is a multi-functional tool that helps traders make more informed decisions. Its core components are:
- A Position Size Calculator that dynamically determines how many shares to trade based on your account size, risk tolerance, and different stop-loss strategies.
- A Data Metrics Table that displays essential fundamental information like Market Cap, Industry, Sector, and Float shares.
- An Episodic Pivot (EP) signal that highlights bars with exceptionally high volume, pinpointing potentially significant market events.
Key Features
Dynamic Position Sizing: Automatically calculates the ideal trade size based on various stop-loss points:
- The low or high of the day.
- The midpoint of the current candle.
- Three customizable fixed percentage stop-losses (e.g., 0.75%, 1.00%, 1.25%).
Interactive Risk Management: After you enter a trade, you can input your actual entry price and quantity. The script will then calculate:
- The exact stop-loss price required to meet your predefined risk.
- The distance to your stop-loss in both percentage and currency.
- Up to 10 R-Multiple price targets to help with profit-taking.
On-Chart Fundamental Data: The Data Metrics table provides a quick snapshot of the company's financial health and classification, saving you from switching between screens.
- Episodic Pivot Signal: A simple triangle appears below a daily candle when its volume surpasses a user-defined threshold (e.g., 9 million shares), drawing your attention to stocks under significant accumulation or distribution.
How to Use
Pre-Trade Planning:
- In the indicator settings, enter your Capital and define your Risk per trade (either as a percentage like 0.5% or a fixed currency amount like $5000).
- The "Position Size Table" will instantly show you the quantity you can trade based on different potential stop-loss levels. For example, Q shows the quantity if your stop is the day's low, and SQ shows quantities for fixed percentage stops.
Trade Execution & Management:
- Once you're in a trade, enter your Position Opened (PO) price and Quantity Actual (QA) in the settings.
- The second table will update to show your calculated stop-loss (PC), the distance to it (DA), and your R-Multiple targets (RM), giving you a clear plan for managing the trade.
Market Analysis:
- Use the Episodic Pivot signal on the daily chart to identify stocks experiencing unusual volume, which often precedes significant price moves.
- Glance at the Data Metrics Table to quickly understand the company's size (Market Cap) and business (Industry/Sector).
Transaction Value Alert (4Cr+)Transactions with a value of INR 4 crore or above on a one-minute candle indicate FII or DII activity and confirms momentum and is an excellent indicator for the intraday trading
地狱5分钟One-Sentence Summary
A 5-minute overlay indicator that fires confirmed buy / sell arrows when
( custom momentum-exhaustion counter OR adaptive cRSI extreme OR StochRSI extreme )
passes a user-defined sensitivity filter and a minimum-bar-distance gate, then auto-audits each signal in real time.
The Three Engines (TD-Free Wording)
A. Adaptive cRSI
Dominant-cycle RSI with auto-generated dynamic upper/lower bands.
Period, vibration and “levelling” are all adjustable.
B. StochRSI
Classic stochastic of RSI with independent length & smoothing controls.
C. Momentum-Exhaustion Counter
Counts consecutive bars where close is consistently higher (or lower) than the close 4 bars ago.
When the count reaches a user-set threshold (default 9) an “exhaustion” flag is raised.
Signal Workflow
Each engine contributes 0 or 1 point to a bull or bear score.
A raw signal candidate appears when total score ≥ 3 × sensitivity.
After the bar closes and the minimum-signal-distance test is passed, the candidate becomes confirmed.
Entry price, bar index, China-time timestamp, score and exhaustion status are logged.
Real-Time Back-Test
Every confirmed signal is stored in a SignalData array.
After backtest_minutes (user-defined) the script checks if price has moved in the signal’s favour and marks the trade win/loss.
Win-rate, streaks, exhaustion-edge and flat-money P&L (fixed bet & payout) are updated instantly.
Results are aggregated by China calendar day (UTC+8) in a DailyStats array.
Visual Output
Shapes
– Green ▲ = normal long Lime ▲ = exhaustion long
– Red ▼ = normal short Orange ▼ = exhaustion short
Price labels show exact entry.
“B” / “S” characters mark exhaustion bars.
Two live tables display overall stats, exhaustion edge, longest streaks, strategy profit and today’s China-time P&L.
Alert Library (TD-Free)
Alerts fire on:
every confirmed signal (exhaustion vs normal)
exhaustion win-rate ≥ 70 %
overall win-rate ≥ 65 %
win/loss streak milestones
daily profit/loss thresholds
Input Groups
cRSI, StochRSI, exhaustion-counter parameters
Signal sensitivity & minimum distance
OB/OS thresholds for both RSIs
Back-test duration, bet size, payout ratio
Toggle for on-chart tables
Shashwat Khurana (v6) – VWAP ±1SD + RSI + ATR Filter A multi-factor volatility-adjusted mean-reversion model integrating dynamic liquidity thresholds and higher-order momentum filters for asymmetric risk calibration
Apex Edge Sentinel - Stop Loss HUDApex Edge – ATR Sentinel Stop Loss HUD
The Apex Edge – ATR Sentinel is a complete stop-loss intelligence system built as a clean, always-on HUD.
It delivers institutional-level risk guidance by calculating and displaying live ATR-based stop levels for both long and short trades at multiple risk tolerances.
Forget cluttered charts and repainting lines — Sentinel gives you a clear stop-loss reference panel that updates dynamically with every bar.
✅ Features
• Triple ATR Multipliers
User-defined (e.g. x1.5 / x2.0 / x2.5). Compare tight, medium, and wide stops instantly.
• Dual-Side SL Levels
Both Long and Short safe stop prices displayed side by side. No more guessing trend
bias.
• ATR Transparency
HUD shows ATR(length) so you always know the calculation basis. Default = 14, adjustable
to your style.
• ATR Regime Meter
Detects volatility conditions (LOW / NORMAL / HIGH) by comparing ATR to its SMA. Helps
you avoid over-tight stops in high-volatility markets.
• Tick-Aware Rounding
Stop levels auto-rounded to the instrument’s tick size (Gold = 0.10, FX = 0.0001, indices =
whole points).
Custom HUD Design
• Location: Top/Bottom, Left/Right
• Sizes: Compact / Medium / Large (desktop or mobile)
• Opacity control (25% default Apex styling)
How to Use
1. Load Sentinel on your chart.
2. Check the HUD:
• ATR(14): 2.6 → base volatility measure.
• x1.5 / x2.0 / x2.5 → instant SL levels for both long & short trades.
3. Before entering a trade → decide which multiplier matches your style (tight scalper vs wider swing).
4. Manually place your SL at the level displayed in the HUD.
Sentinel works as both:
• A pre-trade check (is ATR stop too wide for my RR?).
• A live risk compass (updated stop levels every bar).
Why Apex Sentinel?
Most ATR stop indicators clutter charts with lagging lines or repainting trails. Sentinel strips it back to what matters:
• The numbers.
• The risk levels.
• The context.
It’s a pure stop-loss HUD, designed for serious traders who want clarity, discipline, and instant reference points across any market or timeframe.
Notes
• This is a HUD-only system (no automatic SL line). Traders manually apply the SL level
shown in the panel.
• Defaults: ATR(14), multipliers 1.5 / 2.0 / 2.5. Adjust to your trading style.
• Best used on intraday pairs like XAUUSD, EURUSD, indices, but works universally.
Apex Edge Philosophy: Clean. Smart. Institutional.
No clutter. No gimmicks. Just precision tools for modern markets.
Apex Edge – HTF Overlay Candles“Trade your 5m chart with the eyes of the 1H — Apex Edge brings higher-timeframe structure and liquidity sweeps directly onto your execution chart.”
Apex Edge – HTF Overlay Candles
The Apex Edge – HTF Overlay Candles indicator overlays higher-timeframe (HTF) candles directly onto your lower-timeframe chart. Instead of flipping between timeframes, you see HTF structure “breathe” live on your execution chart.
What It Does
• HTF Body Boxes → open/close zones drawn as semi-transparent rectangles.
• HTF Wick Boxes → high/low extremes projected as envelopes around each body.
• Midpoint Line → a dynamic equilibrium line that flips bias as price trades above or below.
• Sweep Arrows → one-time markers showing the first liquidity raid at HTF highs or lows.
Under the Hood
This isn’t just a visual overlay — it’s engineered for accuracy and performance in PineScript.
1. HTF Data Retrieval
• Uses request.security() to import open, high, low, close, time from any selected HTF.
• lookahead=barmerge.lookahead_off ensures OHLC values update bar by bar as the HTF
candle builds.
• When the HTF bar closes, boxes and midpoint lock to historical values — matching the
native HTF chart exactly.
2. Box Construction
• Body box: built from HTF open → close.
• Wick box: built from HTF high → low.
• Boxes extend dynamically across each HTF period, updating in real time, then freeze at
close.
3. Midpoint Logic
• (htfOpen + htfClose) / 2 calculates intrabar midpoint.
• Line drawn edge-to-edge across the active HTF body.
• Style, width, color, and opacity are user-controlled.
4. Sweep Detection
• Flags (sweepedHigh / sweepedLow) prevent clutter: only the first tap per side per HTF
candle is marked.
• Lower-timeframe price breaking the HTF high/low triggers the sweep arrow.
• Arrows are offset above/below wick envelopes for clean visuals.
5. Customisation
• Every layer (body, wick, midpoint, arrows) has independent color + opacity settings.
• Arrow size, arrow color, and transparency are adjustable.
• Default HTF = 1H (perfect for 5m/15m traders) but can be switched to 30m, 4H, Daily,
etc.
Why It’s Useful
• HTF intent + LTF execution without chart hopping.
• Liquidity mapping: see where liquidity is swept in real time.
• Bias clarity: midpoint line defines HTF equilibrium.
• Clean signals: only the first sweep prints — no spam.
What Makes It Different
Most MTF overlays just plot candles or single lines. This tool:
• Splits body vs wick zones for institutional precision.
• Updates live intrabar (no repainting).
• Highlights liquidity sweeps clearly.
• Built for readability and professional use — not another retail signal toy.
Cheat-Sheet Playbook
1️⃣ Structure Bias
• Above midpoint line = bullish intent.
• Below midpoint line = bearish intent.
• Chop around midpoint = no clear direction.
2️⃣ Liquidity Sweeps
• ▲ Green up arrow below wick box = sell-side liquidity taken → watch for longs.
• ▼ Red down arrow above wick box = buy-side liquidity taken → watch for shorts.
• First sweep is the cleanest.
3️⃣ Trade Logic
• Body box = where institutions transact.
• Wick box = liquidity traps.
• Midpoint = bias filter.
• Best setups occur when sweep + midpoint flip align.
4️⃣ Example (5m + 1H Overlay)
1. ▲ Green up arrow prints below HTF wick.
2. Price reclaims the body box.
3. Midpoint flips to support.
4. Enter long → stop below sweep → targets = midpoint first, opposite wick second.
In short:
• Boxes = structure
• Wicks = liquidity pools
• Midpoint = bias line
• Arrows = liquidity sweeps
This is your SMC edge on one chart — HTF structure and liquidity fused directly into your execution timeframe.
MOHStrategy Description
Uses Heikin Ashi candles to filter market noise and identify trend direction.
Entry is allowed only when strong HA candles appear (bullish without lower wick, bearish without upper wick).
Doji candles signal possible reversal.
استخدام شموع Heikin Ashi لتقليل الضوضاء وتحديد اتجاه الترند.
الدخول فقط عند ظهور شموع قوية (صاعدة بدون ذيل سفلي، هابطة بدون ذيل علوي).
شمعة الدوجي = إشارة انعكاس محتملة.
Alerta de toque de la 200-Week SMACuando el precio toca la MMS de 200 semanas es una posible compra.
Global Session Opens + 4H Background (한글: 글로벌 세션 개장 + 4시간 배경 표시)📌 추천 설명 (Description)
English
This indicator highlights two key elements for intraday and swing traders:
Global Session Opens (Asia, Europe, US)
Small session markers at candle open times (Asia 09:00 KST, Europe 16:00 KST, US 22:00 KST). Colors: Yellow = Asia, Red = Europe, White = US. Easy to spot, non-intrusive, and customizable placement.
4H Background Blocks kr.tradingview.com
Alternating faint background (5% opacity) every 4 hours. Helps track how lower timeframes (1m, 5m) move within the higher timeframe (4H).
✅ Perfect for scalpers and intraday traders who want to keep track of global liquidity flows without cluttering the chart.
한국어
이 인디케이터는 단타 및 스윙 트레이더를 위한 두 가지 핵심 기능을 제공합니다:
글로벌 세션 개장 (아시아, 유럽, 미국)
캔들 위에 개장 시간마다 작은 점으로 표시됩니다. (한국시간 기준: 아시아 09:00, 유럽 16:00, 미국 22:00)
색상: 아시아 = 노란색, 유럽 = 빨간색, 미국 = 흰색. 차트 가독성을 해치지 않으며 위치는 자유롭게 조정 가능합니다.
4시간 배경 블록
4시간마다 교차하는 희미한 배경(투명도 95%)이 표시됩니다. 분봉(1분, 5분)의 움직임이 4시간 캔들 안에서 어떻게 전개되는지 파악하는 데 큰 도움이 됩니다.
✅ 심플하지만 강력한 보조 도구로, 차트 분석 시 심리적 흔들림을 줄이고 글로벌 유동성 흐름을 쉽게 추적할 수 있습니다.
Intraday Bar CounterThis indicator plots a counter on the chart that tracks the number of bars since the beginning of the current day.
The counter resets to zero on the first bar of each new calendar day (midnight). This functionality is provided only on intraday and tick charts.
The indicator is designed to operate on a wide range of symbols without requiring manual adjustments for specific trading sessions.
Apex Edge – Wolfe Wave HunterApex Edge – Wolfe Wave Hunter
The modern Wolfe Wave, rebuilt for the algo era
This isn’t just another Wolfe Wave indicator. Classic Wolfe detection is rigid, outdated, and rarely tradable. Apex Edge – Wolfe Wave Hunter re-engineers the pattern into a modern, SMC-driven model that adapts to today’s liquidity-dominated markets. It’s not about drawing pretty shapes – it’s about extracting precision entries with asymmetric risk-to-reward potential.
🔎 What it does
Automatic Wolfe Wave Detection
Identifies bullish and bearish Wolfe Wave structures using pivot-based logic, symmetry filters, and slope tolerances.
Channel Glow Zones
Highlights the Wolfe channel and projects it forward into the future (bars are user-defined). This allows you to see the full potential of the trade before price even begins its move.
Stop Loss (SL) & Entry Arrow
At the completion of Wave 5, the algo prints a Stop Loss line and a tiny entry arrow (green for bullish, red for bearish). but the colours can be changed in user settings. This is the “execution point” — where the Wolfe setup becomes tradable.
Target Projection Lines
TP1 (EPA): Derived from the traditional 1–4 line projection.
TP2 (1.272 Fib): Optional secondary profit target.
TP3 (1.618 Fib): Optional extended target for large runners.
All TP lines extend into the future, so you can track them as price evolves.
Volume Confirmation (optional)
A relative volume filter ensures Wave 5 is formed with meaningful market participation before a setup is confirmed.
Alerts (ready out of the box)
Custom alerts can be fired whenever a bullish or bearish Wolfe Wave is confirmed. No need to babysit the charts — let the script notify you.
⚙️ Customisation & User Control
Every trader’s market and style is different. That’s why Wolfe Wave Hunter is fully customisable:
Arrow Colours & Size
Works on both light and dark charts. Choose your own bullish/bearish entry arrow colours for maximum visibility.
Tolerance Levels
Adjust symmetry and slope tolerance to refine how strict the channel rules are.
Tighter settings = fewer but cleaner zones.
Looser settings = more frequent setups, but with slightly lower structural quality.
Channel Glow Projection
Define how many bars forward the channel is drawn. This controls how far into the future your Wolfe zones are extended.
Stop Loss Line Length
Keep the SL visible without it extending infinitely across your chart.
Take Profit Line Colors
Each TP projection can be styled to your preference, allowing you to clearly separate TP1, TP2, and TP3.
This isn’t a one-size-fits-all tool. You can shape Wolfe detection logic to match the pairs, timeframes, and market conditions you trade most.
🚀 Why it’s different
Classic Wolfe waves are rare — this script adapts the model into something practical and tradeable in modern markets.
Liquidity-aligned — many setups align with structural sweeps of Wave 3 liquidity before driving into profit.
Entry built-in — most Wolfe scripts only draw the structure. Wolfe Wave Hunter gives you a precise entry point, SL, and projected TPs.
Backtest-friendly — you’ll quickly discover which assets respect Wolfe waves and which don’t, creating your own high-probability Wolfe watchlist.
⚠️ Limitations & Disclaimer
Not all markets respect Wolfe Waves. Some FX pairs, metals, and indices respect the structure beautifully; others do not. Backtest and create your own shortlist.
No guaranteed sweeps. Many entries occur after a liquidity sweep of Wave 3, but not all. The algo is designed to detect Wolfe completion, not enforce textbook liquidity rules.
Probabilistic, not predictive. Wolfe setups don’t win every time. Always use risk management.
High-RR focus. This is not a high-frequency tool. It’s designed for precision, asymmetric setups where risk is small and reward potential is large.
✅ The Bottom Line
Apex Edge – Wolfe Wave Hunter is a modern reimagination of the Wolfe Wave. It blends structural geometry, liquidity dynamics, and algo-driven execution into a single tool that:
Detects the pattern automatically
Provides SL, entry, and TP levels
Offers alerts for hands-off trading
Allows deep customisation for different markets
When it hits, it delivers outstanding risk-to-reward. Backtest, refine your tolerances, and build your watchlist of assets where Wolfe structures consistently pay.
This isn’t just Wolfe detection — it’s Wolfe trading, rebuilt for the modern trader.
Developer Notes - As always with the Apex Edge Brand, user feedback and recommendations will always be respected. Simply drop us a message with your comments and we will endeavour to address your needs in future version updates.
Option Strike Previous Day high and LowThis script automatically plots the previous day’s High and Low levels for a selected Call (CE) and Put (PE) option contract.
It is designed to help options traders quickly identify important price zones without having to fetch or calculate them manually.
Mandatory to Input expiry like. YYMMDD
Mandatory to Input Strike like. 25350
✨ Key Features:
• Automatically requests previous day High/Low for CE and PE of the chosen strike.
• Full-width horizontal lines for clear visibility across the entire chart.
• Configurable appearance: dashed/solid lines, custom width, and label placement (left/right).
• Optional manual level input for custom support/resistance marking.
• Debug mode available to show the tickers and requested values.
⚙️ How to Use:
1. Choose the underlying root (e.g., NIFTY), expiry (YYMMDD), and strike price.
2. Select whether you want to show CE, PE, or both.
3. Adjust label offset to position tags near the chart’s right edge.
4. Use the manual level input if you want to mark an additional reference line.
💡 Why it’s useful:
Option traders often rely on previous day’s option Highs and Lows as intraday reference zones for support, resistance, and breakout levels. This script makes those levels instantly visible and consistently updated, saving time and reducing manual charting errors.
📌 Notes:
• Works on any timeframe chart of the underlying.
• For best use, apply on the underlying index/stock chart, not on the option itself.
• This script does not generate trading signals or make predictions; it provides levels for reference.
SMA Cross 5/50 with Trend Filter & Risk Management by JuggiDThe basic SMA (5/50) crossover strategy can be enhanced to improve profitability by adding filters and risk management. For example, a long entry is triggered only when the fast SMA (5) crosses above the slow SMA (50) **and** the price is above the SMA (200), ensuring trades align with the major trend. Similarly, a short entry requires the crossover confirmation plus the price staying below the SMA (200). To reduce false signals and protect capital, stop-loss and take-profit levels can be set automatically (e.g., 2% loss, 5% gain), while additional confirmation tools such as volume spikes, RSI above 50, or MACD momentum can be applied to validate stronger signals. This approach helps avoid whipsaws in sideways markets and allows trades to capture larger moves while minimizing downside risk.
XINIU Risk-Reward Ratio Helper Pro #1.0.0CN:
专业版描述(中文)
本指标是 TradingView 平台上的一款 实用型风险收益管理工具,专为解决交易者在 风险收益评估、资金管理和进出场决策 上的痛点而设计。
交易者常见痛点:
1. 缺乏盈亏比概念 —— 盲目开单,不清楚单笔交易的最大风险与潜在收益。
2. 人工计算低效 —— 依赖计算器手工测算,费时费力,还容易出错。
3. 错失入场时机 —— 在计算过程中往往错过市场的最佳买入/卖出机会。
核心功能:
1. 自动绘制盈亏比目标价 —— 输入止损价格与目标盈亏比,自动生成止盈价格与参考线。
2. 多组盈亏比配置 —— 支持最多 10 组自定义盈亏比,快速对比不同风险收益结构。
3. 一键切换模式 —— 提供「止损为基准」「止盈为基准」「盈亏比价为基准」三种模式,灵活适配不同策略思路。
4. 资金成本与仓位测算 —— 内置保证金与手续费计算公式,直观显示进场所需资金。
5. 可视化盈亏比结构 —— 止损价、止盈价与 1:1 平衡点清晰绘制,避免盲目下单。
6. 关键分歧点提示 —— 标记多空双方可能快速插针的位置,帮助挂单埋伏。
7. 灵活图表渲染 —— 价格线延展、颜色区分与标签标注,让盈亏比一目了然。
核心好处:
1. 科学化决策 —— 清晰掌握风险与收益,避免情绪化操作。
2. 提升执行效率 —— 摆脱手工计算,用最短时间捕捉入场机会。
3. 优化风险管理 —— 自动测算仓位与资金需求,在关键分歧位“以小博大”。
4. 策略灵活性 —— 多组盈亏比与模式切换,满足不同市场环境下的需求。
风险提示:
● 本指标仅提供 参考数据和计算辅助,不能保证交易盈利。
● 市场存在不可预测波动,投资有风险,入市需谨慎。
● 用户应根据自身风险承受能力、资金状况及交易策略独立判断,不得完全依赖指标信号操作。
● 本指标开发者不对因使用本指标而导致的任何损失承担责任。
借助本指标,交易者能在复杂多变的市场中,以更专业、更高效的方式管理风险与收益,同时明确自身风险责任。
EN:
Professional Version Description (English)
This indicator is a practical Risk-Reward Management Tool on the TradingView platform, specifically designed to address traders' pain points in risk-reward evaluation, capital management, and entry/exit decision-making.
Common trader pain points:
1. Lack of risk-reward awareness – Opening trades blindly without understanding the maximum risk or potential reward of each trade.
2. Inefficient manual calculations – Relying on calculators for manual computation, which is time-consuming, error-prone, and cumbersome.
3. Missed entry opportunities – During calculations, traders often miss the optimal buy/sell opportunities in the market.
Core Features:
1. Automatic risk-reward target plotting – Enter a stop-loss price and desired risk-reward ratio, and the indicator automatically calculates take-profit levels and reference lines.
2. Multiple risk-reward configurations – Supports up to 10 custom risk-reward ratios, allowing quick comparison of different risk-reward structures.
3. One-click mode switching – Provides three flexible modes: “Stop-loss as base”, “Take-profit as base”, and “Risk-reward price as base”, adapting to various trading strategies.
4. Capital and position size calculation – Built-in formulas for margin and fee calculation, clearly displaying the required funds for entry.
5. Visualized risk-reward structure – Clearly plots stop-loss, take-profit, and 1:1 balance levels to prevent blind trading.
6. Key divergence point alerts – Marks potential rapid spikes from both bulls and bears, aiding strategic order placement.
7. Flexible chart rendering – Extendable price lines, color coding, and labeled markers make the risk-reward structure instantly clear.
Key Benefits:
1. Data-driven decision-making – Understand risk and potential reward clearly, avoiding emotional trading.
2. Improved execution efficiency – Eliminate manual calculations and quickly capture optimal entry points.
3. Optimized risk management – Automatically calculate position size and capital needs, enabling “small risk, big reward” at key divergence points.
4. Strategy flexibility – Multiple risk-reward configurations and mode switching meet the demands of varying market conditions.
Risk Disclaimer:
● This indicator provides reference data and calculation assistance only and cannot guarantee trading profits.
● Markets are subject to unpredictable fluctuations; all investments carry risk, and trading should be approached with caution.
● Users should make independent judgments based on their own risk tolerance, capital situation, and trading strategy; the indicator should not be relied upon exclusively.
● The developers of this indicator are not responsible for any losses incurred from its use.
With this tool, traders can manage risk and reward more professionally and efficiently in complex and volatile markets while clearly understanding their own risk responsibilities.






















