Balance Zone ProjectorOVERVIEW
Projects balance zones above and below up to 3 anchor zones. Each zone represents a 2x, 4x, 8x... multiple of the original anchor height, helping you identify key price levels for entries, exits, and targets.
HOW TO USE
1. Add the indicator to your chart
2. Click to set Anchor 1 High (top of your zone)
3. Click to set Anchor 1 Low (bottom of your zone)
4. Zones automatically project above and below
MULTIPLE ANCHORS
Enable Anchor 2 and Anchor 3 in settings to track multiple zones at different time periods. Each anchor has its own:
- High/Low prices
- Bars Back (where to start drawing)
- Bars Forward (zone width)
ZONE GROUPS
Zones are colored by group for easy identification:
- Group 1: Zones 1-2 (nearest to anchor)
- Group 2: Zones 3-6
- Group 3: Zones 7-14
- Group 4: Zones 15-30
CUSTOMIZATION
- Enable/disable up or down projections
- Adjust colors and transparency per zone group
- Show/hide zone labels and midlines
- Customize label text templates
SETTINGS
All anchors share the same visual settings (colors, labels, midlines) for consistency. Individual anchor timing is controlled per-anchor.
Based on the Balance Zone Engine concept for Sierra Chart.
Chỉ báo và chiến lược
MarketStructureLab - SR Zones (Free)📌 MarketStructureLab — SR Zones is a structure-based indicator that automatically identifies key support and resistance zones using market structure logic, not subjective manual levels.
The indicator analyzes:
• local highs and lows (pivot points),
• clusters nearby price extremes,
• builds S/R zones based on their strength (number of price reactions).
🔍 What the indicator shows
• 🟢 Support zones — areas of increased demand
• 🔴 Resistance zones — areas of increased supply
• Price labels with level value and distance from the current price in %
The more reactions price has within a zone, the more significant it becomes.
⚙️ Key features
• Based on market structure, not fixed levels
• Works on any instrument (stocks, futures, crypto, FX)
• Suitable for all timeframes
• No repainting
• Supports alerts on level breaks
⚠️ Important
This indicator does not generate trade signals and does not make predictions.
It is designed to help traders analyze market context and make independent decisions.
Recommended to use with
• market state analysis (Trend / Range),
• volume,
• proper risk management.
📎 Updates and future developments
This indicator is part of the MarketStructureLab project.
Follow the author’s profile to stay updated on new tools and improvements.
Pro Intraday Reaction Levels🔥 Pro Intraday Reaction Levels
Maps yesterday’s range into today’s highest-probability intraday reaction zones.
Pro Intraday Reaction Levels is a professional market structure tool built for intraday traders who want clear context, smarter trade location, and high-probability reaction areas — without clutter.
Instead of plotting simple previous day lines, this indicator visualizes the entire prior day range and builds adaptive reaction zones where price is statistically more likely to stall, reject, or reverse.
It helps you stop trading blindly into extremes — and start trading with structure.
🧭 What It Shows on Your Chart
📦 Previous Day Range Box
Clearly displays yesterday’s full high–low range so you instantly know whether price is:
• Trading inside value
• Testing extremes
• Breaking into expansion
🔥 Adaptive Reaction Zones
Dynamic zones around the previous day high and low where intraday reactions commonly occur.
These zones automatically adjust to volatility (ATR):
Higher volatility → tighter zones
Lower volatility → wider zones
This keeps levels relevant in both quiet and fast markets.
⚖ Range Midpoint (Optional)
Marks the equilibrium level of the prior day — a common decision area for intraday traders.
⏹ Previous Day Close (Optional)
Displays a key reference level often respected as support/resistance or bias confirmation.
🧠 Why Traders Love It
Markets frequently react at previous day extremes due to liquidity, trapped traders, and institutional positioning.
This tool helps you:
✔ Spot potential reversal zones
✔ Identify breakout acceptance vs rejection
✔ Frame intraday bias using higher timeframe structure
✔ Avoid entering trades directly into reaction areas
It’s not just levels — it’s location and context.
⚙ Smart Features
🔹 Automatic Volatility Adjustment
Reaction zones scale dynamically using ATR so they stay meaningful in all conditions.
🔹 Session Mode
Choose how levels are projected:
• RTH Only – Focus on regular trading hours
• All Sessions – Use full 24-hour structure
🔹 Theme-Adaptive Visuals
Clean, Contrast, and Minimal themes automatically adjust colors for both dark and light charts.
🔹 Customizable Opacity & Colors
Fine-tune visibility without cluttering your chart.
🎯 Who This Is For
Ideal for traders who use:
• Intraday price action
• Futures and index trading
• Forex day trading
• Crypto intraday trading
• Support & resistance strategies
• Liquidity and reaction-based setups
Works on any market where previous day structure influences intraday behavior.
💡 How Many Traders Use It
Common approaches include:
• Looking for reversal patterns inside reaction zones
• Managing trades near PDH/PDL instead of chasing breakouts
• Combining zones with volume, order flow, or candlestick signals
• Using the midpoint and PDC as bias confirmation levels
Bullish Divergent Bar DCA Strategy [Skyrexio]Overview
Bullish Divergent Bar DCA Strategy is a long-only, multi-layer Dollar-Cost Averaging (DCA) strategy that builds positions around bullish divergent bars formed below the Williams Alligator. It detects potential local bottoms and then scales into the move using up to four pyramiding entries, each with its own size and price threshold. The strategy optionally incorporates Market Facilitation Index (MFI) and Awesome Oscillator (AO) momentum to strengthen reversal confirmation and uses ATR-based take profit on the averaged entry price.
Unique Features
Layered DCA entries with equity-based sizing . It supports up to four DCA layers, where each additional layer is opened only after a configurable percentage drawdown from the first entry and position size is computed as a fraction of current equity via a geometric weighting scheme.
Optional AO and MFI confirmation . Users can require Awesome Oscillator momentum divergence, MFI/volume “squat” bars, or both to confirm that the reversal bar is accompanied by capitulation and weakening downside momentum.
ATR-based dynamic take profit . Take profit is defined as a multiple of ATR added to the current average entry price, automatically adjusting exits to prevailing volatility.
Built-in DCA visualization . The script can plot the initial entry level and all DCA thresholds to make the averaging structure and risk visually transparent on the chart.
Methodology
The core entry logic starts from a bullish divergent bar definition: the bar must close above its midpoint (close > hl2) and be the lowest low within the user-defined lookback window, flagging a local swing low. On top of this, the bar must form entirely below all three Alligator lines, ensuring that the pattern appears after a sustained downside move rather than inside noise.
If enabled, AO adds a momentum filter by requiring the Awesome Oscillator difference to be negative (descending bar on AO histogram), signaling fading downside momentum at the potential bottom. If the MFI filter is enabled, the bar (or one of the last two bars) must be a “squat” bar where spread narrows while volume increases, approximating effort vs. result exhaustion.
Once a valid bullish reversal bar is detected and the time is within the configured trading window, the strategy opens the first DCA layer using a stop entry at the bar’s high (confirmation level), only entering if price actually breaks the bar high. Additional layers (second, third, and fourth entries) are only allowed if price trades below percentage thresholds from the first entry price and a new valid bullish reversal bar forms, thereby averaging down into deep pullbacks while still requiring fresh reversal evidence.
While any DCA position is open, the strategy continuously recalculates the take profit as the current volume-weighted average entry price plus ATR multiplied by a user-defined factor. All individual entries share the same take profit level through separate strategy exit calls, so the entire stacked position exits together once price has moved sufficiently above the averaged entry.
Strategy settings
In the inputs window, users can configure the following strategy settings:
sourceUuid / secretToken: Identifiers used to format JSON alerts for automated execution through webhooks.
Trade Start Date/Time: Beginning of the backtest/live-trading window.
Trade Stop Date/Time: End of the backtest/live-trading window.
Show DCA Levels (default = false): Toggles plotting of the initial entry level and all three DCA thresholds on the chart.
Enable MFI (default = false): Enables the MFI-style volume/spread filter.
Enable AO (default = false): Enables Awesome Oscillator confirmation.
Number Of Bar For Lowest Bar (default = 7): Lookback window used to identify the lowest low bar for the bullish reversal bar condition.
Layer 2 Threshold Percent (default = 4.0): Percentage drop from the first layer price that must be reached to allow the second DCA entry.
Layer 3 Threshold Percent (default = 10.0): Percentage drop from the first layer price required to unlock the third DCA layer.
Layer 4 Threshold Percent (default = 22.0): Percentage drop from the first layer price required to unlock the fourth DCA layer.
Position Size Multiplier (default = 2.0): Multiplier used in the geometric weighting scheme to determine how much equity is allocated to each additional DCA layer.
Number Of ATR For Take Profit (default = 2.0): ATR multiple added to the current average entry price to calculate the shared take profit for all open layers.
Users can refine these parameters during backtesting to fit the volatility profile and structure of the specific asset and timeframe.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is Williams Alligator, MFI and AO.
let’s start with the Williams Alligator. Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator designed to measure market momentum by contrasting recent price movements with a longer-term historical perspective. It helps traders detect potential trend reversals and assess the strength of ongoing trends.
The formula for AO is as follows:
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
The Market Facilitation Index (MFI) is a technical indicator that measures the price movement per unit of volume, helping traders gauge the efficiency of price movement in relation to trading volume. Here's how you can calculate it:
MFI = (High−Low)/Volume
MFI can be used in combination with volume, so we can divide 4 states. Bill Williams introduced these to help traders interpret the interaction between volume and price movement. Here’s a quick summary:
Green Window (Increased MFI & Increased Volume): Indicates strong momentum with both price and volume increasing. Often a sign of trend continuation, as both buying and selling interest are rising.
Fake Window (Increased MFI & Decreased Volume): Shows that price is moving but with lower volume, suggesting weak support for the trend. This can signal a potential end of the current trend.
Squat Window (Decreased MFI & Increased Volume): Shows high volume but little price movement, indicating a tug-of-war between buyers and sellers. This often precedes a breakout as the pressure builds.
Fade Window (Decreased MFI & Decreased Volume): Indicates a lack of interest from both buyers and sellers, leading to lower momentum. This typically happens in range-bound markets and may signal consolidation before a new move.
For our purposes we are interested in squat bars. This is the sign that volume cannot move the price easily. This type of bar increases the probability of trend reversal. In this indicator we added to enable the MFI filter of reversal bars. If potential divergent bar or two preceding bars have squat state this bar can be interpret as a reversal one.
The strategy intentionally focuses on bullish divergent bars forming at local lows and below the Alligator to catch potential exhaustion points in downtrends where risk/reward becomes asymmetric. The Alligator (Jaw, Teeth, Lips) acts as a dynamic structure filter: requiring price to be below all three lines before reversal helps avoid chasing minor pullbacks inside an ongoing uptrend and instead concentrates entries on deeper corrections where mean reversion potential is higher.
The custom bullish divergent bar rule (close above midpoint and being the lowest low over N bars) approximates a local capitulation candle, which often precedes short squeezes or at least strong reactions. By combining this with AO and MFI-style filters, the strategy further increases the likelihood that the pattern coincides with downside momentum(as a confirmation that current trend is downward, AO difference < 0) and effort vs. result anomalies (squat bars), which is common signatures of trend exhaustion.
The DCA structure is designed to deploy capital progressively rather than all at once: the first entry is triggered only if price confirms the reversal by breaking above the bar’s high, while subsequent layers require both a deeper discount relative to the initial entry and a new bullish reversal signal. Percentage thresholds from the first entry ensure that each additional allocation is made at meaningfully better prices, improving the blended entry level and reducing the break-even distance.
Finally, using ATR as the basis for take profit aligns exits with current volatility. A fixed-percentage target can be too tight in volatile regimes or too loose in quiet markets, whereas ATR-based targets scale with average bar range. Applying ATR to the evolving average entry price of all open layers keeps the risk/reward framework consistent across different volatility regimes and DCA configurations.
Backtest Results
Operating window: Date range of backtests is 2025.01.01 - 2026.01.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Maximum Single Position Loss: -6.56%
Maximum Single Profit: +4.92%
Net Profit: +934.08 USDT (+9.34%)
Total Trades: 121 (82.64% win rate)
Profit Factor: 2.948
Maximum Accumulated Loss: 624.72 USDT (-6.15%)
Average Profit per Trade: 7.72 USDT (+0.37%)
Average Trade Duration: 60 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
You should run your own backtests on the target asset and timeframe (for example, BTC/USDT on intraday charts) and adjust threshold percentages, layer sizing, and ATR take profit factor to match your risk tolerance and market conditions.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart.
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
Alg0 Hal0 RSI 4555
The Alg0 ۞ Hal0 RSI 4555 is a trend-following momentum indicator designed to capture high-probability entries during market pullbacks. It combines a customizable Trend Filter (Moving Average) with a specialized "Armed & Triggered" RSI logic to avoid choppy markets and fakeouts.
1. How the Logic Works
This indicator uses a two-step process to generate signals, ensuring you only enter when momentum is confirmed.
The Trend Filter: The background color tells you the primary trend. If the price is above the Moving Average, the background is Green (Bullish). If below, it is Red (Bearish).
The "Arming" Phase: To prevent chasing "overbought" prices, the script must first see a pullback.
Longs: RSI must drop below 40 while the trend is Bullish.
Shorts: RSI must rise above 60 while the trend is Bearish.
The Trigger: Once "Armed," the script waits for a momentum shift.
LONG Signal: RSI crosses above 55.
SHORT Signal: RSI crosses below 45.
2. Key Visual Features
Dynamic Background: Instantly identifies the macro trend based on your chosen MA (SMA, EMA, HMA, WMA, or ALMA).
Momentum Labels: "LONG" and "SHORT" labels appear directly on the chart when all conditions are met.
Divergence Detection: Automatically plots Bullish and Bearish divergences to warn you of potential trend exhaustion.
Customizable Levels: The four key RSI levels (60, 55, 45, 40) are fully adjustable to fit different assets or timeframes.
3. Settings Guide
RSI Settings: Adjust the RSI length (default is 14) and toggle Divergence labels on/off.
Background Logic: Choose your preferred Moving Average style. ALMA is recommended for the smoothest trend filtering, while SMA/EMA are better for classic trend following.
Custom Levels: Fine-tune the 45/55 trigger points. For more aggressive entries, move these closer to the 50-midline. For more conservative entries, spread them further apart.
4. Best Practices
The "Neutral Zone": The area between 45 and 55 is the "No Man's Land." Wait for a clean candle close and a label before entering a trade.
Risk Management: Use the Recent Swing High/Low or the Trend MA as a logical stop-loss level.
Gaussian MA - Progressive Multi-FilterThe previously published indicator based on Watson's Quadratic kernel was a bit complicated and "quadratic" in its calculations – it's an old indicator, and I've updated it a bit. I'm currently using Gaussian MA due to its simpler design and additional features that the former lacked.
Gaussian MA is an advanced trend-following indicator that combines statistical data smoothing with dynamic noise filtering. Here's a step-by-step analysis:
1. Gaussian Kernel Regression - the heart of the script is the gaussian_regression_max function. Instead of a simple average, it calculates a weight for each past price using a Gaussian distribution (bell curve):
Weights: Prices closest to the current candlestick have the greatest impact on the result, while those further away lose their importance exponentially.
The result: A very smooth line (yhat) that reacts faster than traditional moving averages while maintaining high resistance to short-term price spikes.
2. Progressive Volume Filter (ALMA Volume) - this is a unique part of the code that adjusts the indicator's sensitivity to market activity:
- the script calculates the moving average volume using the ALMA algorithm. The vol_ratio (current volume / average volume) is calculated.
Logic: If volume increases, the prog_factor decreases. This makes the filter thresholds "tighter," allowing the indicator to react more quickly to strong moves supported by high volume.
3. Dynamic Thresholds (Hysteresis) Instead of reacting to every change in the direction of the yhat line, the code calculates a "safety zone" (filter) that the price change must break through to signal a new trend:
- ATR: Threshold based on volatility (Average True Range).
- Percentage: Threshold percentage of the current price.
Both thresholds are multiplied by the previously mentioned prog_factor (volume).
4. Trend Detection and Visualization
Finally, the script compares the change in the regression value (diff) with the calculated thresholds:
- Bullish: If the change is positive and greater than the dynamic threshold.
- Bearish: If the change is negative and less than the negative threshold.
Result: The color of the line on the chart changes (green/red), and the alertcondition function allows you to set a notification when the color changes.
In short: Gaussian MA is an intelligent average that "knows" when the market is chaotic (it then increases the filtering thresholds) and when real momentum with volume is emerging (it then becomes more sensitive).
How to optimize the indicator parameters:
1. for the h parameter - (Lookback Window)
The h parameter controls the degree of regression smoothing. The higher the timeframe (e.g., Daily), the smaller h can be; on lower timeframes (e.g., 1m, 5m), you need more smoothing.
- For Scalping (1m - 5m): Set h in the range of 2.5 - 4.0. Noise on lower timeframes is high, so you need a "heavier" Gaussian kernel.
- For Day Trading (15m - 1h): Set h in the range of 1.5 - 2.5. This is the golden mean for ensuring liquidity without significant lag.
- For Swing (4h - Daily): Set h in the range of 0.75 - 1.5.
Trends on higher timeframes are stronger, so a smaller smoothing will allow for faster movement.
2. Calibrate vol_sens (Volume Sensitivity)
This parameter determines how much a "volume spike" facilitates a trend change.
- High Sensitivity (0.7 - 1.0): Aggressive approach. Even a small increase in trading volume will cause the indicator to react to price changes. Good for currency pairs with low liquidity.
- Low Sensitivity (0.1 - 0.4): Conservative approach. The indicator will ignore price movements unless accompanied by heavy volume (so-called "smart money"). Ideal for filtering out false positives (fakeouts).
It's safest to start with a setting of 0.5...
The above guidelines are indicative and are intended only to facilitate the use of the indicator - there are no perfect trading solutions; this indicator attempts to mathematically indicate points where entries/exits are statistically highly probable...
Works well with the MACD ALMA Edition ;)
GLD Overlay on GCPlots GLD levels on GC
Uses live GLD + live GC during GLD premarket→after-hours (04:00–20:00 NY, Mon–Fri)
Outside that window, it holds the last ratio from the prior daily close
Updates lines after "min_move"
Draws a grid of GLD $1 levels (±N) mapped into GC space
ROC-WMA bull bear indicatorROC-Weighted MA Oscillator
By Ludovic B
Modified source code of SeerQuant
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-driven oscillator designed to expose hidden acceleration and deceleration phases in price action by dynamically weighting a moving average with the normalized Rate of Change (ROC).
Instead of treating all price deviations equally, this indicator amplifies meaningful moves and suppresses low-energy noise, making it particularly effective in scalping, intraday trading, and momentum reversals.
🔧 Core Concept
A base moving average (SMA, EMA, TEMA, DEMA, HMA, ALMA, etc.)
Weighted by normalized ROC
Transformed into a Z-score oscillator for comparability across assets
Smoothed with a signal line for timing precision
Result: a context-aware oscillator that adapts to market intensity.
📊 What the Oscillator Shows
Bullish momentum when histogram is positive and expanding
Bearish momentum when histogram is negative and expanding
Neutral zone to filter chop and avoid over-trading
Automatic color logic to highlight regime changes
Optional candle coloring reflects the active momentum state.
🎯 Signal-Based Price Markers (Advanced Feature)
This script includes price-chart markers when:
The signal line retraces to X% of the maximum oscillator bar of the current momentum phase
AND the signal slope confirms exhaustion (rising or falling)
Key characteristics:
Adaptive thresholds (relative, not fixed)
Separate logic for bullish and bearish phases
Reset on each neutral-zone transition
Configurable number of markers per momentum cycle
This makes the indicator particularly useful for:
Pullback entries
Momentum fading
Timing partial exits
⚙️ Customization
Fully adjustable ROC length, MA type, signal length
Neutral zone threshold control
Multiple color schemes
Optional candle coloring
Adaptive signal-to-oscillator percentage logic
🧠 Best Use Cases
Scalping (M1–M5)
Intraday momentum confirmation
Pullback and exhaustion detection
Cross-asset trading (FX, indices, crypto, metals)
ROCWMA is not a lagging oscillator.
It is a momentum intensity detector built to reveal when price moves matter.
PowerGaps - Multi-Timeframe Fair Value GapsPowerGaps — Multi‑Timeframe Fair Value Gap Engine
PowerGaps is a precision‑built, multi‑timeframe Fair Value Gap (FVG) engine designed for traders who rely on clean, reliable market structure signals without noise, repainting, or clutter.
It automatically detects and plots institutional FVGs from higher timeframes directly onto your current chart, giving you a clear view of premium/discount imbalances and liquidity inefficiencies that matter most.
What PowerGaps Does
• Scans four customizable timeframes (e.g., M5, M15, H1, H4) for valid bullish and bearish FVGs
• Projects those HTF gaps onto any lower timeframe chart
• Colors and labels each gap by timeframe for instant visual recognition
• Tracks each gap until it is mitigated by wick touch, then automatically closes and removes it
• Ensures no repainting, no duplicates, and no phantom gaps
• Maintains perfect alignment across timeframes using a robust, cross‑TF‑safe architecture
Why It’s Different
PowerGaps is engineered with a strict validation and mitigation system that prevents the common issues seen in many FVG indicators:
• No repeated stacking of the same gap
• No gaps disappearing when switching timeframes
• No false mitigation signals
• No stale or corrupted objects left behind
Every plotted gap is intentional, accurate, and actionable.
Ideal For
• ICT‑style traders
• Liquidity and imbalance‑based strategies
• HTF bias mapping
• Scalpers who rely on HTF inefficiencies
• Swing traders looking for clean continuation or reversal zones
Inputs & Customization
• Enable/disable each timeframe independently
• Choose custom colors for bullish and bearish gaps
• Full control over which timeframes you want projected onto your chart
Mizan v7.8-S: Pure PSI ObserverDescription:
1. General Overview The Mizan v7.8-S is a specialized high-precision market observer designed to quantify the "Ontological Stability" of financial assets. Unlike traditional indicators that rely solely on price action, this tool projects market data onto a proprietary "PSI Scale" to measure the potential energy and structural integrity of a trend. It operates on the "Pure Justice" (Mizan) theoretical framework, distinguishing between constructive stability and chaotic degradation.
2. Key Features
Proprietary PSI Scoring: A unique algorithm that converts market momentum into a standardized stability score (0 - 310,000 Scale).
Stability Protocol Visualization: Automatically colors the trend line to indicate the current state of the asset (Green for Stable/Constructive, Red for Unstable/Chaotic).
Cyclic Time Markers: Includes deterministic time-cycle markers ("Pulse" and "Reset" points) to identify theoretical inflection points in the market rhythm.
Axiom Floor & Peak: Visual references for the theoretical limits of the analyzed asset.
3. How to Use
Trend Analysis: Observe the color of the PSI line. A transition from Red to Green indicates that the asset has crossed the critical threshold and entered a stable trend structure.
Cycle Timing: Use the geometric markers (Diamonds and Circles) to anticipate potential shifts in market rhythm or exhaustion points based on the Mizan temporal constants.
Risk Assessment: The distance of the PSI score from the "Axiom Peak" or "Axiom Floor" provides a perspective on the asset's current potential relative to its theoretical limits.
4. Invite-Only Access This script is a closed-source implementation of a proprietary algorithmic kernel ("Mizan Universal Kernel"). It contains protected logic and experimental constants derived from private research.
Access: Access to this indicator is restricted. To request access or learn more about the methodology, please contact me via private message on TradingView.
Note: This tool is intended for advanced cycle analysis and experimental observation.
SMA Multi-Sync Granville & MTF CounterSMA Multi-Sync Granville & MTF Counter
Overview
This indicator is an environmental awareness tool that identifies when and to what level moving averages (SMAs) across multiple time frames align in the same direction, visualizing the timing and freshness of the trend.
Its greatest feature is that it does not simply determine synchronization; rather, it precisely distinguishes the time frame upon which synchronization is completed using the number of stars (★).
Key Features
1. Calculation of "Stars" Based on Confirmed Time Frame Trigger
The number of stars displayed upon synchronization completion indicates the signal's "temporal weight."
★ (1): Synchronization is completed upon confirmation of the displayed time frame.
★★ (2): Synchronization is completed upon confirmation of the next higher time frame (e.g., 15 minutes).
★★★ (3): Synchronization is completed upon confirmation of the next higher time frame (e.g., 1 hour). The more higher the time frame is confirmed, the more powerful the trend reversal or regression it acts as.
2. MTF Sync Panel
The table on the right side of the screen displays the price position (background) and MA direction (text) for each level (displayed to daily) in real time.
By watching the background and text colors match, you can understand the accumulation of energy before a star appears.
3. Cross Counter
The number of bars elapsed from the synchronization starting point (MA crossover, etc.) to the current bar is displayed numerically in the lower right corner.
The closer to "0" the number, the more likely it is the beginning of a trend, while the higher the number, the more likely it is the end of the trend (expiration date).
Usability of Input Settings
Min Stars (1-5) This sets the signal cutoff. Setting it to "2" eliminates noise caused by the displayed bar being confirmed and narrows down to only the moment when the higher bar is confirmed (★2 or higher).
Cancel Alert if MA Slope Same If the MA of the displayed time frame is already leaning in the same direction (leading), the confirmation (★1) on that time frame will be considered "not an initial move" and excluded.
5m TF: Use 30m SMA When using 5-minute time frames, this physically changes the ★2 trigger from the confirmation on the 15-minute chart to the confirmation on the 30-minute chart. This is effective when targeting milestones on larger time frames.
*If you have any questions about how to use this, please ask in the comments.
SMA Multi-Sync Granville & MTF Counter
概要
本インジケーターは、複数の時間足の移動平均線(SMA)が「いつ、どの階層まで同じ方向に揃ったか」を特定し、そのトレンドの**「確定タイミング」と「鮮度」**を可視化する環境認識ツールです。
最大の特徴は、単なる同調判定ではなく、**「どの時間足の確定(Close)によって同期が完成したか」**を星(★)の数で厳密に区別する点にあります。
主な機能
1. 確定足トリガーによる「星」の算出
同期が完成した瞬間に表示される星の数は、そのシグナルの「時間的な重み」を示します。
★(1つ):表示足の確定により同期が完成。
★★(2つ):1つ上の上位足(15分等)の確定により同期が完成。
★★★(3つ):2つ上の上位足(1時間等)の確定により同期が完成。 上位の足が確定する節目ほど、より強力なトレンドの転換・回帰として機能します。
2. MTF同期パネル
画面右側のテーブルで、各階層(表示足〜日足)の「価格の位置(背景)」と「MAの向き(文字)」をリアルタイムに表示します。
背景色と文字色が一致していく過程を見ることで、星が出る前の**「エネルギーの蓄積」**を把握できます。
3. クロスカウンター
同期の起点(MAクロス等)から、現在の足まで何本経過したかを右下に数値で表示します。
「0」に近いほど初動であり、数値が大きくなるほどトレンドの終盤(賞味期限切れ)である可能性を論理的に示唆します。
インプット設定の使い勝手
Min Stars (1-5) シグナルの足切り設定です。「2」に設定すれば、表示足の確定によるノイズを排除し、**上位足の確定が伴った瞬間(★2以上)**のみに絞り込めます。
Cancel Alert if MA Slope Same 表示足のMAがすでに同方向へ傾いている(先行している)場合、その足での確定(★1)を「初動ではない」とみなして除外します。
5m TF: Use 30m SMA 5分足運用時、★2のトリガーを「15分足」から「30分足」の確定に物理的に変更します。より大きな時間軸の節目を狙う場合に有効です。
※使い方が不明なところはコメントで聞いてください。
Scalping V5 - Strongest S/R & Predictive PanelScalping V5: Predictive Momentum & Institutional S/R by Herman Sangivera ( Papua )
Overview
Scalping V5 is a high-precision momentum indicator designed for lower timeframe traders (1m, 5m, 15m) who require a blend of trend-following logic and real-time structural analysis. Unlike standard indicators that only look at price action, this script utilizes a Dual-EMA Ribbon for momentum, a 200-period Filter for institutional bias, and a Predictive Probability Panel to gauge the strength of a potential move.
Key Features
1. Smart Momentum Ribbon (EMA 12/36)
The core of the strategy uses a dynamic ribbon.
Blue Ribbon: Indicates aggressive bullish momentum.
Red Ribbon: Indicates aggressive bearish momentum.
Traders should look for "Value Area" entries when the price retraces into the ribbon before continuing the trend.
2. Institutional Trend Guard (EMA 200)
To avoid "choppy" markets and counter-trend traps, the script plots a thick white baseline.
Above 200 EMA: Only Long setups are prioritized.
Below 200 EMA: Only Short setups are prioritized.
3. Dynamic Support & Resistance (S/R)
The script automatically calculates the Strongest Resistance (Highest High) and Strongest Support (Lowest Low) based on a 50-period lookback. This helps scalpers identify immediate "walls" in the market to set realistic Take Profit (TP) and Stop Loss (SL) levels.
4. Predictive Analytics Dashboard
The real-time panel in the top right provides:
Strategy State: Detects if the market is breaking out or consolidating.
Probability Score: A weighted calculation (smoothed by SMA) that determines the likelihood of the next move based on trend alignment.
Actionable Recommendation: Flashes "STRONG BUY" or "STRONG SELL" only when momentum and distance-to-target are optimal.
How to Trade with Scalping V5
Long Entry: Price must be above the EMA 200. Wait for the Ribbon to turn Blue and the Dashboard to display a Probability Up > 65%. Ensure there is enough "room" to the Red Resistance line.
Short Entry: Price must be below the EMA 200. Wait for the Ribbon to turn Red and the Dashboard to display a Probability Down > 65%. Ensure there is room to the Green Support line.
Exit Strategy: Take profits at the S/R levels or when the price closes back inside the EMA Ribbon.
Settings & Optimization
EMA 12/36: Optimized for Scalping. Increase to 20/50 for Day Trading.
Lookback S/R: Set to 50 for intraday levels; increase to 100 for more "significant" swing levels.
Overlay: This indicator is designed to be used directly on the price chart.
Disclaimer: Scalping involves significant risk. This tool is designed to assist your analysis and should be used in conjunction with proper risk management and price action confirmation.
Cyberpunk Pattern Engine⚡ Cyberpunk Pattern Engine: Neon Technical Analysis
Upgrade your chart aesthetics while maintaining surgical precision. The Cyberpunk Pattern Engine is a high-performance pattern recognition script designed to identify classic reversal formations with a futuristic, neon-soaked visual style.
🛠️ Key Features
・Automated Pattern Detection: Real-time identification of four major price action structures:
・Double Top (DT) - Neon Pink
・Double Bottom (DB) - Neon Cyan
・Head & Shoulders (H&S) - Neon Green
・Inverse H&S (iH&S) - Neon Gold
・Cyber-Visuals: Uses the linefill engine to create semi-transparent glowing triangles, making chart patterns instantly recognizable without cluttering your price action.
・Dual-Language Support: Toggle labels between English and Japanese with a single click.
・Sensitivity Control: Adjust the "Pivot Period" and "Max Difference %" to filter out market noise and find only the most textbook-perfect setups.
🚀 How to Use
1. Pivot Period: Larger values find long-term trends; smaller values find scalp opportunities.
2. Max Difference: Controls how "equal" the tops/bottoms must be. Decrease for strict perfection, increase for more frequent signals.
3. Confirmation: The engine paints the completed pattern once the price crosses the neckline (confirmation level).
日本語版 (Japanese Description)
⚡ Cyberpunk Pattern Engine: ネオン・テクニカル・エンジン
チャート分析に「美学」と「精度」を。Cyberpunk Pattern Engineは、伝統的なチャートパターンを検出し、近未来的なサイバーパンク・スタイルで可視化する高性能インジケーターです。
🛠️ 主な機能
・自動パターン検出: 主要な4つの反転パターンをリアルタイムで識別します:
・ダブルトップ (DT) - ネオンピンク
・ダブルボトム (DB) - ネオンシアン
・三尊 / Head & Shoulders (H&S) - ネオングリーン
・逆三尊 / Inverse H&S (iH&S) - ネオンゴールド
・サイバー・ビジュアル: linefill機能を駆使し、半透明の光る三角形で描画。チャートの視認性を損なうことなく、瞬時に形状を把握できます。
・2ヶ国語対応: ラベル表示を日本語と英語で切り替え可能。
・感度カスタマイズ: 参照期間(Pivot Period)や許容誤差(Max Diff %)を調整することで、ノイズを排除し、自身のトレードスタイルに最適な形状のみを抽出できます。
🚀 使い方
1. 参照期間 (Pivot Period): 数値を大きくすると長期足レベルの大きな波を、小さくするとスキャルピング向けの小さな波を検出します。
2. 許容誤差: 頂点や肩の高さがどれくらい揃っていればパターンとみなすかを調整します。厳格な判断には数値を下げてください。
3. 確定条件: 価格がネックラインをブレイクし、パターンが完成したタイミングで描画が実行されます。
SMC Pro: Institutional Bias & Liquidity Sweep EngineOverview This script is a high-confluence technical analysis tool designed for traders following Smart Money Concepts (SMC) and Price Action methodologies. Its primary objective is to filter trend-based signals (EMA 9/21 crossovers) by integrating two critical institutional filters: HTF Bias (Higher Timeframe Sentiment) and Directional Liquidity Sweeps.
Key Features & Technical Originality Unlike standard crossover indicators, this script introduces a multi-layered institutional validation logic:
Real-Time HTF Bias Dashboard: The indicator automatically calculates the Daily Bias based on the previous close's position relative to the "Equilibrium" (the 50% mark of the previous day's range). This sentiment is displayed via a clean UI dashboard in the top-right corner, ensuring traders stay aligned with the higher timeframe flow.
Directional Liquidity Sweeps: The engine identifies local highs and lows within a dynamic lookback period. A "BUY" signal is only triggered if the price has first performed a "Sweep Low" (raiding sell-side liquidity), and a "SELL" signal only follows a "Sweep High" (raiding buy-side liquidity). This effectively filters out "Bull/Bear Traps."
Adaptive Memory Logic: The signal engine "remembers" a liquidity raid for a configurable number of bars. This allows for natural price development before confirming the entry with the EMA cross, capturing the expansion phase of the move.
Weekly NWOG Anchor: Includes an automated New Week Opening Gap (NWOG) tracker. Following institutional liquidity principles, this box anchors from Friday’s close to the new week’s open. Per user-defined constraints, the projection is limited strictly to the current trading week to maintain chart clarity and relevance.
How to Use
Confluence: Look for "BUY" signals when the Dashboard displays a "BULLISH" Bias and a recent sweep of lows has occurred.
Context: Use the NWOG levels as institutional magnets; price often gravitates toward or rebalances these gaps before continuing its expansion.
Optimized Timeframes: Best suited for M1, M5, and M15 intraday scalping.
Disclaimer This indicator is a visual aid for technical analysis and does not constitute financial advice. Past performance does not guarantee future results.
Naked POCThis indicator is designed for precision traders who need to identify Institutional Footprints and Naked POCs (nPOC) without cluttering the chart. It solves the common problem of "too many signals" during trend continuations while preserving critical reversal signals (like high-volume Dojis).
🚀 Key Features
1. Fusion Technology (Global Liquidity View)
Unlike standard indicators that only look at your current chart's volume, Fusion aggregates real-time Spot volume from major exchanges (Binance, Coinbase, OKX, Bybit) simultaneously.
Why? Futures follow Spot. This reveals the true liquidity wall across the entire market, filtering out fake pump/dump moves on a single derivative exchange.
Supports BTC & ETH pairs automatically.
2. Peak Hunter Algorithm (Smart Noise Filtering)
This is the core upgrade. Instead of marking every high-volume candle (which creates a mess during waterfalls/rallies), the Peak Hunter logic only marks a level if:
The volume is a Local Peak (higher than the past $N$ candles).
Result: It ignores "follow-through" candles in a trend but perfectly captures the Start (Ignition) and the End (Stopping Volume / Doji) of a move.
3. Micro-Structure POC (The "Microscope")
When a 30m or 4H candle triggers a signal, where exactly is the support?
This script scans the internal 1-minute or 15-second data (Lower Timeframe) inside that candle to find the exact price level with the highest volume.
Note: 15s scanning requires a Premium plan; 1m works for all.
4. Smart Lifecycle Management
nPOC Lines: Support/Resistance lines extend automatically until price tests them.
Touch Limit: Once price touches a line $X$ times (configurable), the line "dies" and becomes dotted/expired, keeping your chart clean.
Pattern Multi-TF DashboardPattern indicator is a comprehensive market analysis tool designed to identify the three primary phases of price action: Contraction, Expansion, and Trend. By combining technical momentum (ADX) with price range volatility, this script provides a "top-down" view of the market, allowing traders to see how lower-timeframe price action fits into the broader market cycle.
Core Logic & Market Phases
The indicator classifies market conditions based on a proprietary blend of ADX (Average Directional Index) and price deviation from the Fair Market Value (FMV).
🟦 Contraction (Blue): Identified when ADX is low and price is consolidating within a narrow range relative to the FMV. This represents "market value" where orders are being accumulated.
🟧 Expansion (Orange): Triggered when ADX begins to rise and price pushes away from the FMV. This represents the initial breakout phase where the market is seeking a new value area.
🟩 Trend (Green): Confirmed when ADX remains high and price maintains direction. This is the "momentum" phase of the cycle.
⬜ Neutral (Gray): Default state when neither contraction nor strong momentum is detected.
Key Features
Multi-TF Dashboard: A dynamic, real-time table displaying the Phase, Bias (Bullish/Bearish), and FMV price for eight different timeframes (1m through Monthly).
Visual Bias Tracking: The "Bias" column is color-coded (Green for Bullish, Red for Bearish) based on whether price is trading above or below the Fair Market Value (Mid-point of the range).
On-Chart Inefficiencies (FVG): Automatically plots Green/Red triangles to highlight Fair Value Gaps, identifying areas of price imbalance where liquidity may be resting.
HTF FMV Overlay: Plots the Fair Market Value (Mid-line) of a user-defined Higher Timeframe (e.g., 4H) directly onto your current chart for easy trend reference.
Optimized Performance: Built specifically for Pine Script® v6, the dashboard is designed to update only on the most recent bar to ensure zero chart lag during manual scrolling.
How to Use
Identify the HTF Phase: Look at the background color of your chart to see the 4H or Daily phase.
Check for Alignment: Use the Dashboard to see if the 1m and 5m biases match the HTF bias.
Find Entry: Look for Inefficiencies (FVGs) that align with the Expansion or Trend phases for high-probability entry points.
Cyberpunk Vortex IndicatorCyberpunk Vortex Indicator is a visually enhanced Vortex-based momentum indicator designed to clearly capture trend strength and directional dominance.
This indicator calculates VI+ (bullish pressure) and VI− (bearish pressure) using the classic Vortex methodology, then renders them with a layered neon cyberpunk-style glow for maximum readability and impact.
🔹 Key Features
・Vortex Indicator (VI+ / VI−) with SMA smoothing
・Multi-layer laser-style glow (outer / inner / core lines)
・Clear visual distinction between bullish and bearish momentum
・Subtle background and fill effects for intuitive trend recognition
・Clean, modern design without clutter
🔹 How to Use
・VI+ above VI− → Bullish momentum dominates
・VI− above VI+ → Bearish momentum dominates
・The 1.0 baseline helps identify strengthening or weakening trends
・Best used as a trend confirmation tool, not a standalone signal
🔹 Recommended Timeframes
Works well across multiple timeframes.
Commonly effective on 15m, 1H, 4H, and higher.
This indicator focuses on clarity, aesthetics, and momentum visualization, making it ideal for traders who value both performance and design.
Cyberpunk Vortex Indicator は、トレンドの強さと方向性を直感的に把握するために設計された、視認性とデザイン性を重視したボルテックス系モメンタム指標です。
クラシックな Vortex Indicator(VI+ / VI−)をベースに、サイバーパンク調のネオン発光レイヤーで描画することで、買い圧力・売り圧力の優位性を一目で判断できます。
🔹 特徴
・Vortex Indicator(VI+ / VI−)をSMAでスムージング
・外側・内側・芯の3層レーザー風グロー表現
・上昇 / 下降モメンタムの視認性を大幅に向上
・控えめな背景・塗りつぶしで相場の空気感を演出
・ノイズの少ない、洗練されたデザイン
🔹 使い方
・VI+ が VI− を上回る → 上昇トレンド優勢
・VI− が VI+ を上回る → 下降トレンド優勢
・1.0 の基準線でトレンドの勢いを確認
・単体判断ではなく、トレンド確認用としての使用を推奨
🔹 推奨時間足
マルチタイムフレーム対応。
特に 15分足 / 1時間足 / 4時間足以上で安定。
本インジケーターは
「見やすさ」「美しさ」「モメンタムの可視化」を重視しており、
デザインと実用性の両立を求めるトレーダー向けです。
VWMA 200 (HTF) + Fibonacci BandsVWMA 200 (HTF) + Fibonacci Bands + VWAP Trend Dashboard
This indicator combines a Higher Timeframe VWMA (default: 200) with volatility bands and Fibonacci-based internal levels, plus anchored VWAPs (Daily / Weekly / Monthly) and an optional trend dashboard table.
It was designed to help you quickly spot:
where price is relative to a major HTF VWMA mean
whether price is trading in normal / extreme zones
how price is positioned versus session/period VWAPs
a simple “at-a-glance” trend bias across multiple anchors
What’s included
1) VWMA 200 (HTF)
VWMA is calculated on a locked timeframe (HTF) using request.security.
Default source is HLC3, but you can change the source.
2) Volatility bands + Fibonacci levels
The outer bands are based on a scaled standard deviation (mult * stdev) around the HTF VWMA.
Internal bands use Fibonacci ratios:
11.8% / 23.6% / 38.2% / 50% / 61.8% / 76.4% / 88.6% / 100%
Clean labels on the right side show each level as a percentage.
3) Extreme candle highlighting
Candles can be highlighted when the close is beyond the 76.4% band (upper or lower).
Helps identify potential stretched conditions / breakout zones.
4) Anchored VWAPs
Optional Daily / Weekly / Monthly VWAP (anchored by period change).
Optional VWAP labels on the right side (toggle separately).
5) Trend Dashboard Table
Optional table showing Bullish / Bearish / Neutral for:
VWAP D, VWAP W, VWAP M, and VWMA HTF
Displays distance from each reference in points (price units).
Includes a Confluence row:
Bullish if price is above all references
Bearish if price is below all references
Mixed otherwise
Table position can be customized (Top Right / Top Left / Bottom Right / Bottom Left).
How to use (quick guide)
Mean reversion / structure: Use the HTF VWMA as the central “mean” reference.
Zones: Fibonacci bands show progressively stronger deviation zones from the mean.
Extremes: Candle coloring beyond 76.4% can highlight stretched price action.
Trend bias: The dashboard helps confirm whether price is aligned above or below key anchors (VWAPs + VWMA HTF).
Confluence: When multiple anchors agree, trend conviction tends to be higher.
Notes / Disclaimer
This tool is intended for context and decision support, not as a standalone strategy.
VWAP behavior may differ across markets/sessions depending on symbol and exchange rules.
Always combine with your own risk management and confirmation tools.
Moving Average Exponential//@version=6
indicator(title="Moving Average Exponential", shorttitle="EMA", overlay=true, timeframe="", timeframe_gaps=true)
len = input.int(9, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500, display = display.data_window)
out = ta.ema(src, len)
plot(out, title="EMA", color=color.blue, offset=offset)
// Smoothing MA inputs
GRP = "Smoothing"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("None", "Type", options = , group = GRP, display = display.data_window)
var isBB = maTypeInput == "SMA + Bollinger Bands"
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window, active = maTypeInput != "None")
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window, active = isBB)
var enableMA = maTypeInput != "None"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
// Smoothing MA plots
smoothingMA = enableMA ? ma(out, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(out, maLengthInput) * bbMultInput : na
plot(smoothingMA, "EMA-based MA", color=color.yellow, display = enableMA ? display.all : display.none, editable = enableMA)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none, editable = isBB)
UT Bot + MACD BUY Delayed Confirm v6UT Bot + MACD BUY Delayed Confirm..even if macd cross happens afterwards signal arrives
TradeAxis Trendlines - Full RangeOverview
TradeAxis Trendlines is an overlay indicator that automatically builds and maintains diagonal support/resistance trendlines from confirmed swing pivots, ranks candidates to reduce clutter, and provides optional breakout-based risk framing (TP/SL boxes) using structural stops.
This script is built as a single workflow:
Identify structurally valid trendlines
Reduce clutter by ranking/filters
Monitor/visualize breakouts with clear risk framing (disabled in Analysis Mode and on non-standard chart types)
How the trendlines are detected and filtered
1) Confirmed pivot engine (non-instant pivots)
Trendline anchors come from confirmed pivot highs/lows using user-defined Left/Right pivot strength. Because pivots require Right bars to confirm, lines are not drawn at the turning candle and will appear only after confirmation.
2) Candidate generation + structural validation
The script tests pivot-to-pivot vectors and rejects candidates that fail structural criteria, including:
Minimum line length (bars between anchors)
Slope filtering with two modes:
Absolute slope bounds (price-per-bar)
ATR-relative slope bounds (thresholds scaled by ATR)
Body-intersection rejection: candidates are filtered out if candle bodies repeatedly cut through the line beyond a tolerance
Opposite-side invalidation gate: candidates can be rejected/disabled when price closes (or evaluates by Mid-body/Body mode) beyond the “wrong side” of the line, to avoid keeping lines that are already invalidated by structure
3) Touch counting + scoring (clutter control)
Valid candidates are ranked using a weighted score that prioritizes:
Number of valid touches
Recency of the last touch
Line span
By default, the script plots both the primary and secondary (“2nd best”) support and resistance lines; you can disable the secondary set if you prefer a cleaner chart.
4) Dynamic cleanup behavior
Trendlines are continuously refreshed as new pivots confirm. Lines that are decisively broken and then reclaimed can be removed to prevent stale structure from lingering on the chart.
Optional modules
A) Safety lines (structural stop references)
When enabled, the script calculates additional diagonal “safety” lines from a separate pivot stream and selects the best safety reference near the active structure. These safety lines are used as structural candidates for Stop Loss placement in the breakout framing module.
B) Higher-timeframe (HTF) overlays
When enabled, the script runs its trendline detection logic on a user-selected higher timeframe using `request.security()` with lookahead disabled, and overlays the HTF support/resistance onto the current chart. HTF lines are plotted using time-based coordinates and can update as HTF bars confirm.
C) Breakout + Risk/Reward visualization (optional)
When enabled (and on standard charts), the script can flag breakouts and draw a risk/reward box:
Breakout trigger: candle-body confirmation through the trendline plus a user-selected ATR-based buffer.
Buffer Mode can be set to ATR (buffer = ATR × multiplier) or None (no buffer).
Optional filters:
Wick filter (rejects candles with excessive upper/lower wick percentage)
Time windows (inputs are labeled in UTC+4) with optional overnight restrictions and specific block windows
Minimum breakout body size (ticks)
Stop Loss / Take Profit framing
Stop selection is structural-first. The script prioritizes the active safety line (when available), otherwise it falls back to recent swing structure (recent swing high/low candidates) and the best available structural reference.
Entries can be skipped if risk constraints are violated, including:
Min SL Size (ticks)
Max Allowed SL (×ATR)
Take Profit is projected from the actual stop distance using the selected Risk/Reward Target.
Important notes about the position tools
This is a visualization/alerting aid. It does not place trades.
TP/SL hit detection is bar-based (OHLC). If both TP and SL are within the same candle range, the script cannot know which occurred first.
On non-standard chart types, position tools and entry/exit alerts are disabled.
D) Analysis Mode
When Analysis Mode is enabled, the script disables the breakout/risk framing logic and focuses on technical trendlines (plus structural alerts).
Alerts
Alert conditions are available for:
Touch Support/Resistance (Primary, Secondary, or HTF)
New Support/Resistance line detected
Long/Short position tool placed (when enabled on standard charts)
A combined “Any Event” condition






















