Medie mobili
3x Moving Averages with Optional Background FillThree MAs with toggles to fill MA2–MA1 and MA3–MA2.
below is Japanese too.
English
This Pine Script plots three moving averages—MA1, MA2, MA3—each with its own type, length, source, color, and offset. You can independently toggle background fills between MA2–MA1 and MA3–MA2.
- Common MA function: Selects calculation among SMA, EMA, SMMA, WMA, VWMA.
- Inputs: Each MA group defines settings; MA2 has a toggle for filling MA2–MA1, MA3 has a toggle for filling MA3–MA2.
- Computation: Each MA is computed only when its type isn’t “None”.
- Plotting: Three plot lines, hidden if disabled.
- Background fill: Uses translucent colors; fill(p1, p2, ...) for MA2–MA1 and fill(p2, p3, ...) for MA3–MA2, gated by their toggles.
Behavior notes: If either line in a pair is disabled, that fill won’t show. Different offsets can shift visuals; keep offsets aligned for clean fills.
日本語
このPineスクリプトは3本の移動平均(MA1・MA2・MA3)を描画し、各ラインに対してタイプ、期間、ソース、色、オフセットを個別設定できます。背景塗りはMA2とMA1、MA3とMA2のペアでそれぞれオン/オフ可能です。
- 共通MA関数: SMA、EMA、SMMA、WMA、VWMAから計算方式を選択。
- 入力: 各MAグループで設定を持ち、MA2は「MA2–MA1塗り」、MA3は「MA3–MA2塗り」のトグルを備えます。
- 計算: タイプが「None」でない場合のみ各MAを算出。
- 描画: 3本のplotで表示し、無効時は非表示。
- 背景塗り: 透過色を使用し、fill(p1, p2, ...)でMA2–MA1、fill(p2, p3, ...)でMA3–MA2を塗り、各トグルで制御します。
注意点: ペアのどちらかが無効なら塗りは出ません。オフセットが異なると塗り位置がずれるため、揃えると見やすくなります。
Dami's HMA Strategy"Dami's HMA Strategy: Dynamic Crossover with Momentum Filter"
Key Points to Include:
Foundation: The strategy is based on the Hull Moving Average (HMA), noted for its speed and reduced lag, making it ideal for identifying trend inflection points early.
Enhanced Logic: Unlike a simple moving average crossover, this strategy incorporates a momentum filter. A signal is only triggered if the HMA crossover coincides with a candle moving in the direction of the new trend (bullish candle for Long, bearish candle for Short). This aims to confirm the impulse and avoid false entries during consolidation periods or 'weak' crossovers.
100% Market Coverage System: It is a continuous reversal system. Every new signal (Long or Short) closes the opposite position, ensuring the trader is always positioned in the direction indicated by the HMA.
Complementary Visualization: It includes the 8-Period High/Low Bands (Dami's Bands) to provide visual context of the recent price range, although they do not affect trading orders.
Adjustment and Optimization: The HMA length (hma_len=9 by default) is the key parameter to optimize based on the specific pair and timeframe. Higher values will generate fewer signals and be slower, while lower values (like the current 9) make it more sensitive.
EMA Color Flip Strategy Experimenting on SOL 30 min chart, it seems good!
Let me know what you think!
SMA Cross + KC Breakout + ATR StopThis is the same script previously published with the exception of utilizing SMA vs EMA for those who prefer that moving average type.
SimpleAlgo V3.1SimpleAlgo V3.1 – Adaptive Trend, Signals, and Market Context
Overview
SimpleAlgo V3.1 combines an adaptive trail system, range-based signal engine, MACD-driven candle coloring, ATR reversal zones, and optional structure tools into one framework. It is designed to help visualize trend direction, potential reversal areas, and trade planning levels in a single overlay.
Adaptive Trail System
V3.1 includes a volatility-adjusted trail based on a modified true range calculation.
This trail switches between long and short states and can highlight trend shifts, pullbacks, and areas where price is extended relative to recent movement. Optional Fibonacci-style projections around the trail provide additional visual context.
Signal Engine
The script uses a range-filtered price model to generate potential long and short signals.
Signals appear when filtered price, direction, and persistence conditions align. These entries are meant as points of interest rather than standalone trade instructions and should be confirmed with the broader context.
Candle Coloring (MACD-Based)
MACD and histogram values are used to color candles according to momentum strength.
This helps quickly see when momentum is building, fading, or switching sides without relying on separate subcharts.
Reversal Zones (ATR Bands)
ATR-based reversal zones are calculated around a smoothed midline.
Multiple upper and lower bands highlight where price may be stretched relative to its recent volatility profile. These zones can help identify potential reaction or exhaustion areas.
Support, Resistance, and Structure
Optional pivot-based levels mark recent support and resistance.
Swing markers (HH, HL, LH, LL) can be displayed to visualize swing structure and trend progression over time. These tools are there to support structure analysis rather than predict future price.
Momentum Bands and Trend Ribbon
Short-term “momentum energy” bands and a simple trend ribbon can be enabled to reinforce direction and strength.
These layers help confirm alignment between short-term movement and the underlying trend.
Custom MAs and Previous Day Levels
Users can add custom moving averages and display previous day high, low, and close levels.
These elements give additional reference points for intraday and swing decision-making.
Position Management (TP/SL Framework)
When a percentage stop is set, V3.1 can draw a visual framework of entry, stop, and multiple profit targets based on the distance between entry and stop.
This is a planning tool only; it does not place orders or manage trades.
Info Panel
An optional information panel summarizes trend direction, strength, volume sentiment, and volatility as simple percentage-style metrics.
This provides a quick snapshot of current conditions without leaving the chart.
Alerts
Alert conditions are available for:
– Long Entry
– Short Entry
– Any Signal
– Overbought and Oversold conditions (RSI-based)
Customization and Use
All major components (signals, trail, zones, structure tools, MAs, previous day levels, panel) can be toggled on or off.
SimpleAlgo V3.1 is best used as a contextual framework: identify trend, observe where price sits relative to the trail and zones, then use signals and structure as supporting information within a complete trading plan.
Disclaimer
This indicator is for technical analysis and educational purposes only. It does not predict future price or guarantee results. All trading involves risk and should be managed accordingly.
Turtle System 2 (55/20) + N-Stop + MTF Table V7.2🐢 Description: Turtle System 2 (55/20) IndicatorThis indicator implements the trading signals of the Turtle Trading System 2 based on the classic Donchian Channels, supplemented by a historically correct, volatility-based Trailing Stop (N-Stop) and a Multi-Timeframe (MTF) status overview. The script was developed in Pine Script v6 and is optimized for performance and robustness.📊 Core Logic and ParametersThe indicator is based on the rule-based trend-following system developed by Richard Dennis and William Eckhardt, utilizing the more aggressive Entry/Exit parameters of System 2:FunctionParameterValueDescriptionEntry$\text{Donchian Breakout}$$\mathbf{55}$Buy/Sell upon breaking the 55-day High/Low.Exit (Turtle)$\text{Donchian Breakout}$$\mathbf{20}$Close the position upon breaking the 20-day Low/High.Volatility$\mathbf{N}$ (ATR Period)$\mathbf{20}$Calculation of market volatility using the Average True Range (ATR).Stop-LossMultiplier$\mathbf{2.0} BER:SETS the initial and Trailing Stop at $\mathbf{2N}$.🛠️ Technical Implementation1. Correct Trailing Stop (Section 4)In contrast to many flawed implementations, the Trailing Stop is implemented here according to the Original Turtle Logic. The stop price (current_stop_price) is not aggressively tied to the current low or high. Instead, at the close of each bar, it is only trailed in the direction of the trade (math.max for long positions) based on the formula:$$\text{New Trailing Stop} = \text{max}(\text{Previous Stop}, \text{Close} \pm (2 \times N))$$This ensures the stop is only adjusted upon sustained positive movement and is not prematurely triggered by short-term, deep price shadows.2. Reliable Multi-Timeframe (MTF) Logic (Section 6)The MTF section utilizes global var int variables (mtf_status_1h, mtf_status_D, etc.) in conjunction with the request.security() function.Purpose: Calculates and persistently stores the current Turtle System 2 status (LONG=1, SHORT=-1, FLAT=0) for the timeframes 1H, 4H, 8H, 1D, and 1W.Advantage: By persistently storing the status using the var variables, the critical error of single-update status is eliminated. The states shown in the table are reliable and accurately reflect the Turtle System's position status on the respective timeframes.3. Visual ComponentsDonchian Channels: The entry (55-period) and exit (20-period) channels are drawn with color highlighting.N-Stop Line: The dynamically calculated Trailing Stop ($\mathbf{2N}$) is displayed as a magenta line.Visual Signals: plotshape markers indicate Entry and Exit points.MTF Table: A compact status summary with color coding (Green/Red/Gray) for the higher timeframes is displayed in the upper right corner.
Trio Strategy w EMA Timing Gate, Early Flip, Clouds and Cross AlMomentum Trio Strategy w EMA Timing Gate, Early Flip, Clouds and Cross Alerts
Short title: Trio EMA Strategy
Concept and Originality
This strategy merges three momentum systems – StochRSI, RSI EMA, and MACD – into one coordinated Trio.
It triggers possible entries only (no exits) when all three align within user-defined windows, with an EMA timing gate for precision and an optional early flip feature if the EMA crosses first.
Optional cooldown and filters reduce false signals.
It also shows green and purple markers when all three momentum indicators cross together, and provides alert notifications on every individual and trio crossover event.
StochRSI-based clouds highlight overbought and oversold areas for quick visual context.
Each part has a defined role:
Trio alignment ensures multi-indicator confirmation.
EMA gate refines timing and enables early trend flips.
Cooldown reduces overtrading.
Filters check price, trend, and volume quality.
Clouds visualize momentum extremes.
Markers show where the Trio crosses.
Alerts notify on all key momentum events.
How It Works
Trio confirmation (core):
StochRSI – percent K and D cross within stochGroupWindow.
RSI – RSI crossing its EMA.
MACD – line crossing signal within macdGroupWindow.
When all three cross up, a green marker appears.
When all three cross down, a purple marker appears.
These mark potential entry points only. Exits are not included.
EMA timing gate:
EMA(5) and EMA(9) define short-term trend.
Longs: EMA(5) greater than EMA(9).
Shorts: EMA(5) less than EMA(9).
Early Flip: when EMA crosses before the trio, a one-time flip can trigger after the chosen cooldown.
Cooldown prevents multiple entries in choppy markets.
Filters include:
Price Filter – restricts entries relative to EMA.
Trend Filter – aligns trades with a longer EMA.
Volume Filter – checks for rising volume.
Overbought and Oversold Clouds:
Red cloud when StochRSI is greater or equal to 80 (overbought).
Green cloud when StochRSI is less or equal to 20 (oversold).
Clouds are for context only, not trade signals.
Alerts trigger on every Trio signal and each individual crossover for StochRSI, RSI, and MACD.
Inputs You Can Tune
RSI, StochRSI, and MACD periods and windows.
EMA gate lengths.
Early-flip toggle and cooldown.
Trio cooldowns.
Filters for price, trend, and volume.
Marker visibility (green and purple).
Overbought or oversold cloud display.
Alert toggles for all cross types.
How To Use
1. Apply to any liquid market such as stocks, crypto, or forex.
2. Choose timeframe.
3. Keep default settings first, then fine-tune windows or cooldowns.
4. Use clouds and markers for entry guidance only. Exits are manual or from another strategy.
5. Enable alerts for real-time notifications of indicator and Trio crosses.
Default Properties Used for Publication (Backtest Transparency)
Initial capital: 100,000 USD – necessary for stock testing so one percent sizing produces realistic order size.
Order size: one percent of equity per trade to keep risk small.
Commission: 0.10 percent per side, realistic for brokers and exchanges.
Slippage: 0.05 percent, equal to roughly one to two ticks on stocks.
Pyramiding: 0.
Execution: on close.
Sample dataset: at least 100 trades across multiple timeframes and markets.
The higher initial capital ensures valid fills for stock testing, while risk stays proportional since position size is percentage based.
Why These Components Work Together
Trio confluence confirms momentum alignment.
EMA gate refines entry timing and allows early reversals.
Cooldown and filters reduce false triggers.
Markers confirm when all three indicators cross together.
Clouds and alerts improve awareness and reaction speed.
The result is a robust entry-only framework that adapts to many markets.
Notes and Limitations
Focused on entry detection only. Exits are manual or external.
For educational use only, not financial advice.
Always test with realistic slippage, fees, and several symbols.
Past results do not guarantee future performance.
Attribution
All logic and structure are original to this publication.
Common Pine functions follow official Pine documentation.
3CRGANG - MA TRENDOverview
The "3CRGANG - MA TREND" is a next-generation multi-timeframe moving average system that evolves the classic MA into a fully adaptive trend-following channel with visual depth. It combines a dynamic ATR-scaled envelope (inner + outer bands), optional proximity-based ribbons, and a powerful multi-timeframe dashboard that instantly shows trend alignment across Yearly → 5-minute charts. Traders can seamlessly switch between a thin, clean MA line (modify = 0.05–0.3) and a wide, high-probability channel (modify = 1.0–2.0) while preserving perfect visual continuity when changing timeframes — a feature unique to this script.
Ideal for swing traders, scalpers, and position traders who demand one single indicator that works flawlessly on M1 through Monthly charts without constant re-adjustment.
How It's Built: Core Concepts and Calculations
The engine revolves around a base moving average (user-selectable: SMA, EMA, HMA, RMA, WMA) calculated on HL2, then wrapped with volatility-scaled ribbons.
The MODIFY parameter is the breakthrough: it acts as a timeframe-normalization factor.
Example:
• 12-period on 15M with MODIFY = 0.33 → visually identical channel width to
• 36-period on 5M with MODIFY = 1.0
This eliminates the usual headache of recalculating periods when switching timeframes.
Additional layers:
Proximity Ribbons (optional): Three fast MAs (base, ⅔×period, ¼×period) filled between price and the ribbons with ATR-buffered smoothing. When price is far from the ribbon → transparency increases → clean chart; when price hugs the ribbon → strong color intensity.
Trend-State Coloring: In “TREND STATE” mode the entire channel instantly flips to bullish green or bearish red the moment price exits the inner band — giving immediate visual confirmation of momentum shifts.
Multi-Timeframe Dashboard: Uses proper request.security() calls inside a function to calculate exact trend state (bullish / bearish / ranging + direction) on 11 timeframes simultaneously. Displays as color-coded circles (green/red/yellow/orange) so you see higher-timeframe bias at a glance. (Note: on daily+ timeframes the last incomplete candle may repaint depending on broker RTH settings — common to all MTF scripts.)
Why It's Useful
One indicator replaces 5–10 separate MAs/channels because the MODIFY factor keeps the visual “feel” identical across timeframes.
The double-channel (inner + outer) acts like a built-in “Dragon” or “Keltner + Bollinger hybrid” — price respecting the inner band = strong trend, rejecting the outer band = exhaustion/reversal zones.
Ribbons dramatically improve readability during trending markets (bright green/red clouds) while automatically fading in chop to reduce noise.
The dashboard instantly reveals confluence: e.g., if Daily–Weekly–Monthly are all green while you’re on 15M, probability of continuation skyrockets.
Full light/dark theme support + full custom color control over every color/transparency.
How to Use It
Add to chart → choose your favorite MA type and starting period (12–20 works great on most assets).
Adjust MODIFY:
• 0.05–0.33 → thin trend/channel line (scalping/clean charts)
• 0.33–1.00 → balanced channel
• 1.00–2.00 → wide channel
When switching timeframes, simply multiply/divide your period by the timeframe ratio and reset MODIFY to 1.0 — the channel will look identical.
Enable “TREND STATE” color mode = instant momentum confirmation.
Enable Ribbons for aggressive trending markets; disable for cleaner reversal setups.
Read the dashboard like a heatmap — look for alignment of green or red circles from higher timeframes downward.
Why It's Unique and Worth Invite-Only Access
Most MA/channel scripts are static: fixed period, fixed multiplier, no timeframe normalization, no intelligent ribbon fading, no proper MTF dashboard without repainting bugs.
This script solves all those problems in one cohesive system:
Proprietary MODIFY normalization algorithm (not found in any public script)
ATR-buffered ribbon transparency engine that only a handful of private scripts attempt
Clean, broker-independent MTF dashboard with correct request.security usage
Full device-aware theming and mobile optimization
These refinements took hundreds of hours of testing across forex, indices, stocks, futures, and crypto. Releasing the exact logic publicly would allow instant cloning, removing the edge that users pay for. The invite-only model guarantees continuous updates, priority support, and keeps the indicator performing at elite level without saturation.
Perfect for serious traders who want one moving average tool that truly works on every chart and every timeframe — without compromise.
Faraz Perfect Structure Scalper + Long Short (Indicator Alerts)XL/XS = Swing-quality trend continuation signals
Buy/Sell Scalp = TEMA+MACD-based fast scalp entries
Designed for MNQ/NQ but can be used on any instrument.
_______
What this script does
Plots structure-based levels (support/resistance, breakout, stop levels).
Marks perfect trend entries as XL (long) and XS (short) using structure + RSI + MACD + 200 EMA trend.
Marks base Long/Short signals as earlier, more aggressive entries.
Adds scalper signals (Buy Scalp / Sell Scalp) based on a TEMA + MACD momentum engine (inspired by ITG style logic) for fast in–out trades.
________
How I use it
I trade scalps primarily from the Buy/Sell Scalp triangles.
I use XL/XS and the structure bands to understand higher-quality swing entries and where price is likely to react.
I avoid trading when price is in the orange “no-add zone” between structure and breakout.
Warning
Futures are highly leveraged. Backtest and forward-test any setup first.
Scalper signals are designed for quick execution with tight risk management.
SMI Color Red/Green📌 TradingView Description – SMI Red/Green Momentum Line
🔥 Stochastics Momentum Index (SMI) – Dynamic Red/Green Version
This indicator is an enhanced and modernized version of the Stochastic Momentum Index (SMI), designed to deliver a more visual, intuitive, and responsive view of trend momentum.
It includes:
✔️ Smoothed SMI
✔️ Dynamic Red/Green momentum coloring
✔️ Signal EMA line
✔️ Overbought/Oversold zones with shading
🎨 Dynamic Red/Green SMI Line
The main SMI line automatically changes color based on momentum direction:
Green → Bullish momentum (SMI rising)
Red → Bearish momentum (SMI falling)
This provides instant visual feedback and highlights early momentum changes even before traditional signal-line crossovers.
📉 Indicator Structure
1️⃣ Smoothed SMI
The SMI is calculated using the price’s position inside its range and then smoothed with an SMA to reduce noise.
2️⃣ EMA Signal Line
A customizable EMA acts as a signal line, providing:
Clear bullish/bearish crossovers
Trend confirmation
Cleaner entry/exit signals
3️⃣ Overbought / Oversold Zones
Extreme levels are highlighted using color-filled zones:
Red Zone (Overbought) → potential bearish reversal
Green Zone (Oversold) → potential bullish reversal
Levels are fully adjustable.
💡 How to Use It
The indicator works exceptionally well across all timeframes.
The most powerful signals are:
✔️ SMI crossing above/below the EMA
SMI crosses above EMA → bullish signal
SMI crosses below EMA → bearish signal
✔️ Leaving Overbought/Oversold zones
SMI exits the oversold zone → potential long setup
SMI exits the overbought zone → potential short setup
✔️ Color shifts (momentum direction)
Red → Green : early bullish momentum
Green → Red : early bearish momentum
Perfect for scalping, day trading, and swing trading.
🚀 Why This Version Is Better
Extremely visual momentum reading
Noise reduction through smoothing
Instantly readable color-coded trend
Strong OB/OS zone visualization
Works on any market and timeframe
Great in combination with RSI, MACD, HMA, ALMA, and trend filters
If you'd like, I can also write:
🔹 a SEO-optimized title,
🔹 recommended TradingView tags,
🔹 or a shorter promotional description.
Hash Momentum IndicatorHash Momentum Indicator
Overview
The Hash Momentum Indicator provides real-time momentum-based trading signals with visual entry/exit markers and automatic risk management levels. This is the indicator version of the popular Hash Momentum Strategy, designed for traders who want signal alerts without backtesting functionality.
Perfect for: Live trading, automation via alerts, multi-indicator setups, and clean chart visualization.
What Makes This Indicator Special
1. Pure Momentum-Based Signals
Captures price acceleration in real-time - not lagging moving average crossovers. Enters when momentum exceeds a dynamic ATR-based threshold, catching moves as they begin accelerating.
2. Automatic Risk Management Visualization
Every signal automatically displays:
Entry level (white dashed line)
Stop loss level (red line)
Take profit target (green line)
Partial TP levels (dotted green lines)
3. Smart Trade Management
Trade Cooldown: Prevents overtrading by enforcing waiting period between signals
EMA Trend Filter: Only trades with the trend (optional)
Session Filters: Trade only during Tokyo/London/New York sessions (optional)
Weekend Toggle: Avoid low-liquidity weekend periods (optional)
4. Clean Visual Design
🟢 Tiny green dot = Long entry signal
🔴 Tiny red dot = Short entry signal
🔵 Blue X = Long exit
🟠 Orange X = Short exit
No cluttered labels or dashboard - just clean signals
5. Professional Alerts Ready
Set up TradingView alerts for:
Long signals
Short signals
Long exits
Short exits
How It Works
Step 1: Calculate Momentum
Momentum = Current Price - Price
Normalized by standard deviation for consistency
Must exceed ATR × Threshold to trigger
Step 2: Confirm Acceleration
Momentum must be increasing (positive momentum change)
Price must be moving in signal direction
Step 3: Apply Filters
EMA Filter: Long only above EMA, short only below EMA (if enabled)
Session Filter: Check if in allowed trading session (if enabled)
Weekend Filter: Block signals on Sat/Sun (if enabled)
Cooldown: Ensure minimum bars passed since last signal
Step 4: Generate Signal
All conditions met = Entry signal fires
Lines automatically drawn for entry, stop, and targets
Step 5: Exit Detection
Opposite momentum detected = Exit signal
Stop loss or take profit hit = Exit signal
Lines removed from chart
⚙️ Settings Guide
Core Strategy
Momentum Length (Default: 13)
Number of bars for momentum calculation. Higher values = stronger signals but fewer trades.
Aggressive: 10
Balanced: 13
Conservative: 18-24
Momentum Threshold (Default: 2.25)
ATR multiplier for signal generation. Higher values = only trade the biggest momentum moves.
Aggressive: 2.0
Balanced: 2.25
Conservative: 2.5-3.0
Risk:Reward Ratio (Default: 2.5)
Your target profit as a multiple of your risk. With 2.2% stop and 2.5 R:R, your target is 5.5% profit.
Conservative: 3.0+ (need 25% win rate to profit)
Balanced: 2.5 (need 29% win rate to profit)
Aggressive: 2.0 (need 33% win rate to profit)
Donchian Predictive Channel (Zeiierman)█ Overview
Donchian Predictive Channel (Zeiierman) extends the classic Donchian framework into a predictive structure. It does not just track where the range has been; it projects where the Donchian mid, high, and low boundaries are statistically likely to move based on recent directional bias and volatility regime.
By quantifying the linear drift of the Donchian midline and the expansion or compression rate of the Donchian range, the indicator generates a forward propagation cone that reflects the prevailing trend and volatility state. This produces a cleaner, more analytically grounded projection of future price corridors, and it remains fully aligned with the signal precision of the underlying Donchian logic.
█ How It Works
⚪ Donchian Core
The script first computes a standard Donchian Channel over a configurable Length:
Upper Band (dcHi) – highest high over the lookback.
Lower Band (dcLo) – lowest low over the lookback.
Midline (dcMd) – simple midpoint of upper and lower: (dcHi + dcLo)/ 2.
f_getDonchian(length) =>
hi = ta.highest(high, length)
lo = ta.lowest(low, length)
md = (hi + lo) * 0.5
= f_getDonchian(lenDC)
⚪ Slope Estimation & Range Dynamics
To turn the Donchian Channel into a predictive model, the script measures how both the midline and the range are changing over time:
Midline Slope (mSl) – derived from a 1-bar difference in linear regression of the midline.
Range Slope (rSl) – derived from a 1-bar difference in linear regression of the Donchian range (dcHi − dcLo).
This pair describes both directional drift (uptrend vs. downtrend) and range expansion/compression (volatility regime).
f_getSlopes(midLine, rngVal, length) =>
mSl = ta.linreg(midLine, length, 0) - ta.linreg(midLine, length, 1)
rSl = ta.linreg(rngVal, length, 0) - ta.linreg(rngVal, length, 1)
⚪ Forward Projection Engine
At the last bar, the indicator constructs a set of forward points for the mid, upper, and lower projections over Forecast Bars:
The midline is projected linearly using the midline slope per bar.
The range is adjusted using the range slope per bar, creating either a widening cone (expansion) or a tightening cone (compression).
Upper and lower projections are then anchored around the projected midline, with logic that keeps the structure consistent and prevents pathological flips when slope changes sign.
f_generatePoints(hi0, md0, lo0, steps, midSlp, rngSlp) =>
upPts = array.new()
mdPts = array.new()
dnPts = array.new()
fillPts = array.new()
hi_vals = array.new_float()
md_vals = array.new_float()
lo_vals = array.new_float()
curHiLocal = hi0
curLoLocal = lo0
curMidLocal = md0
segBars = math.floor(steps / 3)
segBars := segBars < 1 ? 1 : segBars
for b = 0 to steps
mdProj = md0 + midSlp * b
prevRange = curHiLocal - curLoLocal
rngProj = prevRange + rngSlp * b
hiTemp = 0.0
loTemp = 0.0
if midSlp >= 0
hiTemp := math.max(curHiLocal, mdProj + rngProj * 0.5)
loTemp := math.max(curLoLocal, mdProj - rngProj * 0.5)
else
hiTemp := math.min(curHiLocal, mdProj + rngProj * 0.5)
loTemp := math.min(curLoLocal, mdProj - rngProj * 0.5)
hiProj = hiTemp < mdProj ? curHiLocal : hiTemp
loProj = loTemp > mdProj ? curLoLocal : loTemp
if b % segBars == 0
curHiLocal := hiProj
curLoLocal := loProj
curMidLocal := mdProj
array.push(hi_vals, curHiLocal)
array.push(md_vals, curMidLocal)
array.push(lo_vals, curLoLocal)
array.push(upPts, chart.point.from_index(bar_index + b, curHiLocal))
array.push(mdPts, chart.point.from_index(bar_index + b, curMidLocal))
array.push(dnPts, chart.point.from_index(bar_index + b, curLoLocal))
ptSet.new(upPts, mdPts, dnPts)
⚪ Rejection Signals
The script also tracks failed Donchian breakouts and marks them as potential reversal/reversion cues:
Signal Down: Triggered when price makes an attempt above the upper Donchian band but then pulls back inside and closes above the midline, provided enough bars have passed since the last signal.
Signal Up: Triggered when price makes an attempt below the lower Donchian band but then snaps back inside and closes below the midline, also requiring sufficient spacing from the previous signal.
// Base signal conditions (unfiltered)
bearCond = high < dcHi and high >= dcHi and close > dcMd and bar_index - lastMarker >= lenDC
bullCond = low > dcLo and low <= dcLo and close < dcMd and bar_index - lastMarker >= lenDC
// Apply MA filter if enabled
if signalfilter
bearCond := bearCond and close < ma // Bearish only below MA
bullCond := bullCond and close > ma // Bullish only above MA
signalUp := false
signalDn := false
if bearCond
lastMarker := bar_index
signalDn := true
if bullCond
lastMarker := bar_index
signalUp := true
█ How to Use
The Donchian Predictive Channel is designed to outline possible future price trajectories. Treat it as a directional guide, not a fixed prediction tool.
⚪ Map Future Support & Resistance
Use the projected upper and lower paths as dynamic future reference levels:
Projected upper band ≈ is likely a resistance corridor if the current trend and volatility persist.
Projected lower band ≈ likely support corridor or expected downside range.
⚪ Trend Path & Volatility Cone
Because the projection is driven by midline and range slopes, the channel behaves like a trend + volatility cone:
Steep positive midline slope + expanding range → accelerating, high-volatility trend.
Flat midline + compressing range → coiling/contracting regime ahead of potential expansion.
This helps you distinguish between a gentle drift and an aggressive move that likely needs more risk buffer.
⚪ Reversion & Rejection Signals
The Donchian-based signals are especially useful for mean-reversion and fade-style trades.
A Signal Down near the upper band can mark a failed breakout and a potential rotation back toward the midline or the lower projected band.
A Signal Up near the lower band can flag a failed breakdown and a potential snap-back up the channel.
When Filter Signals is enabled, these signals are only generated when they align with the chart’s directional bias as defined by the moving average. Bullish signals are allowed only when the price is above the MA, and bearish signals only when the price is below it.
This reduces noise and helps ensure that reversions occur in harmony with the prevailing trend environment.
█ Settings
Length – Donchian lookback length. Higher values produce a smoother channel with fewer but more stable signals. Lower values make the channel more reactive and increase sensitivity at the cost of more noise.
Forecast Bars – Number of bars used for projecting the Donchian channel forward.
Higher values create a broader, longer-term projection. Lower values focus on short-horizon price path scenarios.
Filter Signals – Enables directional filtering of Donchian signals using the selected moving average. When ON, bullish signals only trigger when the price is above the MA, and bearish signals only trigger when the price is below it. This helps reduce noise and aligns reversions with the broader trend context.
Moving Average Type – The type of moving average used for signal filtering and optional plotting.
Choose between SMA, EMA, WMA, or HMA depending on desired responsiveness. Faster averages (EMA, HMA) react quickly, while slower ones (SMA, WMA) smooth out short-term noise.
Moving Average Length – Lookback length of the moving average. Higher values create a slower, more stable trend filter. Lower values track price more tightly and can flip the directional bias more frequently.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
3MA Slope Detection_三均线斜率侦测Detect the slope of the moving average and change its color to determine whether it has entered a trend or is consolidating.
LSI Pro - Enhanced Sweep Lines + Trading StrategyThis is a very powerful and sensitive indicator, it embrace the institutional sweep, signaling the high volumes area with the liquidity areas and levels with bear or bull confirmations.
and more ...
It works very good with most instruments such crypto - forex and stocks.
write me to get access.
AFi EMA315 (1m)The AFi EMA315 is designed to identify the macro trend on 1-minute charts using a 315-period Exponential Moving Average. Its purpose is to provide a stable and filtered view of market direction, ideal for scalping strategies and trend confirmation.
The indicator changes color based on price position:
Teal (green) when price is above the EMA, signaling bullish bias.
Red when price is below the EMA, indicating bearish pressure.
This approach allows traders to instantly visualize overall market context, reduce noise, and support decision-making for entries and exits based on dominant trend structure.
100+ BTC Tracker + 182-Day Dormant (6-Month HODL)Instantly see what the biggest Bitcoin whales are doing — and exactly how much of the supply has been completely untouched for 6 full months or longer (182+ days), the strictest and most respected definition of true HODLing.
What this indicator shows you in real time:
Number of wallets holding ≥100 BTC (~15,800 whales)
Total Bitcoin controlled by these whales (~3.25 million BTC)
6-Month Dormant Supply — Bitcoin that hasn’t moved in 182+ days (~14.1 million BTC)
6-Month Dormant % — What percentage of circulating supply is truly locked away
Why 182 days matters:
The 6-month threshold (≈182 days) is the industry-standard cutoff used by Glassnode, CryptoQuant, and analysts worldwide to define ultra-long-term holders. These are the coins least likely to ever hit exchanges — the ultimate measure of conviction and scarcity.
Key features:Live or fallback? — Instantly know if you’re seeing real-time on-chain data (green) or verified backup values (yellow)
Works on free accounts — No paid data subscription required (though it becomes even more accurate with Glassnode/CryptoQuant add-ons)
Clean, non-intrusive design — Three bold plots + sleek dark table in the top-right corner
Always up to date — Fallback values manually verified as of November 21, 2025
Perfect for:
Spotting whale accumulation/distribution phases
Tracking real Bitcoin scarcity during bull or bear markets
Confirming long-term holder conviction before big moves
Add it to any BTC chart and instantly understand who really controls Bitcoin — and how much of it is locked away forever by the strongest hands in crypto.
Trendviewer_Auctheo.Trendviewer 240 is built for traders who want clearer structure and fewer false starts. It reads higher-timeframe trend strength and turns it into a simple visual map on your active chart. You get precise directional bias, dynamic stop zones that adapt to current volatility, and optional filters that help you stay aligned with momentum instead of fighting it.
The script highlights areas where the trend is shifting, shows you when conditions are supportive for entries, and manages exits using a mix of adaptive levels and tiered targets. Everything is designed to keep your decision-making clean without cluttering the chart or revealing unnecessary details.
If you trade with the higher timeframe in mind but want the execution on the lower timeframe to feel controlled and confident, this tool will fit right in.
Please for free to contact us @theauctiontheorist@gmail.com
9/15 EMA Scalper 9/15 EMA Scalper — by uzairbaloch
This script is a price-action based scalping system built around the 9 EMA and 15 EMA trend structure.
It identifies short-term reversal points where the market pulls back into the EMAs and confirms direction with a strong candle signal.
The strategy looks for:
• A clear EMA trend (9 above 15 for buys, 9 below 15 for sells)
• Pullback into EMA9/EMA15 with candle bodies touching the fast EMA
• Strong confirmation candle (engulfing / strong momentum / controlled wick)
• Optional slope filter to avoid flat, choppy sessions
• Automatic trade labels showing Entry, SL and TP (based on R:R)
The script is designed for scalping on gold, indices, and high-volatility FX pairs.
It resets trade logic immediately after SL or TP is hit, so it can catch the next valid signal without delay.
This tool is meant as an indicator — not a full strategy — and can be used to visually mark high-probability EMA pullback setups with precise levels.
Author: uzairbaloch
ST – ATR Guides + Midline [Soothing Trades]Short Description
A clean EMA midline with two ATR-based guides above and below price. Use the midline for trend bias and the ATR rails as a dynamic structure for entries, exits, and stop placement on any market or timeframe.
Full Description
What this indicator is
ST – ATR Guides + Midline is a small, focused engine for trend bias and volatility-aware risk management. It gives you:
• One midline (EMA-based) for objective trend direction.
• Two ATR guides (long and short) that expand and contract with volatility.
Together, the three lines form a simple "rail system" you can build your trading framework on.
Core logic
• An EMA is calculated on a user-selectable price source and used as the midline.
• ATR is computed to measure current volatility.
• Two guides are plotted at a configurable ATR distance above and below the midline:
• The lower line acts as the long guide.
• The upper line acts as the short guide.
• The band between the guides adapts automatically to changing volatility conditions.
Inputs & customization
• Signal Source – Choose which price the EMA midline should be built from.
• Fast EMA – Controls how responsive or smooth the midline is.
• Show Midline – Option to hide the midline if you only want to see the guides.
• Midline style – Color and line width for the midline.
• ATR settings – ATR lookback and multiplier to control the size of the band.
• Guide style – Individual colors and widths for the long and short guides.
All parameters can be tuned directly in the TradingView settings panel.
Practical use cases
• Define trend bias at a glance.
• Build a rule-based stop placement framework around ATR instead of arbitrary distances.
• Use the guides as dynamic trailing rails for winning positions.
• Identify "healthy" pullback regions in a trend.
• Frame your existing entry signals (price action, volume, order flow, etc.) inside a clear volatility structure.
Notes & disclaimer
This is not an automatic signal generator.
It is a structural tool meant to support discretionary analysis and systematic frameworks.
Always test any idea thoroughly (backtests, forward tests, demo trading) before using it live.
Nothing in this script or description is financial advice.
Trading involves risk, and you are solely responsible for your own decisions and performance.
Eagle V 2.0 - AIEagle V 2.0 – AI Edition is a next-generation signal engine designed for traders who want clean entries, consistent performance, and reduced stop-loss hits.
The indicator analyzes trend strength, liquidity behavior, volatility conditions, market structure, and price momentum to generate high-quality buy and sell signals only when the market is aligned.
Instead of flooding the chart with noise, Eagle V 2.0 focuses on precision.
Every signal comes with a calculated stop-loss, three Fibonacci-based take-profit levels, and a confidence score that helps you quickly judge the strength of the setup.
What the Indicator Delivers
Clear Long/Short signals filtered to avoid weak setups
Smart Stop-Loss placement to reduce fake-outs
TP1 / TP2 / TP3 levels automatically calculated based on market movement
AI Confidence Score (0–100) to measure the quality of each opportunity
Real-time Support & Resistance zones that update with market structure
Trend direction and momentum bias across multiple timeframes
Trade history panel showing win rate, total P&L, biggest wins/losses, and your last trades
Dashboard with market conditions, liquidity state, and timeframe bias
Who This Indicator Is For
Scalpers, day traders, and swing traders who want fewer but higher-quality signals, strong risk management, and a tool that adapts to any market—Forex, Crypto, Indices, or Stocks.
Summary
Eagle V 2.0 focuses on the only thing that matters:
Cleaner signals, controlled risk, and stronger results.
Multi-EMA IndicatorIndicator Purpose
The "Multi EMA Indicator" is a clean, customizable script that plots up to four Exponential Moving Averages (EMAs) on the price chart simultaneously. It is designed for traders who want full control over which EMAs are displayed, their periods, colors, and visibility — without cluttering the chart or needing multiple separate EMA indicators.
User-Configurable Options (all adjustable from the indicator’s settings panel):Option
All EMAs are calculated using the close price and are plotted with a linewidth of 2 for clear visibility. Users can instantly show/hide any combination of the four EMAs and change their colors to match any charting style or strategy (e.g., 9/21 crossover, 50/200 golden cross, etc.).






















