Swing Failure Signals [AlgoAlpha]๐ OVERVIEW
This script detects swing failure patterns by tracking how price interacts with recent swing highs and lows, then confirming those sweeps with a change in candle behavior. The goal is to highlight areas where price briefly breaks a key level, fails to continue, and then shifts direction. These events often occur around liquidity runs, where stops are triggered before price reverses. The script draws levels, colors bars, and prints clear markers to help visualize where these failures occur and when they are confirmed.
๐ CONCEPTS
The logic starts with pivot-based swing detection. Recent swing highs and lows are stored and monitored. When price trades beyond one of these levels within a defined historical window, it is treated as a sweep. A sweep alone is not enough. The script then waits for a Change in State of Delivery (CISD), which is defined by a shift in candle structure that shows follow-through in the opposite direction. A tolerance filter measures how far price traveled beyond the level relative to the reaction that followed. If the reaction is strong enough and happens within a limited number of bars, the sweep is validated as a swing failure. In short: the swing defines the reference, the sweep shows intent, and the CISD confirms acceptance or rejection.
๐ FEATURES
Sweep detection with a maximum lookback to avoid outdated levels
CISD confirmation using candle structure and price expansion
Alert conditions for bullish and bearish swing failures
๐ USAGE
Setup : Add the script to your chart. It works on any market and timeframe. Lower timeframes highlight intraday liquidity runs, while higher timeframes show structural failures. Start with the default inputs before adjusting.
Read the chart : A bullish swing failure occurs when price sweeps a prior low, then reverses and confirms with a bullish CISD. A bearish swing failure is the opposite, sweeping a prior high and confirming with a bearish CISD. Dashed lines mark the swept swing. Solid lines mark the CISD level. Bars are colored while the SFP state is active.
Settings that matter : Increasing Pivot Detection Length finds more significant swings but fewer signals. Reducing Max Pivot Point Edge limits how far back sweeps are allowed, keeping signals more current. The Patience setting controls how many bars are allowed for confirmation after a sweep. The Trend Noise Filter raises or lowers how strong the reaction must be to qualify as a valid failure.
Indicators and strategies
Chainbey Ai - HTF Trend Matrix (Clean)Chainbey Ai โ HTF Trend Matrix is a professional, higher-timeframe trend detection indicator designed to give traders a clean, reliable market bias, regardless of the chart timeframe they are trading on.
This indicator automatically analyzes multiple higher timeframes (HTFs) and combines:
EMA trend direction
Trend strength (ADX)
Market structure (trend vs range)
Trend disagreement across HTFs
Reversal probability estimation
All results are displayed in a compact table at the bottom-right, making it perfect for scalpers, day traders, and swing traders who need fast, decision-ready information.
๐ง What This Indicator Solves
โ No more guessing the higher-timeframe trend
โ No more trading against the main market bias
โ No more confusion between trend vs range
โ
Clear BULLISH / BEARISH / RANGE bias
โ
Strength score to avoid weak trends
โ
Reversal probability to manage risk
๐ How to Read the Table (User Manual)
๐น FINAL Row
Example:
FINAL | BEARISH TREND | -46
Text (BEARISH / BULLISH / RANGE) โ Overall market bias
Number (-46) โ Trend Strength Score
Trend Score Guide:
Score Meaning
0 to ยฑ20 No trend / Choppy
ยฑ20 to ยฑ40 Weak trend
ยฑ40 to ยฑ70 Healthy trend
ยฑ70+ Very strong / extended trend
๐ Negative = Bearish
๐ Positive = Bullish
๐น REVERSAL โ Possibility (%)
Example:
REVERSAL | Possibility | 45%
This shows the chance of trend exhaustion or reversal.
Reversal % Meaning
0โ30% Strong trend continuation
30โ50% Normal pullback risk
50%+ High reversal probability
70%+ Dangerous to chase trades
๐ Use this to avoid late entries.
๐น HTF Rows (60 / 240 / D)
Each row shows:
DIR / STRUCT
Direction from EMA trend
Market structure (TREND / RANGE)
ADX
Trend strength
STRONG / MEDIUM / CHOP
๐ If multiple HTFs agree โ higher confidence
๐ If HTFs conflict โ reduce position size or wait
๐ Recommended Trading Usage
โ
Best Practices
Trade in the direction of FINAL trend
Enter on pullbacks, not breakouts
Use lower timeframes only for entries
โ Avoid
Trading against FINAL bias
Chasing trades when reversal % is high
Over-leveraging in CHOP conditions
๐ฏ Ideal For
Crypto traders (Spot & Futures)
Forex traders
Gold / Commodity traders
Scalping, Intraday & Swing trading
โ ๏ธ Disclaimer
This indicator is a decision-support tool, not financial advice. Always combine it with proper risk management, confirmations, and your trading plan.
Weekly RSI + EMA Bias (FREE)Weekly RSI + EMA Bias โ FREE
This indicator provides a clean, non-repainting weekly directional bias using:
โข EMA trend filter
โข RSI strength confirmation
โข One controlled flip per week
โข IST-based weekly entry & exit logic
โข Holiday-safe exit handling (no missed exits)
WHAT THIS IS:
โข A bias / confirmation tool
โข Designed for positional & weekly traders
โข Works on all intraday and higher timeframes
WHAT THIS IS NOT:
โข Not a strategy
โข No backtesting or performance metrics
โข No buy/sell guarantees
METRICS TABLE:
The weekly metrics table is intentionally locked (๐).
A fully unlocked metrics + strategy version is available separately.
Best used as a decision-support tool alongside your own execution rules.
Adaptive Trend Envelope [BackQuant]Adaptive Trend Envelope
Overview
Adaptive Trend Envelope is a volatility-aware trend-following overlay designed to stay responsive in fast markets while remaining stable during slower conditions. It builds a dynamic trend spine from two exponential moving averages and surrounds it with an adaptive envelope whose width expands and contracts based on realized return volatility. The result is a clean, self-adjusting trend structure that reacts to market conditions instead of relying on fixed parameters.
This indicator is built to answer three core questions directly on the chart:
Is the market trending or neutral?
If trending, in which direction is the dominant pressure?
Where is the dynamic trend boundary that price should respect?
Core trend spine
At the heart of the indicator is a blended trend spine:
A fast EMA captures short-term responsiveness.
A slow EMA captures structural direction.
A volatility-based blend weight dynamically shifts influence between the two.
When short-term volatility is low relative to long-term volatility, the fast EMA has more influence, keeping the trend responsive. When volatility rises, the blend shifts toward the slow EMA, reducing noise and preventing overreaction. This blended output is then smoothed again to form the final trend spine, which acts as the structural backbone of the system.
Volatility-adaptive envelope
The envelope surrounding the trend spine is not based on ATR or fixed percentages. Instead, it is derived from:
Log returns of price.
An exponentially weighted variance estimate.
A configurable multiplier that scales envelope width.
This creates bands that automatically widen during volatile expansions and tighten during compression. The envelope therefore reflects the true statistical behavior of price rather than an arbitrary distance.
Inner hysteresis band
Inside the main envelope, an inner band is constructed using a hysteresis fraction. This inner zone is used to stabilize regime transitions:
It prevents rapid flipping between bullish and bearish states.
It allows trends to persist unless price meaningfully invalidates them.
It reduces whipsaws in sideways conditions.
Trend regime logic
The indicator operates with three regime states:
Bullish
Bearish
Neutral
Regime changes are confirmed using a configurable number of bars outside the adaptive envelope:
A bullish regime is confirmed when price closes above the upper envelope for the required number of bars.
A bearish regime is confirmed when price closes below the lower envelope for the required number of bars.
A trend exits back to neutral when price reverts through the trend spine.
This structure ensures that trends are confirmed by sustained pressure rather than single-bar spikes.
Active trend line
Once a regime is active, the indicator plots a single dominant trend line:
In a bullish regime, the lower envelope becomes the active trend support.
In a bearish regime, the upper envelope becomes the active trend resistance.
In neutral conditions, price itself is used as a placeholder.
This creates a simple, actionable visual reference for trend-following decisions.
Directional energy visualization
The indicator uses layered fills to visualize directional pressure:
Bullish energy fills appear when price holds above the active trend line.
Bearish energy fills appear when price holds below the active trend line.
Opacity gradients communicate strength and persistence rather than binary states.
A subtle โrimโ effect is added using ATR-based offsets to give depth and reinforce the active side of the trend without cluttering the chart.
Signals and trend starts
Discrete signals are generated only when a new trend regime begins:
Buy signals appear at the first confirmed transition into a bullish regime.
Sell signals appear at the first confirmed transition into a bearish regime.
Signals are intentionally sparse. They are designed to mark regime shifts, not every pullback or continuation, making them suitable for higher-quality trend entries rather than frequent trading.
Candle coloring
Optional candle coloring reinforces regime context:
Bullish regimes tint candles toward the bullish color.
Bearish regimes tint candles toward the bearish color.
Neutral states remain visually muted.
This allows the chart to communicate trend state even when the envelope itself is partially hidden or de-emphasized.
Alerts
Built-in alerts are provided for key trend events:
Bull trend start.
Bear trend start.
Transition from trend to neutral.
Price crossing the trend spine.
These alerts support hands-off trend monitoring across multiple instruments and timeframes.
How to use it for trend following
Trend identification
Only trade in the direction of the active regime.
Ignore counter-trend signals during confirmed trends.
Entry alignment
Use the first regime signal as a structural entry.
Use pullbacks toward the active trend line as continuation opportunities.
Trend management
As long as price respects the active envelope boundary, the trend remains valid.
A move back through the spine signals loss of trend structure.
Market filtering
Periods where the indicator remains neutral highlight non-trending environments.
This helps avoid forcing trades during chop or compression.
Adaptive Trend Envelope is designed to behave like a living trend structure. Instead of forcing price into static rules, it adapts to volatility, confirms direction through sustained pressure, and presents trend information in a clean, readable form that supports disciplined trend-following workflows.
ORB with Range Context๐ What This Indicator Does
This indicator plots the Opening Range (OR) โ the high and low established during a user-defined session window at market open โ and provides context on the range's significance by comparing it to recent volatility.
After the opening range session completes, the indicator displays:
โข ORB High and Low as horizontal reference levels
โข Optional Midline (often acts as intraday support/resistance)
โข Target projections at customizable multiples when breakout occurs
โข Range Quality classification (Narrow / Normal / Wide)
๐ฌ How It Works
Step 1: Opening Range Capture
During the session window (default: 09:15โ09:20 IST for Indian markets), the indicator tracks the highest high and lowest low. These become the day's Opening Range boundaries.
Step 2: Range Quality Analysis
This is where this indicator differs from standard ORB tools. It compares today's range to the instrument's Average True Range (ATR) and classifies it:
โข NARROW โ Range is less than 0.5ร ATR
Interpretation: Price compression. The market opened in a tight range relative to recent volatility. Compression often precedes expansion โ breakouts from narrow ranges can be more directional.
โข NORMAL โ Range is between 0.5ร and 1.2ร ATR
Interpretation: Typical opening behavior. Standard breakout expectations apply.
โข WIDE โ Range is greater than 1.2ร ATR
Interpretation: The market opened with unusual volatility โ possibly due to gaps, news events, or overnight developments. Wide ranges may indicate that much of the day's move has already occurred.
Step 3: Breakout Detection
A breakout is confirmed when price closes beyond the ORB High or Low (not just wicks through). The indicator tracks the first breakout direction each day.
Step 4: Target Projection
On confirmed breakout, targets are calculated using the ORB range as the measurement unit:
โข Target 1 = Breakout Level ยฑ (Range ร 1.0)
โข Target 2 = Breakout Level ยฑ (Range ร 1.5)
โข Target 3 = Breakout Level ยฑ (Range ร 2.0)
โ๏ธ Settings Guide
Opening Range Settings
โข ORB Session Window โ Time window for capturing the range. Default: 0915-0920 (first 5 min for NSE/BSE) or 0915-10:00(first 45 mins for NSE/BSE. US Markets: 0930-0935 or 0930-0945.
โข Show Midline โ Toggle the range midpoint display
Target Projection
โข Target 1/2/3 (x Range) โ Multipliers for profit targets. Default values (1.0, 1.5, 2.0) follow classical ORB methodology.
Range Quality Analysis
โข ATR Period โ Lookback for ATR calculation (default: 14)
โข Narrow Threshold โ Ranges below this ATR multiple are classified as narrow (default: 0.5)
โข Wide Threshold โ Ranges above this ATR multiple are classified as wide (default: 1.2)
๐ How to Use This Indicator
1. Apply to an intraday chart (1-min to 5-min recommended)
2. Wait for the ORB session to complete โ levels appear after the time window ends
3. Check Range Quality in the info panel
4. Watch for breakout confirmation โ price must close beyond ORB High or Low
5. Use projected targets for trade management
๐ก Practical Tips
โข Narrow Range Days: Often produce cleaner breakout trades. Tight opening suggests indecision that typically resolves directionally.
โข Wide Range Days: If range exceeds 1.5ร ATR, consider whether the instrument has already made its daily move.
โข Midline Usage: After breakout, the midline often acts as a pullback level for re-entry or confirmation.
๐ Why Range Quality Matters
Most ORB indicators plot static levels without context. A 100-point range on NIFTY might be significant on a quiet day but trivial on a volatile day.
By normalizing against ATR, this indicator answers: "Is today's opening range tight or loose relative to what this instrument normally does?"
This helps traders:
โข Calibrate profit expectations
โข Assess risk appropriately
โข Avoid mechanical trading without market context
๐ Alerts Available
โข ORB Bullish Breakout
โข ORB Bearish Breakout
โข Target 1 Hit
โข Target 2 Hit
โ ๏ธ Notes
โข Works on intraday timeframes only
โข Best suited for liquid instruments with defined opening sessions
โข Range Quality is contextual guidance, not a standalone signal
โข Always use appropriate risk management
Ultimate Auto Trendlines Improved No lag, No Repaint with TableA major update - cleanest, most accurate non-repainting trendline tool.
What's new in this version:
โข Connects MULTIPLE recent pivots (not just consecutive) โ stronger, more reliable levels
โข Solid lines extended far right โ instant future S/R projection
โข Built-in table (top-right): Price + EMA 10/20/50 (Above/Below) + MACD (Bull/Bear) + RSI (Bull/Bear) + ADX (Strong/Weak)
โข Alerts for new trendlines โ get notified the moment a fresh level forms
โข Optional "R"/"S" pivot labels โ clean visual swing confirmation
โข Max 8 lines total โ keeps your chart readable and focused
Why traders are adding this right now:
โข 100% non-repainting โ safe for live entries & alerts
โข 80โ85%+ touch/bounce rate in trending markets (SPY/QQQ/NASDAQ daily & 4H backtests)
โข Angle filter kills flat/noise lines
โข Works killer on stocks, indices, forex majors, crypto
Best settings to start:
Pivot Left/Right: 5/5
Min Angle: 12โ15ยฐ
Max Trendlines: 8
Line Extension: 100โ200 bars
Show Labels: On
Want the latest updates, settings tweaks, or new versions first?
Please Follow me on X โ @TrendRiderPro1
Drop a like/favorite/comment if you add it โ I read every one and reply to as many as I can.
Any feedback (bugs, ideas, your best settings) is super welcome!
Happy trading โ letโs catch those clean bounces & big moves! ๐๐
If you add it, drop a like/favorite/comment โ I read every one and reply to as many as I can.
Any feedback (settings, bugs, ideas) is super welcome โ helps me keep improving it.
Happy trading โ letโs catch those clean bounces & big moves! ๐
Percentile-Based BB% Trend - MattesOverview
The Percentile-Based BB% Trend is a robust momentum oscillator that reimagines the classic Bollinger %B indicator using percentile-based bands and median absolute deviation (MAD). Instead of relying on a simple moving average and standard deviation (which can be heavily influenced by outliers), this version builds dynamic bands from the 25th and 75th percentiles of price, creating a noise-resistant framework for measuring where the current price sits relative to its recent distribution.
How Itโs Calculated
Percentile Smoothing : 25th percentile (lower boundary) and 75th percentile (upper boundary) of the selected source.
Basis Line : Midpoint between the 25th and 75th percentiles as a robust central measure.
Robust Volatility : Median Absolute Deviation (MAD) multiplied by a user-defined factor to set band width.
PBB% Value : (Price - Lower Band) / (Band Width), then shifted so the midline is at 0.
Trend Line : Light EMA smoothing applied to the raw value and displayed as colored columns.
How It Differs From Traditional %B
Uses 25th/75th percentiles + MAD instead of SMA + standard deviation โ far less sensitive to outliers.
More adaptive to real-world skewed price distributions.
Stronger noise filtering while staying responsive to genuine momentum.
Why Itโs Useful
Reduced false signals in choppy or spiky markets
Clear view of momentum strength and price extension
Persistent readings above/below 0 indicate sustained bullish/bearish control
Excellent as a trend-strength filter across all asset classes and timeframes
Application Examples
Trend Confirmation โ Midline (0) crossovers confirm direction when paired with trend-following tools.
Overextension Warnings โ Extreme readings signal potential exhaustion.
Momentum Filtering โ Avoid entries when oscillator shows weak or overstretched conditions.
Divergence Hunting โ Spot price making new highs/lows while oscillator fails to confirm.
Great inventions require greate care!
Not a Standalone Strategy: This indicator is designed as a complementary tool and should always be combined with other forms of analysis (price action, volume, higher-timeframe trend, or additional indicators).Potential Lags in Explosive Moves: The robust calculations and smoothing can slightly delay signals during very strong trends.Parameter Sensitivity: Optimal length and multiplier vary by market and timeframe โ backtesting is essential.No indicator guarantees profits; past performance is not indicative of future results.
This indicator builds directly on the foundation of the Percentile-Based Bollinger Bands - Mattes, extending its robust methodology into oscillator form for deeper momentum analysis.Shoutout to all my Masterclass Brothers and L4 Gs!
CandleStix Pro Description
CandleStix scans for all major candlestick patterns including single-bar patterns (doji, hammer, shooting star, pin bars), two-bar patterns (engulfing, harami, piercing, dark cloud), and three-bar patterns (morning star, evening star, three soldiers, three crows).
Waves UltimateWaves Ultimate is a comprehensive Elliott Wave analysis tool designed to assist traders in identifying and validating wave structures in real-time. This indicator combines automatic wave detection with strict Elliott Wave rule validation, Fibonacci projections, and visual wave labeling to provide a complete wave analysis suite.
Price Action TrendPrice Action Trend measures trend *strength* by modelling where price sits inside a smoothed price-action channel, then applying RSI to that โchannel positionโ. It doesnโt predict, but shows what price is doing now.
This indicator uses the same calculations as my old "Price Action Trend Overlay" script, which I'd published Protected for some forgotten reason. Some users have asked for the source code, so I'm republishing it as open source. I've also tidied up the code a bit, added some visualisations of elements that were present but never drawn, such as the PA channels themselves, drawn the trend metric in a separate pane, added alerts, and made some more configuration options available.
๐ฉ HIGHLIGHTS
โญ Trend colouring on the main chart.
โญ A trend line drawn in its own pane.
โญ Overbought/oversold markers on the main chart, derived from the same PA calculations.
โญ Optional โPrice Averageโ line and channel colouring.
๐ฉ WHATโS UNIQUE ABOUT THE TREND CALCULATION
Most โtrend RSIโ tools run RSI on close, or on some moving average of price.
This script runs RSI on a *normalised* price-action series:
- We build a smoothed channel from RMA(high) and RMA(low).
- We normalise price against that channel (relative to the channel midpoint and width).
- We run RSI on that normalised series (default 14, but optionally matched to the Trend Lookback Period).
Using highs and lows instead of close or OHLC4 makes the trend value sensitive to *range shape* and *asymmetry* (big wicks, uneven extremes), not just the centre of the candle.
As compared to a simple RSI (also included simply for comparison), this PA Trend tends to decay faster and recovers faster.
๐ฉ HOW TO USE IT (PRACTICAL)
โญ Trend pane
- Treat the line as a measure of *trend strength*, not a prediction.
- Neutral zone = trend is not convincingly bullish or bearish.
- Strong moves away from neutral = โtrend has convictionโ.
โญ Overbought / oversold markers
Overbought/oversold doesnโt mean โreversal right nowโ.
It means the *rate of directional change* is unsustainably strong.
- Overbought in an uptrend: trend is overheating. Tighten long stops; expect rest/retrace/reversal once overheating ends.
- Oversold in an uptrend: the countertrend down is likely exhausting. Potential โbuy the dipโ context.
- Reverse the above for downtrends.
This works on any market, any timeframe. Lower timeframes will be choppier.
Donโt trade these signals blindly; use market structure, S/R, and your other tools.
๐ฉ SETTINGS (OVERVIEW)
๐ฆ Settings
- Pane Plot Mode: choose whether the pane shows Trend or Overbought/Oversold series.
- Trend Lookback Period: channel smoothing for the trend model (higher = smoother, lower = faster).
- Show Overbought & Oversold Shapes: show/hide the triangles on the main chart.
- Overbought/sold Lookback Period: channel smoothing for OB/OS detection (lower = more sensitive).
- Overbought/sold Adaptive Length: smoothing for the dynamic OB/OS levels (lower = more adaptive).
๐ฆ Display
- Transparency for the candle colour: bar colour transparency (Gradient mode).
- Trend Colour Mode: Classic vs strength-based Gradient.
๐ฆ Price Average
- Show Price Average: show/hide the OHLC4 average price line.
- Lookback: length for the price average.
- Smoothing: SMA / EMA / RMA.
- Colour Channel by Price Average: neutral/green/red channel colouring depending on whether the price average is inside/above/below the channel.
๐ฆ Advanced
- Trend Upper/Lower Neutral Threshold: neutral zone bounds (also used by the dynamic OB/OS logic).
- PA RSI Length: choose Fixed (14) or match the Trend Lookback Period.
- Show RSI (close): optional โreference RSIโ plot with length.
๐ฉ ALERTS
There are built-in alert conditions for this indicator:
- Overbought PA Trend: triggers when the PA overbought condition is true.
- Oversold PA Trend: triggers when the PA oversold condition is true.
- Trend flips up: triggers when the trend changes from down to up (ignores any intervening neutral bars).
- Trend flips down: triggers when the trend changes from up to down (ignores any intervening neutral bars).
- Lost overbought: triggers on the first red candle after the overbought condition ends (set this alert on close to avoid false alerts).
- Lost oversold: triggers on the first green candle after the oversold condition ends (set this alert on close to avoid false alerts).
๐ฉ REPAINTING / CALCULATION NOTES
According to my understanding, this indicator does not repaint (it does not go back and alter closed bars).
However, while the current candle is forming, values that depend on the current price will update in real time. Once the candle closes, they are fixed.
The overbought/oversold calculations use Williams fractal-style confirmation logic, which cannot be known until some bars afterwards.
This affects when the OB/OS levels update, but new confirmations only affect future calculations, not the past.
๐ฉ CREDITS
The idea for using smoothed highs/lows to create a price-action channel came from my humble trading mentor. All the code is my own.
๐ฉ DISCLAIMER
No indicator is a substitute for knowing what youโre doing.
By using this indicator you agree that it might not do what you or anyone else expects.
You retain full responsibility for your trading at all times.
Before trading with actual money, first make sure your risk management is professional-level.
Price Action Assistant V2All in One Assistant for Price Action Traders
1-Calculates and Displays the Opening Gap Relative to ADR.
2-Information Table Showing Yesterdayโs and Todayโs Range Plus Average Bar Range.
3-Displays Micro-Gaps (Fair Value Gaps).
4-Advanced Bar Numbering With an Option to Display at Custom Intervals, Using 9 or 12 Bar Color Multiples to Visualize the Closure of 45-Minute or 60-Minute Candles on an M5 Chart.
5-Plots Previous High, Low, and Close Levels Plus the Current Session Open.
6-Displays a 3-Bar Micro Channel in the Same Direction.
7-Includes Two Different Moving Averages.
8-Displays the Daily Date and Day-of-Week Label for Easy Journaling and Chart Archiving.
ATR Momentum StatusThis indicator measures whether volatility (ATR) is increasing or decreasing, and classifies momentum strength into four clear states:
- WEAK
- STRONG
- EXPANSION
- DECREASING
It helps traders avoid fake moves and only trade when real participation enters the market, especially when used together with FVG CE Acceptance (SMC).
ATR Momentum States (Very Important)
Status Meaning Market Condition
WEAK Small ATR increase Low participation
STRONG Healthy ATR increase Real buyers/sellers entering
EXPANSION Large ATR spike Aggressive momentum / breakout
DECREASING ATR falling Momentum dying / trap risk
What This Indicator Is NOT
โ Not a buy/sell signal
โ Not direction bias
โ Not entry by itself
๐ It is a trade quality filter
โ
Best Use Case (SMC / FVG Traders)
This indicator shines when combined with:
- FVG
- CE (Consequent Encroachment)
- Liquidity Sweep
- Acceptance Candle
Important Risk Filter (Golden Rule):
ATR Status Trade Quality
EXPANSION + Acceptance โญโญโญโญโญ (Best)
STRONG + Acceptance โญโญโญโญ
WEAK + Acceptance โ Avoid
DECREASING โ No Trade
Why This Works (Conceptually):
- FVG CE acceptance = price is accepted
- ATR expansion = participation is real
- Together = institutional momentum, not retail noise
VWAP Trend GuardVWAP Trend Guard โ Built by CodaPro.ai x ARiS
Prompt-Based Strategy Creation
โI have FOMO and want to buy gold and oil. I donโt have a lot of trading experience โ I just want to make 1โ3% profit every month. Can you build me anything so that I can trade MCG and MCL?โ
That was the only input.
From that simple, human, emotionally honest prompt โ ARiS, the AI strategy copilot inside CodaPro.ai, generated a fully automated trading strategy built for real markets.
This wasnโt hand-coded. It wasnโt based on a template.
It was built from scratch โ by AI โ using smart defaults, embedded risk logic, and live-execution hooks.
Prompt Interpretation by ARiS
To translate that raw FOMO-fueled question into structured trading logic, ARiS asked back:
โShould we trade with or against the trend?โ โ Let the AI decide
โShould we confirm trades with VWAP?โ โ Let the AI decide
โShould this be long-only or also short?โ โ Both
โWhat stop loss method should I use?โ โ User didnโt know what a stop loss is
โHow much risk per trade?โ โ 1%
โShould I auto-close trades by end of day?โ โ Yes
โWhat timeframe should we trade?โ โ Whichever is safest for a beginner
Based on that, ARiS produced a complete day-trading strategy, wrapped in clean logic, with:
+ Trend-following entry using EMA + VWAP
+ ATR-based stop, target, and optional trailing stop
+ Risk-based position sizing (auto-calculated by equity %)
+ End-of-session flattening (no overnight exposure)
+ Full webhook alert system for live broker automation
Strategy Profile
Category Details
Markets MCL (Micro Crude), MGC (Micro Gold)
Timeframe Intraday (5โ15 minute default)
Style Day trading (flat by session end)
Direction Long & Short
Indicators Used EMA(20), EMA(50), VWAP, ATR
Position Sizing Based on 1% equity risk
Stops & Targets ATR-multiplied SL/TP + optional trailing
Exit Triggers Target hit, stop loss hit, trend flip, or session end
Automation Includes JSON webhooks for entry/exit signals
Platform TradingView Pine Script v6
Disclaimer: Slippage, Backtesting, and Live Use
This strategy runs in TradingViewโs strategy tester, where backtested fills assume ideal executions.
In real-world trading, you may encounter:
Slippage (especially on fast contracts like MCL)
Missed limits or early stop-outs
Trailing stop misfires or duplicates
These can be addressed by regenerating the strategy with:
Buffer logic
Slippage simulation
Broker-linked execution systems (e.g., Tradovate or IBKR)
The real magic is that this strategy didnโt come from a coder. It came from a conversation.
You say what you want โ ARiS builds it. Instantly. Safely. Logically.
Who This Is For
This strategy is ideal for:
New traders who want a safe, day-only framework
Anyone trading gold (MGC) or oil (MCL) with micro contracts
Beginners who want to learn trading logic from what ARiS built
Professionals who want to convert human prompts into real algo logic
ICT Entry V1 [TS_Indie]๐ Description โ ICT Entry V1
This trading system is based on price action, combined with FVG, iFVG, and liquidity, and it uses the mechanism from the indicator โSmallest Swing โ to validate swings that become liquidity.
โ๏ธ Core Logic & Working Mechanism
I wonโt explain FVG in detail, as most traders are already familiar with it.
Letโs focus on the mechanism of iFVG instead.
The concept of iFVG is based on a supply-to-demand flip and a demand-to-supply flip within an FVG zone.
For an iFVG to be confirmed, the candle close must break through the FVG.
A wick alone does not count as a valid iFVG confirmation.
The confirmation of market structure swings uses a pivot length mechanism combined with price action.
It validates a swing by detecting a structure break formed by candles making new highs or new lows.
๐ Buy Setup
1.Liquidity sweep on the demand side, with price closing above the liquidity level.
2.A demand zone is formed as FVG and iFVG, where iFVG is located above FVG.
3.The gap between the upper box of FVG and the lower box of iFVG must be within the defined Min and Max range.
4.Market Structure must be in a Bullish trend.
5.Place a Pending Order at the upper box of FVG and set Stop Loss at the lower box of FVG (Entry and Stop Loss can be adjusted using Entry Zone and ATR-based Stop Loss).
๐ Sell Setup
1.Liquidity sweep on the supply side, with price closing below the liquidity level.
2.A supply zone is formed as FVG and iFVG, where iFVG is located below FVG.
3.The gap between the lower box of FVG and the upper box of iFVG must be within the defined Min and Max range.
4.Market Structure must be in a Bearish trend.
5.Place a Pending Order at the lower box of FVG and set Stop Loss at the upper box of FVG (Entry and Stop Loss can be adjusted using Entry Zone and ATR-based Stop Loss).
โ๏ธ Liquidity Sweep Conditions
โฏ When a liquidity sweep occurs on the demand side, the system will start looking for Buy Setup conditions.
โฏ When a liquidity sweep occurs on the supply side, the system will immediately switch to looking for Sell Setup conditions.
โฏ The system will always prioritize the most recent liquidity sweep and search for setups based on that direction.
โฏ The liquidity sweep condition will be invalidated when price closes back below (for demand sweep) or above (for supply sweep) the most recently swept liquidity level.
โญ Pending Order Cancellation Conditions
A Pending Order will be canceled under the following conditions:
1.A new Price Action signal appears on either the Buy or Sell side.
2.When Time Session is enabled, the Pending Order is canceled once price exits the selected session.
๐น Order Management Rule
When there is an active open position, the indicator restricts the creation of new Pending Orders to prevent overlapping positions.
โ ๏ธ Disclaimer
This indicator is designed for educational and research purposes only. It does not guarantee profits and should not be considered financial advice. Trading in financial markets involves significant risk, including the potential loss of capital.
๐ฅ Community Sharing
If you find parameter settings that work well or produce strong statistical results, feel free to share them with the community so we can improve and develop this indicator together.
Institutional Alpha Vector | D_QUANTInstitutional Alpha Vector | D_QUANT
Overview
The Institutional Alpha Vector (IAV) is an enterprise-grade composite trend ecosystem designed to identify high-probability institutional order flow. Unlike standard indicators that rely on a single data point, the IAV synthesizes Price Action, Momentum Physics, Volatility Regimes, and Volume Flow into a single, unified Alpha Vector.
This tool is not merely a signal generator, it is a market regime filter. It visualizes the consensus of four distinct quantitative models through a sophisticated "Electric Conduit" rendering engine, allowing traders to visualize the strength, direction, and volatility of the current trend instantly.
The Quantitative Engine
The IAV constructs its signal by calculating a weighted consensus across four distinct modules. These modules work in synergy to filter out noise and highlight sustained institutional moves.
MODULE 1 :: PRICE_FILTER : A highly responsive Hull Moving Average that serves as the "Spine" of the trend, reducing lag while maintaining smoothness.
MODULE 2 :: VOLATILITY_REGIME : A dynamic envelope that adjusts to market noise. This creates the "Conduit" widthโexpanding during high-volatility expansion and contracting during consolidation.
MODULE 3 :: MOMENTUM_PHYSICS : A directional movement filter that ensures signals are only generated when trend strength exceeds a specific threshold (default: 20).
MODULE 4 :: INSTITUTIONAL_FLOW : A volume-weighted money flow engine that confirms if price movement is supported by actual volume (Smart Money participation).
The Alpha Vector
The core of this system is the Alpha Vector calculation. The indicator normalizes the outputs of all active modules into a composite score between -1.0 (Strong Bearish Consensus) and +1.0 (Strong Bullish Consensus).
Bullish Entry: When the Alpha Vector crosses above the Long Threshold (Default: 0.1).
Bearish Entry: When the Alpha Vector crosses below the Short Threshold (Default: -0.1).
Neutral/Cash: When the consensus is weak or conflicting, the ribbon turns Grey/Flat, advising the trader to remain on the sidelines.
// ==========================================
// 3. SIGNAL AGGREGATION
// ==========================================
calc_composite_matrix() =>
_hma = calc_hma_series(hma_src, hma_len)
_hma_sig_v = 0
if ta.crossover(close, _hma)
_hma_sig_v := 1
else if ta.crossunder(close, _hma)
_hma_sig_v := -1
_adx_sig_v = calc_adx_state(adx_len, adx_thresh)
_cmf_sig_v = calc_cmf_state(cmf_len)
_rma_sig_v = calc_rma_filter_state(hma_src, lookback, atr_len)
var int s_hma = 0
var int s_adx = 0
var int s_cmf = 0
var int s_rma = 0
if _hma_sig_v != 0
s_hma := _hma_sig_v
if _adx_sig_v != 0
s_adx := _adx_sig_v
if _cmf_sig_v != 0
s_cmf := _cmf_sig_v
if _rma_sig_v != 0
s_rma := _rma_sig_v
= request.security(syminfo.ticker, "D", calc_composite_matrix(), lookahead=barmerge.lookahead_on)
float alpha_score_num = 0.0
int alpha_score_den = 0
if use_hma
alpha_score_num += d_hma
alpha_score_den += 1
if use_adx
alpha_score_num += d_adx
alpha_score_den += 1
if use_cmf
alpha_score_num += d_cmf
alpha_score_den += 1
if use_rma
alpha_score_num += d_rma
alpha_score_den += 1
alpha_vector = alpha_score_den > 0 ? alpha_score_num / alpha_score_den : 0.0
Visual Intelligence: The "Electric Conduit"
The visualization logic uses a Differential Gradient Model to represent market energy:
The Spine (Core): The solid, bright center line represents the immediate trend direction.
The Conduit (Fill): The gradient fill represents the Volatility Regime.
Thick/Wide Ribbon: High Volatility (Expansion Phase).
Thin/Tight Ribbon: Low Volatility (Contraction/Squeeze Phase).
Bar Coloring: Native bar coloring is integrated to instantly align price action with the Alpha Vector, removing the need for mental processing.
Settings
The indicator is fully customizable via a "Compute-Style" configuration menu:
MODULES: Toggle specific engines (HMA, ADX, CMF, RMA) on or off to adapt the Alpha Vector to your specific asset class (Crypto, Forex, or Indices).
THRESHOLDS: Adjust sensitivity for Long/Short entries.
VISUALS: Customize the "Core" and "Edge" colors to match your charting theme.
โAlpha is not about predicting the future. It is about aligning with the mathematical consensus of the present.โ โ D_QUANT
Volume MAs Cloud Trend | Lyro RSVolume MAs Cloud Trend is a volume-weighted trend-following indicator designed to identify market direction, momentum strength, and dynamic trade management directly on price. By combining volume-adjusted moving averages, adaptive deviation bands, and an integrated ATR trailing stop, it delivers clear visual trend structure and actionable signals in a single overlay.
Key Features
Volume-Adjusted Moving Average
Uses a normalized formula: (Price ร Volume) MA รท Volume MA, ensuring high-participation price moves carry greater influence. Supports 16+ MA types, with VWMA handled natively.
Deviation Band Cloud
Upper and lower bands are built from standard deviation over the MA length, scaled by independent positive and negative multipliers to adapt to volatility.
Cloud & Trail Modes
Cloud Mode visualizes trend structure using a filled band cloud.
Trail Mode switches to an ATR-based trailing stop for trend management.
Automatic Trend Signals
Bullish signals trigger when price crosses above the positive band.
Bearish signals trigger when price crosses below the negative band.
ATR Trailing Stop (Built-In)
A volatility-adjusted trailing stop initializes on each new trend and updates only in the trade direction, helping lock in gains while staying with the trend.
Custom Visuals & Palettes
Choose from Classic, Mystic, Accented, or Royal palettes, or define your own bullish and bearish colors. Includes MA glow, trend cloud fill, and trend-colored candles.
How It Works
MA Construction
Applies the selected moving average to volume-weighted price (or VWMA when selected) to create a participation-aware trend baseline.
Band Calculation
Calculates rolling standard deviation and offsets it using user-defined multipliers to form adaptive upper and lower trend bands.
Trend Detection
Crosses above the upper band confirm bullish momentum.
Crosses below the lower band confirm bearish momentum.
Trailing Stop Logic
On each new trend signal, an ATR-based trailing stop is initialized and dynamically updated in the trend direction.
Visual Synchronization
MA, cloud, trailing stop, and candles all change color in real time to reflect the current trend state.
Practical Use
Trend Confirmation
Sustained price action outside the cloud indicates strong directional momentum.
Breakout Identification
Band crosses highlight potential trend starts, especially when aligned with volatility expansion.
Trade Management
Trail Mode provides objective, volatility-based exits for trend-following strategies.
Quick Market Scanning
Color-coded candles and cloud structure allow fast visual assessment across multiple symbols and timeframes.
Customization
Adjust MA type and length to control responsiveness
Tune band multipliers for volatility sensitivity
Switch between Cloud and Trail modes depending on strategy
Customize color schemes to match your chart layout
โ ๏ธ Disclaimer
This indicator is intended for technical analysis and educational purposes only. It does not guarantee results and should be used alongside proper risk management and additional analysis. The creator is not responsible for any financial decisions made using this tool.
Chainbey AI - Pattern Memory Table (v2)Chainbey AI โ Pattern Memory & Market Outcome Table
Chainbey AI Pattern Memory is an advanced market behavior reference indicator designed to help traders understand how the current price structure compares with historical market patterns.
Instead of repainting signals or forcing trades, this tool focuses on context awareness:
It analyzes the current price pattern range
Matches it against selected historical price structures
Displays how price reacted after similar patterns in the past
Shows an estimated directional outcome and momentum strength
All results are presented in a lightweight on-chart table, keeping the chart clean and readable.
๐ What this indicator shows
๐
Matched historical date & time
๐ Expected direction (UP / DOWN / FLAT)
๐ Historical move percentage
โก Estimated momentum strength
๐ง Similarity score (lower = closer pattern match)
๐ฏ How traders use it
Confirm bias before entering a trade
Understand historical reactions at similar market structures
Avoid emotional decisions by referencing past behavior
Combine with support/resistance, volume, RSI, or trend tools
โ ๏ธ This indicator does NOT generate buy/sell signals.
It is a decision-support & market insight tool, best used alongside your own strategy.
๐งฉ Best use cases
Crypto, Forex, Commodities, Indices
Intraday & swing trading
Market structure and pattern-based strategies
Bias confirmation before entries
โ ๏ธ Disclaimer
This indicator is for educational and analytical purposes only.
It does not guarantee future performance and should not be considered financial advice.
Friendly IT Algo System_2026Friendly IT Algo System V1 is a comprehensive trend-following system that combines SMC (Smart Money Concepts) order blocks with powerful volume filters.
๐ง Key Features:
Smart Trend Signals: EMA 7/20 crossover filtered by market energy.
SMC Order Blocks: Automated key supply/demand zones.
Regular Divergence: RSI-based trend reversal tracking.
Auto Fib & Pivot: Displays 0.618 golden level and pivot S/R.
Sideways Filter: ADX-based gray background to avoid choppy markets.
Universal Market Rangesโ OVERVIEW
Universal Market Ranges is a universal market indicator that, within a single tool, identifies trend direction and regime, shows price movement ranges relative to volatility, can be used as dynamic SL and TP levels, and offers optional signals generated separately for each zone.
The indicator is based on a smoothed moving average with an ATR-based significance filter and multi-level volatility bands, which organize the market into logical zones of increasing importance.
Instead of generating isolated signals, Universal Market Ranges provides full market context, allowing traders to make their own informed decisions.
โ CONCEPT
The core idea behind the indicator is full configurability, which allows it to be used for a wide range of trading purposes.
Depending on the settings and visibility of individual elements, Universal Market Ranges can function as:
- a complete trading system
- a clean trend indicator
- a single volatility channel
- a standalone filtered moving average
- a zone-based structure for position management (SL / TP)
By disabling selected bands, adjusting their multipliers, or modifying fill transparency, traders can tailor the indicator precisely to their trading style, market, and timeframe.
Moving Average Logic
The applied moving average is not classically weighted.
ATR acts here as a significance filter, determining whether a given price change is meaningful enough to affect the average.
When the price deviation from the MA exceeds a defined volatility threshold (ATR ร multiplier), the moving average updates normally.
When price changes are too small and remain within market noise, the moving average remains unchanged.
As a result, the MA reacts only to significant price movements, ignoring minor fluctuations and consolidations.
โ ZONE STRUCTURE
- Trend Band (TB)
A channel used to define the trend regime.
- price breaking above the TB โ trend shifts to bullish
- price breaking below the TB โ trend shifts to bearish
The Trend Band can be visually disabled, while the trend logic continues to operate in the background.
- wider TB โ less sensitive, fewer and later trend changes
- narrower TB โ more sensitive, more frequent regime changes
- Inner Band (IB)
The primary zone of acceptable price deviation from the moving average.
- represents equilibrium and โcomfortableโ price movement
- Outer Band 1 (OB1)
A zone of clear market extension.
- first sign that price is moving away from equilibrium
- often used as a partial profit-taking level
- Outer Band 2 (OB2)
An extreme zone.
- very strong deviation from the moving average
- statistically rare price movements
- often marks the final phase of large impulses
โ FEATURES
Data Sources:
- Filtered moving average (SMA / EMA / RMA / WMA)
- ATR as the volatility measure for all zones
- Candle coloring based on the current trend regime
Signals (optional):
- Zone exit and return signals (IB / OB1 / OB2)
- Moving average cross in trend direction
- Trend regime change (TB breakout)
Visual Elements:
- Trend-based candle coloring
- Smooth fills between zones
- Labels with current price levels on the right side of the chart
Alerts:
- IB Breakout / Return
- OB1 & OB2 Exit / Return
- MA Cross in trend direction
- Trend Change (TB)
โ HOW TO USE
Adding the Indicator
Paste the code into the Pine Editor or search for
โUniversal Market Rangesโ on TradingView.
Key Settings:
- MA Length โ moving average sensitivity
- ATR Length โ band stability and width
- Minimum Deviation (ATR) โ moving average update filter
โโโ lower values: MA updates more frequently but filters less noise
- Band Multipliers โ define the significance of each zone
- MA Smoothing Type โ determines the reaction character
โ USE CASES
Universal Market Ranges can be used for:
- trend trading โ entries on trend regime changes
- defining dynamic SL and TP levels
- contrarian strategies โ entries on price returns to zones
- analyzing price range and movement quality
Zone interpretation:
- price near the MA โ market equilibrium
- price in OB1 โ clear extension
- price in OB2 โ extreme deviation from equilibrium
โ NOTES
- The indicator works on all instruments and timeframes
- Best results are achieved by adapting band multipliers to the market
- Can be combined with other technical analysis methods such as Fibonacci levels, FVG, and pivot levels
- This is not a signal-only system โ it is a context-based analytical tool
Vdubus Momentum Lock (Overlay)The Top Indicator: "Vdubus Momentum Lock (Overlay)"
The Bottom Indicator: "Vdubus TrixStoch HMA"
Purpose: Precision timing. It shows you exactly when the pullbacks happen.
The Trigger Zones (48 / 52):
Buy Zone (Below 48): When the Blue line dips into this zone, the market is "reloading" for a buy.
Sell Zone (Above 52): When the Blue line pops into this zone, the market is "reloading" for a sell.
The Confluence Circles:
Green Dot ("Dip"): Appears only if HMA is Green AND Trix is Rising. This filters out bad buy signals during downtrends.
Red Dot ("Rally"): Appears only if HMA is Red AND Trix is Falling. This filters out bad sell signals during uptrends.
3. The Strategy:
A. Entry Logic (The Sniper)
Trend Check: Is HMA 100 Green or Red?
Momentum Check: Is TRIX 34 agreeing with the HMA?
Trigger:
Buy: Stoch K crosses under 48.
Sell: Stoch K crosses over 52.
Pulse Re-Entry: If Trix momentum was lost briefly but snaps back into alignment, re-enter immediately (even without a Stoch signal).
B. Exit Logic (The Safety)
Momentum Exit: If the TRIX slope flips against you (e.g., you are Long, but Trix turns down), CLOSE IMMEDIATELY.
Hard Deck (HMA Flip): If the HMA line changes color, CLOSE EVERYTHING. This is the emergency brake.
Apex Adaptive TrailApex Adaptive Trail: Adaptive Volatility Trend System
This custom trend-following indicator improves on standard SuperTrend implementations by addressing two key weaknesses: excessive whipsaws during high volatility and false signals in ranging markets.
Core Logic:
- Synthetic Heikin Ashi values are calculated internally (without changing chart candles) to provide smoother source data for trend detection.
- ATR-based trailing stop with adaptive multiplier: dynamically adjusts between 0.8x and 1.5x the base factor based on current volatility (ATR / 50-period SMA of ATR). Widens in volatile conditions, tightens in quiet markets.
- Weighted Confluence Score (0-100%): Combines four independent filters, each contributing 25%:
โข Price position relative to 21-period EMA (trend alignment)
โข ADX > 20 (momentum strength)
โข Choppiness Index < 60 (trending vs ranging detection)
โข Alignment with Daily EMA(50) trend direction
Signals are only generated when price crosses the adaptive trail AND the confluence score exceeds 75% (standard) or 90% (MAX ๐ฅ ultra-strong). This combination significantly reduces low-quality entries compared to traditional SuperTrend crossovers.
Key Features:
- Dynamic confidence cloud (opacity based on score)
- Real-time dashboard showing volatility state, active filters, trend bias, and estimated historical win rate
- Optional dynamic/fixed profit targets
- Fully customizable filters and adaptive behavior
Usage: Best on 15m to 4H timeframes for trend-following strategies (Crypto, Forex, Indices). Enter on APEX signals, use trail as stop-loss, TP lines for partial exits.
This script integrates established concepts into a unique adaptive framework with volatility-responsive risk management and multi-filter validation.
Disclaimer: For educational and analysis purposes only. Past performance is not indicative of future results. Always use proper risk management.
"This script combines established indicators (ATR trailing, ADX, Choppiness Index, EMA, MTF) into a unique adaptive system with dynamic volatility adjustment and weighted confluence scoring โ features not found together in standard SuperTrend variations."
Vdubus TrixStoch + HMA FilterThe Bottom Indicator: "Vdubus TrixStoch HMA"
Purpose: Precision timing. It shows you exactly when the pullbacks happen.
The Top Indicator: "Vdubus Momentum Lock (Overlay)"
The Trigger Zones (48 / 52):
Buy Zone (Below 48): When the Blue line dips into this zone, the market is "reloading" for a buy.
Sell Zone (Above 52): When the Blue line pops into this zone, the market is "reloading" for a sell.
The Confluence Circles:
Green Dot ("Dip"): Appears only if HMA is Green AND Trix is Rising. This filters out bad buy signals during downtrends.
Red Dot ("Rally"): Appears only if HMA is Red AND Trix is Falling. This filters out bad sell signals during uptrends.
3. The Strategy:
A. Entry Logic (The Sniper)
Trend Check: Is HMA 100 Green or Red?
Momentum Check: Is TRIX 34 agreeing with the HMA?
Trigger:
Buy: Stoch K crosses under 48.
Sell: Stoch K crosses over 52.
Pulse Re-Entry: If Trix momentum was lost briefly but snaps back into alignment, re-enter immediately (even without a Stoch signal).
B. Exit Logic (The Safety)
Momentum Exit: If the TRIX slope flips against you (e.g., you are Long, but Trix turns down), CLOSE IMMEDIATELY.
Hard Deck (HMA Flip): If the HMA line changes color, CLOSE EVERYTHING. This is the emergency brake.
Linear Regression Blend Candles [Adaptive]Regression Blend Candles
A hybrid candle system that blends standard OHLC candles with linear regression candles at a user-defined ratio. The result is a cleaner price representation that filters noise while preserving market structure. Adaptive modes automatically adjust the blend based on market conditions.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐๐ข๐ช ๐๐ง ๐ช๐ข๐ฅ๐๐ฆ
The indicator calculates linear regression values for each OHLC component over a lookback period, then blends them with regular candle values based on your blend percentage. At 0% you see pure price action; at 100% you see full regression candles; anything between gives you a mix.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐๐๐๐ง๐จ๐ฅ๐๐ฆ
โฝ Blend Control
Set a fixed blend percentage or enable adaptive mode. The blend slider lets you dial in exactly how much smoothing you wantโuseful for finding the sweet spot between noise reduction and signal responsiveness.
โฝ Adaptive Blend Modes
Let the market decide the blend ratio:
โข ATR โ Higher volatility increases LR blend to filter chop
โข StdDev โ Similar concept using standard deviation
โข ATR + StdDev โ Combines both volatility measures
โข R-Squared โ Increases blend when price fits a linear trend well (high Rยฒ = clean trend = trust the regression more)
โข Rยฒ + ATR โ Combines trend quality with volatility for a balanced approach
โฝ R-Squared Thresholds
Fine-tune when the Rยฒ adaptive mode kicks in. Below the low threshold, blend stays at minimum. Above the high threshold, blend reaches maximum. This prevents over-smoothing during choppy, non-linear price action.
โฝ Post-LR Smoothing
Apply additional smoothing to the regression values before blending:
โข ALMA โ Arnaud Legoux Moving Average with offset/sigma control
โข Kalman โ Adaptive filter that balances responsiveness and smoothness
โข KAMA โ Kaufman Adaptive MA that adjusts to market efficiency
โฝ Advanced LR Mode
Enable weighted regression with exponential decay (emphasizes recent bars) and lag correction (extrapolates based on velocity to reduce inherent LR lag).
โฝ Ghost Candles
Display faded regular candles behind the blended candles to visualize the difference and spot divergences between raw price and the smoothed representation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ๐จ๐๐๐๐ฆ๐ง๐๐ ๐ฆ๐๐ง๐จ๐ฃ๐ฆ
๐ญ. ๐ง๐ฟ๐ฒ๐ป๐ฑ ๐๐น๐ฎ๐ฟ๐ถ๐๐ (๐ฆ๐๐ถ๐ป๐ด ๐ง๐ฟ๐ฎ๐ฑ๐ถ๐ป๐ด)
โข LR Lookback: 14
โข Blend %: 60-70%
โข Smoothing: None
โข Ghost Candles: On
Use for cleaner swing identification. The higher blend percentage filters out intrabar noise while ghost candles let you see when price deviates significantly from the smoothed trendโpotential reversal or continuation signals.
๐ฎ. ๐๐ฑ๐ฎ๐ฝ๐๐ถ๐๐ฒ ๐ก๐ผ๐ถ๐๐ฒ ๐๐ถ๐น๐๐ฒ๐ฟ (๐๐ป๐๐ฟ๐ฎ๐ฑ๐ฎ๐)
โข LR Lookback: 10
โข Adaptive Blend: On
โข Mode: Rยฒ + ATR
โข Min/Max Blend: 25% / 75%
โข Rยฒ Thresholds: 0.3 / 0.8
Ideal for intraday trading on volatile instruments. The blend automatically increases during clean trends (high Rยฒ) and volatile moves (high ATR), then backs off during choppy consolidation to keep you closer to raw price action when the regression isn't fitting well.
๐ฏ. ๐จ๐น๐๐ฟ๐ฎ-๐ฆ๐บ๐ผ๐ผ๐๐ต (๐๐ถ๐ด๐ต๐ฒ๐ฟ ๐ง๐ถ๐บ๐ฒ๐ณ๐ฟ๐ฎ๐บ๐ฒ ๐๐ถ๐ฎ๐)
โข LR Lookback: 20
โข Blend %: 80%
โข Smoothing: ALMA (offset 0.85, sigma 6)
โข Advanced LR: On (decay 0.9, lag correction 1.5)
Maximum smoothing for identifying higher timeframe directional bias. The combination of longer lookback, high blend, ALMA smoothing, and lag correction creates a highly filtered view that cuts through noise. Best used on 4H+ charts or as a trend filter for lower timeframe entries.






















