Elliott Wave [BigBeluga]🔵 OVERVIEW
Elliott Wave automatically finds and draws an Elliott-style 5-wave impulse and a dashed projection for a potential -(a)→(b)→(c) correction. It detects six sequential reversal points from rolling highs/lows — 1, 2, 3, 4, 5, (a) — validates their relative placement, and then renders the wave with labels and horizontal reference lines. If price invalidates the structure by closing back through the Wave-5 level inside a 100-bar window, the pattern is cleared (optionally kept as “broken”) while key dotted levels remain for context.
🔵 CONCEPTS
Reversal harvesting from extremes : The script scans highest/lowest values over a user-set Length and stores swing points with their bar indices.
Six-point validation : A pattern requires six pivots (1…5 and (a)). Their vertical/temporal order must satisfy Elliott-style constraints before drawing.
Impulse + projection : After confirming 1→5, the tool plots a curved polyline through the pivots and a dashed forward path from (a) toward (b) (midpoint of 5 and (a)) and back to (c).
Risk line (invalidator) : The Wave-5 price is tracked; a close back through it within 100 bars marks the structure as broken.
Minimal persistence : When broken, the wave drawing is removed to avoid noise, while dotted horizontals for waves 5 and 4 remain as reference.
🔵 FEATURES
Automatic pivot collection from rolling highs/lows (user-controlled Length ).
Wave labeling : Points 1–5 are printed; the last collected swing is marked b
. Projected i
& i
are shown with a dashed polyline.
Breaker line & cleanup : If price closes above Wave-5 (opposite for bears) within 100 bars, the pattern is removed; only dotted levels of 5 and 4 stay.
Styling controls :
Length (pivot sensitivity)
Text Size for labels (tiny/small/normal/large)
Wave color input
Show Broken toggle to keep invalidated patterns visible
Lightweight memory : Keeps a compact buffer of recent pivots/draws to stay responsive.
🔵 HOW TO USE
Set sensitivity : Increase Length on noisy charts for cleaner pivots; decrease to catch earlier/shorter structures.
Wait for confirmation : Once 1→5 is printed and (a) appears, use the Wave-5 line as your invalidation. A close back through it within ~100 bars removes the active wave (unless Show Broken is on).
Plan with the dashed path : The (a)→(b)→(c) projection offers a scenario for potential corrective movement and risk placement.
Work MTF : Identify cleaner waves on higher TFs; refine execution on lower TFs near the breaker or during the move toward (b).
Seek confluence : Align with structure (S/R), volume/Delta, or your trend filter to avoid counter-context trades.
🔵 CONCLUSION
Elliott Wave systematizes discretionary wave analysis: it detects and labels the 5-wave impulse, projects a plausible (a)-(b)-(c) path, and self-cleans on invalidation. With clear labels, dotted reference levels, and a practical breaker rule, it gives traders an objective framework for scenario planning, invalidation, and timing.
指標和策略
cd_SMT_Sweep_CISD_CxGeneral
This indicator is designed to show trading opportunities after sweeps of higher timeframe (HTF) highs/lows and, if available, Smart Money Technique (SMT) divergence with a correlated asset, followed by confirmation from a lower timeframe change in state delivery (CISD).
Users can track SMT, Sweep, and CISD levels across nine different timeframes.
________________________________________
Usage and Details
Commonly correlated timeframes are available in the menu by default. Users can also enter other compatible timeframes manually if necessary.
The indicator output is presented as:
• A summary table
• Display on HTF candles
• CISD levels shown as lines
Users can disable any of these from the menu.
Presentations of selected timeframes are displayed only if they are greater than or equal to the active chart timeframe.
From the Show/Hide section, you can control the display of:
• SMT table
• Sweep table
• HTF candles
• CISD levels
• HTF boxes aligned with the active timeframe
________________________________________
SMT Analysis
To receive analysis, users must enter correlated assets in the menu (or adjust them as needed).
If asset X is paired with correlated asset Y, then a separate entry for Y correlated with X is not required.
Four correlation pairs are included by default. Users should check them according to their broker/exchange or define new ones.
Checkboxes at the beginning of each row allow activation/deactivation of pairs.
SMT analysis is performed on the last three candles of each selected HTF.
If one asset makes a new high while the correlated one does not (or one makes a new low while the other does not), this is considered SMT and will be displayed both in the table and on the chart.
Charts without defined correlated assets will not display an SMT table.
________________________________________
Sweep Analysis
For the selected timeframes, the current candle is compared with the previous one.
If price violates the previous level and then pulls back behind it, this is considered a sweep. It is displayed in both the table and on the chart.
Within correlated pairs, the analysis is done separately and shown only in the table.
Example with correlated and non-correlated pairs:
• In the table, X = false, ✓ = true.
• The Sweep Table has two columns for Bullish and Bearish results.
• For correlated pairs, both values appear side by side.
• For undefined pairs, only the active asset is shown.
Example 1: EURUSD and GBPUSD pair
• If both sweep → ✓ ✓
• If one sweeps, the other does not → ✓ X
• If neither sweeps → X X
Example 2: AUDUSD with no correlated pair defined
• If sweep → ✓
• If no sweep → X
________________________________________
HTF Candles
For every HTF enabled by the user, the last three candles (including the current one) are shown on the chart.
SMT and sweep signals are marked where applicable.
________________________________________
CISD Levels
For the selected timeframes, bullish and bearish CISD levels are plotted on the chart.
________________________________________
HTF Boxes
HTF boxes aligned with the active timeframe are displayed on the chart.
Box border colors change according to whether the active HTF candle is bullish or bearish.
________________________________________
How to Read the Chart?
Let’s break down the example below:
• Active asset: Nasdaq
• Correlated asset: US500 (defined in the menu, confirmed in the table bottom row)
• Active timeframe: H1 → therefore, the HTF box is shown for Daily
• Since a correlated pair is defined, the indicator runs both SMT and Sweep analysis for the selected timeframes. Without correlation, only Sweep analysis would be shown.
Table is prepared for H1 and higher timeframes (as per user selection and active TF).
Observations:
• SMT side → H1 timeframe shows a bearish warning
• Sweep side → Bearish column shows X and ✓
o X → no sweep on Nasdaq
o ✓ → sweep on US500
Meaning: US500 made a new high (+ sweep) while Nasdaq did not → SMT formed.
The last column of the table shows the compatible LTF for confirmation.
For H1, it suggests checking the 5m timeframe.
On the chart:
• CISD levels for selected timeframes are drawn
• SMT line is marked on H1 candles
• Next step: move to 5m chart for CISD confirmation before trading (with other confluences).
Similarly, the Daily row in the table shows a Bullish Sweep on US500.
________________________________________
Alerts
Two alert options are available:
1. Activate Alert (SMT + Sweep):
Triggers if both SMT and Sweep occur in the selected timeframes. (Classic option)
2. Activate Alert (Sweep + Sweep):
Triggers if sweeps occur in both assets of a correlated pair at the same timeframe.
Interpretation:
If SMT + Sweep are already present on higher timeframes, and simultaneous sweeps appear on lower timeframes, this may indicate a strong directional move.
Of course, this must be validated with CISD and other confluences.
________________________________________
HTF CISD Levels
Although CISD levels act as confirmation levels in their own timeframe, observing how price reacts to HTF CISD levels can provide valuable insights for intraday analysis.
POIs overlapping with these levels may be higher priority.
________________________________________
What’s Next in Future Versions?
• Completed CISD confirmations
• Additional alert options
• Plus your feedback and suggestions
________________________________________
Final Note
I’ll be happy to hear your opinions and feedback.
Happy trading!
Liquidity Swing Points [BackQuant]Liquidity Swing Points
This tool marks recent swing highs and swing lows and turns them into persistent horizontal “liquidity” levels. These are places where resting orders often accumulate, such as stop losses above prior highs and below prior lows. The script detects confirmed pivots, records their prices, draws lines and labels, and manages their lifecycle on the chart so you can monitor potential sweep or breakout zones without manual redrawing.
What it plots
LQ-H at confirmed swing highs
LQ-L at confirmed swing lows
Horizontal levels that can optionally extend into the future
Timed removal of old levels to keep the chart clean
Each level stores its price, the bar where it was created, its type (high or low), plus a label and a line reference for efficient updates.
How it works
Pivot detection
A swing high is confirmed when the highest high has swing_length bars on both sides that are lower.
A swing low is confirmed when the lowest low has swing_length bars on both sides that are higher.
Pivots are only marked after they are confirmed, so they do not repaint.
Level creation
When a pivot confirms, the script records the price and the creation bar (offset by the right lookback).
A new line is plotted at that price, labeled LQ-H or LQ-L.
Rendering and extension
Levels can be drawn to the most recent bar only or extended to the right for forward reference.
Label size and line color/transparency are configurable.
Lifecycle management
On each confirmed bar, the script checks level age.
Levels older than a chosen bar count are removed automatically to reduce clutter.
How it can be used
Liquidity sweeps: Watch for price to probe beyond a level then close back inside. That behavior often signals a potential fade back into the prior range.
Breakout validation: If price pushes through a level and holds on closes, traders may treat that as continuation. Retests of the level from the other side can serve as structure checks.
Context for entries and exits: Use nearby LQ-H or LQ-L as reference for stop placement or partial-take zones, especially when other tools agree.
Multi-timeframe mapping: Plot swing points on higher timeframes, then drill down to time entries on lower timeframes as price interacts with those levels.
Why liquidity levels matter
Prior swing points are focal areas where many strategies set stops or pending orders. Price often revisits these zones, either to “sweep” resting liquidity before reversing, or to absorb it and trend. Marking these areas objectively helps frame scenarios like failed breaks, successful breakouts, and retests, and it reduces the subjectivity of eyeballing structure.
Settings to know
Swing Detection Length (swing_length), Controls sensitivity. Lower values find more local swings. Higher values find more significant ones.
Bars until removal (removeafter), Deletes levels after a fixed number of bars to prevent buildup.
Extend Levels Right (extend_levels), Keeps levels projected into the future for easier planning.
Label Size (label_size), Choose tiny to large for chart readability.
One color input controls both high and low levels with transparency for context.
Strengths
Objective marking of recent structure without hand drawing
No repaint after confirmation since pivots are locked once the right lookback completes
Lightweight and fast with simple lifecycle management
Clear visuals that integrate well with any price-action workflow
Practical tips
For scalping: use smaller swing_length to capture more granular liquidity. Keep removeafter short to avoid clutter.
For swing trading: increase swing_length so only more meaningful levels remain. Consider extending levels to the right for planning.
Combine with time-of-day filters, ATR for stop sizing, or a separate trend filter to bias trades taken at the levels.
Keep screenshots focused: one image showing a sweep and reversal, another showing a clean breakout and retest.
Limitations and notes
Levels appear after confirmation, so they are delayed by swing_length bars. This is by design to avoid repainting.
On very noisy or illiquid symbols, you may see many nearby levels. Increasing swing_length and shortening removeafter helps.
The script does not assess volume or session context. Consider pairing with volume or session tools if that is part of your process.
Dual Channel System [Alpha Extract]A sophisticated trend-following and reversal detection system that constructs dynamic support and resistance channels using volatility-adjusted ATR calculations and EMA smoothing for optimal market structure analysis. Utilizing advanced dual-zone methodology with step-like boundary evolution, this indicator delivers institutional-grade channel analysis that adapts to varying volatility conditions while providing high-probability entry and exit signals through breakthrough and rejection detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-zone architecture using recent price extremes as foundation points, applying EMA smoothing to reduce noise and ATR multipliers for volatility-responsive channel widths. The system creates resistance channels from highest highs and support channels from lowest lows with asymmetric multiplier ratios for optimal market reaction zones.
// Core Channel Calculation Framework
ATR = ta.atr(14)
// Resistance Channel Construction
Resistance_Basis = ta.ema(ta.highest(high, lookback), lookback)
Resistance_Upper = Resistance_Basis + (ATR * resistance_mult)
Resistance_Lower = Resistance_Basis - (ATR * resistance_mult * 0.3)
// Support Channel Construction
Support_Basis = ta.ema(ta.lowest(low, lookback), lookback)
Support_Upper = Support_Basis + (ATR * support_mult * 0.4)
Support_Lower = Support_Basis - (ATR * support_mult)
// Smoothing Application
Smoothed_Resistance_Upper = ta.ema(Resistance_Upper, smooth_periods)
Smoothed_Support_Lower = ta.ema(Support_Lower, smooth_periods)
🔶 Volatility-Adaptive Zone Framework
Features dynamic ATR-based width adjustment that expands channels during high-volatility periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine breakouts. The asymmetric multiplier system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Volatility Adjustment
Channel_Width_Resistance = ATR * resistance_mult
Channel_Width_Support = ATR * support_mult
// Asymmetric Zone Optimization
Resistance_Zone = Resistance_Basis ± (ATR_Multiplied * )
Support_Zone = Support_Basis ± (ATR_Multiplied * )
🔶 Step-Like Boundary Evolution
Creates horizontal step boundaries that update on smoothed bound changes, providing visual history of evolving support and resistance levels with performance-optimized array management limited to 50 historical levels for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates break and bounce signals through sophisticated crossover analysis, monitoring price interaction with smoothed channel boundaries for high-probability entry and exit identification. The system distinguishes between breakthrough continuation and rejection reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, step-like historical boundaries, and dynamic background highlighting that activates upon zone entry. The visual system uses institutional color coding with red resistance zones and green support zones for intuitive
market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic zone relevance filtering, displaying channels only when price proximity warrants analysis attention. The system maintains optimal performance through smart array management and historical level tracking with configurable lookback periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through breakthrough patterns with reversal detection via rejection signals, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with volatility-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering breakouts, breakdowns, rejections, and bounces with customizable alert conditions. The system enables precise position management through real-time notifications of critical channel interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient EMA smoothing algorithms with configurable periods for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic historical level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
Why Choose Dual Channel System ?
This indicator delivers sophisticated channel-based market analysis through volatility-adaptive ATR calculations and intelligent zone construction methodology. By combining dynamic support and resistance detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade channel analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying volatility conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to breakout trading, zone reversals, and trend continuation analysis with clearly defined risk parameters and comprehensive alert integration. Also to note, this indicator is best suited for the 1D timeframe.
🏆 AI Gold Master IndicatorsAI Gold Master Indicators - Technical Overview
Core Purpose: Advanced Pine Script indicator that analyzes 20 technical indicators simultaneously for XAUUSD (Gold) trading, generating automated buy/sell signals through a sophisticated scoring system.
Key Features
📊 Multi-Indicator Analysis
Processes 20 indicators: RSI, MACD, Bollinger Bands, EMA crossovers, Stochastic, Williams %R, CCI, ATR, Volume, ADX, Parabolic SAR, Ichimoku, MFI, ROC, Fibonacci retracements, Support/Resistance, Candlestick patterns, MA Ribbon, VWAP, Market Structure, and Cloud MA
Each indicator generates BUY (🟢), SELL (🔴), or NEUTRAL (⚪) signals
⚖️ Dual Scoring Systems
Weighted System: Each indicator has configurable weights (10-200 points, total 1000), with higher weights for critical indicators like RSI (150) and MACD (150)
Simple Count System: Basic counting of BUY vs SELL signals across all indicators
🎯 Signal Generation
Configurable thresholds for both systems (weighted score threshold: 400-600 recommended)
Dynamic risk management with ATR-based TP/SL levels
Signal strength filtering to reduce false positives
📈 Advanced Configuration
Customizable thresholds for all 20 indicators (RSI levels, Stochastic bounds, Williams %R zones, etc.)
Dynamic weight bonuses that adapt to dominant market trends
Risk management with configurable TP1/TP2 multipliers and stop losses
🎛️ Visual Interface
Real-time master table displaying all indicators, their values, weights, and current signals
Visual trading signals (triangles) with detailed labels
Optional TP/SL lines and performance statistics
💡 Optimization Features
Gold-specific parameter tuning
Trend analysis with configurable lookback periods
Volume spike detection and volatility analysis
Multi-timeframe compatibility (15m, 1H, 4H recommended)
The system combines traditional technical analysis with modern weighting algorithms to provide comprehensive market analysis specifically optimized for gold trading.
Ragazzi è una meraviglia, pronto all uso, già configurato provatelo divertitevi e fate tanti soldoni poi magari una piccola donazione spontanea sarebbe molto gradita visto il tempo, risorse e gli insulti della moglie che mi diceva che perdevo tempo, fatemi sapere se vi piace.
nel codice troverete una descrizione del funzionamento se vi vengono in mente delle idee per migliorarlo contattatemi troverete i mie contatti in tabella un saluto.
PDT AI✅ Features
Multi-indicator fusion: RSI + MACD + EMA + higher timeframe RSI
Signal strength (%): Each signal gets a confidence score (0–100)
Dynamic ATR-based targets and stops
Alerts: Buy/Sell triggers for real-time notifications
Fully customizable inputs
RSI Divergence ProjectionRSI Divergence Projection
Go beyond traditional, lagging indicators with this advanced RSI Divergence tool. It not only identifies four types of confirmed RSI divergence but also introduces a unique, forward-looking engine. This engine spots potential divergences as they form on the current candle and then projects the exact price threshold required to validate them.
Our core innovation is the Divergence Projection Line, a clean, clutter-free visualization that extends this calculated price target into the future, providing a clear and actionable level for your trading decisions.
The Core Logic: Understanding RSI Divergence
For those new to the concept, RSI Divergence is a powerful tool used to spot potential market reversals or continuations. It occurs when the price of an asset is moving in the opposite direction of the Relative Strength Index (RSI). This indicator automatically detects and plots four key types:
Regular Bullish Divergence: Price prints a lower low, but the RSI prints a higher low. This often signals that bearish momentum is fading and a potential reversal to the upside is near.
Hidden Bullish Divergence: Price prints a higher low, but the RSI prints a lower low. This is often seen in an uptrend and can signal a continuation of the bullish move.
Regular Bearish Divergence: Price prints a higher high, but the RSI prints a lower high. This suggests that bullish momentum is weakening and a potential reversal to the downside is coming.
Hidden Bearish Divergence: Price prints a lower high, but the RSI prints a higher high. This is often seen in a downtrend and can signal a continuation of the bearish move.
Confirmed divergences are plotted with solid-colored lines on the price chart and marked with a "B" (Bearish/Bullish) or "HB" (Hidden Bearish/Hidden Bullish) label.
The Core Innovation: The Divergence Projection
This is where the indicator truly shines and sets itself apart. Instead of waiting for a pivot point to be confirmed, our engine analyzes the current, unclosed candle.
Potential Divergence Detection: When the indicator notices that the current price and RSI are setting up for a potential divergence against the last confirmed pivot, it will draw a dashed line on the chart. This gives you a critical head-start before the signal is confirmed.
The Projection Line (Our Innovation): This is the game-changer. Rather than cluttering your chart with messy labels, the indicator calculates the exact closing price the next candle needs to achieve to make the current RSI level equal to the RSI of the last pivot.
It then projects a clean, horizontal dashed line at this price level into the future.
Attached to the end of this line is a single, consolidated label that tells you the type of potential divergence and the exact threshold price.
This unique visualization transforms a vague concept into a precise, actionable price target, completely free of chart clutter.
How to Use This Indicator
1. Trading Confirmed Divergences:
Look for the solid lines and the "B" or "HB" labels that appear after a candle has closed and a pivot is confirmed.
A Regular Bullish divergence can be an entry signal for a long position, often placed after the confirmation candle closes.
A Regular Bearish divergence can be an entry signal for a short position.
Hidden Divergences can be used as confirmation to stay in a trade or to enter a trade in the direction of the prevailing trend.
2. Using the Divergence Projection for a Tactical Advantage:
When a dashed line appears on the current price action, you are seeing a potential divergence in real-time.
Look to the right of the current candle for the Projection Line. The price level of this line is your key level to watch.
Example (Potential Bullish Divergence): You see a dashed green line forming from a previous low to the current lower low. To the right, you see a horizontal line projected with a label: "Potential Bull Div | Thresh: 10,750.50".
Interpretation: This means that if the next candle closes below 10,750.50, the RSI will not be high enough to form a divergence. However, if the price pushes up and the next candle closes above 10,750.50, the bullish divergence remains intact and is more likely to be confirmed. This gives you a concrete price level to monitor for entry or exit decisions.
How the Projection Engine Works: A Deeper Dive
To fully trust this tool, it's helpful to understand the logic behind it. The projection engine is not based on guesswork or repainting; it's based on a precise mathematical reverse-engineering of the RSI formula.
The Concept: The engine calculates the "tipping point." The Threshold Price is the exact closing price at which the new RSI value would be identical to the RSI value of the previous pivot point. It answers the question: "For this potential divergence to remain valid, where does the next candle need to close?"
The Technicals: The script takes the target RSI from the last pivot, reverse-engineers the formula to find the required average gain/loss ratio, and then solves for the one unknown variable: the gain or loss needed on the next candle. This required price change is then added to or subtracted from the previous close to determine the exact threshold price.
This calculation provides the precise closing price needed to hit our target, which is then plotted as the clean and simple Projection Line on your chart.
Features and Customization
- RSI Settings: Adjust the RSI period and source.
- Divergence Detection: Fine-tune the pivot lookback periods and the min/max range for detecting divergences.
- Price Source: Choose whether to detect divergences using candle Wicks or Bodies.
- Display Toggles: Enable or disable any of the four divergence types, as well as the entire projection engine, to keep your chart as clean as you need it.
Summary of Advantages
- Proactive Signals: Get ahead of the market by seeing potential divergences before they are confirmed.
- Unprecedented Clarity: Our unique Projection Line eliminates chart clutter from overlapping labels.
- Actionable Data: The threshold price provides a specific, objective level to watch, removing guesswork.
- Fully Customizable: Tailor the indicator's settings to match any timeframe or trading strategy.
- All-in-One Tool: No need for a separate RSI indicator; everything you need is displayed directly and cleanly on the price action.
We hope this tool empowers you to make more informed and timely trading decisions. Happy trading
TCLC - Multi TimeFrame VWAPVWAP :
VWAP, or Volume Weighted Average Price, is a trading indicator that represents the average price of a security over a specific period, weighted by the volume of trades at each price level. It is calculated by taking the sum of the product of price and volume and dividing it by the total volume for the period. Essentially, VWAP shows the average price at which most trades occurred, giving more weight to prices with higher trading volumes.
The Indicator Plots the VWAP in Daily, WEEKLY , MONTHLY , YEARLY which helps to gauage the trend where the Volume vs Price exists....
Scalp Nakurviator v1.2 (Public Version)
Summary
Nakurviator - Scalp Signal Indicator
A fast, HTF-aware scalp signal indicator optimized for 15m and 1h timeframes.
Nakurviator combines rapid local momentum/exhaustion signals with higher-timeframe context (1H, 4H, 1D) to produce concise LONG/SHORT scalp alerts and visual invalidation levels.
How it works (high level):
Local components (RSI, MACD, MFI, volume) tuned for fast reaction and exhaustion detection.
HTF proxies (Order Blocks, FVG, MSS) fetched via request.security and converted to weighted contributions.
Composite scoring: components sum to a raw score, optionally normalized to recent activity, and mapped to -100..100 percent.
Event-driven signals: one label per bar, duplicate-reduction, optional stronger-than-previous requirement.
Optional invalidation lines: micro-pivot + ATR buffer with a labeled price level.
Main features:
Fast local signals with exhaustion weighting (RSI/MFI emphasized).
HTF context from 1H/4H/1D with configurable weights.
Order Block and FVG proxies plus MSS/CHoCH detection.
Dynamic scaling to spread signal percentages.
Signal deduplication and clutter reduction (remove similar recent labels).
Invalidation horizontal lines with precise "Invalidation price" label.
Hover tooltip breakdown showing component contributions.
Visualization & UX:
Overlay indicator so signals appear above price.
Labels anchor to bars; invalidation label precision formatted for small prices.
Configurable label offset and ATR-based vertical offset to keep labels visually near lines when zoomed.
Recommended usage
Use on 5m or 15m charts; the indicator warns if used on other timeframes.
Tune `show_threshold` and HTF weights to control signal frequency and HTF bias.
Use invalidation lines as suggested stop/invalid levels combined with your risk management.
//@version=6
indicator("Nakurviator Scalp", shorttitle="NScalp", overlay=true)
// Local + HTF scoring -> combined_percent
Inputs: `min_score`, `show_threshold`, `use_dynamic_scaling`, `h1_weight`, `h4_weight`, `d1_weight`, `inv_atr_mult`, `inv_label_bar_offset`.
CMO For Loop | QuantLapseCMO For Loop Indicator
The CMO For Loop indicator, inspired by Alex Orekhov's, "Chande Momentum Oscillator," and indicator originally made by Tushar Chande, the CMO designed as a fast and responsive tool to capture quick price movements in financial markets. This oscillator leverages Momentum to measure price deviations, providing a concise yet powerful framework for identifying potential trade entry and exit points. What makes this
"enhanced" CMO indicator special is its ability to identify trending periods more accurately. By using thresholds, this allows the script to enter accurate long and short conditions extremely quickly.
Intended Uses:
Used to capture long-term trends:
Used to identify quick reversals:
Recommended Uses
Best suited for higher timeframes (8H+) to improve accuracy of signals.
Designed for strategies that require fast entries and exits.
Can also be applied to scalping approaches.
Not Recommended For
Should not be used as a mean reversion tool.
Should not be interpreted as a valuation indicator (overbought/oversold levels).
Key Features
Rapid Market Reaction
Built to prioritize speed over smoothing, making it ideal for traders who want to take advantage of quick price shifts in trending or highly volatile markets.
Flexible Thresholds
Users can customize the upper and lower CMO levels to trigger long or short conditions, allowing the indicator to adapt to different assets and trading styles.
Embracing the Noise
Signals may appear frequently, but this is intentional. The tool is optimized for traders who thrive on fast rotations, using the “noise” to catch short-lived yet impactful moves.
Clear Visual Feedback
Plots key oscillator levels and provides dynamic, color-coded candles and shapes that make it easy to identify bias and react quickly.
How It Works
Oscillator Calculation
The CMO (Chande Momentum Oscillator) is derived from comparing the source price’s deviations relative to its momentum. This approach emphasizes trend-driven price shifts.
Signal Triggers
When the oscillator rises above the upper threshold, a long bias is triggered and remains until the CMO drops below the lower threshold.
When the oscillator falls below the lower threshold, a short bias is triggered and remains until the CMO crosses back above the upper threshold.
No bias is active when the oscillator is between thresholds.
Visual Signals
Green candles = long bias
Red candles = short bias
Gray candles = neutral/no signal
Triangles mark points of change in signal direction.
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).
PumpC PAC & MAsPumpC – PAC & MAs (Open Source)
A complete Price Action Candles (PAC) toolkit combining classical price action patterns (Fair Value Gaps, Inside Bars, Hammers, Inverted Hammers, and Volume Imbalances) with a flexible Moving Averages (MAs) module and an advanced bar-coloring system.
This script highlights supply/demand inefficiencies and micro-patterns with forward-extending boxes, recolors zones when mitigated, qualifies patterns with a global High-Volume filter, and ships with ready-to-use alerts. It works across intraday through swing trading on any market (e.g., NASDAQ:QQQ , $CME:ES1!, FX:EURUSD , BITSTAMP:BTCUSD ).
This is an open-source script. The description is detailed so users understand what the script does, how it works, and how to use it. It makes no performance claims and does not provide trade advice.
Acknowledgment & Credits
This script originates from the structural and box-handling logic found in the Super OrderBlock / FVG / BoS Tools by makuchaku & eFe. Their pioneering framework provided the base methods for managing arrays of boxes, extending zones forward, and recoloring once mitigated.
Building on that foundation, I have substantially expanded and adapted the code to create a unified Price Action Candles toolkit . This includes Al Brooks–inspired PAC logic, additional patterns like Inside Bars, Hammers, Inverted Hammers, and the new Volume Imbalance module, along with strong-bar coloring, close-threshold detection, a flexible global High-Volume filter, and a multi-timeframe Moving Averages system.
What it does
Fair Value Gaps (FVG) : Detects 3-bar displacement gaps, plots forward-extending boxes, and optionally recolors them once mitigated.
Inside Bars (IB) : Highlights bars fully contained within the prior candle’s range, with optional high-volume filter.
Hammers (H) & Inverted Hammers (IH) : Identifies rejection candles using configurable body/upper/lower wick thresholds. High-volume qualification optional.
Volume Imbalances (VI) : Detects inter-body gaps where one candle’s body does not overlap the prior candle’s body. Boxes extend forward until wick-based mitigation occurs (only after the two-bar formation completes). Alerts available for creation and mitigation.
Mitigation Recolor : Each pattern can flip to a mitigated color once price trades back through its vertical zone.
Moving Averages (MAs) : Four configurable EMAs/SMAs, with per-MA timeframe, length, color, and clutter-free plotting rules.
Strong Bar Coloring : Highlights bullish/bearish engulfing reversals with different colors for high-volume vs low-volume cases.
Close Threshold Bars : Marks candles that close in the top or bottom portion of their range, even if the body is small. Helps spot continuation pressure before a full trend bar forms.
Alerts : Notifications available for FVG+, FVG−, IB, H, IH, VI creation, and VI mitigation.
Connection to Al Brooks’ PAC teachings
This script reflects Al Brooks’ Price Action Candle methodology. PAC patterns like Inside Bars, Hammers, and Inverted Hammers are not trade signals on their own—they gain meaning in context of trend, failed breakouts, and effort vs. result.
By layering in volume imbalances, strong-bar reversals, and volume filters, this script focuses attention on the PACs that show true participation and conviction, aligning with Brooks’ emphasis on reading crowd psychology through price action.
Why the High-Volume filter matters
Volume is a key proxy for conviction. A PAC or VI formed on light volume can be misleading noise; one formed on above-average volume carries more weight.
Elevates Inside Bars that show absorption/compression with heavy activity.
Distinguishes Hammers that reject price aggressively vs. weak drifts.
Filters Inverted Hammers to emphasize true supply pressure.
Highlights VI zones where institutional order flow left inefficiencies.
Differentiates strong engulfing reversals from weaker, low-participation moves.
Inputs & Customization
Inputs are grouped logically for fast configuration:
High-Volume Filter : Global lookback & multiple, per-pattern toggles.
FVG : Visibility, mitigated recolor, box style/transparency, label controls.
IB : Visibility, require high volume, mitigated recolor, colors, label settings.
Hammer / IH : Visibility, require high volume, mitigated recolor, wick/body thresholds.
VI : Visibility, require high volume, mitigated recolor, box style, labels, mitigation alerts.
Strong Bars : Enable/disable, separate colors for high-volume and low-volume outcomes.
Close Threshold Bars : Customizable close thresholds, labels, optional count markers.
MAs : EMA/SMA type, per-MA toggle, length, timeframe, color.
Alerts
New Bullish FVG (+)
New Bearish FVG (−)
New Inside Bar (IB)
New Hammer (H)
New Inverted Hammer (IH)
New Volume Imbalance (VI)
VI Mitigated
Strong Bullish Engulfing / Bearish Engulfing (high- and low-volume variants)
Suggested workflow
Choose your market & timeframe (script works across equities, futures, FX, crypto).
Toggle only the PACs you actually trade. Assign distinct colors for clarity.
Use MAs for directional bias and higher timeframe structure.
Enable High-Volume filters when you want to emphasize conviction.
Watch mitigation recolors to see which levels/zones have been interacted with.
Use alerts selectively for setups aligned with your plan.
Originality
Builds upon Super OrderBlock / FVG / BoS Tools (makuchaku & eFe) for FVG/box framework.
Expanded into a unified PAC toolkit including IB, H, IH, and VI patterns.
Brooks-inspired design: Patterns contextualized with volume and trend, not isolated.
Flexible high-volume gating with per-pattern toggles.
New VI integration with wick-based mitigation.
Strong Bar Coloring differentiates conviction vs weak reversals.
MTF-aware MAs prevent clutter while providing structure.
Open-source: Transparent for learning, editing, and extension.
Disclaimer
For educational and informational purposes only. This script is not financial advice. Trading carries risk—always test thoroughly before live use.
FVG TrackerThis indicator automatically detects and tracks Fair Value Gaps (FVGs) on your chart, helping you quickly spot imbalances in price action.
Key Features:
📍 Identifies FVGs larger than 3 contracts
📐 Draws each valid FVG as a rectangle directly on the chart
⏳ Removes FVGs once they are fully filled
🔟 Keeps track of only the 10 most recent FVGs for clarity
⚡ Lightweight and optimized for real-time charting
This tool is ideal for traders who use FVGs as part of Smart Money Concepts (SMC) or imbalance-based strategies. By visually highlighting only meaningful gaps and clearing them once filled, it ensures a clean and actionable charting experience.
Session Based Liquidity# Session Based Liquidity Indicator - Educational Open Source
## 📊 Overview
The Session Based Liquidity indicator is a comprehensive educational tool designed to help traders understand and visualize liquidity concepts across major trading sessions. This indicator identifies Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels created during Asia, London, and New York trading sessions, providing insights into institutional order flow and potential market reversal zones.
## 🎯 Key Features
### 📈 Multi-Session Tracking
- **Asia Session**: Tokyo/Sydney overlap (20:00-02:00 EST)
- **London Session**: European markets (03:00-07:30 EST)
- **New York Session**: US markets (09:30-16:00 EST)
- Individual session toggle controls for focused analysis
### 💧 Liquidity Level Detection
- **Buy-Side Liquidity (BSL)**: Identifies stop losses above swing highs where short positions get stopped out
- **Sell-Side Liquidity (SSL)**: Identifies stop losses below swing lows where long positions get stopped out
- Advanced filtering algorithm to identify only significant liquidity zones
- Configurable pivot strength for sensitivity adjustment
### 🎨 Visual Management System
- **Unclaimed Levels**: Active liquidity zones that haven't been hit (default: black lines)
- **Claimed Levels**: Swept liquidity zones showing historical interaction (default: red lines)
- Customizable line styles, colors, and widths for both states
- Dynamic label system showing session origin and level significance
- Real-time line extension and label positioning
### ⚙️ Advanced Configuration
- **Pivot Strength**: Adjust sensitivity (1-20) for liquidity detection
- **Max Levels Per Side**: Control number of tracked levels (1-10) per session
- **Label Offset**: Customize label positioning
- **Style Customization**: Full control over visual appearance
## 📚 Educational Value
### Core Concepts Explained
- **Liquidity Pools**: Areas where stop losses and pending orders cluster
- **Liquidity Sweeps**: When price moves through levels to trigger stops, then reverses
- **Session-Based Analysis**: How different market sessions create distinct liquidity characteristics
- **Institutional Order Flow**: Understanding how large players interact with retail liquidity
### Trading Applications
- Identify high-probability reversal zones after liquidity sweeps
- Understand where stop losses are likely clustered
- Avoid trading into obvious liquidity traps
- Use session context for timing entries and exits
- Recognize institutional accumulation and distribution patterns
### Code Learning Opportunities
- **Pine Script v6 Best Practices**: Modern syntax and efficient coding patterns
- **Object-Oriented Design**: Custom types and methods for clean code organization
- **Array Management**: Dynamic data structure handling for performance
- **Visual Programming**: Line, label, and styling management
- **Session Detection**: Time-based filtering and timezone handling
## 🔧 Technical Implementation
### Performance Optimized
- Efficient memory management with automatic cleanup
- Limited historical level tracking to maintain responsiveness
- Optimized array operations for smooth real-time updates
- Smart filtering to reduce noise and focus on significant levels
### Code Architecture
- **Modular Design**: Clean separation of concerns with dedicated methods
- **Type Safety**: Custom SessionLiquidity type for organized data management
- **Extensible Structure**: Easy to modify and enhance for specific needs
- **Educational Comments**: Comprehensive documentation throughout
## 💡 Usage Guide
### Basic Setup
1. Add indicator to chart
2. Configure session times for your timezone
3. Adjust pivot strength based on timeframe (higher for lower timeframes)
4. Enable/disable sessions based on your trading focus
### Interpretation
- **Unclaimed levels**: Watch for price interaction and potential reversals
- **Claimed levels**: Use as potential support/resistance after sweep
- **External levels**: Beyond session range, higher significance
- **Internal levels**: Within session range, may indicate ranging conditions
### Best Practices
- Use higher timeframes (15m+) for cleaner signals
- Combine with price action analysis for confirmation
- Consider session overlap periods for increased significance
- Monitor multiple sessions for comprehensive market view
## 🎓 Educational Goals
This open-source project aims to:
- Demystify liquidity concepts for retail traders
- Provide practical coding examples in Pine Script v6
- Encourage understanding of institutional trading behavior
- Foster community learning and collaboration
- Bridge the gap between theory and practical application
## 📄 License & Usage
Released under Mozilla Public License 2.0 - free for educational and commercial use with proper attribution.
## 🤝 Contributing
As an open-source educational tool, contributions are welcome! Whether it's bug fixes, feature enhancements, or educational improvements, your input helps the trading community learn and grow.
## ⚠️ Disclaimer
This indicator is for educational purposes only. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
---
*By studying and using this indicator, traders can develop a deeper understanding of market microstructure and improve their ability to read institutional order flow patterns.*
IST 4H Candle Boxes (5m)highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
Supertrend Trend Change Signals + Covered Points Only (v5)[NR]Supertrend with Buy/Sell Signals + Covered Points (v5)
Description
This indicator is a custom version of the Supertrend that provides:
Buy/Sell signals whenever the trend flips (Up → Buy, Down → Sell).
Covered points label at the end of each trend, showing the total price movement captured from entry to exit.
Optional colored candles based on trend direction.
Visual markers (triangle up/down) for quick identification of flips.
Built-in alert conditions for Buy and Sell flips.
Use case:
Designed for traders who want not only entry/exit alerts but also a quick view of how many points the previous run covered. Especially useful for index futures (e.g., NIFTY, BankNIFTY) or instruments where point movement matters.
⚠ Note: This is a study/indicator, not a strategy. It does not auto-trade and should be combined with your own analysis and risk management.
VXN Range FilterThis indicator is based on other open source scripts. It's designed for Nasdaq futures (NQ and MNQ), combining a range filter with CBOE VXN Index (Nasdaq-100 volatility) signals to identify buy and sell opportunities.
It overlays on the price chart, using a smoothed price filter to reduce noise and dynamic bands for target zones. The VXN's EMA and SMA determine bullish (EMA < SMA, green background)
or bearish (EMA > SMA, red background) market conditions to confirm signals. Buy/sell signals are generated when the price breaks out of the filter in the trend direction, confirmed by the VXN state and a change in prior condition to avoid redundant signals.
The indicator is suitable for swing or trend-following strategies, with adjustable parameters
for customization. Visuals include colored bars (white: bullish, blue: bearish, light blue: neutral), target bands, and labeled signals. Alerts are provided for buy, sell, or both.
Market Structure Protected Ranges (JAB)Draws what are considered strong zones based on Market Structure.
VHB by bigmmVolume-Based Support/Resistance Levels Indicator identifies significant price levels based on high-volume trading activity across three timeframes (4H, D, W). The script draws horizontal lines at key support/resistance levels where trading volume exceeded 60% of the maximum volume observed over the previous 499 periods.
Analyzes volume spikes on 4-hour, daily, and weekly timeframes
Displays colored lines (green for bullish candles, red for bearish candles)
Maintains only the 5 most recent significant levels to avoid chart clutter
Labels each line with its respective timeframe (4H, 1D, 1W)
Lines extend in real-time to show current relevance of each level
Traders can use these volume-based levels to identify potential support/resistance zones and make informed decisions about entry/exit points, recognizing areas where significant trading activity previously occurred.
Confluence StackPlease read the instructions below. The code was mostly written using AI so may contain errors. Happy trading all and good luck. ATB Richard
INTENDED USE
This indicator is designed for technical traders who want to move beyond simple buy/sell signals and gain a deeper understanding of the underlying market dynamics. It is ideal for trend followers, swing traders, and anyone looking to confirm the quality of a trend.
WHO IS THIS FOR?
Traders who want to differentiate between strong, sustainable trends and weak, unreliable moves.
Analysts looking to identify high-conviction setups backed by multiple factors (e.g., momentum confirmed by volume).
Discretionary traders who need a quick, visual tool to gauge market sentiment and avoid choppy conditions.
WHY USE IT?
Traditional indicators often give conflicting signals. The Confluence Stack solves this by aggregating multiple perspectives into one clear visual. It helps you answer not just "Is the market going up?" but "WHY is it going up, and how strong is the conviction?". This allows for more informed decision-making and helps filter out low-probability trades.
DISCLAIMER AND LICENSE
This script is for educational purposes only and is not a recommendation to buy or sell any financial instrument. All trading and investment decisions are the sole responsibility of the user. Trading involves significant risk.
This source code is subject to the terms of the Mozilla Public License 2.0 at www.mozilla.org
HOW TO USE THIS INDICATOR
This indicator is designed to show the 'character' of a market move by grouping signals into distinct categories. Instead of seeing many individual signals, you see the strength of the underlying forces driving the price.
1. READ THE HEIGHT (Strength of Confluence)
The total height of the stack shows the strength of agreement. A tall stack means many signals are aligned, indicating a high-conviction move. A short stack means weak agreement and a choppy, indecisive market.
2. READ THE COLOR (Character of the Move)
The colors tell you WHY the market is moving.
BLUE (Momentum): A stack of mostly blue shades indicates a trend driven by pure momentum. This is the 'speed' of the market.
RSI (Relative Strength Index): Measures the magnitude of recent price gains versus losses. A smooth measure of trend strength.
Stochastic Oscillator: Measures the current closing price's position within the recent high-low range. More sensitive to immediate price action.
CCI (Commodity Channel Index): Measures the price's deviation from its moving average. Excels at identifying cyclical turns.
MACD (Moving Average Convergence Divergence): A trend-following momentum indicator showing the relationship between two moving averages. Excellent for identifying the start and end of trends.
YELLOW (Volume): The appearance of yellow shades confirms the move is supported by high market participation. This is the 'fuel' for the trend.
Volume Ratio: A custom signal that triggers when buy or sell volume is unusually high compared to its recent average.
CRV (Candle Range Volume): A custom signal that looks for candles with significant price range and volume.
OBV (On-Balance Volume): A cumulative indicator that adds volume on up days and subtracts it on down days. It shows the long-term flow of money.
FUCHSIA (Volatility): A fuchsia block signals a volatility breakout. This adds a sense of urgency and confirms the price is moving with exceptional force.
Bollinger Bands: A signal triggers when the price closes outside of the upper or lower standard deviation bands.
ORANGE (Price Action): An orange block is a pure price structure signal. It's a raw statement of intent from the market.
Price Gap: A signal that triggers when there's a gap up or gap down between candles.
3. READ THE TRANSITION (Shift in Sentiment)
The most important signal from the stacks is the flip from one side of the zero line to the other.
Flipping from Negative to Positive: A bearish stack disappears and is replaced by a bullish stack. This indicates market sentiment is shifting from bearish to bullish.
Flipping from Positive to Negative: A bullish stack disappears and is replaced by a bearish stack. This warns of a potential top or the start of a new downtrend.
4. FILTER FOR NOISE (Plot Threshold)
In choppy markets, the stack can flicker with low signal counts (e.g., +1 or -1). To focus only on high-conviction moves, go to the indicator settings and increase the "Plot Threshold". A setting of 2 or 3 will hide all stacks that don't have at least 2 or 3 agreeing signals, effectively filtering out market noise and keeping your chart clean.
5. CUSTOMIZE YOUR SIGNALS (Enable/Disable)
This indicator is fully customizable. In the settings, you can enable or disable each of the 9 indicators individually. For example, if you are a pure momentum trader, you could disable all Volume, Volatility, and Price Action signals to focus only on the blue stacks. Tailor it to fit your specific trading style.
EXAMPLE INTERPRETATIONS
Strong, Confirmed Trend: A tall stack of mostly blue (Momentum) and yellow (Volume) indicates a high-quality trend backed by both speed and market participation.
Momentum-Only Trend: A tall stack of only blue is a strong momentum move, but the lack of yellow (Volume) is a warning that the move may lack the "fuel" to be sustained.
Choppy/Indecisive Market: A short, mixed-color stack flickering around the zero line means the market is choppy with no clear conviction. It's often best to stay out.
Volatility Breakout: A new stack that appears suddenly with a fuchsia (Bollinger Bands) block on its first bar suggests a volatility-driven breakout is initiating.
Exhaustion Move: An orange (Price Gap) block appearing at the peak of a tall, long-standing stack can signal an exhaustion gap, potentially marking the end of the trend.
Weakening Conviction (Divergence): If price makes a new high but the positive stack is visibly shorter than the stack at the previous price high, it suggests underlying conviction is weakening.
Script_Algo - Gap Strategy - Long Only🚀 Enhanced Gap Trading Strategy for US Session Open🚀
An advanced strategy based on gaps that appear at the opening of the US stock market session. In many cases, under certain market conditions, the gap acts as a strong zone of support or resistance.
🎯 Key Improvement: The script opens trades only after confirmed bullish gaps, when the close of the second candle is above the **high of the candle on which the trading day opened. This confirms the strength of the bulls, allowing for a higher win rate with a good risk-to-reward ratio.
➡️ The strategy works only in LONG!
How the Script Works (Step-by-Step):
1. Detection of a Bullish Gap (`high < low`)
Logic:The high of the previous candle is below the low of the current one. This means the price opened with a gap up.
2. Entry Conditions
The strategy does not enter immediately upon gap appearance but waits for confirmation:
* Long (Buy):** `bullGap and close > high `
* A bullish gap AND the price of the current candle closes above the high of the previous candle. This confirms bull strength.
* Entry occurs at the **close** of the candle that formed the gap.
3. Filters
To avoid false signals, the strategy uses a SuperTrend filter:
* For entry: The price must be **above the SuperTrend line**. This ensures the overall trend is bullish.
4. Risk Management
Stop-Loss: Set at the low of the previous candle (`low `). The idea is that if the price returns there, the gap will be filled, and the reason for the buy will disappear.
* Take-Profit: Calculated based on a risk-reward ratio (`riskRewardRatio`).
* Example for Long: If the risk (distance from entry price to stop) is 10 points, and R/R = 2, then take-profit will be set 20 points away from the entry price into the profit zone.*
5. Execution
The strategy prohibits opening new positions (`ignoreNewSignals`) if one is already open. This prevents overlapping trades.
6. Visualization
The chart displays:
* Entry arrows 🟢
* Stop-loss and take-profit levels for the current position
* A green background when SuperTrend is bullish
* Blue crosses `❌` marking the gaps.
⚠️ Potential Weaknesses & Important Notes
* "Runaway Gap": Sometimes a gap does not fill but is the start of a new powerful trend. In this case, the strategy may prematurely close the position by stop-loss, although it was possible to earn more. However, show me a strategy that works without losing trades. Let's laugh together 😄)
* Entry on Close: The strategy enters at the closing price of the candle. During periods of high volatility, the price by the time of closing may have already moved far from the gap, which worsens the risk/profit ratio. Unfortunately, this strategy can only be traded manually, as I am unaware of any services today that allow trading CFDs or stocks via WEBHOOK like crypto exchanges. If you know, please write.
* Parameter Optimization: The SuperTrend parameters and risk/reward must be carefully selected for a specific asset and timeframe.
* The strategy works well on stocks, does **not work on crypto**. I haven't tested it on other assets.
* As seen on the strategy results since February 2024, over a year and a half the strategy could have potentially brought *170% profit on NVDA stocks. The win rate is over 50% with a risk/reward ratio of 1:4.
* Someone might say NVDA stocks themselves grew by 200% during this period. I will answer this: which of us knew it would be like this a year and a half ago? Many stocks fell to the bottom during this period. For example, the once promising Virgin Galactic stocks fell by **1000%** from $35 to $3.5. Are you ready to take such risks?
* Secondly, with this strategy, you can allocate significantly less capital by trading CFDs and risking much smaller amounts.
* The strategy showed good results during a **bullish trend**, but it is unknown how it will behave in a **falling market**. Therefore, I do not recommend using it if you see that the global trend has changed to a downward one.
**ALWAYS REMEMBER that past strategy results do not necessarily repeat in the future. The market is constantly changing, so constantly monitor the situation, test on history, and adjust settings for each asset.**
**Advice:** Remember the bugs that exist in any algorithmic trading strategies, even if the script is well-tested and the algorithm is proven. No one knows what non-standard situations may happen on the market tomorrow. Try to trade only on proven, highly liquid assets to avoid excessive volatility, strong slippage, high spreads, and commissions.
---
🚨 **DISCLAIMER**
The author of the strategy does not urge anyone to use this algorithm and is not responsible for any possible financial losses as a result of its application! Any decisions to use this strategy are made personally by the owners of TradingView and crypto exchange accounts!
**Conclusion: ✅**
This is a well-structured, professional strategy that combines a simple basic idea (trading at the gap support zone) with a trend filter to increase the probability of successful trades. Its effectiveness highly depends on the correct setup of filters for the chosen instrument and the direction of the global trend.
**This is not the final version.** I have thoughts on how to improve this strategy, so **subscribe** so you don't miss updates. If you have any ideas on how to improve this or my other strategy, don't hesitate to write to me. I will try to implement it in the script. If you see any bugs or inconsistencies in my algorithm, please write to me about it - I will try to fix it as soon as possible.
I wish everyone good luck and a beautiful, clean trend without drawdowns! 📈✨
Shaded EMA CrossIndicator included 5 EMA's ( 9,20,50,100,200 ) with EMA cross marker
and shaded area between EMAs.
Shaded EMA100 and EMA200 to see market trend.
Shaded EMA20 and EMA50 to see market short trend.