Std Smart Pivot V5.0 by SJKimStd Smart Pivot V5.0 by SJKim
Std Smart Pivot V5.0 by SJKim
Std Smart Pivot V5.0 by SJKim
Indicadores y estrategias
ICT Unicorn Strategy [RoboQuant]What it detects
Structure: uses pivots (ta.pivothigh/low) to build a mini zigzag (A–B–C–D).
“Unicorn” Pattern:
Bull: bullish direction, C below A (protected swing), with a bullish “BRB” candle at B.
Bear: mirrored version.
FVG: searches for a valid gap between candle i and i+2 inside the BRB candle range and greater than 0.05 × ATR (quality filter).
When an FVG appears, it plots boxes/lines (top/bottom of range, protected swing, FVG box).
How it enters
Bull Trigger: a candle opens inside the FVG and closes above the top of the FVG (mitigation + continuation).
SL = protected swing (firstBl.swing, pivot C).
TP = top + (top - swing) * (reward/risk).
Draws Risk and Reward boxes if showTargets=true.
Bear Trigger: mirror setup (opens inside FVG and closes below bottom).
Management & sizing
Sizing: calculates position size = riskAmount / SL distance, capped by maxPositionSize.
RR configurable with risk and reward (default 1:2).
Trailing optional: adjusts TsL using short pivots (lenS).
Trade closes at SL (break of swing) or TP (target reached).
combine: if false, a bull setup cancels a bear setup (and vice versa). If true, both can coexist.
Key parameters
len: pivot sensitivity (structure).
riskAmount and maxPositionSize: risk control.
trail, lenS: trailing logic.
Box colors/visibility (showTargets, colRisk, colReward).
ICT translation
Seeks impulse → FVG → pullback into FVG → expansion, with a protected swing (implicit BOS/MSS via zigzag) and mitigation of imbalance.
The ATR * 0.05 filter avoids micro-gaps without intent.
How I’d use it (quick checklist)
Mark HTF bias (only take bull or bear setups with the trend).
On LTF, wait for a valid FVG inside the BRB candle.
Enter only if a candle re-enters the FVG and closes breaking its edge.
SL at swing C, TP by RR (default 1:2).
Enable trailing only after 1R is reached (optional, tuned via lenS).
Neural Fusion Pro v2 — Adaptive Trend Strategy🔥 Neural Fusion Pro v2 — Adaptive Trend Strategy
This strategy fuses trend, momentum, volatility, and multi-timeframe analysis into one powerful trading system.
It adapts dynamically to market conditions with risk-based position sizing, ATR stop losses, and reward-target exits.
✅ Features:
📈 EMA + RSI Fusion → core entries with adaptive crossover filters.
⏱️ Multi-Timeframe Confirmation → confirm trades with higher timeframe EMA.
📊 ADX Trend Strength Filter → avoids chop, trades only strong trends.
⏰ Session Filter → restricts trading to your chosen market session.
🛡️ ATR-based Stop Loss + Risk/Reward TP.
⚖️ Dynamic Position Sizing → risk % per trade with max position cap.
💡 Equity Curve Display + Alerts → track performance and automate signals.
💡 Best Use Cases:
Works across crypto, forex, indices, and stocks.
Ideal for trend-followers who want risk-managed signals.
Can be combined with manual confirmation for swing or intraday trading.
Intraday Alpha Pro - ORB + Trend/MomentumOverview
This is a pure intraday trading strategy designed for active traders seeking to capitalize on short-term price movements using two complementary modules: Opening Range Breakout (ORB) and Trend/Momentum. The strategy operates strictly within a user-defined trading session, automatically flattening all positions at session end to avoid overnight carry. It employs a points-based exit system with a trailing stop that activates only after the target is reached, ensuring disciplined risk management. Optional Martingale position sizing is included for users who prefer aggressive scaling after losses.Key Features Pure Intraday, No Carry: Trades are confined to a user-defined session (default: 9:15 AM–3:25 PM, Monday–Sunday). All positions are closed at session end.
Non-Repainting: Entries are evaluated only on confirmed bar closes (barstate.isconfirmed), ensuring no lookahead or repainting.
Dual Signal Modules: Opening Range Breakout (ORB): Captures breakouts above/below the high/low of a user-defined opening range (default: 9:15 AM–9:30 AM).
Trend/Momentum: Combines EMA (9/21) crossovers, RSI filters, volume confirmation, and an optional 200-period MA trend filter for robust trend-following signals.
Points-Based Exits: Uses fixed stop-loss (slPoints, default 16 points) and take-profit (tpPoints, default 32 points) distances. Once the take-profit level is reached, a trailing stop (trailDistPts, default 10 points) activates, ratcheting monotonically to lock in gains.
Martingale Sizing (Optional): Allows position size increases after losses (up to maxQtyInput) with a reset option after wins.
Cooldown Period: Prevents immediate re-entries after exits using a configurable cooldown (cooldownBars).
Flexible Inputs: Toggle long/short entries, enable/disable ORB or Trend/Momentum modules, and customize all parameters (e.g., MA lengths, RSI thresholds, volume multiplier).
Visuals & Alerts: Plots ORB high/low lines and moving averages (9, 21, 200). Includes alerts for long/short entries and end-of-day flattening.
How It Works Session Management: Trades only within the specified tradeSes (default: 9:15 AM–3:25 PM). The ORB module uses a separate orbSes (default: 9:15 AM–9:30 AM) to calculate breakout levels. Positions are closed automatically at session end.
Entry Conditions: ORB: Long when price closes above the ORB high after the ORB session ends; short when price closes below the ORB low.
Trend/Momentum: Long on fast MA (default EMA 9) crossing above slow MA (default EMA 21), with RSI above rsiBuy (default 55), volume exceeding volMult (default 1.5x prior bar), and price above the 200-period MA (if enabled). Shorts use the inverse.
Exit Logic: Stop-loss is set at entry price ± slPoints.
Take-profit is monitored using a running high/low since entry. Once price moves tpPoints in profit, the stop trails at trailDistPts behind the current price, adjusting only in the favorable direction (never loosening).
Exits use strategy.exit with stop only (no limit orders).
Position Sizing: Default size is baseQtyInput (minimum 1 contract). With useMartingale enabled, size increases by martingaleFactor after a loss, capped at maxQtyInput. If resetOnWin is true, size resets to baseQtyInput after a winning trade.
Cooldown: After an exit, no new trades are allowed for cooldownBars to prevent overtrading.
Futures-Safe Volume: Volume filter accommodates markets with missing or zero volume data (e.g., futures), ensuring signals aren’t blocked unnecessarily.
Inputs Trading Session: tradeSes (e.g., "0915-1525:1234567") and orbSes (e.g., "0915-0930:1234567").
Toggles: enableLong, enableShort, useORB, useTrendMom, useTrendFilter (200-MA).
Trend/Momentum: maType (EMA/SMA), fastLen (9), slowLen (21), trendLen (200), rsiLen (14), rsiBuy (55), rsiSell (45), volMult (1.5).
Exits: slPoints (16), tpPoints (32), trailDistPts (10).
Martingale: useMartingale, baseQtyInput, maxQtyInput, martingaleFactor, resetOnWin.
Cooldown: cooldownBars (1).
Legacy (Ignored): tp1RR, tp2RR, tp3RR, tp1Pct, tp2Pct, tp3Pct, stepTrail for backward compatibility.
Usage Notes Best suited for liquid, intraday markets (e.g., futures like ES, NQ, or forex pairs).
Adjust slPoints, tpPoints, and trailDistPts to match instrument volatility.
Use useMartingale cautiously, as it increases risk after losses.
Ensure tradeSes and orbSes align with your market’s trading hours.
Alerts can be set for long/short entries and EOD flattening.
The strategy avoids lookahead and repainting, ensuring reliability in live trading.
Risk Warning
Trading involves significant risk. Backtest thoroughly and use appropriate risk management. The Martingale option can amplify losses if not carefully monitored. Past performance is not indicative of future results.
BOLL Omakase 2.0testing own {
"symbol": "{{ticker}}",
"price": {{close}},
"time": "{{time}}"
}{
"symbol": "{{ticker}}",
"price": {{close}},
"time": "{{time}}"
}{
"symbol": "{{ticker}}",
"price": {{close}},
"time": "{{time}}"
}{
"symbol": "{{ticker}}",
"price": {{close}},
"time": "{{time}}"
}
SuperPower_369The supertrend is a trend-following overlay placed directly on price charts as a single line that shifts color and position according to trend direction. This indicator was developed by Olivier Seban, primarily to simplify trend detection for traders. Its value is calculated using the Average True Range (ATR) and a multiplier to adjust for market volatility.
🚀⚠️ Aggressive + Confirmed Long Strategy (v2)//@version=5
strategy("🚀⚠️ Aggressive + Confirmed Long Strategy (v2)",
overlay=true,
pyramiding=0,
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10, // % of equity per trade
commission_type=strategy.commission.percent,
commission_value=0.05)
// ========= Inputs =========
lenRSI = input.int(14, "RSI Length")
lenSMA1 = input.int(20, "SMA 20")
lenSMA2 = input.int(50, "SMA 50")
lenBB = input.int(20, "Bollinger Length")
multBB = input.float(2, "Bollinger Multiplier", step=0.1)
volLen = input.int(20, "Volume MA Length")
smaBuffP = input.float(1.0, "Margin above SMA50 (%)", step=0.1)
confirmOnClose = input.bool(true, "Confirm signals only after candle close")
useEarly = input.bool(true, "Allow Early entries")
// Risk
atrLen = input.int(14, "ATR Length", minval=1)
slATR = input.float(2.0, "Stop = ATR *", step=0.1)
tpRR = input.float(2.0, "Take-Profit RR (TP = SL * RR)", step=0.1)
useTrail = input.bool(false, "Use Trailing Stop instead of fixed SL/TP")
trailATR = input.float(2.5, "Trailing Stop = ATR *", step=0.1)
moveToBE = input.bool(true, "Move SL to breakeven at 1R TP")
// ========= Indicators =========
// MAs
sma20 = ta.sma(close, lenSMA1)
sma50 = ta.sma(close, lenSMA2)
// RSI
rsi = ta.rsi(close, lenRSI)
rsiEarly = rsi > 45 and rsi < 55
rsiStrong = rsi > 55
// MACD
= ta.macd(close, 12, 26, 9)
macdCross = ta.crossover(macdLine, signalLine)
macdEarly = macdCross and macdLine < 0
macdStrong = macdCross and macdLine > 0
// Bollinger
= ta.bb(close, lenBB, multBB)
bollBreakout = close > bbUpper
// Candle & Volume
bullishCandle = close > open
volCondition = volume > ta.sma(volume, volLen)
// Price vs MAs
smaCondition = close > sma20 and close > sma50 and close > sma50 * (1 + smaBuffP/100.0)
// Confirm-on-close helper
useSignal(cond) =>
confirmOnClose ? (cond and barstate.isconfirmed) : cond
// Entries
confirmedEntry = useSignal(rsiStrong and macdStrong and bollBreakout and bullishCandle and volCondition and smaCondition)
earlyEntry = useSignal(rsiEarly and macdEarly and close > sma20 and bullishCandle) and not confirmedEntry
longSignal = confirmedEntry or (useEarly and earlyEntry)
// ========= Risk Mgmt =========
atr = ta.atr(atrLen)
slPrice = close - atr * slATR
tpPrice = close + (close - slPrice) * tpRR
trailPts = atr * trailATR
// ========= Orders =========
if strategy.position_size == 0 and longSignal
strategy.entry("Long", strategy.long)
if strategy.position_size > 0
if useTrail
// Trailing Stop
strategy.exit("Exit", "Long", trail_points=trailPts, trail_offset=trailPts)
else
// Normal SL/TP
strategy.exit("Exit", "Long", stop=slPrice, limit=tpPrice)
// Move SL to breakeven when TP1 hit
if moveToBE and high >= tpPrice
strategy.exit("BE", "Long", stop=strategy.position_avg_price)
// ========= Plots =========
plot(sma20, title="SMA 20", color=color.orange, linewidth=2)
plot(sma50, title="SMA 50", color=color.new(color.blue, 0), linewidth=2)
plot(bbUpper, title="BB Upper", color=color.new(color.fuchsia, 0))
plot(bbBasis, title="BB Basis", color=color.new(color.gray, 50))
plot(bbLower, title="BB Lower", color=color.new(color.fuchsia, 0))
plotshape(confirmedEntry, title="🚀 Confirmed", location=location.belowbar,
color=color.green, style=shape.labelup, text="🚀", size=size.tiny)
plotshape(earlyEntry, title="⚠️ Early", location=location.belowbar,
color=color.orange, style=shape.labelup, text="⚠️", size=size.tiny)
// ========= Alerts =========
alertcondition(confirmedEntry, title="🚀 Confirmed Entry", message="🚀 {{ticker}} confirmed entry on {{interval}}")
alertcondition(earlyEntry, title="⚠️ Early Entry", message="⚠️ {{ticker}} early entry on {{interval}}")
Nor Smart Pivot V5.0 by SJKimNor Smart Pivot V5.0 by SJKim.
Nor Smart Pivot V5.0 by SJKim.
Nor Smart Pivot V5.0 by SJKim.
Golden Cross + Support/Resistance + SL/TP + SignalsGolden Cross + Support/Resistance + SL/TP + Signals
Golden Cross + Support/Resistance + SL/TP + Signals
ORB Strategy W/ Confluence This is an Opening Range Breakout (ORB) strategy designed for intraday trading on futures or indices (e.g., MNQ, MES, ES). It identifies the opening range (default 30-minute session from 9:30-10:00 ET) and enters long on a bullish breakout above the range high (ORH) or short below the range low (ORL), with optional daily bias filtering. Targets are set as multiples of the range width (default 50% per level), with partial profit-taking at each hit level. Stop-loss is dynamically set based on a factor of the range width (default 1.0x full range). Optional confluence filters (RSI >70 for long/<30 for short, price above/below 200 EMA, Williams Vix Fix above/below 0.3, or following previous day's close color) can be enabled for entry confirmation. Position sizing is fixed (default 10 contracts), with an option to double after a losing day. Entries are restricted to a user-defined session (default 8:00-17:00), and all positions close at a specified time (default 16:00 ET) to comply with prop firm rules.
Key Parameters to Test:
Instrument/Timeframe: Test on 5-min or 1-min charts for MNQ/MES/ES futures (e.g., tick value 0.5 for MNQ, 1.25 for MES).
Core Settings: OR timeframe=30m, Target %=50, SL Factor=1.0, TP % Remaining=20 (for partial closes). Enable/disable bias ("Daily Bias" for conservative entries).
Filters: Start with all off; test enabling RSI (len=14, level=50, offset=20), EMA (len=200), WVF (period=22, thresh=0.3), and Prev Day Trend individually/combined to see impact on win rate/false signals.
Risk/Sizing: Fixed contracts=10; test double sizing after loss. For risk-based sizing, adjust to use equity risk % (e.g., 1%) and tick value.
Time Rules: Entry session=0800-1700, Exit=16:00; test on NY session data.
Expected Behavior & Test Focus:
Entry Logic: Long signal on close crossover ORH (or ORH + target1 if bearish bias); short on crossunder ORL. Expect 1-2 trades per day, filtered by confluence to reduce whipsaws.
Exits: SL at ORL - factor*range for long (vice versa for short); partial TP at each target level (e.g., 20% of position at T1, reducing thereafter). Full close at 4 PM if open.
Backtest Metrics: Aim for >50% win rate, positive expectancy over 1-2 years (e.g., 2023-2025 NY session data). Monitor drawdown (<10%), profit factor (>1.5), and Sharpe ratio. Test sensitivity to volatility (e.g., high-vol days may hit more targets but risk larger SL). Visuals: OR box, dashed targets/SL lines, signals (▲/▼).
Edge Cases: Test on low-vol days (tight range, fewer breakouts); gaps; after news events. Ensure no over-entries (pyramiding=0) and daily reset works.
This setup emphasizes disciplined intraday breakouts with risk control—backtest on historical data to validate profitability before live use.
SMT Strategy TestingTesting strategy to find optimal settings. Uses SMT divergences to give signals.
Breadth Strategy: McClellan + ADn (with EMA Exit)This script uses only McClellan Oscillator + ADn Line, exactly as you specified.
Runs breadth calculations on daily timeframe by default (tf = D). You can change to weekly, etc.
Entries/exits are instant when conditions flip.
Both mcoWS and ADn are plotted for visualization.
FVG Ultra Assertive - Individual Filters (mtbr)FVG Ultra Assertive - Individual Filters (mtbr)
What this script offers:
This strategy detects and highlights FVGs (Fair Value Gaps) on the chart, providing traders with a visual and systematic approach to identify potential price inefficiencies. The script plots bullish and bearish FVG zones using customizable boxes and labels, allowing users to easily spot high-probability trading areas. In addition, it opens and closes simulated trades based on the detected FVGs, enabling full backtesting and strategy performance evaluation. It integrates multiple independent filters to validate the strength of each FVG signal before entering a trade.
How it works:
The script identifies:
Bullish FVGs when the current low is higher than the high of two bars ago.
Bearish FVGs when the current high is lower than the low of two bars ago.
Once an FVG is detected, it applies three optional independent filters:
GAP/ATR Filter:
Measures the FVG size relative to the Average True Range (ATR). Only gaps exceeding a user-defined multiple of ATR are considered valid.
Support/Resistance (S/R) Filter:
Uses pivot points to check if the FVG overlaps with recent high/low pivot levels within a tolerance percentage. This ensures the gap aligns with meaningful market levels.
Stochastic Filter:
Applies a stochastic oscillator to confirm momentum. Bullish FVGs are validated when stochastic values are oversold, and bearish FVGs when overbought.
After passing the selected filters, the strategy opens trades:
LONG FVG for bullish signals (buy)
SHORT FVG for bearish signals (sell)
The strategy automatically closes positions when an opposite signal appears, generating a backtest report with trades, profits, and statistics. The final bullish or bearish FVG signals are plotted as colored boxes on the chart with labels “BULL FVG” or “BEAR FVG” for immediate visual reference.
How to configure it for use:
Use GAP/ATR Filter: Enable or disable the ATR-based filter and adjust the ATR period (ATR Length) and minimum gap multiplier (Minimum Gap x ATR).
Use S/R Filter: Enable or disable the pivot-based S/R filter. Configure the pivot lookback periods (Pivot Left and Pivot Right) and the tolerance percentage (Gap Tolerance %).
Use Stochastic Filter: Enable or disable stochastic confirmation. Adjust the K and D lengths (Stoch K Length and Stoch D Length) and the overbought/oversold thresholds (Stoch Overbought and Stoch Oversold).
Colors: Customize the colors for bullish and bearish FVGs (FVG Bull and FVG Bear) to match your chart preferences.
Usage Tips:
Apply this strategy to any timeframe; shorter timeframes generate more frequent FVGs, while higher timeframes highlight stronger gaps.
Combine FVG signals with other technical analysis tools for better trade confirmation.
Use the box and label visualization to quickly scan charts for trade opportunities without cluttering the chart.
The strategy’s trades (LONG and SHORT) provide backtesting results and performance statistics for each signal.
Breadth Strategy: McClellan + ADnThis script uses only McClellan Oscillator + ADn Line, exactly as you specified.
Runs breadth calculations on daily timeframe by default (tf = D). You can change to weekly, etc.
Entries/exits are instant when conditions flip.
Both mcoWS and ADn are plotted for visualization.
Quantum Trend Master Ultimate BacktestQuantum Trend Master Ultimate Backtest
Master the markets with Quantum Trend Master Ultimate — a powerful, multi-timeframe strategy combining EMA & SMA trends, RSI, MACD, and ATR-based dynamic take profit and stop-loss. Get precise entries and exits, a live dashboard showing trend strength, risk-reward, and backtest metrics. Perfect for swing, intraday, or position trading — designed to reduce false signals while maximizing winning trades. Trade smarter, not harder, with this fully customizable, visually intuitive strategy!
Sofi v6gives sell and buy signals for tech stocks. it is amazing how good it works. gice it a try and test it before applying it for live trading.
The Barking Rat PROThe Barking Rat PRO is designed around high/low pivot structure to capture meaningful market reversals. It intelligently identifies turning points by combining higher high/lower low (HH/LL) pivot detection, Fair Value Gap (FVG) confirmation, volatility-aware filters, and momentum checks. Unique features, such as a one-bar flip handler and a contextual ribbon overlay, provide traders with both clarity and precision. These tools help isolate high-probability setups while filtering out low-conviction signals, making trade opportunities easier to spot and act upon.
🧠 Core Logic: Structure-First, Filtered Reversals
The strategy takes a methodical, disciplined approach, prioritizing structural pivots over random signals. By layering multiple validation checks—structural pivots, gap confirmation, volatility filters, and momentum alignment—it highlights trades with high conviction while reducing exposure to noisy market conditions. The result is a clear, repeatable framework for reversal trading that can be applied across timeframes.
HH/LL Pivot Framework
Trades are triggered based on simple structural pivots: higher highs (HH) and lower lows (LL). When a structure flip occurs, the strategy either opens a new position or executes a one-bar delayed flip if an opposing position already exists. This ensures smooth transitions and avoids premature entries on minor market swings, keeping trading decisions focused on meaningful trend shifts.
Volatility & Distance Filters
To avoid low-quality trades, entries are validated against relative volatility, ensuring that pivots represent significant market movement. Trades must also be sufficiently spaced from previous entries and separated by a minimum number of bars, which prevents overtrading and clustered signals that can dilute performance.
Momentum Filter (RSI)
The strategy optionally aligns entries with momentum conditions using RSI. Long trades are favored when RSI is relatively low, suggesting potential exhaustion on the downside, while short trades are favored when RSI is relatively high, indicating potential overextension on the upside. This additional layer improves timing, helping traders avoid entering against strong, ongoing momentum.
Background Ribbon (Contextual Visuals)
A translucent ribbon overlays the chart to provide visual context of active trades. The ribbon displays volatility envelopes and position direction: green for long trades, red for short trades. It enhances clarity by giving traders a quick visual reference of the market environment without cluttering the chart.
Why These Parameters Were Chosen
The strategy focuses only on structurally meaningful pivots to ensure high-conviction trades.
Volatility filters confirm that trade signals are significant relative to recent price action, while FVG confirmation captures institutional-style imbalances.
Momentum and spacing rules prevent low-quality entries and overtrading, while the one-bar flip handler ensures seamless transitions when the structure reverses.
Ribbon overlays provide intuitive, real-time visualization of active trades and market context.
📈 Chart Visuals: Clear & Intuitive
- Green “▲” below a candle: Long entry triggered on LL → HH structure flip
- Red “▼” above a candle: Short entry triggered on HH → LL structure flip
- Translucent Ribbon: Green when long, Red when short
🔔 Alerts: Stay Notified Without Watching
The strategy supports real-time alerts on candle close, ensuring that only fully confirmed signals trigger notifications.
You must manually configure alerts within your TradingView account. Once set up, a single alert per instrument covers all relevant entries and exits, making hands-free monitoring simple and efficient.
⚙️ Strategy Report Properties
Position size: 25% of equity per trade
Initial capital: 10,000.00 USDT
Pyramiding: 25 entries per direction
Slippage: 2 ticks
Commission: 0.055% per side
Backtest timeframe: 1-minute
Backtest instrument: HYPEUSDT
Backtesting range: Aug 11, 2025 — Aug 28, 2025
💡Why 25% Equity Per Trade?
While it's always best to size positions based on personal risk tolerance, we defaulted to 25% equity per trade in the backtesting data — and here’s why:
Backtests using this sizing show manageable drawdowns even under volatile periods
The strategy generates a sizeable number of trades, reducing reliance on a single outcome
Combined with conservative filters, the 25% setting offers a balance between aggression and control
Users are strongly encouraged to customize this to suit their risk profile.
🔍 What Makes This Strategy Unique?
HH/LL Pivot Focus: Trades pivot structure flips instead of relying on generic indicators.
Fair Value Gap Confirmation: Only pivots supported by FVGs are acted upon, reducing noise.
One-Bar Flip Handler: Ensures clean transitions when the structure reverses, avoiding same-bar conflicts.
Volatility & Spacing Filters: Trades require sufficient movement from prior entries and minimum bar spacing to maintain quality.
Momentum-Aware Entries: RSI alignment favors entries near potential exhaustion points, improving signal reliability.
Contextual Ribbon Overlay: Visualizes volatility and active positions clearly, without cluttering the chart.
3-Candle Reversal Pattern-vahid2star3-Candle Reversal Zones + Hammer Confirmation (with Risk Management & Alerts)
This script combines 3-candle reversal detection, hammer confirmations, and smart demand/supply zone plotting into a single tool designed for both discretionary and automated traders.
🔍 Core Logic
3-Candle Reversal Pattern
Candle-1: Strong move in one direction (big body).
Candle-2: Doji-like candle (high shadow/body ratio).
Candle-3: Reversal candle in the opposite direction (large body relative to Candle-2).
A gap after Candle-3 is required for extra confirmation.
Hammer Confirmation (Hammer-1 & Hammer-2)
After a valid 3-candle setup, the script searches for a hammer pattern near the zone.
Hammer-1: Draws a box directly on the hammer range if followed by a strong confirming candle.
Hammer-2: If another hammer forms after the confirmation candle and holds for N bars (configurable), a second hammer box is drawn.
Demand & Supply Zones
For bullish setups, a demand zone is created from the Candle-2 low to the Candle-1 low.
For bearish setups, a supply zone is created from the Candle-2 high to the Candle-1 high.
Zones extend to the right until price interacts with them.
🛠 Filters & Quality Controls
Trend filter (optional):
Only draw zones if price respects higher-timeframe EMA200 slope and LTF EMA alignment.
Market structure filter:
Require higher-high / higher-low (for bullish) or lower-high / lower-low (for bearish).
ATR filter:
Zones must have a minimum height relative to ATR.
Overlap control:
Avoid drawing zones that overlap too heavily with existing ones.
Cooldown:
Restrict consecutive zones of the same type within a user-defined bar distance.
🎯 Risk Management & Strategy
Dynamic position sizing:
Trade size is automatically calculated from account equity, risk %, and leverage.
Stop-loss & Take-profit:
SL placed just beyond the zone ± buffer ticks.
TP automatically set at user-defined Reward:Risk ratio (e.g., 3:1).
Capital protection:
Trades respect max leverage and risk per position settings.
⚡ Alerts
The script provides one-time alerts for each zone:
🔔 First Touch Alert → Triggered when price first touches a demand, supply, or hammer box.
Each zone only fires one alert, avoiding duplicates on re-touch or trade exit.
📊 Visuals
Demand zones: Green boxes.
Supply zones: Red boxes.
Hammer boxes: Blue (bullish) / Orange (bearish).
Used zones: Greyed out after price fills them.
Outcomes: Zones change to green if TP is hit, red if SL is hit.
Optional labels mark “Bullish zone ✓”, “Bearish zone ✓”, “Hammer-1 ✓”, or “Hammer-2 ✓” when confirmed.
🔧 Settings Overview
Core pattern ratios (C1/C2, C3/C2 size multipliers).
Doji definition (shadow/body ratio).
Hammer search depth, confirmation delay, and strictness.
Risk % per trade, leverage cap, stop buffer, RR ratio.
Visual styling (colors, max box count, labels).
Trend, structure, ATR, overlap, and cooldown filters.
Option to disable orders (use as indicator + alerts only).
⚠️ Disclaimer
This script is a technical analysis tool intended for educational purposes.
It does not guarantee profits. Use proper risk management and test thoroughly before applying in live trading.
✨ With its combination of 3-candle reversals, hammer confirmations, and smart filtering, this script is designed to reduce noise, highlight high-probability zones, and give traders both visual structure and actionable alerts.
Liquidity Sweep Breakout - LSBLiquidity Sweep Breakout - LSB
A professional session-based breakout system designed for OANDA:USDJPY and other JPY pairs.
Not guesswork, but precision - built on detailed observation of institutional moves to capture clear trade direction daily.
Master the Market’s Daily Bank Flow.
---
Strategy Detail:
I discovered this strategy after carefully studying how Japanese banks influence the forex market during their daily settlement period. Banks are some of the biggest players in the financial world, and when they adjust or settle their accounts in the morning, it often creates a push in the market. From years of observation, I noticed a consistent pattern, once banks finish their settlements, the market usually continues moving in the same direction that was formed right after those actions. This daily banking flow often sets the tone for the entire trading session, especially for JPY pairs like USDJPY.
To capture this move, I built the indicator so that it follows the bank-driven trend with clear rules for entries, stop-loss (SL), and take-profit (TP). The system is designed with professional risk management in mind. By default, it assumes a $10,000 account size, risks only 1% of that balance per trade, and targets a 1:1.5 reward-to-risk ratio. This means for every $100 risked, the potential profit is $150. Such controlled risk makes the system safer and more sustainable for long-term traders. At the same time, users are not limited to this setup, they can adjust the account balance in the settings, and the indicator will automatically recalculate the lot size and risk levels based on their own capital. This ensures the strategy works for small accounts and larger accounts alike.
🌍 Why It Works
Fundamentally driven: Based on **daily Japanese banking settlement flows**.
Session-specific precision: Targets the exact window when USDJPY liquidity reshapes.
Risk-managed: Always calculates lot size based on account and risk preferences.
Automatable: With webhook + MT5 EA, it can be fully hands-free.
---
✅ Recommended
Pair: USDJPY (best observed behavior).
Timeframe: 3-Minute chart.
Platform: TradingView Premium (for webhooks).
Execution: MT5 via EA.
---
🔎 Strategy Concept
The Tokyo Magic Breakout (TMB) is built on years of session observation and the unique daily rhythm of the Japanese banking system.
Every morning between 5:50 AM – 6:10 AM PKT (09:50 – 10:10 JST), Japanese banks perform daily reconciliation and settlement. This often sets the tone for the USDJPY direction of the day.
This strategy isolates that critical moment of liquidity adjustment and waits for a clean breakout confirmation. Instead of chasing noise, it executes only when price action is aligned with the Tokyo market’s hidden flows.
---
🕒 Timing Logic
Session Start: 5:00 AM PKT (Tokyo market open range).
Magic Candle: The 5:54 AM PKT candle is marked as the reference “breakout selector.”
Checkpoints: First confirmation at 6:30 AM PKT, then every 15 minutes until 8:30 AM PKT.
* If price stays inside the magic range → wait.
* If a breakout happens but the candle wick touches the range → wait for the next checkpoint.
* If by 8:30 AM PKT no clean breakout occurs → the day is marked as No Trade Day (NTD).
👉 Recommended timeframe: 3-Minute chart (3M) for precise signals.
---
📈 Trade Execution
Entry: Clean break above/below the magic candle’s range.
Stop-Loss: Opposite side of the Tokyo session high/low.
Take-Profit: Calculated by Reward\:Risk ratio (default 1.5:1).
Lot Size: Auto-calculated based on your risk model:
* Fixed Dollar
* % of Equity
* Conservative (minimum of both).
Visuals include:
✅ Entry/SL/TP lines
✅ Shaded risk (red) and reward (green) zones
✅ Trade labels (Buy/Sell with lot size & levels)
✅ TP/SL hit markers
---
🔔 Alerts & Automation (AutoTMB)
This strategy is fully automation-ready with EA + MT5:
1. Enable alerts in TMB settings.
2. Insert your PineConnector License Key.
3. Configure your risk management preferences.
4. Create a TradingView alert → in the message box simply type:
Pine Script®
{{alert_message}}
and set the EA webhook.
Now, every breakout trade (with exact entry, SL, TP, and lot size) is sent instantly.
👉 On your MT5:
* Install the EA.
* Use the same license key.
* Run it on a VPS or local MT5 terminal.
You now have a hands-free trading system: AutoTMB.
Gaussian Fusion v1.0A versatile trading framework that blends Gaussian channel dynamics with a smoothing filter to capture directional moves with clarity.
Highlights:
Dual-band logic for flexible signal generation
Adaptive confirmation layer to reduce noise
Designed as a balance between trend capture and noise reduction, this strategy adapts to shifting market conditions while keeping the logic simple and practical.