STRAT Pattern Scanner - All 22 PatternsSTRAT Candle call outs. A learning tool created to help me identify different STRAT candle types while learning The STRAT strategy designed by the late Rob Smith. Feel free to change the code or add to it for personalized use.
Indikator dan strategi
תבנית חץ שכוללת פילטר WMA ופילטר הייקן-אשי09/10/2025
WMA and Heiiken-Ashi filters to use the arrow template.
Dubbsy's All Time High (D-ATH)Get's the all time high, aligns to price on the right side of the chart
VWAP 10:00–15:00 (MSK, daily reset)Calculates the volume-weighted average price (VWAP) from 10:00 to 15:00 MSK.
The data is used to determine the funding rate of MOEX perpetual futures by comparing the average price of the perpetual contract with the official Central Bank exchange rate on the following day.
Timebender 369 Time CalculatorOverview
The Timebender Digits indicator visualizes rhythmic price cycles by marking confirmed swing highs and lows with dynamically colored numerical stamps.
Each number is derived from the sum of the current candle’s hour and minute, reduced to a single digit (1–9), providing a visual “time signature” for each structural turn in market flow.
This is a structural-pivot model inspired by LuxAlgo’s swing logic, rebuilt from the ground up in Pine v6 using the Timebender Rulebook framework for flawless compilation and precision label anchoring.
Core Features
Dynamic Swing Detection:
Detects structural highs/lows using ta.pivothigh() and ta.pivotlow(), confirmed after the selected number of bars (len).
Digit Logic (1–9):
Converts the pivot candle’s timestamp into a reduced digit from 1–9, acting as a symbolic rhythm marker.
Phase-Based Coloring:
1-3 → Accumulation (Gray)
4-6 → Manipulation (Green)
7-9 → Distribution (Blue)
Floating or Fixed Labels:
Option to keep digits visually anchored above/below candles (yloc.abovebar/belowbar) or locked to price (yloc.price) with customizable ATR offset.
Clean Visuals:
Transparent background, no boxes, no tooltips — just crisp digits that scale smoothly with zoom.
Master Toggle:
Instantly hide/show all digits without removing the indicator.
Inputs & Customization
Show Digits on Chart: Enable/disable plotting.
Pivot Length: Number of bars used to confirm swings (default 21).
Float Above/Below Bars: Switch between floating or price-anchored mode.
ATR Offset Multiplier: Adjust spacing when price-anchored.
Digit Size: Tiny → Huge (default Large).
Color Controls: Customize the Accumulation, Manipulation, and Distribution color palette.
Use Cases
Visualize time-based rhythm in market structure.
Identify cyclical energy between accumulation, manipulation, and distribution phases.
Study how market timing aligns with structural swing formation.
Price Action SignalsPrice Action Signals – Buy, Sell, and Exit (80% Accuracy)
This powerful indicator provides clear Buy, Sell, and Exit signals based on proven price action patterns, offering traders a simple yet effective tool for decision-making. With an impressive 80% accuracy rate, it helps identify high-probability trade setups and manage exits for optimal profits.
ATR Exposure Sizer — € per ATR (no SL, EUR conversion)Helps you to size your lot based on ATR for a strategy with dynamic SL
Put in input what you want in risk/ATR (euro)
1 for little accounts, 100 for big ones
The tool informs you about the lot you have to put.
Tight Entry Trend Engine Strategy═══════════════════════════════════════
TIGHT ENTRY TREND ENGINE
═══════════════════════════════════════
A breakout-based trend-following system designed to capture explosive
moves by entering at precise resistance/support breakouts with minimal
entry risk and massive profit potential.
⚠️ LOW WIN RATE, HIGH REWARD SYSTEM ⚠️
This is NOT a high win-rate strategy. Expect 25-35% winners, but
when it hits, winners are typically 10X+ larger than losers.
═══════════════════════════════════════
🎯 WHAT THIS SYSTEM DOES
═══════════════════════════════════════
The Tight Entry Trend Engine identifies powerful breakout opportunities
by detecting when price breaks through established trendlines with
confirmation from higher timeframe trends:
1. DYNAMIC TRENDLINE DETECTION (3 BANKS)
• Automatically draws support and resistance trendlines
• 3 separate "banks" capture short-term, medium-term, and long-term levels
• Each bank has configurable parameters (required pivot touch count,
angle limits, lengths)
2. BREAKOUT ENTRY TIMING
• Enters LONG when price breaks ABOVE resistance trendlines
• Enters SHORT when price breaks BELOW support trendlines
• Entry Alert occurs at the exact moment of breakout = "tight entry"
• Stop-loss placed just below/above the broken trendline (configurable)
3. HIGHER TIMEFRAME TREND FILTER
• Uses Hull Moving Average (HMA) on higher timeframe for trend following
• Auto-adjusts HTF based on your chart timeframe
• Optional filters prevent entries against major trend
• Optional "overextension" filter avoids buying parabolic moves
4. VOLATILITY-ADAPTIVE RISK MANAGEMENT
• Stop-loss calculated using Average True Range (ATR)
• Tighter stops = better R:R
• Profit targets adjust dynamically with volatility
• Breakeven stop moves automatically when in profit
• Extended profit targets when far from HTF trend
═══════════════════════════════════════
📊 HOW IT WORKS (METHODOLOGY)
═══════════════════════════════════════
STEP 1: TRENDLINE FORMATION
The system continuously scans for pivot highs and pivot lows to
construct trendlines. You control:
BANK 1 (Short-Term):
- Pivot Length: How many bars to look back for swing points
- Min Touches: How many pivots needed to form a line (default: 3)
- Max Length: How far back lines can reach (default: 180 bars)
- Angle Limits: Maximum steepness allowed for valid trendlines
- Tolerance: How close pivots must align to form horizontal lines
BANK 2 (Medium-Term):
- Slightly longer pivot periods for more significant levels
- Captures medium-term trend structure
- Default Max Length: 200 bars
BANK 3 (Long-Term):
- Focuses on major support/resistance zones
- Often uses horizontal levels (angled lines disabled by default)
- Default Max Length: 300 bars
The system draws RESISTANCE lines (red) above price and SUPPORT
lines (green) below price. These adapt in real-time as new pivots form.
STEP 2: BREAKOUT DETECTION
LONG SIGNALS:
- Price closes above a resistance trendline
- Higher timeframe trend is up (optional filter)
- Price not overextended from HTF trend (optional filter)
- No position currently open
SHORT SIGNALS:
- Price closes below a support trendline
- Higher timeframe trend is down (optional filter)
- Price not overextended from HTF trend (optional filter)
- No position currently open
The "tight" aspect: Because you're entering right at the trendline
break, your stop-loss can be placed very close (just below the
broken resistance for longs), creating exceptional risk/reward ratios.
STEP 3: POSITION SIZING
Choose between:
- Fixed $ Risk Per Trade: Risk same dollar amount every trade
- % Risk Per Trade: Risk percentage of current equity
Position size automatically calculated based on:
- Your risk amount
- Distance to stop-loss (ATR-based)
- Works with stocks, futures, crypto (auto-adjusts for contract multipliers)
STEP 4: EXIT MANAGEMENT
Multiple exit methods working together:
- PROFIT TARGET: Exits when profit reaches 100x your risk
- EXTENDED PROFIT: Earlier exit (80R) when very far from HTF trend
- STOP LOSS: Fixed ATR-based stop below entry
- HTF TREND EXIT: Exits when price crosses below HTF trend with profit
- BREAKEVEN PULLBACK: Exits if profit drops below 0.6R after reaching breakeven
- PARTIAL PROFITS: Optional - take partial profits at specified R-multiple
═══════════════════════════════════════
🔧 KEY COMPONENTS EXPLAINED
═══════════════════════════════════════
HULL MOVING AVERAGE (HMA)
A smoothed moving average that reduces lag compared to traditional
MAs. The system uses HMA on a higher timeframe to determine the
dominant trend direction. You can choose:
- Auto HTF: System picks appropriate HTF based on your chart timeframe
- Manual HTF: You specify the higher timeframe
AVERAGE TRUE RANGE (ATR)
Measures current market volatility. Used for:
- Stop-loss distance (tighter when volatility low)
- Profit targets (larger when volatility high)
- Position sizing (smaller positions in volatile conditions)
- Breakeven trigger distance
TRENDLINE ANGLE FILTERING
Each trendline bank has angle limits to ensure quality:
- Resistance lines: Max downward/upward slope allowed
- Support lines: Max downward/upward slope allowed
- Angles automatically adjust based on current volatility
- Prevents overly steep/unreliable trendlines
SENSITIVITY CONTROL
One master slider adjusts multiple parameters:
- Trendline detection sensitivity
- HTF MA length
- Exit timing
- Auto-adjusts for daily+ timeframes (60% increase)
═══════════════════════════════════════
⚙️ WHAT YOU SEE ON YOUR CHART
═══════════════════════════════════════
TRENDLINES:
✓ Red resistance lines above price
✓ Green support lines below price
✓ Orange broken lines (past breakouts)
✓ Lines extend to show current levels
HTF TREND:
✓ Thick colored line showing higher timeframe trend
✓ Color gradient: Red (bearish) → Orange → Yellow → Green (bullish)
✓ 250-bar smoothed curve for visual clarity
ENTRY/EXIT SIGNALS:
✓ Small green dot below bar = Long entry
✓ Small red dot above bar = Short entry
✓ Small red dot above = Long exit
✓ Small black dot below = Short exit
OPTIONAL DETAILED LABELS:
✓ Bank number that triggered entry (Bank 1, 2, or 3)
✓ Exit reason (Profit Target, Stop Loss, HTF Exit, etc.)
✓ Partial profit notifications
POSITION TRACKING:
✓ Yellow dashed line at entry price (extends right)
✓ Green/red fill showing current profit/loss zone
✓ Lime arrows at top = Currently in long position
✓ Red arrows at bottom = Currently in short position
✓ Gray background = No position (flat)
STATS TABLE (Top Right):
✓ Current position (LONG/SHORT/FLAT)
✓ Risk per trade ($ or %)
✓ Entry price
✓ Unrealized P/L in dollars
✓ P/L in R-multiples (how many R's profit/loss)
✓ Average winner/loser R ($ mode) OR CAGR (% mode)
═══════════════════════════════════════
📈 OPTIMAL USAGE
═══════════════════════════════════════
BEST ASSETS:
- NASDAQ:QQQ on 1-hour (reg) chart ⭐ (PRIMARY OPTIMIZATION)
- Strong trending stocks: NVDA, AAPL, TSLA, MSFT, GOOGL, AMZN
- High volatility tech stocks
- Crypto: BTC, ETH
- Any liquid asset with clear trends and momentum (GOLD)
AVOID:
- Low volatility stocks
- Ranging/choppy markets
- Penny stocks or illiquid assets
- Assets without clear directional movement
BEST TIMEFRAMES:
- PRIMARY: 1-hour charts (optimal for QQQ)
- ALSO EXCELLENT: 2H, 4H, 8H
- WORKS: 15min, 30min (only momentum leaders, more noise)
- WORKS WITH ADJUSTMENTS: 1D, 2D (decrease trendline pivot lengths)
═══════════════════════════════════════
📊 BACKTEST RESULTS (QQQ 1H (Reg hours), 1999-2024)
═══════════════════════════════════════
The system showed on NASDAQ:QQQ 1-hour timeframe (regular hours):
- Total Return: 1,100,000%+ over 24 years
- Total Trades: 500+
- Win Rate: ~20-24% (LOW - this is by design!)
- Average Winner: 8-15% gain
- Average Loser: 2-4% loss
- Win/Loss Ratio: 10:1 (winners much bigger than losers)
- Profit Factor: 3+
- Max Drawdown: 45-50%
- Risk per trade: 3% of capital
KEY INSIGHT: This is a LOW WIN RATE, HIGH REWARD system. You will
lose more trades than you win, but the few winners are so large
they more than compensate for many small losses.
IMPORTANT: These are backtested results using optimal parameters
on historical data. Real trading results will vary based on:
- Your execution and timing
- Slippage and commissions
- Your emotional discipline
- Market conditions during your trading period
═══════════════════════════════════════
🎓 WHO IS THIS FOR?
═══════════════════════════════════════
IDEAL FOR:
✓ Swing traders comfortable holding winners for longer period
✓ Part-time traders (1H = check 2-3x per day)
✓ Traders seeking exceptional risk/reward ratios
✓ Those comfortable with low win rates if winners are huge
✓ Technical analysis enthusiasts
✓ Breakout traders
✓ Trend followers
═══════════════════════════════════════
🚀 GETTING STARTED - STEP BY STEP
═══════════════════════════════════════
STEP 1: APPLY TO YOUR CHART
- Search "Tight Entry Trend Engine" in indicators
- Click to apply to your chart
- Trendlines and HTF line will appear immediately
STEP 2: CHOOSE YOUR SETTINGS
For BEGINNERS - Use These Settings First:
1. Trade Direction & Filters:
• ENABLE LONGS: ✓ ON
• ENABLE SHORTS: ✗ OFF (start with longs only)
• Sensitivity: 1.0 (default)
• HTF Trend Entry Filter: ✓ ON (safer entries)
• Block Entries When Overextended: ✓ ON (avoid parabolic tops)
2. Position Sizing & Risk:
• Position Sizing: "Per Risk"
• RISK Type: "$ Per Trade"
• Risk Amount: $200 (or 1-3% of your account)
3. Visual Settings:
• Show Support Lines: ✗ OFF (unless trading shorts)
• Show Detailed Entry/Exit Labels: ✓ ON
• Show Stats Table: ✓ ON
• Show Entry Line & P/L Fill: ✓ ON
4. Leave everything else at DEFAULT for now
STEP 3: UNDERSTAND WHAT YOU SEE
When trendlines appear:
- RED lines above = Resistance (watch for price breaking UP through these)
- GREEN lines below = Support (watch for price breaking DOWN)
- When price breaks a red line = Potential LONG entry
- When price breaks a green line = Potential SHORT entry
The HTF trend line (thick colored):
- Green/lime = Strong uptrend (favorable for longs)
- Red = Strong downtrend (favorable for shorts if enabled)
- Orange/yellow = Transitioning
STEP 4: OBSERVE SIGNALS
- Small GREEN dot below bar = System entered LONG
- Small RED dot above bar = System exited LONG
- Check the label to see which "Bank" triggered (Bank 1, 2, or 3)
- Watch the yellow entry line and colored fill show your P/L
STEP 5: PAPER TRADE FIRST
- Use TradingView's paper trading feature
- Watch how signals perform on YOUR chosen asset
- Understand the win rate will be LOW (20-35%)
- Verify that winners are indeed much larger than losers
- Test for at least 20-30 signals before going live
STEP 6: OPTIMIZE FOR YOUR ASSET (OPTIONAL)
If default settings aren't working well:
For FASTER signals (more trades):
- Reduce Pivot Length 1 to 3-4
- Reduce Max Length 1 to 120-150
- Increase Sensitivity to 1.2-1.5
For SLOWER signals (higher quality):
- Increase Pivot Length 1 to 7-10
- Increase Max Length 1 to 250+
- Decrease Sensitivity to 0.7-0.9
For DAILY timeframes:
- Increase all Pivot Lengths by 30-50%
- Increase all Max Lengths significantly
- Sensitivity: 0.6-0.8
═══════════════════════════════════════
⚙️ ADVANCED SETTINGS EXPLAINED
═══════════════════════════════════════
TRENDLINE BANK SETTINGS:
Each bank (1, 2, 3) has these parameters:
- Min Touches: Minimum pivots to form a line
- Lower (2) = More lines, earlier detection
- Higher (4+) = Fewer lines, higher quality
- Pivot Length: Lookback for swing points
- Lower (3-5) = Reacts to recent price action
- Higher (10+) = Only major swing points
- Max Length: How old a trendline can be
- Shorter (100-150) = Only recent lines
- Longer (300+) = Include historical levels
- Tolerance: Alignment strictness for horizontal lines
- Lower (3.0-3.5) = Very strict horizontal
- Higher (4.5+) = More forgiving alignment
- Allow Angled Lines: Enable diagonal trendlines
- ON = Catches sloped support/resistance
- OFF = Only horizontal levels
- Angle Limits: Maximum steepness allowed
- Lower (1-2) = Only gentle slopes
- Higher (4-6) = Accept steeper angles
- Automatically adjusts for volatility
ATR MULTIPLIERS:
- STOP LOSS ATR (0.6): Distance to stop-loss
- Lower (0.4-0.5) = Tighter stops, stopped out more
- Higher (0.8-1.0) = Wider stops, more room
- PROFIT TARGET ATR (100): Main profit target
- This is 100x your risk = 10,000% R:R
- Lower (50-80) = Take profits sooner
- Higher (120+) = Let winners run longer
- BREAKEVEN ATR (40): When to move stop to breakeven
- Lower (20-30) = Protect profits earlier
- Higher (60+) = Give more room before protecting
HIGHER TIMEFRAME:
- Auto HTF: Automatically selects appropriate HTF
- 5min chart → uses 2H
- 15-30min → uses 6H
- 1-4H → uses 2D
- Daily → uses 4D
- HTF MA Length (300): HMA period for trend
- Lower (150-250) = More responsive
- Higher (400-500) = Smoother, less whipsaw
- HTF Trend Following Exit: Exits when crossing HTF
- ON = Additional exit method
- OFF = Rely only on profit targets/stops
- HTF Trend Entry Filter: Only trade with HTF trend
- ON = Safer, fewer signals
- OFF = More aggressive, more signals
- Block Entries When Overextended: Prevents chasing
- ON = Avoids parabolic tops/bottoms
- OFF = Enter all breakouts regardless
═══════════════════════════════════════
💡 TRADING PHILOSOPHY & EXPECTATIONS
═══════════════════════════════════════
This system is built on one core principle:
"ACCEPT SMALL, FREQUENT LOSSES TO CAPTURE RARE, MASSIVE WINS"
What this means:
- You WILL lose 65%-75% of your trades
- Most losses will be small (1-2R)
- Some winners hit 80R+
- Over time, math works in your favour
RSI Scalping Gold (XAUUSD) - v5Displays the EMA9 and SMA20 to identify the trend.
Colors the area between the two averages to better visualize the equilibrium zone.
Displays green (buy) and red (sell) arrows aligned with the candles.
The RSI is calculated but hidden from the main chart (you can activate it by checking “Display on chart” in the settings).
Supply/Demand Zones & EMA CrossSupport and Resistance Zone based on past ten days for daily, weekly, with this ema 8,20,50,200 and vwap also inclued
TF weekly System 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Final trend following weeklySystem 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Supply/Demand Zones & EMA CrossSupply and Demand Zone based on past ten days for daily, weekly, with this ema 8,20,50,200 and vwap also inclued
Trend following system WeeklySystem 1 — Weekly Trend Flip Strategy
System 1 (Weekly) is a trend-following strategy designed to trigger only on weekly timeframe signals.
It aims to catch clean trend shifts and avoid lower-timeframe noise.
Uses fast and slow EMAs with ATR filtering to detect strong weekly momentum
Enters long on a bullish flip of the EMAs
Exits on a bearish flip or neutral zone (optional)
Ideal for position traders, swing traders, and investors who want fewer, higher-quality signals
Signals are generated only on weekly candle closes
📊 Tip: This strategy works best on assets with clear medium-term trends. You can use it alongside daily or intraday systems for additional confirmation.
ADX-DEMA-KAMA StrategyThis is a trend-following indicator that combines three technical tools:
DEMA (Double Exponential Moving Average) - Fast-responding trend line
KAMA (Kaufman's Adaptive Moving Average) - Adaptive trend line that adjusts to market volatility
ADX (Average Directional Index) with DI+/DI- - Measures trend strength and direction
How it works:
Buy Signal: DEMA crosses above KAMA when ADX is rising and DI+ > DI-
Sell Signal: DEMA crosses below KAMA when ADX is rising and DI- > DI+
The indicator displays both moving averages on the chart, plots buy/sell arrows, and shows a status table with current values. It only triggers trades when there's strong trend confirmation from all three components.RetryClaude can make mistakes. Please double-check responses.
Proxit Gold Strike V.1Unlock the Power of Smart Trading with Our Exclusive TradingView Template
This template is designed for traders who want a clear, structured, and effective approach to the markets. It combines the most reliable strategies into one easy-to-use system, giving you confidence in every trade you take.
✨ What’s Inside the Template:
Price Action Entry Conditions – Spot precise signals directly from market structure without relying on lagging indicators.
Reversal Points Detection – Identify potential turning points where smart money often takes action.
New EMA Strategy – A refined moving average setup that adapts to changing market conditions.
Support & Resistance Mapping – Automatic and accurate zones to guide your entries and exits.
SMC (Smart Money Concept) Integration – Gain deeper insights into liquidity zones and institutional footprints.
Pre-Defined Entry, TP & SL Levels – No guesswork, everything is laid out for you.
🔥 Why Traders Love This Template:
High Win Rate: Backtested with strong performance across different market conditions.
Easy to Use: No complicated setups – plug it in and start trading right away.
Clear & Reliable: Every signal comes with structured risk management for consistent results.
Whether you’re a beginner looking for guidance or an experienced trader wanting to refine your edge, this template helps you stay disciplined, confident, and profitable.
Take the guesswork out of trading and let this template guide you toward smarter decisions and better results.
Proxit Gold Strike V.1Unlock the Power of Smart Trading with Our Exclusive TradingView Template
This template is designed for traders who want a clear, structured, and effective approach to the markets. It combines the most reliable strategies into one easy-to-use system, giving you confidence in every trade you take.
✨ What’s Inside the Template:
Price Action Entry Conditions – Spot precise signals directly from market structure without relying on lagging indicators.
Reversal Points Detection – Identify potential turning points where smart money often takes action.
New EMA Strategy – A refined moving average setup that adapts to changing market conditions.
Support & Resistance Mapping – Automatic and accurate zones to guide your entries and exits.
SMC (Smart Money Concept) Integration – Gain deeper insights into liquidity zones and institutional footprints.
Pre-Defined Entry, TP & SL Levels – No guesswork, everything is laid out for you.
🔥 Why Traders Love This Template:
High Win Rate: Backtested with strong performance across different market conditions.
Easy to Use: No complicated setups – plug it in and start trading right away.
Clear & Reliable: Every signal comes with structured risk management for consistent results.
Whether you’re a beginner looking for guidance or an experienced trader wanting to refine your edge, this template helps you stay disciplined, confident, and profitable.
Take the guesswork out of trading and let this template guide you toward smarter decisions and better results.
Oscillator CandlesticksI've always wondered why we don't use candlesticks for oscillators...then I stopped wondering and made an oscillator with candlesticks.
The following oscillators are available as a proof of concept:
* Consumer Channel Index (CCI)
* Rate of Change (ROC)
* Relative Strength Index (RSI)
* Trend Strength Index (TSI)
You can add a moving average to the ohlc4 value of the oscillator and choose the type of the moving average and whether it should be influenced by volume.
FVG/ iFVG point size Shows the size in points of combined fvg and inverted fvgs. Good for determining momentum and strength in reversals
settings:
lookback - how many candles to look for fvgs and ifvg
change length of the fvg box
change settings to decided the minimum size of gap to label
colours of boxes and labels
Smart Money Toolkit - PD Engine Bias Map [KedArc Quant]📄 Description
Smart Money Toolkit is an advanced multi-layer Smart Money Concepts framework that automatically detects structure shifts, premium-discount zones, and institutional order flow.
It’s built around the PD Engine, which calculates the midpoint of the most recent market swing and dynamically determines BUY or SELL bias based on where current price trades relative to that equilibrium. This toolkit visualizes structure, order blocks, and bias context in one clean map — giving traders an institutional-grade lens without signal clutter.
💡 Why It’s Unique
* Not a mashup of open-source scripts.
Every module — CHoCH/BOS logic, order-block zone detection, PD bias engine, and structure mapping — is written from scratch to ensure clean, consistent behavior in Pine Script v6.
* Bias engine with true equilibrium logic: The 50% PD (Premium-Discount) zone adapts in real time to the latest swing, giving a live institutional price map.
* Visual precision: Minimalist premium/discount shading, structured labeling (HH, HL, LH, LL, CHoCH), and context tables for clarity.
* Performance-optimized: Handles multiple visual layers (FVG, OB, CHoCH, BOS) efficiently without repainting.
🎯 Entry and Exit Logic (Discretionary Framework)
This toolkit is not a signal generator; it’s a contextual trading framework that guides your decisions.
BUY Bias (Discount Zone)
* Price trades below PD Mid → Market is in *discount*.
* Wait for a bullish CHoCH or rejection from demand OB/FVG before entering long.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
SELL Bias (Premium Zone)
* Price trades above PD Mid → Market is in *premium*.
* Wait for a bearish CHoCH or rejection from supply OB/FVG before shorting.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
This sequence enforces the institutional concept:
> Bias → Structure Shift → Confirmation → Execution
⚙️ Input Configuration
Setting Description
Swing Sensitivity Controls how far back to look for HH/LL pivots.
OB/FVG Detection Enable or disable visual order block or fair-value-gap zones.
PD Engine Toggles PD midpoint line, zone shading, and bias table.
Multi-TF Bias Sync Optionally reads higher-time-frame bias to confirm entries.
Color Themes Switch between Light / Dark / Institutional color sets.
All inputs are modular — you can show only the components you use (e.g., disable BOS/CHoCH labels or hide OB zones for a clean view).
🧮 Formula / Logic Summary
Concept Formula
PD Mid (Equilibrium) `(Recent Swing High + Recent Swing Low) / 2`
BUY Bias `close < PD Mid`
SELL Bias `close > PD Mid`
CHoCH / BOS Detected via pivot-based structure reversal: HH→LL or LL→HH
Order Block Last bullish/bearish candle before displacement.
Fair Value Gap (FVG) Gap between prior candle’s high/low and next candle’s range.
These formulas align with Smart Money Concepts taught in institutional trading frameworks.
🤝 How It Helps Traders
* Institutional Context: Instantly visualize premium vs. discount regions — see where smart money is likely accumulating or distributing.
* Bias Confidence: Removes guesswork — you know whether you should be a buyer or seller based on structure + PD bias.
* Cleaner Decision-Making: Combines all SMC elements (BOS, CHoCH, OB, FVG, PD) in one cohesive visual map.
* Timeframe Agnostic: Works seamlessly on any timeframe or instrument (Forex, Indices, Crypto, Equities).
📚 Glossary
PD Mid (Equilibrium) The midpoint between recent swing high and low — the market’s fair
value.
Premium Zone Price above PD Mid — sellers gain control.
Discount Zone Price below PD Mid — buyers gain control.
CHoCH (Change of Character) First structural signal of possible reversal.
BOS (Break of Structure) Continuation signal confirming trend direction.
OB (Order Block) Institutional candle marking accumulation/distribution.
FVG (Fair Value Gap) Imbalance zone where price moved too quickly — often
rebalanced.
❓ FAQ
Q: Is this a signal generator?
A: No — it’s a contextual framework for professional price-action trading.
Q: Does it repaint?
A: No. All structure points and bias logic are confirmed on bar close.
Q: Can it be used on any market or timeframe?
A: Yes. It’s structure-based, not instrument-specific.
Q: How often does bias change?
A: Only when a new swing high/low forms and PD recalculates — keeping the bias stable.
Q: Can I backtest it?
A: You can build an entry rule (e.g., CHoCH + OB + PD alignment) on top of it for strategy testing.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
NINA Multi-TF Swings (W/D/H4/H1/M15)This indicator draws swing highs and lows of different timeframes on you current chart to identify as liquidity levels
NINA TBL — Killzones + D/W HL + VLines + iFVG + HTF FVGThis indicator incorporates concepts that work for me to draw levels on the chart to trade from