ATR Trailing Stop with Entry Date & First-Day MultiplierATR based trailing stop based on a X post of Aksel Kibar.
ATR
THAIT Moving Averages Tight within # ATR EMA SMA convergence
THAIT(tight) indicator is a powerful tool for identifying moving average convergence in price action. This indicator plots four user-defined moving averages (EMA or SMA). It highlights moments when the MAs converge within a user specified number of ATRs, adjusted by the 14-period ATR, signaling potential trend shifts or consolidation.
A convergence is flagged when MA1 is the maximum, the spread between MAs is tight, and the price is above MA1, excluding cases where the longest MA (MA4) is the highest. The indicator alerts and visually marks convergence zones with a shaded green background, making it ideal for traders seeking precise entry or exit points.
Advanced Signals Pro with MTTDAdvanced Signals Pro with MTTD: Pine Script v6 TradingView indicator (overlay=true). Generates classic/strong buy/sell signals via StochRSI, volume, EMA filters, optional RSI/2SD. MTF support, TP/SL levels (ATR-based; TP not accurate—fix soon), whale alerts, S/R zones (pivot boxes), equilibrium bands. Modified MTTD dashboard (top-right, black text/dark border) for multi-TF EMA trends (1m-D/W, values/indicators). Bar coloring, alignment alerts. Thanks to AlexFuch for original TTD.
EdgeBox: MA DistanceEdgeBox: MA Distance adds a clean HUD showing the percentage distance from the current close to your selected moving averages (default: SMA 100/150/200/250). Values are positive when MAs are above price and negative when below. Also includes ATR% (volatility) and RSI(14). Fully customizable: corner position, font sizes, and text/background colors. A fast context panel for trend and volatility at a glance.
Smart ATR - Position Sizing for YM Dow JonesSmart ATR includes all basic functionality of ATR + an EMA of ATR. The EMA can give you a baseline or long-term perspective of what ATR normally is. The built-in, automatic sizing tool will display a recommended number of contracts each bar, based upon a multiple of the current ATR. Supports fractional tick values for MYM by clicking the down arrow. Supports fractional ATR values, such as 1.5x. Updates contract sizing on each new bar. This indicator will maintain your RR as volatility increases and decreases. Currently only optimized for YM, will publish other versions if there is an interest.
Market Profile based Support/ResistanceBrought to you by Stock Kaka - Your trading sidekick 🦜📈 - pay your visit at stockkaka.my.canva.site or find us on X #StockKaka
📊 What This Indicator Does
Ever wish the market would just tell you where the important levels are? Well, buckle up, because this indicator is like having a market whisperer on your chart!
Based on cutting-edge hierarchical market structure analysis (fancy words for "smart support and resistance"), this bad boy uses ATR-based Directional Change to identify turning points that actually matter. No more guessing where price might bounce or break—let the algorithm do the heavy lifting while you sip your coffee ☕
🎯 The Five Levels Explained (From Noisy to Mighty)
Think of these levels like a pyramid of importance. Level 0 is your chatty friend who notices everything, while Level 4 is the wise oracle who only speaks when it really matters.
Level 0: The Hyperactive Scout 🐿️
What it does: Catches every little zigzag in price using ATR confirmation
Significance: Very short-term, intraday noise
Best for: Scalpers who love action every few minutes
Trader Type: "I refresh my chart 100 times an hour"
Reliability: ⭐⭐ (It's enthusiastic but easily excitable)
Level 1: The Day Trader's Buddy 🎯
What it does: Filters Level 0 to show minor swing highs/lows
Significance: Intraday support/resistance, hourly structure
Best for: Day traders, scalpers looking for better entries
Trader Type: "I close all positions before dinner"
Reliability: ⭐⭐⭐ (Solid for quick moves)
Level 2: The Swing Trader's Sweet Spot 🎪
What it does: Identifies multi-day to weekly structure points
Significance: Intermediate support/resistance where battles happen
Best for: Swing traders, position traders
Trader Type: "I hold for days, not minutes"
Reliability: ⭐⭐⭐⭐ (Now we're talking real structure!)
Level 3: The Big Money Magnet 💰
What it does: Shows major market structure—where the whales play
Significance: Weekly to monthly levels, institutional zones
Best for: Position traders, trend followers
Trader Type: "I think in weeks and months, not hours"
Reliability: ⭐⭐⭐⭐⭐ (These levels have gravitational pull!)
Level 4: The Market Prophet 🔮
What it does: Reveals ultra-major turning points (think: quarterly/yearly pivots)
Significance: Long-term macro structure, investment-grade levels
Best for: Investors, long-term position traders
Trader Type: "Warren Buffett is my spirit animal"
Reliability: ⭐⭐⭐⭐⭐⭐ (When these break, market's rewrite the story)
⚙️ Parameter Setup Guide (The Secret Sauce)
The magic ingredient is the ATR Lookback Period—think of it as teaching the indicator your timeframe's "dialect." Here's your cheat sheet:
2-Minute Chart ⚡
ATR Lookback: 720 (24 hours of 2-min bars)
Who uses this: Crypto degens, futures scalpers, adrenaline junkies
Show Levels: L0, L1, L2 (L3+ won't budge much)
Pro Tip: Enable only L1 and L2 or your chart will look like spaghetti
5-Minute Chart 🏃
ATR Lookback: 288 (24 hours of 5-min bars)
Who uses this: Active day traders, news traders
Show Levels: L1, L2, L3
Pro Tip: L2 is your best friend here—perfect for intraday swings
15-Minute Chart 📈
ATR Lookback: 96 (24 hours of 15-min bars)
Who uses this: Swing traders, patient day traders
Show Levels: L1, L2, L3
Pro Tip: This is the "Goldilocks zone"—not too fast, not too slow
1-Hour Chart ⏰
ATR Lookback: 168 (1 week of hourly bars)
Who uses this: Swing traders, position traders
Show Levels: L2, L3, L4
Pro Tip: L3 levels here are like magnets for price action
Daily Chart 📅
ATR Lookback: 30 to 50 (1-2 months)
Who uses this: Investors, long-term traders, people with patience
Show Levels: L2, L3, L4
Pro Tip: L4 on dailies = "Don't fight this level, respect it"
🎨 How to Use This Thing
Add to Chart - Duh! 😄
Set Your ATR Lookback - Use the guide above (don't wing it!)
Enable Relevant Levels - Less is more! Turn off levels that just clutter
Watch the Magic - See horizontal lines appear at key S/R zones
Check the Table - Top-right corner shows current levels (fancy!)
Set Alerts - Get notified when price approaches or breaks levels
Trading Strategies 🎲
The Bounce Play:
Price approaches Level 2 or 3 support → Look for bullish reversal signals
Take profit at the next level resistance
Stop loss just below the support level
The Breakout Play:
Price breaks through Level 2/3 resistance with volume → Go long
Next level becomes your target
Failed breakout? Level becomes resistance again (classic fake-out)
The Confluence Play:
When Level 3 aligns with your favorite indicator (RSI oversold, moving average, Fibonacci) → Chef's kiss! 👨🍳💋
These multi-confirmation setups are where the money lives
🚨 Important Notes (Read This or Blame Yourself Later)
⚠️ This indicator REPAINTS on the current bar until an extreme is confirmed. That's not a bug, it's how directional change works. The past levels are solid as a rock, but the pending one is still... pending.
⚠️ More levels ≠ Better results. Showing all 5 levels is like having 5 GPS apps shouting directions at once. Pick 2-3 levels max.
⚠️ ATR Lookback matters! Wrong setting = garbage results. Use the guide above or experiment carefully.
⚠️ Volatile markets (crypto, meme stocks) work GREAT with this. Choppy, range-bound markets? Meh.
⚠️ Combine with other tools! This shows you WHERE, not WHEN. Use momentum indicators, volume, or your favorite chicken entrails for timing 🐔
🦜 Final Word from Stock Kaka
Remember: Indicators don't make money, traders do. This tool shows you where the market has historically respected structure. What you do with that info? That's on you, champ!
Use proper risk management, don't YOLO your rent money, and may your stops never get hunted 🎯
Trade smart, trade safe, and let Stock Kaka be your guide!
📝 Credits
Algorithm: neurotrader888 (Python implementation)
Pine Script Conversion: Your friendly neighborhood Stock Kaka team!!
Inspiration: Ginger chai, market inefficiencies, and a dash of chaos
📌 Tags
support-and-resistance market-structure atr directional-change multi-timeframe swing-trading day-trading levels hierarchical-analysis algo-trading
DTR & ATR with live zonesThis indicator is designed to help traders gauge the day's volatility in real-time. It compares the current Daily True Range (DTR)—the distance between the session's high and low—to the historical Average True Range (ATR).
The main purpose is to project potential price levels where the market might reach based on its average volatility. These levels (100% ATR, 150%, 200%, etc.) can be used as price targets. For instance, if you're in a long trade, you might consider taking partial or full profits as the price approaches these upper ATR extension levels. The indicator is highly customisable, allowing you to control the appearance of the ATR lines, zones, and labels to fit your charting preferences.
Core Concepts: ATR and DTR
To use this indicator effectively, it's important to understand its two main components:
Average True Range (ATR): This is a classic technical analysis indicator that measures market volatility. It calculates the average range of price movement over a specific period (e.g., 14 days). A higher ATR means the price is, on average, moving more, while a low ATR indicates less volatility. This script uses a higher timeframe ATR (e.g., Daily) to establish a stable volatility baseline for the current trading day.
Daily True Range (DTR): This is simply the difference between the current trading session's highest high and lowest low (session high - session low). It tells you how much the price has actually moved so far today.
The indicator's logic revolves around comparing the live, unfolding DTR to the historical, baseline ATR. An on-screen table conveniently shows this comparison as a percentage, to show how volatile the day has been.
How It Works: The Dynamic & Locked Mechanism
The most clever part of this indicator is how it draws the ATR levels. It operates in two distinct phases during the trading session:
Phase 1: Dynamic Expansion (Before DTR meets ATR)
At the start of the session, the DTR is small. The indicator calculates the remaining range needed to "complete" the 100% ATR level (difference = avg_atr - dtr). It then adds this remaining amount to the session high and subtracts it from the session low. This creates a "floating" 100% ATR range that expands dynamically as the session high or low is extended.
Phase 2: The Lock-in (After DTR meets or exceeds ATR)
Once the day's range (DTR) becomes equal to or greater than the avg_atr, the day has met its "expected" volatility. At this point, the levels lock in place. The indicator intelligently determines the anchor point for the locked range.
Once this primary 100% ATR range is established (either dynamically or locked), the script projects the other levels (150%, 200%, 250%, and 300%) by adding or subtracting multiples of the avg_atr from this base.
How to Use It for Trading
The primary use of this indicator is to set logical, volatility-based price targets.
Setting Profit Targets: If you enter a long position, the upper ATR levels (100%, 150%, 200%) serve as excellent areas to consider taking profits. A move to the 200% or 250% level often signifies an overextended or "exhaustion" move, making it a high-probability exit zone. For short positions, the lower ATR levels serve the same purpose.
Assessing Intraday Momentum: The on-screen table tells you how much of the expected daily range has been used. If it's early in the session and the DTR is only at 30% of the ATR, you can anticipate more significant price movement is likely to come. Conversely, if the DTR is already at 150% of ATR, the bulk of the day's move may already be complete.
Mean Reversion Signals: If the price pushes to an extreme level (e.g., 250% ATR) and shows signs of stalling (e.g., bearish divergence on an oscillator), it could signal a potential reversal or pullback, offering an opportunity for a counter-trend trade.
Key Settings
ATR Length & Smoothing Type: These settings control how the baseline ATR is calculated. The default 14 period and RMA smoothing are standard, but you can adjust them to your preference.
Session Settings: This is crucial. You must set the Market Session and Time Zone to match the primary trading hours of the asset you are analysing (e.g., "0930-1600" for the NYSE session).
Show Lines / Show Labels / Show Zones: The script gives you full control over the visual display. You can toggle each ATR level's lines, labels, and background zones individually to avoid a cluttered chart and focus only on the levels that matter to your strategy.
Renko BandsThis is renko without the candles, just the endpoint plotted as a line with bands around it that represent the brick size. The idea came from thinking about what renko actually gives you once you strip away the visual brick format. At its core, renko is a filtered price series that only updates when price moves a fixed amount, which means it's inherently a trend-following mechanism with built-in noise reduction. By plotting just the renko price level and surrounding it with bands at the brick threshold distances, you get something that works like regular volatility bands while still behaving as a trend indicator.
The center line is the current renko price, which trails actual price based on whichever brick sizing method you've selected. When price moves enough to complete a brick in the renko calculation, the center line jumps to the new brick level. The bands sit at plus and minus one brick size from that center line, showing you exactly how far price needs to move before the next brick would form. This makes the bands function as dynamic breakout levels. When price touches or crosses a band, you know a new renko brick is forming and the trend calculation is updating.
What makes this cool is the dual-purpose nature. You can use it like traditional volatility bands where the outer edges represent boundaries of normal price movement, and breaks beyond those boundaries signal potential trend continuation or exhaustion. But because the underlying calculation is renko rather than standard deviation or ATR around a moving average, the bands also give you direct insight into trend state. When the center line is rising consistently and price stays near the upper band, you're in a clean uptrend. When it's falling and price hugs the lower band, downtrend. When the center line is flat and price is bouncing between both bands, you're ranging.
The three brick sizing methods work the same way as standard renko implementations. Traditional sizing uses a fixed price range, so your bands are always the same absolute distance from the center line. ATR-based sizing calculates brick range from historical volatility, which makes the bands expand and contract based on the ATR measurement you chose at startup. Percentage-based sizing scales the brick size with price level, so the bands naturally widen as price increases and narrow as it decreases. This automatic scaling is particularly useful for instruments that move proportionally rather than in fixed increments.
The visual simplicity compared to full renko bricks makes this more practical for overlay use on your main chart. Instead of trying to read brick patterns in a separate pane or cluttering your price chart with boxes and lines, you get a single smoothed line with two bands that convey the same information about trend state and momentum. The center line shows you the filtered trend direction, the bands show you the threshold levels, and the relationship between price and the bands tells you whether the current move has legs or is stalling out.
From a trend-following perspective, the renko line naturally stays flat during consolidation and only moves when directional momentum is strong enough to complete bricks. This built-in filter removes a lot of the whipsaw that affects moving averages during choppy periods. Traditional moving averages continue updating with every bar regardless of whether meaningful directional movement is happening, which leads to false signals when price is just oscillating. The renko line only responds to sustained moves that meet the brick size threshold, so it tends to stay quiet when price is going nowhere and only signals when something is actually happening.
The bands also serve as natural stop-loss or profit-target references since they represent the distance price needs to move before the trend calculation changes. If you're long and the renko line is rising, you might place stops below the lower band on the theory that if price falls far enough to reverse the renko trend, your thesis is probably invalidated. Conversely, the upper band can mark levels where you'd expect the current brick to complete and potentially see some consolidation or pullback before the next brick forms.
What this really highlights is that renko's value isn't just in the brick visualization, it's in the underlying filtering mechanism. By extracting that mechanism and presenting it in a more traditional band format, you get access to renko's trend-following properties without needing to commit to the brick chart aesthetic or deal with the complications of overlaying brick drawings on a time-based chart. It's renko after all, so you get the trend filtering and directional clarity that makes renko useful, but packaged in a way that integrates more naturally with standard technical analysis workflows.
Average True Range Stop Loss Finder with KAMAATR SL finder with bands
Kaufmann adaptive moving average
ATR SL finder with bands
Kaufmann adaptive moving average
ATR %ATR % Oscillator
A simple and effective Average True Range (ATR) indicator displayed as a percentage of the current price in a separate panel.
FEATURES:
• ATR displayed as percentage of current price for easy cross-asset comparison
• EMA smoothing line using the same period as ATR
• Configurable ATR period (default: 20)
• Clean visualization with zero reference line
HOW IT WORKS:
The indicator calculates ATR and converts it to a percentage: (ATR / Close) × 100
This normalization allows you to:
- Compare volatility across different instruments regardless of price
- Identify high and low volatility periods
- Use the EMA line to spot volatility trends
PARAMETERS:
ATR Period - The lookback period for ATR calculation (default: 20)
Timeframe - Choose any timeframe for ATR calculation independently from the chart timeframe (default: chart timeframe)
Axel Smart TrendAxel Smart Trend is a dynamic system for identifying and tracking market trends.
It combines ATR-based volatility analysis, EMA smoothing, and Fibonacci-anchored zones to show current trend direction and potential reversal areas.
Axel Smart Trend is a dynamic system for identifying and tracking market trends.
It combines ATR-based volatility analysis, EMA smoothing, and Fibonacci-anchored zones to display current trend direction and key reaction areas.
The indicator adapts to changing market volatility, automatically switching between bullish and bearish phases.
Colored clouds visualize the active trend and act as dynamic support and resistance zones during trend continuation.
Cross markers on the chart highlight moments when the price approaches important cloud levels. These crosses are not buy or sell signals, but rather a visual indication that the market has entered a zone of increased interest.
Main parameters:
The ATR period and multiplier define the sensitivity to volatility.
The EMA length controls the depth of trend smoothing.
Signal strength and cooldown settings adjust the precision and frequency of the markers.
Practical use:
Green crosses tend to appear near potential support areas, while red crosses form near resistance or overbought zones.
The clouds help assess trend strength and possible pullback levels.
Best suited for daily and weekly charts.
Disclaimer:
This indicator is intended for analytical and educational purposes only.
It does not provide financial advice or trading recommendations, and past performance does not guarantee future results.
Axel ATR FlowAxel ATR Flow is a dynamic, volatility-adaptive channel designed to visualize the natural rhythm of market movement.
The indicator builds its structure around the Average True Range (ATR) and a smooth central line — called the Flow — which acts as a flexible base.
As volatility increases, the channel expands; when the market calms down, it contracts.
This creates an adaptive envelope that helps traders see where price is likely to find balance, support, or exhaustion.
Unlike traditional static channels, Axel ATR Flow features real-time interpolation between closed and live data within the same higher-timeframe candle.
This means that even intraday, the indicator smoothly follows actual market movement, offering a realistic view of active volatility.
How it works
The system builds five key elements:
Central Flow Line — the main trend reference.
Main Trail — the primary volatility boundary and near-support zone.
Lower Trail — a deeper overshoot zone, often forming major accumulation areas.
An Upper Trail — the first resistance boundary.
An Upper2 Trail — the extreme resistance level, marking potential exhaustion.
The indicator adapts these levels dynamically using ATR calculations and smoothing filters (SMA or ZLEMA).
It can be locked to specific higher timeframes (Daily, Weekly, Monthly, 2D, 3D) while still reacting smoothly to current intraday price movement.
How to use it
• Trend direction:
The slope of the Flow Line represents the active trend.
When it’s rising, market flow is bullish; when falling, bearish pressure dominates.
• Support and resistance:
The Main and Lower Trails act as dynamic supports where price often bounces in an uptrend.
The Upper and Upper2 Trails mark zones where rallies typically slow down or reverse.
• Entries and exits:
— Buy setups often appear when price approaches or slightly dips below the Main or Lower Trail during an uptrend.
— Take-profit zones align with touches of the Upper or Upper2 Trails.
— In sideways markets, repeated touches at both extremes often precede breakout volatility.
• Volatility signals:
A wide channel means strong volatility — wait for stabilization or use smaller position sizes.
A narrow channel shows contraction — conditions are favorable for continuation trades after breakout.
Practical tips
• Combine Axel ATR Flow with oscillators such as RSI or Stoch RSI to confirm overbought or oversold conditions near outer bands.
• On higher timeframes, the indicator reveals the breathing pattern of the market — periods of compression followed by expansion.
• For spot trading or DCA strategies, entries near the Lower Trail during strong trends often provide excellent accumulation opportunities.
• Works effectively across markets: crypto, forex, indices, and commodities.
Summary
Axel ATR Flow unites precise volatility analysis with smooth visual representation of market structure.
It can be used as both a trend filter and an execution framework, identifying where price flow tends to stabilize or exhaust.
Part of the Axel Alts system, this indicator was engineered for traders who value clarity, adaptability, and realism in market analysis.
Venzitech ScalperVenzitech Scalper: Compliant Description (Plaintext)
This strategy is a complex, multi-indicator trend-following system designed for intraday scalping on low-timeframe charts. It uses a confluence of four distinct filters to ensure high-conviction entries during optimal momentum and volume.
1. Overview and Core Logic
The entry signal requires simultaneous confirmation from the following components:
Trend Confirmation (Heikin-Ashi EMAs): The primary trend is established using Heikin-Ashi price action combined with an EMA (Fast=8) crossing and remaining above an EMA (Slow=21). This provides a smoother, momentum-based trend signal.
Momentum Strength (ADX/RSI): The trend must be validated by the ADX (default 16) to confirm sufficient directional strength, and the RSI (default 42) to confirm continued positive internal momentum.
Volume Validation: A dynamic filter requires the current bar's volume to be greater than the 20-period Volume MA (multiplied by the default 1.0 factor), ensuring trades are executed during periods of active market participation.
Session & Volatility Filter: Trades are restricted to a defined trading window (default UTC 12:00 to 20:00). The script also includes an optional Volatility Cap filter based on a long-term ATR to suppress entries during extreme volatility.
2. Trade Management and Realistic Risk
This strategy employs a robust, partial-exit risk management plan driven by the Average True Range (ATR) for sustainable risk control.
Initial Stop Loss (SL): The initial SL is tight and calculated dynamically using the 14-period ATR multiplied by an adjustable factor (default 0.7). This size is designed for micro-losses appropriate for scalping and is adapted slightly during high volatility.
Partial Exits & Profit Taking: The position is split into two equal halves for exit management:
50% Position (TP1): Exited at a 1R profit target, where 1R is defined as the exact value of the initial ATR-based SL.
50% Position (Run): Managed by a Trailing Stop Loss (TSL), with trail points also calculated dynamically using the current ATR.
Breakeven (BE) Lock: An optional feature (default: ON) automatically moves the stop loss to Breakeven (entry price plus 1 tick) once the position is 2 ticks in profit, locking in capital protection rapidly.
Daily Risk Controls: The strategy includes mandatory daily money management features (default: ON):
Max Daily Loss Stop: Stops all trading for the day if the cumulative closed P&L reaches -$500 (default).
Profit Protection Floor: If the closed P&L reaches a minimum threshold (default $110), any open position will be closed if the total daily P&L drops back below this floor, locking in minimum daily gains.
3. Strategy Properties & Backtesting Disclosure
The default settings are configured for high-liquidity futures or FX markets. Users must ensure their backtesting environment is realistic:
Risk Per Trade: The ATR-based SL aims to keep the risk per trade below 5% of a reasonable account size, which is critical for sustainable trading.
Contracts/Size: Default quantity is 3 contracts.
Commissions/Slippage: Commissions and slippage MUST be configured by the user in the Strategy Properties window to reflect real-world brokerage fees and execution costs.
Sample Size: The strategy should be run on a dataset that generates over 100 trades for statistically valid results.
MANDATORY DISCLAIMER: Past performance is not necessarily indicative of future results. Trading involves substantial risk. All claims of historical performance are substantiated by the backtesting results on the chart, but these results do not guarantee actual trading outcomes. Keep your language realistic.
Squeeze Breakout Strategy [KedArc Quant]Description:
Squeeze Breakout strategy looks for volatility compression (Bollinger Bands inside Keltner Channels = a “squeeze”), then trades the volatility expansion in the direction of a momentum filter.
🧠 How the “Squeeze → Expansion” works
- Markets alternate between quiet (compressed) and active (expanded) phases.
- We call it a squeeze when Bollinger Bands (BB)—which reflect standard deviation around price—shrink inside the Keltner Channels (KC)—which reflect ATR/range.
- This means dispersion (stdev) is small relative to typical range (ATR). Price is coiling; participants are agreeing on value.
- When BB pops back outside KC, the squeeze releases. That’s the first sign that volatility is expanding again.
- A release alone doesn’t tell you direction. That’s why this strategy pairs the release with a momentum filter:
- We estimate momentum using a smoothed linear-regression slope of price (a clean proxy for acceleration).
- If the slope is positive at release, we favor longs; if negative, we favor shorts.
- Optionally, you can require Band Break + Momentum (price closes beyond the BB) for a stricter entry.
- This combination aims to capture the first leg of the range-to-trend transition while avoiding random pokes that often occur during tight consolidations.
💡 Why this is unique
Two entry modes (toggle):
1. Release + Momentum (enter when the squeeze turns off)
2. Band Break + Momentum (enter on a close beyond BB with momentum)
- Momentum = smoothed linear-regression slope, a clean thrust detector that’s less laggy than many oscillators.
- Risk module included: ATR stop, optional 1R partial take-profit, and a Chandelier trailing stop for the runner.
- Practical filters: higher-timeframe EMA trend alignment, volume surge, minimum BB width, and session window—so it adapts across markets/timeframes.
- Backtest-ready: uses TradingView’s `strategy.` framework with commission/slippage controls.
📈 How it helps traders
✅Regime clarity: distinguishes compression vs. expansion so you’re not forcing trades during dead zones.
✅Objective entries: momentum + band logic reduces discretionary “feel” and late chases.
✅Built-in risk plan: stop/targets/trailing defined in inputs—consistent execution across tickers.
✅Adaptable: works across instruments/timeframes; filters let you tailor noise tolerance per market session.
✅Alerts: real-time signals for entry and squeeze release.
✅Not a Mash-Up / Original Work
✅Fully authored in Pine Script v6; no external libraries or copied logic blocks.
✅Uses well-known, documented formulas (BB, KC, ATR, LinReg slope) combined into a new rule set (two entry modes + momentum + structured exits).
✅Code and parameters are transparent and adjustable; the script stands alone.
🧩 Formulas (core)
Bollinger Bands
# Basis = `SMA(close, bbLen)`
# Upper/Lower = `Basis ± bbMult × stdev(close, bbLen)`
# Width% = `(Upper − Lower) / Basis × 100`
Keltner Channels
# Basis = `EMA(close, kcLen)`
# Upper/Lower = `Basis ± kcMult × ATR(kcATR)`
Squeeze state
# ON: `BB_Upper < KC_Upper` and `BB_Lower > KC_Lower`
# Release: `squeeze_on ` and `not squeeze_on`
Momentum (this script)
# `lin = linreg(close, momLen, 0)`
# `mom = SMA( lin − lin , momSmoothing )`
# Long bias when `mom > 0`; short bias when `mom < 0`.
⚙️ Inputs
Compression
`bbLen`, `bbMult` — BB length & std-dev multiplier
`kcLen`, `kcATR`, `kcMult` — KC lengths & ATR multiplier
`Entry Mode` — Release + Momentum, Band Break + Momentum, or Either
Momentum
`momLen`, `momSmoothing`
Filters (optional)
`Use HTF Trend Filter` + `HTF Timeframe` + `HTF EMA Length`
`Require Volume Surge` (`volLen`, `volMult`)
`Avoid Ultra-Low Vol` (`Min BB Width %`)
`Session` window
Risk / Exits
`ATR Length`, `ATR Stop Multiplier`
`Take Profit at 1R` (with Partial 50%)
`Chandelier` (`chLen`, `chMult`)
Optional `Time Stop (bars)`
🎯 Entry & Exit Rules
Entry (choose one mode):
1. Release + Momentum (default)
Long: on the bar the squeeze releases and `mom > 0`, passing all enabled filters.
Short: on the bar the squeeze releases and `mom < 0`, passing filters.
2. Band Break + Momentum
Long: `close > BB_Upper` and `mom > 0`, with filters.
Short: `close < BB_Lower` and `mom < 0`, with filters.
Initial Stop
ATR-based: `Stop Distance = atrMult × ATR(atrLen)` from entry.
Targets & Runner
TP1 at 1R (optional): take 50% at `entry + 1R` (long) / `entry − 1R` (short).
Runner: remaining position trails a Chandelier stop:
Long trail = `highest(high, chLen) − chMult × ATR`
Short trail = `lowest(low, chLen) + chMult × ATR`
Optional Time Stop: close the trade after N bars in position.
Labels on chart
“Long” / “Short” = entry signals.
“L-TP1 / S-TP1” = partial exits at 1R.
“L-Runner / S-Runner” = trailing-stop exits of the runner.
Alerts
Provided for Long Entry, Short Entry, and Squeeze Release.
💬 How to use
1. Choose your market/timeframe (e.g., NSE 5–15m intraday, 60m–Daily for swing).
2. If you prefer cleaner trends, enable the HTF EMA filter (e.g., 240m/1D).
3. For intraday, consider Band Break + Momentum with Volume Surge and a small Min BB Width.
4. Adjust ATR/Chandelier multipliers to fit your risk tolerance and instrument.
Abbreviations
BB – Bollinger Bands
KC – Keltner Channels
ATR – Average True Range
SMA / EMA – Simple/Exponential Moving Average
HTF – Higher Timeframe
R – Risk unit (equal to the initial stop distance)
⚠️ Disclaimer
This script is for educational purposes only. Past performance ≠ future returns. Always paper trade first. Options trading carries high risk — manage exposure responsibly.
ATR Trend StatusThis indicator reports two key data points.
Daily ATR(10): The 10-period daily average true range. Regardless of the timeframe, the ATR calculation is based on daily bars. This gives you a consistent measure of 10-day volatility.
Trend Status: Indicates confluence across the timeframes. "Trending" indicates that this pair is trending on both the higher and lower timeframes. If it displays "Check Trend," then there is a divergence across the timeframes.
Hyper SAR Reactor Trend StrategyHyperSAR Reactor Adaptive PSAR Strategy
Summary
Adaptive Parabolic SAR strategy for liquid stocks, ETFs, futures, and crypto across intraday to daily timeframes. It acts only when an adaptive trail flips and confirmation gates agree. Originality comes from a logistic boost of the SAR acceleration using drift versus ATR, plus ATR hysteresis, inertia on the trail, and a bear-only gate for shorts. Add to a clean chart and run on bar close for conservative alerts.
Scope and intent
• Markets: large cap equities and ETFs, index futures, major FX, liquid crypto
• Timeframes: one minute to daily
• Default demo: BTC on 60 minute
• Purpose: faster yet calmer PSAR that resists chop and improves short discipline
• Limits: this is a strategy that places simulated orders on standard candles
Originality and usefulness
• Novel fusion: PSAR AF is boosted by a logistic function of normalized drift, trail is monotone with inertia, entries use ATR buffers and optional cooldown, shorts are allowed only in a bear bias
• Addresses false flips in low volatility and weak downtrends
• All controls are exposed in Inputs for testability
• Yardstick: ATR normalizes drift so settings port across symbols
• Open source. No links. No solicitation
Method overview
Components
• Adaptive AF: base step plus boost factor times logistic strength
• Trail inertia: one sided blend that keeps the SAR monotone
• Flip hysteresis: price must clear SAR by a buffer times ATR
• Volatility gate: ATR over its mean must exceed a ratio
• Bear bias for shorts: price below EMA of length 91 with negative slope window 54
• Cooldown bars optional after any entry
• Visual SAR smoothing is cosmetic and does not drive orders
Fusion rule
Entry requires the internal flip plus all enabled gates. No weighted scores.
Signal rule
• Long when trend flips up and close is above SAR plus buffer times ATR and gates pass
• Short when trend flips down and close is below SAR minus buffer times ATR and gates pass
• Exit uses SAR as stop and optional ATR take profit per side
Inputs with guidance
Reactor Engine
• Start AF 0.02. Lower slows new trends. Higher reacts quicker
• Max AF 1. Typical 0.2 to 1. Caps acceleration
• Base step 0.04. Typical 0.01 to 0.08. Raises speed in trends
• Strength window 18. Typical 10 to 40. Drift estimation window
• ATR length 16. Typical 10 to 30. Volatility unit
• Strength gain 4.5. Typical 2 to 6. Steepness of logistic
• Strength center 0.45. Typical 0.3 to 0.8. Midpoint of logistic
• Boost factor 0.03. Typical 0.01 to 0.08. Adds to step when strength rises
• AF smoothing 0.50. Typical 0.2 to 0.7. Adds inertia to AF growth
• Trail smoothing 0.35. Typical 0.15 to 0.45. Adds inertia to the trail
• Allow Long, Allow Short toggles
Trade Filters
• Flip confirm buffer ATR 0.50. Typical 0.2 to 0.8. Raise to cut flips
• Cooldown bars after entry 0. Typical 0 to 8. Blocks re entry for N bars
• Vol gate length 30 and Vol gate ratio 1. Raise ratio to trade only in active regimes
• Gate shorts by bear regime ON. Bear bias window 54 and Bias MA length 91 tune strictness
Risk
• TP long ATR 1.0. Set to zero to disable
• TP short ATR 0.0. Set to 0.8 to 1.2 for quicker shorts
Usage recipes
Intraday trend focus
Confirm buffer 0.35 to 0.5. Cooldown 2 to 4. Vol gate ratio 1.1. Shorts gated by bear regime.
Intraday mean reversion focus
Confirm buffer 0.6 to 0.8. Cooldown 4 to 6. Lower boost factor. Leave shorts gated.
Swing continuation
Strength window 24 to 34. ATR length 20 to 30. Confirm buffer 0.4 to 0.6. Use daily or four hour charts.
Properties visible in this publication
Initial capital 10000. Base currency USD. Order size Percent of equity 3. Pyramiding 0. Commission 0.05 percent. Slippage 5 ticks. Process orders on close OFF. Bar magnifier OFF. Recalculate after order filled OFF. Calc on every tick OFF. No security calls.
Realism and responsible publication
No performance claims. Past results never guarantee future outcomes. Shapes can move while a bar forms and settle on close. Strategies execute only on standard candles.
Honest limitations and failure modes
High impact events and thin books can void assumptions. Gap heavy symbols may prefer longer ATR. Very quiet regimes can reduce contrast and invite false flips.
Open source reuse and credits
Public domain building blocks used: PSAR concept and ATR. Implementation and fusion are original. No borrowed code from other authors.
Strategy notice
Orders are simulated on standard candles. No lookahead.
Entries and exits
Long: flip up plus ATR buffer and all gates true
Short: flip down plus ATR buffer and gates true with bear bias when enabled
Exit: SAR stop per side, optional ATR take profit, optional cooldown after entry
Tie handling: stop first if both stop and target could fill in one bar
Reversal Super ScalperUsing Grok I've combined several indicators to be used for scalping reversals. My goal is to make sure it alerts me when all of the below conditions have been met.
Indicators that were combined to make this
FluidTrades - SMC Lite indicator - by Pmgjiv
Money Flow Index MTF + Alerts - by DreamsDefined
WaveTrend Filtered Signals (LazyBear Style) - by Uncle_the_shooter
Q-Trend - by tarasenko_
This strategy is for scalping on the 5 minute timeframe.
This way I can set alerts when the price action is close to demand or support levels marked out by the FluidTrades - SMC Lite indicator, the Money Flow Index MTF + Alerts indicator shows oversold if i'm trying to enter a long position or overbought if I'm trying to enter a short position, and the WaveTrend Filtered Signals indicator pops up a buy/sell signal either on the same 5 min candle or two 5 min candles before the Q-Trend buy/sell signal pops up. Once all of these conditions are met, this is when I would enter into a position at the close of the trigger candle from Q-Trend.
Here is an example of how to use this strategy
BUY (LONG) SIGNAL CONDITIONS
Price action must fall back into a level of demand marked out by the FluidTrades indicator.
The candle wick may cross below the demand level, and the candle body may cross slightly below it, as long as the candle does not close below the demand zone.
If any candle closes below the demand level, the buy signal created by the Q-Trend indicator is canceled. The WaveTrend Filtered Signals indicator should generate an alert on the current 5 min candle that Q-trend is generating a buy signal or two 5 min candles before it.
Money Flow Index (MFI) Condition:
On the candle where the buy signal is triggered by the Q-Trend indicator, the MFI must be oversold, with the white line below the 40 level, inside the Red Zone.
When the above conditions are met, enter after the close of the BUY signal trigger candle.
For the short signal it is the opposite of these conditions.
VWAP Entry Assistant (v1.0)Description:
Anchored VWAP with a lightweight assistant for VWAP reversion trades.
It shows the distance to VWAP, an estimated hit probability for the current bar, the expected number of bars to reach VWAP, and a recommended entry price.
If the chance of touching VWAP is low, the script suggests an adjusted limit using a fraction of ATR.
The VWAP line is white by default, and a compact summary table appears at the bottom-left.
Educational tool. Not financial advice. Not affiliated with TradingView or any exchange. Always backtest before use.
Buy The F*cking Dip [DotGain]How to Interpret the "Buy The F*cking Dip" (BTFD) Indicator
Main Purpose and Timeframe
The BTFD indicator is a confluence indicator designed to identify rare moments of extreme capitulation and panic in the market. As the name suggests, its primary focus is identifying significant buying opportunities ("Dips") on high timeframes.
Recommended Timeframes: Minimum Daily chart, ideally Weekly chart.
Primary Signal: The green "Buy" triangle is the default signal to watch for.
The Buy Signal (Green Triangle)
A green "Buy" triangle appears only when all three of the following conditions are met simultaneously. It signals not just a minor pullback, but a potentially macro-level oversold condition.
High Panic (CM Williams Vix Fix): The market is in a state of heightened volatility or "fear." This indicates that sellers are acting out of panic.
Structurally Oversold (Deviation from MA): The price has deviated extremely far (default: >10%) below its long-term moving average (default: 200-period EMA). This signals that the price is "cheap" in the big picture.
Short-Term Overextended (TRMAD): The price has fallen extremely hard and fast relative to its recent volatility (ATR) (default: < -3.0). This signals "maximum pain" on a short-term level.
In summary, a green triangle means: The market is panicky, structurally undervalued, and extremely oversold short-term. These are often the moments when long-term bottoms are formed.
The Sell Signal (Red Triangle)
The indicator can also identify the exact opposite: moments of extreme euphoria or "blow-off tops."
Disabled by Default: The red "Sell" triangle is disabled by default in the settings (display=display.none), as the indicator's focus is on buying.
Meaning (if enabled): It signals that the market (1) has high volatility, (2) is structurally overbought (far above its 200 MA), and (3) is extremely overextended (euphoric) on a short-term basis.
Visual Adjustments (In the "Style" Tab)
By default, only the green "Buy" triangle is active. You can, however, enable other visuals in the indicator's "Style" settings tab:
Buy (Green Triangle): On by default.
Sell (Red Triangle): Off by default.
Signal Bar Color: Colors the candle green/red. Off by default.
Signal Background: Shows a transparent green/red background. Off by default.
Have fun :)
Disclaimer
This "Buy The F*cking Dip" (BTFD) indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signals generated by this tool (both "Buy" and "Sell") are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. All trading and investing in financial markets involves substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. The signals generated may produce false or losing trades. The creator (© DotGain) assumes no liability for any financial losses or damages you may incur as a result of using this indicator.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR) and consider your personal risk tolerance before making any trades.
MechArt ATR Box V1MechArt ATR Box V1
Description:
The MechArt ATR Box V1 is a precision trade-planning and risk-management tool that visualizes your entire position framework using customizable ATR-based zones.
It automatically plots your key decision levels from a defined entry price and ATR value — helping you clearly see when to roll, hold, or exit a trade.
Features:
Configurable ATR multipliers for roll, stop, and emergency zones.
Automatically updates labels and price levels based on your custom ATR settings.
Distinct color-coded boxes for:
✅ +1 ATR (Roll Zone) – visualize profit or roll targets.
⚠️ –2 ATR (Stop Zone) – manage risk boundaries.
🚨 –3 ATR (Emergency Stop) – mark hard exit thresholds.
Adjustable ATRs, line style, width, color, and opacity for visual clarity.
Optional Days Until Expiration label for time-sensitive trades.
Ideal for:
Traders using mechanical, ATR driven systems (like OVTLYR Plan M), or anyone who wants a clear, rule-based visualization of risk vs. reward directly on the chart.
MACD Pro - Multi-Filter Smart Divergence System# MACD Pro - Multi-Filter Smart Divergence System
## Professional MACD with Advanced Filtering & Automatic Divergence Detection
Transform the classic MACD indicator with professional-grade filters, automated divergence detection, and pre-optimized profiles for different markets.
---
## KEY FEATURES
### Smart Signal Filtering
- **Zero-Line Territory Filter** - Eliminates weak crossovers
- **3-Period Confirmation** - Reduces false signals
- **Minimum Distance Threshold** - Filters out noise
- **Multi-Indicator Confirmation** - RSI + Volume validation
### Automatic Divergence Detection
- **Visual Divergence Lines** - Connects price and MACD pivots automatically
- **Bullish/Bearish Recognition** - Real-time identification
- **Customizable Lookback** - Adjust sensitivity
- **Clean Display** - Managed line limits
### Pre-Optimized Market Profiles
- **S&P 500** (2/60/2) - Tested +3.63% annual
- **Gold** (14/48/3) - Optimized for volatility
- **Forex 30m** (24/52/9) - 24/7 market adapted
- **Scalping 1m** (5/13/6) - Quick trades
- **Linda Raschke** (3/10/16) - Classic scalping
- **Swing Trading** (8/24/9) - Higher timeframes
### Advanced Technical Features
- **ATR Normalization** - Volatility adaptation
- **Predictive Forecast** - Linear regression projection
- **Multi-Timeframe View** - Higher TF overlay
- **Volume Analysis** - Spike confirmation
- **Professional Dashboard** - Real-time metrics
---
## HOW TO USE
**Quick Start:**
1. Enable "Use Optimized Profile"
2. Select your market type
3. Watch for signal arrows and divergence lines
4. Confirm with dashboard metrics
**Signal Types:**
- 🔺 Green Triangle = Bullish crossover (filtered)
- 🔻 Red Triangle = Bearish crossover (filtered)
- ⚪ Small Circle = Conservative zero-line cross
- 🟢 Green Line = Bullish divergence
- 🔴 Red Line = Bearish divergence
---
## CUSTOMIZATION
**Filters:** Toggle each filter independently for your risk tolerance
**Divergence:** Adjust lookback period, line width, and maximum displayed lines
**Confirmation:** Customize RSI levels and volume spike thresholds
**Display:** Choose histogram, forecast, and multi-timeframe options
---
## ALERT CONDITIONS
- MACD Long Signal
- MACD Short Signal
- Bullish Divergence
- Bearish Divergence
---
## IMPORTANT NOTES
**Repainting:** Divergence detection uses historical pivots and may redraw. Crossover signals are non-repainting.
**Disclaimer:** Pre-optimized profiles based on historical data. Past performance does not guarantee future results. This indicator is for educational purposes only, not financial advice.
---
## BEST PRACTICES
**Timeframes:**
- 1-5m → Scalping profile
- 15-30m → Forex profile
- 1-4h → Swing profile
- Daily → S&P 500/Gold profiles
**Market Conditions:**
- Trending → Focus on momentum
- Ranging → Enable all filters, watch divergences
- Volatile → Use ATR normalization
**Combine With:** Support/resistance levels, trendlines, moving averages, and price action analysis.
---
## WHY MACD PRO?
| Feature | Standard MACD | MACD Pro |
|---------|--------------|----------|
| Signal Filters | ❌ | ✅ 5 Advanced |
| Divergence | ❌ Manual | ✅ Automatic |
| Market Profiles | ❌ | ✅ 7 Optimized |
| Volume Filter | ❌ | ✅ Built-in |
| Multi-Timeframe | ❌ | ✅ Yes |
| ATR Adaptation | ❌ | ✅ Yes |
---
**If you find this indicator useful, please boost 🚀**
*Protected source code. Compatible with all TradingView plans.*
Dynamic ATR BandsDescription:
The Dynamic ATR Bands indicator visualizes ATR-based stop-loss, take-profit, and trailing levels. Bands can be drawn relative to a fixed entry price or dynamically relative to the current price. It is ideal for trend-following, swing trading, and hybrid strategies, especially on volatile or noisy instruments.
Key Features:
Base ATR Bands:
Plots ATR-based bands above and below a reference price.
Acts as initial stop-loss or target guidance.
Adjustable multiplier (default 1× ATR).
Extra ATR Band:
Add an additional ATR band at a custom multiplier.
Position it above or below the reference price.
Useful for trailing stops or extended profit targets.
Hybrid Entry Mode:
Use Fixed Entry Price: bands are drawn relative to your entry and remain fixed.
Dynamic Mode: bands behave like standard ATR bands, moving with the current price.
Allows visualization of hybrid ATR stop-loss and trailing strategies.
Clean Visuals:
Color-coded bands differentiate base (solid) from extra (semi-transparent).
How to Use:
Set ATR length and multipliers according to your strategy.
Toggle hybrid entry mode and input your entry price, or leave off for dynamic bands.
Set the extra band multiplier and choose its position (upper/lower).
Use the bands as visual guides for stop-loss, take-profit, and trailing levels.
Inputs:
ATR Length: number of periods for ATR calculation
Base ATR Multiplier: distance of base bands from reference price
Extra ATR Multiplier: distance for the additional band
Extra Band Position: choose Upper or Lower
Use Fixed Entry Price: toggle hybrid entry mode
Entry Price: specify entry price if hybrid mode is enabled
Note:
This script is visual only; it does not place trades. It is designed to help plan ATR-based stop-loss, take-profit, and hybrid trade management visually on the chart.
Bollinger Band ToolkitBollinger Band Toolkit
An advanced, adaptive Bollinger Band system for traders who want more context, precision, and edge.
This indicator expands on the classic Bollinger Bands by combining statistical and volatility-based methods with modern divergence and squeeze detection tools. It helps identify volatility regimes, potential breakouts, and early momentum shifts — all within one clean overlay.
🔹 Core Features
1. Adaptive Bollinger Bands (σ + ATR)
Classic 20-period bands enhanced with an ATR-based volatility adjustment, making them more responsive to true market movement rather than just price variance.
Reduces “overreacting” during chop and avoids bands collapsing too tightly during trends.
2. %B & RSI Divergence Detection
🟢 Green dots: Positive %B divergence — price makes a lower low, but %B doesn’t confirm (bullish).
🔴 Red dots: Negative %B divergence — price makes a higher high, but %B doesn’t confirm (bearish).
✚ Red/green crosses: RSI divergence confirmation — momentum fails to confirm the price’s new extreme.
These signals highlight potential reversal or slowdown zones that are often invisible to the naked eye.
3. Bollinger Band Squeeze (with Volume Filter)
Yellow squares (■) show periods when Bollinger Bands are at their narrowest relative to recent history.
Volume confirmation ensures the squeeze only triggers when both volatility and participation contract.
Often marks the “calm before the storm” — breakout potential zones.
4. Multi-Timeframe Breakout Markers
Optionally displays breakouts from higher or lower timeframes using different colors/symbols.
Lets you see when a higher timeframe band break aligns with your current chart — a strong trend continuation signal.
5. Dual- and Triple-Band Visualization (±1σ, ±2σ, ±3σ)
Optional inner (±1σ) and outer (±3σ) bands provide a layered volatility map:
Price holding between ±1σ → stable range / mean-reverting behavior
Price riding near ±2σ → trending phase, sustained momentum
Price touching or exceeding ±3σ → volatility expansion or exhaustion zone
This triple-band layout visually distinguishes normal movement from statistical extremes, helping you read when the market is balanced, expanding, or approaching its limits.
⚙️ Inputs & Customization
Choose band type (SMA/EMA/SMMA/WMA/VWMA)
Adjust deviation multiplier (σ) and ATR multiplier
Toggle individual features (divergence dots, squeeze markers, inner bands, etc.)
Multi-timeframe and colour controls for advanced users
🧠 How to Use
Watch for squeeze markers followed by a breakout bar beyond ±2σ → volatility expansion signal.
Combine divergence dots with RSI or price structure to anticipate slowdowns or reversals.
Confirm direction using multi-timeframe breakouts and volume expansion.
💬 Why It Works
This toolkit transforms qualitative chart reading (tight bands, hidden divergence) into quantitative, testable conditions — giving you objective insights that can be backtested, coded, or simply trusted in live setups.






















