Universal Regime Alpha Thermocline StrategyCurrents settings adapted for BTCUSD Daily timeframe
This description is written to comply with TradingView House Rules and Script Publishing Rules. It is self contained, in English first, free of advertising, and explains originality, method, use, defaults, and limitations. No external links are included. Nothing here is investment advice.
0. Publication mode and rationale
This script is published as Protected . Anyone can add and test it from the Public Library, yet the source code is not visible.
Why Protected
The engine combines three independent lenses into one regime score and then uses an adaptive centering layer and a thermo risk unit that share a common AAR measure. The exact mapping and interactions are the result of original research and extensive validation. Keeping the implementation protected preserves that work and avoids low effort clones that would fragment feedback and confuse users.
Protection supports a single maintained build for users. It reduces accidental misuse of internal functions outside their intended context which might lead to misleading results.
1. What the strategy does in one paragraph
Universal Regime Alpha Thermocline builds a single number between zero and one that answers a practical question for any market and timeframe. How aligned is current price action with a persistent directional regime right now. To answer this the script fuses three views of the tape. Directional entropy of up versus down closes to measure unanimity.
Convexity drift that rewards true geometric compounding and penalizes drag that comes from chop where arithmetic pace is high but growth is poor.
Tail imbalance that counts decisive bursts in one direction relative to typical bar amplitude. The three channels are blended, optionally confirmed by a higher timeframe, and then adaptively centered to remove local bias. Entries fire when the score clears an entry gate. Exits occur when the score mean reverts below an exit gate or when thermo stops remove risk. Position size can scale with the certainty of the signal.
2. Why it is original and useful
It mixes orthogonal evidence instead of leaning on a single family of tools. Many regime filters depend on moving averages or volatility compression. Here we add an information view from entropy, a growth view from geometric drift, and a structural view from tail imbalance.
The drift channel separates growth from speed. Arithmetic pace can look strong in whipsaw, yet geometric growth stays weak. The engine measures both and subtracts drag so that only sequences with compounding quality rise.
Tail counting is anchored to AAR which is the average absolute return of bars in the window. This makes the threshold self scaling and portable across symbols and timeframes without hand tuned constants.
Adaptive centering prevents the score from living above or below neutral for long stretches on assets with strong skew. It recovers neutrality while still allowing persistent regimes to dominate once evidence accumulates.
The same AAR unit used in the signal also sets stop distance and trail distance. Signal and risk speak the same language which makes the method portable and easier to reason about.
3. Plain language overview of the math
Log returns . The base series is r equal to the natural log of close divided by the previous close. Log return allows clean aggregation and makes growth comparisons natural.
Directional entropy . Inside the lookback we compute the proportion p of bars where r is positive. Binary entropy of p is high when the mix of up and down closes is balanced and low when one direction dominates. Intensity is one minus entropy. Directional sign is two times p minus one. The trend channel is zero point five plus one half times sign times intensity. It lives between zero and one and grows stronger as unanimity increases.
Convexity drift with drag . Arithmetic mean of r measures pace. Geometric mean of the price ratio over the window measures compounding. Drag is the positive part of arithmetic minus geometric. Drift raw equals geometric minus drag multiplier times drag. We then map drift through an arctangent normalizer scaled by AAR and a nonlinearity parameter so the result is stable and remains between zero and one.
Tail imbalance . AAR equals the average of the absolute value of r in the window. We count up tails where r is greater than aar_mult times AAR and down tails where r is less than minus aar_mult times AAR. The imbalance is their difference over their total, mapped to zero to one. This detects directional impulse flow.
Fusion and centering . A weighted average of the three channels yields the raw score. If a higher timeframe is requested, the same function is executed on that timeframe with lookahead off and blended with a weight. Finally we subtract a fraction of the rolling mean of the score to recover neutrality. The result is clipped to the zero to one band.
4. Entries, exits, and position sizing
Enter long when score is strictly greater than the entry gate. Enter short when score is strictly less than one minus the entry gate unless direction is restricted in inputs.
Exit a long when score falls below the exit gate. Exit a short when score rises above one minus the exit gate.
Thermo stops are expressed in AAR units. A long uses the maximum of an initial stop sized by the entry price and AAR and a trail stop that references the running high since entry with a separate multiple. Shorts mirror this with the running low. If the trail is disabled the initial stop is active.
Cooldown is a simple bar counter that begins when the position returns to flat. It prevents immediate re entry in churn.
Dynamic position size is optional. When enabled the order percent of equity scales between a floor and a cap as the score rises above the gate for longs or below the symmetric gate for shorts.
5. Inputs quick guide with recommended ranges
Every input has a tooltip in the script. The same guidance appears here for fast reading.
Core window . Shared lookback for entropy, drift, and tails. Start near 80 on daily charts. Try 60 to 120 on intraday and 80 to 200 for swing.
Entry threshold . Typical range 0.55 to 0.65 for trend following. Faster entries 0.50 to 0.55.
Exit threshold . Typical range 0.35 to 0.50. Lower holds longer yet gives back more.
Weight directional entropy . Starting value 0.40. Raise on markets with clean persistence.
Weight convexity drift . Starting value 0.40. Raise when compounding quality is critical.
Weight tail imbalance . Starting value 0.20. Raise on breakout prone markets.
Tail threshold vs AAR . Typical range 1.0 to 1.5 to count decisive bursts.
Drag penalty . Typical range 0.25 to 0.75. Higher punishes chop more.
Nonlinearity scale . Typical range 0.8 to 2.0. Larger compresses extremes.
AAR floor in percent . Typical range 0.0005 to 0.002 for liquid instruments. This stabilizes the math during quiet regimes.
Adaptive centering . Keep on for most symbols. Center strength 0.40 to 0.70.
Confirm timeframe optional . Leave empty to disable. If used, try a multiple between three and five of the chart timeframe with a blend weight near 0.20.
Dynamic position size . Enable if you want size to reflect certainty. Floor and cap define the percent of equity band. A practical band for many accounts is 0.5 to 2.
Cooldown bars after exit . Start at 3 on daily or slightly higher on shorter charts.
Thermo stop multiple . Start between 1.5 and 3.0 on daily. Adjust to your tolerance and symbol behavior.
Thermo trailing stop and Trail multiple . Trail on locks gains earlier. A trail multiple near 1.0 to 2.0 is common. You can keep trail off and let the exit gate handle exits.
Background heat opacity . Cosmetic. Set to taste. Zero disables it.
6. Properties used on the published chart
The example publication uses BTCUSD on the daily timeframe. The following Properties and inputs are used so everyone can reproduce the same results.
Initial capital 100000
Base currency USD
Order size 2 percent of equity coming from our risk management inputs.
Pyramiding 0
Commission 0.05 percent
Slippage 10 ticks in the publication for clarity. Users should introduce slippage in their own research.
Recalculate after order is filled off. On every tick off.
Using bar magnifier on. On bar close on.
Risk inputs on the published chart. Dynamic position size on. Size floor percent 2. Size cap percent 2. Cooldown bars after exit 3. Thermo stop multiple 2.5. Thermo trailing stop off. Trail multiple 1.
7. Visual elements and alerts
The score is painted as a subtle dot rail near the bottom. A background heat map runs from red to green to convey regime strength at a glance. A compact HUD at the top right shows current score, the three component channels, the active AAR, and the remaining cooldown. Four alerts are included. Long Setup and Short Setup on entry gates. Exit Long by Score and Exit Short by Score on exit gates. You can disable trading and use alerts only if you want the score as a risk switch inside a discretionary plan.
8. How to reproduce the example
Open a BTCUSD daily chart with regular candles.
Add the strategy and load the defaults that match the values above.
Set Properties as listed in section 6.(they are set by default) Confirm that bar magnifier is on and process on bar close is on.
Run the Strategy Tester. Confirm that the trade count is reasonable for the sample. If the count is too low, slightly lower the entry threshold or extend history. If the count is excessively high, raise the threshold or add a small cooldown.
9. Practical tuning recipes
Trend following focus . Raise the entry threshold toward 0.60. Raise the trend weight to 0.50 and reduce tail weight to 0.15. Keep drift near 0.35 to retain the growth filter. Consider leaving the trail off and let the exit threshold manage positions.
Breakout focus . Keep entry near 0.55. Raise tail weight to 0.35. Keep aar_mult near 1.3 so only decisive bursts count. A modest cooldown near 5 can reduce immediate false flips after the first burst bar.
Chop defense . Raise drag multiplier to 0.70. Raise exit threshold toward 0.48 to recycle capital earlier. Consider a higher cooldown, for example 8 to 12 on intraday.
Higher timeframe blend . On a daily chart try a weekly confirm with a blend near 0.20. On a five minute chart try a fifteen minute confirm. This moderates transitions.
Sizing discipline . If you want constant position size, set floor equal to cap. If you want certainty scaling, set a band like 0.5 to 2 and monitor drawdown behavior before widening it.
10. Strengths and limitations
Strengths
Self scaling unit through AAR makes the tool portable across markets and timeframes.
Blends evidence that target different failure modes. Unanimity, growth quality, and impulse flow rarely agree by chance which raises confidence when they align.
Adaptive centering reduces structural bias at the score level which helps during regime flips.
Limitations
In very quiet regimes AAR becomes small even with a floor. If your symbol is thin or gap prone, raise the floor a little to keep stops and drift mapping stable.
Adaptive centering can delay early breakout acceptance. If you miss starts, lower center strength or temporarily disable centering while you evaluate.
Tail counting uses a fixed multiple of AAR. If a market alternates between very calm and very violent weeks, a single aar_mult may not capture both extremes. Sweep this parameter in research.
The engine reacts to realized structure. It does not anticipate scheduled news or liquidity shocks. Use event awareness if you trade around releases.
11. Realism and responsible publication
No promises or projections of performance are made. Past results never guarantee future outcomes.
Commission is set to 0.05 percent per round which is realistic for many crypto venues. Adjust to your own broker or exchange.
Slippage is set at 10 in the publication . Introduce slippage in your own tests or use a percent model.
Position size should respect sustainable risk envelopes. Risking more than five to ten percent per trade is rarely viable. The example uses a fixed two percent position size.
Security calls use lookahead off. Standard candles only. Non standard chart types like Heikin Ashi or Renko are not supported for strategies that submit orders.
12. Suggested research workflow
Begin with the balanced defaults. Confirm that the trade count is sensible for your timeframe and symbol. As a rough guide, aim for at least one hundred trades across a wide sample for statistical comfort. If your timeframe cannot produce that count, complement with multiple symbols or run longer history.
Sweep entry and exit thresholds on a small grid and observe stability. Stability across windows matters more than the single best value.
Try one higher timeframe blend with a modest weight. Large weights can drown the signal.
Vary aar_mult and drag_mult together. This tunes the aggression of breakouts versus defense in chop.
Evaluate whether dynamic size improves risk adjusted results for your style. If not, set floor equal to cap for constancy.
Walk forward through disjoint segments and inspect results by regime. Bootstrapping or segmented evaluation can reveal sensitivity to specific periods.
13. How to read the HUD and heat map
The HUD presents a compact view. Score is the current fused value. Trend is the directional entropy channel. Drift is the compounding quality channel. Tail is the burst flow channel. AAR is the current unit that scales stops and the drift map. CD is the cooldown counter. The background heat is a visual aid only. It can be disabled in inputs. Green zones near the upper band show alignment among the channels. Muted colors near the mid band show uncertainty.
14. Frequently asked questions
Can I use this as a pure indicator . Yes. Disable entries by restricting direction to one side you will not trade and use the alerts as a regime switch.
Will it work on intraday charts . Yes. The AAR unit scales with bar size. You will likely reduce the core window and increase cooldown slightly.
Should I enable the adaptive trail . If you wish to lock gains sooner and accept more exits, enable it. If you prefer to let the exit gate do the heavy lifting, keep it off.
Why do I sometimes see a green background without a position . Heat expresses the score. A position also depends on threshold comparisons, direction mode, and cooldown.
Why is Order size set to one hundred percent if dynamic size is on . The script passes an explicit quantity percent on each entry. That explicit quantity overrides the property. The property is kept at one hundred percent to avoid confusion when users later disable dynamic sizing.
Can I combine this with other tools on my chart . You can, yet for publication the chart is kept clean so users and moderators can see the output clearly. In your private workspace feel free to add other context.
15. Concepts glossary
AAR . Average absolute return across the lookback. Serves as a unit for tails, drift scaling, and stops.
Directional entropy . A measure of uncertainty of up versus down closes. Low entropy paired with a directional sign signals unanimity.
Geometric mean growth . Rate that preserves the effect of compounding over many bars.
Drag . The positive difference between arithmetic pace and geometric growth. Larger drag often signals churn that looks active but fails to compound.
Thermo stops . Stops expressed in the same AAR unit as the signal. They adapt with volatility and keep risk and signal on a common scale.
Adaptive centering . A bias correction that recenters the fused score around neutral so the meter does not drift due to persistent skew.
16. Educational notice and risk statement
Markets involve risk. This publication is for education and research. It does not provide financial advice and it is not a recommendation to buy or sell any instrument. Use realistic costs. Validate ideas with out of sample testing and with conservative position sizing. Past performance never guarantees future results.
17. Final notes for readers and moderators
The goal of this strategy is clarity and portability. Clarity comes from a single score that reflects three independent features of the tape. Portability comes from self scaling units that respect structure across assets and timeframes. The publication keeps the chart clean, explains the math plainly, lists defaults and Properties used, and includes warnings where care is required. The code is protected so the implementation remains consistent for the community while the description remains complete enough for users to understand its purpose and for moderators to evaluate originality and usefulness. If you explore variants, keep them self contained, explain exactly what they contribute, publish in English first, and treat others with respect in the comments.
Load the strategy on BTCUSD daily with the defaults listed above and study how the score transitions across regimes. Then adjust one lever at a time. Observe how the trend channel, the drift channel, and the tail channel interact during starts, pauses, and reversals. Use the alerts as a risk switch inside your own process or let the built in entries and exits run if you prefer an automated study. The intent is not to promise outcomes. The intent is to give you a robust meter for regime strength that travels well across markets and helps you structure decisions with more confidence.
Thank you for your time to read all of this
Penunjuk dan strategi
KARAKAS
Strategy Philosophy and Objective
This strategy is a high-probability Mean Reversion system. It is based on the principle that markets behave like a stretched rubber band: when the price moves too far away from its average value (the band is stretched), it has a high tendency to eventually snap back towards its mean.
The objective of this strategy is to identify these moments of "extreme extension" and to capture the highest probability move as the price reverts to its average. Rather than acting hastily, it employs a multi-layered confirmation system to trade only on the highest quality signals.
Strategy Profile
Strategy Name: Final Optimized Strategy
Type: Mean Reversion
Recommended Timeframe: Developed on M15 (15-Minute).
Suitable Markets: High-volume, volatile assets. Ideal for Indices (US100, S&P500), Major Forex Pairs (EUR/USD, GBP/USD), and Commodities (Gold).
Core Tools:
Bollinger Bands: Period: 20, Standard Deviation: 2.2
RSI (Relative Strength Index): Period: 14, Overbought/Oversold Levels: 75 / 25
Strategy TILSON T3 ATR v6 (GIM) bootFor boot alerts, use the Tilson T3 ATR GIM indicator. The strategy is for backtesting. Before using it, test it first, especially on aschi candles. Thank you, I hope it will be useful to you.
Fury by Tetrad Fury by Tetrad
What it is:
A rules-based Bollinger+RSI strategy that fades extremes: it looks for price stretching beyond Bollinger Bands while RSI confirms exhaustion, enters countertrend, then exits at predefined profit multipliers or optional stoploss. “Ultra Glow” visuals are purely cosmetic.
How it works — logic at a glance
Framework: Classic Bollinger Bands (SMA basis; configurable length & multiplier) + RSI (configurable length).
Long entries:
Price closes below the lower band and RSI < Long RSI threshold (default 28.3) → open LONG (subject to your “Market Direction” setting).
Short entries:
Price closes above the upper band and RSI > Short RSI threshold (default 88.4) → open SHORT.
Profit exits (price targets):
Uses simple multipliers of the strategy’s average entry price:
Long exit = `entry × Long Exit Multiplier` (default 1.14).
Short exit = `entry × Short Exit Multiplier` (default 0.915).
Risk controls:
Optional pricebased stoploss (disabled by default) via:
Long stop = `entry × Long Stop Factor` (default 0.73).
Short stop = `entry × Short Stop Factor` (default 1.05).
Directional filter:
“Market Direction” input lets you constrain entries to Market Neutral, Long Only, or Short Only.
Visuals:
“Ultra Glow” draws thin layered bands around upper/basis/lower; these do not affect signals.
> Note: Inputs exist for a timebased stop tracker in code, but this version exits via targets and (optional) price stop only.
Why it’s different / original
Explicit extreme + momentum pairing: Entries require simultaneous band breach and RSI exhaustion, aiming to avoid entries on gardenvariety volatility pokes.
Deterministic exits: Multiplier-based targets keep results auditable and reproducible across datasets and assets.
Minimal, unobtrusive visuals: Thin, layered glow preserves chart readability while communicating regime around the Bollinger structure.
Inputs you can tune
Bollinger: Length (default 205), Multiplier (default 2.2).
RSI: Length (default 23), Long/Short thresholds (28.3 / 88.4).
Targets: Long Exit Mult (1.14), Short Exit Mult (0.915).
Stops (optional): Enable/disable; Long/Short Stop Factors (0.73 / 1.05).
Market Direction: Market Neutral / Long Only / Short Only.
Visuals: Ultra Glow on/off, light bar tint, trade labels on/off.
How to use it
1. Timeframe & assets: Works on any symbol/timeframe; start with liquid majors and 60m–1D to establish baseline behavior, then adapt.
2. Calibrate thresholds:
Narrow/meanreverting markets often tolerate tighter RSI thresholds.
Fast/volatile markets may need wider RSI thresholds and stronger stop factors.
3. Pick realistic targets: The default multipliers are illustrative; tune them to reflect typical mean reversion distance for your instrument/timeframe (e.g., ATRinformed profiling).
4. Risk: If enabling stops, size positions so risk per trade ≤ 1–2% of equity (max 5–10% is a commonly cited upper bound).
5. Mode: Use Long Only or Short Only when your discretionary bias or higher timeframe model favors one side; otherwise Market Neutral.
Recommended publication properties (for backtests that don’t mislead)
When you publish, set your strategy’s Properties to realistic values and keep them consistent with this description:
Initial capital: 10,000 (typical retail baseline).
Commission: ≥ 0.05% (adjust for your venue).
Slippage: ≥ 2–3 ticks (or a conservative pertrade value).
Position sizing: Avoid risking > 5–10% equity per trade; fixedfractional sizing ≤ 10% or fixedcash sizing is recommended.
Dataset / sample size: Prefer symbols/timeframes yielding 100+ trades over the tested period for statistical relevance. If you deviate, say why.
> If you choose different defaults (e.g., capital, commission, slippage, sizing), explain and justify them here, and use the same settings in your publication.
Interpreting results & limitations
This is a countertrend approach; it can struggle in strong trends where band breaches compound.
Parameter sensitivity is real: thresholds and multipliers materially change trade frequency and expectancy.
No predictive claims: Past performance is not indicative of future results. The future is unknowable; treat outputs as decision support, not guarantees.
Suggested validation workflow
Try different assets. (TSLA, AAPL, BTC, SOL, XRP)
Run a walkforward across multiple years and market regimes.
Test several timeframes and multiple instruments. (30m Suggested)
Compare different commission/slippage assumptions.
Inspect distribution of returns, max drawdown, win/loss expectancy, and exposure.
Confirm behavior during trend vs. range segments.
Alerts & automation
This release focuses on chart execution and visualization. If you plan to automate, create alerts at your entry/exit conditions and ensure your broker/venue fills reflect your slippage/fees assumptions.
Disclaimer
This script is provided for educational and research purposes. It is not investment advice. Trading involves risk, including the possible loss of principal. © Tetrad Protocol.
MoneyPlant-Auto Support Resistance MoneyPlant – Auto Support Resistance is an advanced trading indicator that combines trend structure with dynamic support/resistance mapping and momentum confirmation.
📊 How It Works:
This indicator automatically identifies strong support and resistance levels based on real-time market structure.
It generates buy/sell signals using EMA crossover and MACD confirmation.
You can choose between:
• EMA crossover only mode
• EMA + MACD confirmation mode
for flexible signal generation according to your trading style.
🎯 Risk Management:
ATR-based Target 1 and Target 2 are automatically plotted, along with an ATR-based Stop Loss, helping traders maintain proper risk/reward control.
💡 Key Features:
• Auto detection of dynamic Support & Resistance
• Optional signal modes (EMA only or EMA + MACD)
• ATR-based Stop Loss and Take Profit levels
• Works across multiple timeframes
• Ideal for intraday and swing trading setups
⚙️ Usage:
Add this invite-only indicator to your chart, select your preferred signal mode from the input settings, and follow buy/sell alerts with plotted targets and stops.
This indicator is designed for traders who value structure-based, automated decision support using price action and trend logic.
UTFS V2 | QR UTFS V2 | QR
What it is
UTFS V2 | QR (Universal Trend Following Strategy – Version 2) is a multi-component, adaptive trend system designed to work across almost any asset class — including crypto, equities, commodities, and forex.
Its “universal” design comes from its modular structure: instead of being optimized for a single market, it combines three independent, general-purpose trend modules that each react to different aspects of price behavior. By averaging their outputs, UTFS V2 filters out much of the market noise and improves clarity and reliability of the overall signal.
How it works
UTFS V2 fuses three adaptive engines into one Trend Probability Index (TPI).
Each module outputs +1 (bullish), −1 (bearish), or 0 (neutral).
The average of these three signals becomes the composite TPI.
This averaging approach is what gives the strategy its name Universal: it smooths out conflicting short-term readings and reduces false triggers across different market environments.
1) AVWO — Adaptive VWMA Oscillator
Measures how far price deviates from its volume-weighted moving average.
Thresholds expand and contract automatically with volatility.
Detects sustained expansions above or below “fair value.”
2) ARSI — Adaptive RSI Baseline Filter
Uses RSI-derived sensitivity to build a dynamic baseline of momentum.
Flags overbought or oversold conditions only when momentum confirms direction.
Provides a smoother and more adaptive alternative to raw RSI signals.
3) Median–Volatility Engine
Combines a VWMA-median structure with ATR and standard deviation filters.
Validates uptrends when price expands above volatility bands while VWMA rises.
Detects breakdowns when price moves below lower ATR/SD limits.
TPI aggregation → trading logic
TPI = (AVWO + ARSI + MedianVol) / 3
Enter Long when TPI > T_up
Exit to Cash when TPI < T_d
No short exposure is taken by default, focusing instead on trend participation and capital preservation.
What you see on the chart
TPI Column Plot: green for bullish, red for bearish, gray for neutral.
Live trend gauge (table): displays current state (“Bullish / Bearish / Do nothing”) and a compact bar gauge proportional to trend strength.
Optional performance table (via Rocheur/Metric) showing return, Sharpe, Sortino, Omega, and drawdown.
Clean visual layout: all outputs are self-contained for easy interpretation.
Why it’s called Universal
Most strategies rely on parameters tuned to one specific market. UTFS V2 is built differently —
its averaging mechanism and adaptive thresholds make it applicable to a wide range of instruments and timeframes without re-optimization.
Because the TPI reflects a consensus of three uncorrelated engines, it delivers a clearer, more stable signal that adapts to both high- and low-volatility assets.
Inputs you can tune
Thresholds: Up Threshold (T_up) and Down Threshold (T_d)
AVWO parameters: VWMA length, threshold period, multipliers, adaptive smoothing
ARSI parameters: RSI length, MA length, threshold length, multipliers, alpha
Median/Volatility parameters: VWMA & median lengths, ATR & SD multipliers
Visual controls: color mode, table display, and performance curve selection
Backtest window: start and end times
How to use it
Apply to any market (crypto, stock, index, commodity, forex).
Use higher timeframes for strategic trend detection.
Trade only when TPI is clearly positive or negative; stay neutral otherwise.
Adjust thresholds to tune sensitivity — wider thresholds for smoother signals, tighter for faster reactions.
Monitor the table for current bias and historical performance.
Originality & strengths
Multi-engine averaging: smooths out conflicting short-term noise, resulting in more reliable, higher-clarity regime signals.
Adaptive thresholds: each module self-adjusts to volatility, reducing parameter sensitivity.
Universality: proven design concept that operates consistently across assets without asset-specific tuning.
Self-contained: no external dependencies, full visual and performance diagnostics on one chart.
Limitations & best practices
No strategy fits all markets perfectly; adjust lookbacks for your timeframe and volatility.
Very strong trends can hold the TPI at extremes for extended periods; treat exits contextually.
In sideways markets, neutral (gray) zones indicate low conviction — use them to reduce exposure.
Always validate parameters on out-of-sample data.
Chart-publishing guidance
Use a clean chart with UTFS V2 alone for clarity.
If you add any drawings, they should only illustrate TPI behavior or signal transitions.
Disclaimer
This strategy is for research and educational purposes only and not financial advice.
Markets carry risk, including loss of capital.
Past performance does not predict or guarantee future results.
Always backtest and manage risk appropriately before live use.
ETH MACD DEMA Strategy By Harvey (Protected Script)Strategy Description – MACD + DEMA Quantitative Trading System
This strategy combines the Moving Average Convergence Divergence (MACD) indicator with a Double Exponential Moving Average (DEMA) trend filter to capture both momentum shifts and trend reversals with precision.
It’s designed for crypto perpetual futures, optimized for 1H–4H timeframes, and supports both long and short entries with configurable leverage and position sizing.
Core Logic
MACD Momentum Filter: Detects momentum acceleration and divergence between short- and long-term EMAs to confirm directional bias.
DEMA Trend Filter: Reduces lag compared to traditional EMAs, improving timing for entries and exits.
ATR-based Stop & Take-Profit: Dynamic risk control using ATR multipliers for stop-loss and target placement.
Dual-side Logic: Separate long/short conditions ensure symmetry and flexibility across market regimes.
Webhook Integration: Ready for automated execution via trading bots (e.g., Binance, Hyperliquid, Aster) using JSON-based alerts.
Key Features
Configurable parameters for DEMA, MACD, ATR, and leverage.
Optional higher-timeframe (HTF) trend confirmation.
Pyramiding control and adaptive volatility filters.
Partial take-profit and full-stop exit logic.
Detailed alert messages formatted for REST API automation.
Use Case
Ideal for traders seeking a balanced trend-following and momentum strategy, combining fast-moving averages with robust risk management.
Suitable for algorithmic execution or manual validation with clear visual cues on TradingView.
💡 Important:
To ensure correct signal generation, please set your chart’s Source to “MACD DEMA: signal.”
For optimal trend filtering, enable the HTF filter and set it to 240 (4H) to align lower-timeframe entries with higher-timeframe trends.
5 分鐘前
發行說明
Strategy Description – MACD + DEMA Quantitative Trading System
This strategy combines the Moving Average Convergence Divergence (MACD) indicator with a Double Exponential Moving Average (DEMA) trend filter to capture both momentum shifts and trend reversals with precision.
It’s designed for crypto perpetual futures, optimized for 1H–4H timeframes, and supports both long and short entries with configurable leverage and position sizing.
Core Logic
MACD Momentum Filter: Detects momentum acceleration and divergence between short- and long-term EMAs to confirm directional bias.
DEMA Trend Filter: Reduces lag compared to traditional EMAs, improving timing for entries and exits.
ATR-based Stop & Take-Profit: Dynamic risk control using ATR multipliers for stop-loss and target placement.
Dual-side Logic: Separate long/short conditions ensure symmetry and flexibility across market regimes.
Webhook Integration: Ready for automated execution via trading bots (e.g., Binance, Hyperliquid, Aster) using JSON-based alerts.
Key Features
Configurable parameters for DEMA, MACD, ATR, and leverage.
Optional higher-timeframe (HTF) trend confirmation.
Pyramiding control and adaptive volatility filters.
Partial take-profit and full-stop exit logic.
Detailed alert messages formatted for REST API automation.
Use Case
Ideal for traders seeking a balanced trend-following and momentum strategy, combining fast-moving averages with robust risk management.
Suitable for algorithmic execution or manual validation with clear visual cues on TradingView.
💡 Important:
To ensure correct signal generation, please set your chart’s Source to “MACD DEMA: signal.”
For optimal trend filtering, enable the HTF filter and set it to 240 (4H) to align lower-timeframe entries with higher-timeframe trends.
15 minute breakout strat version Breakout strategy for the 4th 15 minute candle of the US session.
Ideal for ES and GC currently.
2 Lots per trade. Stop is low of candle. Entry is close of 15 minute candle above high of candle.
TP1 is 1.5x entry - stop (1.5:1 RR on first lot). Stop is trailed below lows of subsequent candles for 2nd lot.
Solana 4H RSI->MACD — Counter-Trend By TetradTetrad RSI→RSI Cross→MACD (Sequenced) — Counter-Trend (SL-Only)
Category: Market-neutral, counter-trend, sequenced entries
Timeframe default: Works on any TF; designed around 4H On Solana
Markets: Any (spot, perp, futures); parameterize to your asset
What it does
This strategy hunts reversals using a 3-step sequence on RSI and MACD, then optionally restricts entries by market regime and a price gate. It shows stop-loss lines only when hit (clean chart), and paints a Donchian glow for quick read of backdrop conditions.
Entry logic (sequenced)
1. RSI Extreme:
Long path activates when RSI < Oversold (default 27.5).
Short path activates when RSI > Overbought (default 74).
2. RSI Cross confirmation:
Long path: RSI crosses up back above the oversold level.
Short path: RSI crosses down back below the overbought level.
Each step has a max bar lookback so stale signals time out.
3. MACD Cross trigger:
Long: MACD line crosses above Signal.
Short: MACD line crosses below Signal.
→ When step 3 fires and gates are satisfied, a trade is entered.
Optional gates & filters
Regime Filter (Counter-Trend):
Longs allowed in **Range / Short Trend / Short Parabolic** regimes.
Shorts allowed in **Range / Long Trend / Long Parabolic** regimes.
Based on ADX/DI and ATR% intensity.
* Price Gate (Long Ceiling):
Toggle to **disable new longs above a chosen price (default 209.0 For SOL).
Useful for assets like SOL where you want longs only below a cap.
Exits / Risk
* Stop-Loss (% of entry):** default **14%**, toggleable.
* SL visualization:** plots a **thin dashed red line only on the bar it’s hit**.
* (No take-profit or time-based exit in this version—keep it pure to the sequence and regime. Add TP/time exits if desired.)
Visuals
* Donchian Glow (50): background band only (upper/lower lines hidden).
* Regime HUD: compact table (top-right) highlighting the active regime.
* Minimal marks: no entry/exit “arms” clutter; only SL-hit lines render.
Inputs (key)
* Core: RSI Length, Oversold/Overbought, MACD Fast/Slow/Signal.
* Sequence: Max bars from Extreme→RSI Cross and RSI Cross→MACD Cross.
* Regime: ADX Length, Trend/Parabolic thresholds, ATR length & floor.
* Stops: Enable/disable; SL %.
* Price Gate: Enable; Long ceiling price.
Alerts
Sequenced Long (CT): RSIhigh → RSI cross down → MACD bear cross.
## Notes & Tips
Designed for counter-trend fades that become trend rides. The regime filter helps avoid fading true parabolics and aligns entries with safer contexts.
The sequence is stateful (steps must occur in order). If a step times out, the path resets.
Works on lower TFs, but the 4H baseline reduces noise and over-trading.
Consider pairing with volume or structure filters if you want fewer but higher-conviction entries.
Past performance ≠ future results. **Educational use only. Not financial advice.
XAUUSD 5-Min ORB + FVG (09:30–10:30, 1/day, 5% risk, ORB SL)5 min orb stratgey thta buys when it breaks above the range and sells when it breaks below
RSI SMA Cross StrategyRSI SMA Cross StrategyOverviewThis strategy is a simple yet effective trend-following system based on the Relative Strength Index (RSI) and its Simple Moving Average (SMA). It aims to capture long-term trends by entering long positions when the RSI crosses above its SMA (indicating bullish momentum) and exiting when it crosses below (signaling potential weakness). Designed for long-only trading, it's ideal for trending markets.Key FeaturesEntry Signal (Buy): Triggered when the current RSI value crosses above the SMA of RSI from the previous bar.
Exit Signal (Sell): Triggered when the current RSI value crosses below the SMA of RSI from the previous bar.
Position Sizing: Allocates 100% of available equity to each trade.
Costs: Incorporates 0.1% commissions and 1 tick slippage for realistic backtesting.
Date Range: Trades start from January 1, 2018, onwards.
Source: Uses the low price for RSI calculation (customizable via inputs).
Default ParametersRSI Length: 250 periods
SMA Length: 73 periods
Source: Low price
Additional Visuals & AlertsBuy/Sell Shapes: Green triangle up for buys, red triangle down for sells.
RSI 50 Level Crosses: Optional tiny circles marking when RSI crosses above/below 50 (green for above, red for below).
Alerts: Built-in alerts for buy/sell signals and RSI 50 crosses.
Usage TipsBest suited for daily or higher timeframes on stocks, indices, or forex pairs.
Backtest on your preferred symbols to optimize parameters.
Combine with other filters (e.g., trend confirmation) for better performance in ranging markets.
This strategy is for educational purposes. Always manage risk and conduct your own research before trading. Enjoy trading!
Scalping Pro Max - BVKScalping Pro Max Strategy is a powerful intraday setup built for precision and speed.
It combines EMA 21, MACD, and RSI to identify short-term market momentum.
The 21 EMA acts as a dynamic trend filter — price above it signals bullish bias.
MACD confirms momentum strength and possible entry zones with crossover signals.
RSI helps spot overbought or oversold levels for accurate entry timing.
This setup works best on 1-min to 5-min charts for quick scalping opportunities.
Traders aim for small but consistent profits with tight stop-losses.
It avoids false breakouts by aligning all three indicators before entry.
Perfect for volatile sessions like London and New York market hours.
Scalping Pro Max delivers high-precision trades with disciplined execution and timing.
Pump-Smart Shorting StrategyThis strategy is built to keep your portfolio hedged as much as possible while maximizing profitability. Shorts are opened after pumps cool off and on new highs (when safe), and closed quickly during strong upward moves or if stop loss/profit targets are hit. It uses visual overlays to clearly show when hedging is on, off, or blocked due to momentum, ensuring you’re protected in most market conditions but never short against the pump. Fast re-entry keeps the hedge active with minimal downtime.
Pump Detection:
RSI (Relative Strength Index): Calculated over a custom period (default 14 bars). If RSI rises above a threshold (default 70), the strategy considers the market to be in a pump (strong upward momentum).
Volume Spike: The current volume is compared to a 20-bar simple moving average of volume. If it exceeds the average by 1.5× and price increases at least 5% in one bar, pump conditions are triggered.
Price Jump: Measured by (close - close ) / close . A single-bar change > 5% helps confirm rapid momentum.
Pump Zone (No Short): If any of these conditions is true, an orange or red background is shown and shorts are blocked.
Cooldown and Re-Entry:
Cooldown Detection: After the pump ends, RSI must fall below a set value (default ≤ 60), and either volume returns towards average or price momentum is less than half the original spike (oneBarUp <= pctUp/2).
barsWait Parameter: You can specify a waiting period after cooldown before a short is allowed.
Short Entry After Pump/Cooldown: When these cooldown conditions are met, and no short is active, a blue background is shown and a short position is opened at the next signal.
New High Entry:
Lookback New High: If the current high is greater than the highest high in the last N bars (default 20), and pump is NOT active, a short can be opened.
Take Profit (TP) & Stop Loss (SL):
Take Profit: Short is closed if price falls to a threshold below the entry (minProfitPerc, default 2%).
Stop Loss: Short is closed if price rises to a threshold above the entry (stopLossPerc, default 6%).
Preemptive Exit:
Any time a pump is detected while a short position is open, the strategy closes the short immediately to avoid losses.
Visual Feedback:
Orange Background: Market is pumping, do not short.
Red Background: Other conditions block shorts (cooldown or waiting).
Blue Background: Shorts allowed.
Triangles/Circles: Mark entries, pump start/end, for clear trading signals.
Pump-Smart Shorting StrategyThis strategy is designed for actively hedging long token positions by opening and closing short positions in response to market momentum, specifically after strong upward moves ("pumps"). It incorporates momentum detection, cooldown logic, and avoids shorting during periods of high volatility or when a pump is active. The script includes risk management, visual feedback zones for operational states, and a control panel for real-time diagnostics.
How The Strategy Works
1. Pump Detection
The strategy monitors for strong upward moves using:
- RSI (Relative Strength Index): A value ≥ 70 signals strong buying momentum.
- Volume: If current volume exceeds 1.5× the average, combined with a single-bar price jump > 5%.
- When these pump conditions are met, the strategy blocks shorts and colors the background orange.
2. Pump End and Cooldown
Once pump conditions cease, the strategy enters a cooldown phase:
RSI must drop to ≤ 60.
Either the price momentum slows or volume returns to near average.
Users can set a waiting period (barsWait) after the pump ends before entering shorts.
3. Short Trade Entry
Shorts are opened only if:
- The pump has ended and cooldown conditions are met (shortAfterPump).
- Or a new high is established and no pump is underway (shortOnPeak).
Visual indicators:
Blue arrow for "short after pump".
Red arrow for "short on a new high".
4. No-Short Zones
A red background flag indicates zones where shorting is blocked:
If pump conditions are active.
If market is still cooling down post-pump.
If the cooldown period (barsWait) hasn't elapsed.
5. Position Management & Risk Controls
The script only opens a short if no short is currently active.
Take Profit (green line): Short closes if price falls ~2% below the short entry.
Stop Loss (red line): Short closes if price rises ~6% above the entry.
If a pump is detected while in a short, the position is closed immediately to mitigate risk.
6. Real-Time Visual Feedback
Shapes Above Bars:
Orange circle: pump start
Teal circle: pump end
Blue triangle: short after pump
Red triangle: short on new high
Overlay Lines:
Blue line: active short entry price
Green line: take profit threshold
Red line: stop loss threshold
Background Colors:
Orange: pump zone (no shorts)
Blue: post-pump entry zone
Red: no-short zone (visual block for restricted shorts)
Info Panel (top right): Shows pump status, cooldown, entry opportunities, and whether shorting is blocked.
Customization Parameters
lookbackPeriod: Bars to look back for new highs
minProfitPerc: Take profit percent on shorts
stopLossPerc: Maximum allowed loss percent before stop out
rsiPeriod, rsiHigh, rsiCool: Momentum detection/cooldown tuning
volMult, pctUp: Volume and price jump sensitivity for pump detection
barsWait: Number of bars to wait post-pump before allowing shorts
hedgeTokens: Short position size per entry
Use Cases
Active Hedging: For users managing large, illiquid spot positions who want to systematically hedge risk after large upward moves.
Momentum-Aware Shorting: Ensures shorts are only entered after euphoria cools, tactics for avoiding squeeze/liquidation risk.
Visual Diagnostics: Clear overlays and color codes for trading zones, signal clarity, and operational feedback.
Strategy Logic Summary
Condition Action Visual Feedback
Pump detected Block shorts, close shorts Orange/red background
Pump ended, cooled Enable shorts Blue background, arrow
New high (no pump) Allow short entry Red arrow
Take profit reached Close short Green line
Stop loss reached Close short Red line
Blocked zone No shorts allowed Red background
This script is robust for market environments with frequent volatility spikes, giving traders a clear, rule-based template for short-side risk management.Documentation: Short After Pump Ends Strategy
Purpose: This Pine Script strategy allows you to hedge long token positions by opening shorts after strong price pumps finish and during market consolidations. It is designed to minimize risk from short squeezes and avoid shorting during active pumps.
Key Features:
Pump Detection:
Uses RSI, volume, and single-bar price jump to detect if the market is in an upward pump.
No short positions are opened during these zones. Red background visually highlights these periods.
Orange background highlights active pump zones.
Cooldown Logic:
Shorts are only opened after the pump has ended and the market has cooled down (RSI ≤ 60, volume and momentum returned to normal).
You can set how many bars to wait after the pump ends (barsWait) before shorts can be placed again.
Short Entry Triggers:
Short After Pump: When cooldown completes and no short position is active.
Short on New High: If a new high is formed and no pump is active (optional; keep for more frequent entries).
Risk Management:
Take Profit (TP): Short closes if market falls the specified percentage from entry.
Stop Loss (SL): Short closes if market rises the specified percentage.
If a pump is detected while in a short, the short is closed immediately.
Visuals and Feedback:
Shape markers for pump start/end, short entries (arrows) — without labels for clean visuals.
Colored overlays:
Orange = pump zone (no shorting)
Blue = post-pump short entry zones
Red = no-short zones (blocked periods)
Panel widget displays pump status, cooldown, opportunities, and zone state.
Parameters:
lookbackPeriod: Number of bars for new high detection.
minProfitPerc: Take profit percentage for shorts.
stopLossPerc: Max loss percentage before the short is stopped.
rsiPeriod, rsiHigh, rsiCool: Controls for pump/cooldown detection.
volMult, pctUp: Volume and price jump detection for identifying pumps.
barsWait: Wait time after pump ends before shorts are allowed.
hedgeTokens: Number of tokens to use for each short position.
Logic Summary Table:
Market Condition Action Visual Feedback
Pump detected No shorts/open, close shorts Orange/red overlay
Pump ended and cooled Shorts enabled (entry) Blue overlay, no short zone removed
New high while not pumping Shorts enabled (entry) Red arrow
TP or SL hit Short closed Green/red line overlay
Blocked periods No short allowed Red overlay
Usage:
- Deploy this strategy to minimize drawdown from post-pump reversals.
- Identify and avoid risky periods with clear overlays and marker signals.
- Actively hedge positions only when market is not in a strong upward momentum.
Customizable for:
- More conservative/aggressive pump detection (change RSI/volume/price thresholds).
- Adaptable to different token sizes and market environments (modify hedgeTokens, waiting periods, percent thresholds).
5-Min EMA MACD RSI Scalping (MACD 5 Candles Confirm) - BVK 🔹 5-Min EMA MACD RSI Scalping Strategy – Full Description
The 5-Min EMA MACD RSI Scalping Strategy is a powerful intraday trading technique designed for quick trades on lower timeframes, mainly the 5-minute chart. It combines trend confirmation (EMA), momentum analysis (MACD), and overbought/oversold signals (RSI) to capture short, high-probability price moves in both bullish and bearish markets.
⚙️ Indicators Used:
Exponential Moving Averages (EMA)
EMA 9 – Fast-moving average for entry trigger.
EMA 21 – Medium-term average for trend confirmation.
When EMA 9 crosses above EMA 21 → Bullish bias.
When EMA 9 crosses below EMA 21 → Bearish bias.
MACD (12, 26, 9)
Confirms momentum and possible entry zones.
Bullish confirmation: MACD line crosses above signal line.
Bearish confirmation: MACD line crosses below signal line.
RSI (14-period)
Filters out false signals.
Buy zone: RSI rising above 40–50.
Sell zone: RSI falling below 60–50.
Avoid trades when RSI is near 70 (overbought) or 30 (oversold).
💡 Entry Rules:
Buy Setup (Long Trade):
EMA 9 crosses above EMA 21.
MACD line crosses above signal line (positive momentum).
RSI is above 50 but below 70 (confirming strength).
Enter trade at candle close.
Sell Setup (Short Trade):
EMA 9 crosses below EMA 21.
MACD line crosses below signal line.
RSI is below 50 but above 30 (confirming weakness).
Enter trade at candle close.
🎯 Exit Rules:
Take Profit: 1.5x to 2x of risk or near the opposite EMA crossover.
Stop Loss: Below/above recent swing low/high or 0.3–0.5% away from entry.
Optional trailing stop using EMA 9 for dynamic exits.
📊 Best Timeframes & Assets:
Works best on 5-minute charts.
Suitable for Forex, Indices, Cryptocurrency, and Stocks with good liquidity.
Avoid major news events or low-volume sessions.
⚠️ Tips for Best Results:
Trade only during high-volume market sessions (e.g., London/New York overlap).
Always confirm trend direction on higher timeframes (15m or 1H).
Avoid overtrading—wait for clear signal confluence (EMA + MACD + RSI).
🧠 Strategy Summary:
“EMA gives you the trend, MACD gives you momentum, and RSI keeps you disciplined.”
This strategy is simple yet effective for traders who prefer quick in-and-out trades within minutes, offering a structured approach to scalping with reduced emotional bias.
VAH Entry / VAL Exit (Xauusd) by TheMarketVengeanceThis strategy replicates a simplified intraday Market Profile/TPO approach for assets such as XAUUSD on key auction levels and volume dynamics to identify high-probability breakouts and exits.
Value Area Calculation: Each new day, the script accumulates all price and volume data to approximate the previous day’s Volume Weighted Average Price (VWAP, used here as Point of Control or POC). The Value Area High (VAH) and Value Area Low (VAL) are estimated as one standard deviation above and below this daily VWAP, representing the core 70% trading range where the majority of volume transacted.
Entry and Exit Logic: A long trade is triggered when price breaks out above yesterday’s VAH (plus a user-defined buffer) on above-average volume—this confirms momentum outside the fair value range. Exits occur if price falls below VAL, suggesting rejection of higher prices and a shift in auction direction.
Volume Confirmation: Entry signals require volume to be above the moving average, ensuring participation and validation of breakouts.
Intraday Plotting: The strategy plots the previous VAH, VAL, POC, and trigger/entry levels throughout the day for clear, visual reference.
Risk Management: The “pips” buffer input allows traders to fine-tune sensitivity for different markets ( 10pips for gold). Multiple entries are prevented until a new breakout opportunity emerges on the next session.
Only for XAUUSD.
Disclaimer:
This strategy is provided for educational purposes only. It is important to thoroughly review and backtest the strategy under your specific trading conditions before using it with real capital. The author and publisher are not responsible for any trading losses incurred.
Custom TPO Approximation by TheMartketVengeanceThis strategy replicates a simplified intraday Market Profile/TPO approach for assets such as XAUUSD, FX, or stocks, focusing on key auction levels and volume dynamics to identify high-probability breakouts and exits.
Value Area Calculation: Each new day, the script accumulates all price and volume data to approximate the previous day’s Volume Weighted Average Price (VWAP, used here as Point of Control or POC). The Value Area High (VAH) and Value Area Low (VAL) are estimated as one standard deviation above and below this daily VWAP, representing the core 70% trading range where the majority of volume transacted.
Entry and Exit Logic: A long trade is triggered when price breaks out above yesterday’s VAH (plus a user-defined buffer) on above-average volume—this confirms momentum outside the fair value range. Exits occur if price falls below VAL, suggesting rejection of higher prices and a shift in auction direction.
Volume Confirmation: Entry signals require volume to be above the moving average, ensuring participation and validation of breakouts.
Intraday Plotting: The strategy plots the previous VAH, VAL, POC, and trigger/entry levels throughout the day for clear, visual reference.
Risk Management: The “pips” buffer input allows traders to fine-tune sensitivity for different markets (such as 0.0001 for FX or 1 for gold). Multiple entries are prevented until a new breakout opportunity emerges on the next session.
This method enables traders to systemize breakout trades with solid context from auction market theory, volume confirmation, and precise intraday tracking.
ttr双模式移动止盈止损策略V1该策略通过趋势判断当前所处的周期以及波动,开仓逻辑为小仓位大杠杠,在波动中进行移动的止盈止损。The strategy judges the current cycle and volatility through trends, with an opening logic of "small position size and high leverage", and implements dynamic take-profit and stop-loss amid volatility
XqKtPvRwSdA common technical indicator for internal testing purposes, no need for special attention.
Institutional Confluence Strategy - 4H Only This is the best 4H Strategy with over 8.1 Win rate. Test before implementing it.
| 🧠 **Auto Risk Sizing** | Calculates position size dynamically (based on equity & ATR). |
| ⚙️ **Dynamic SL/TP** | Adjusts to volatility automatically. |
| ⚡ **Range Adaptation** | Uses RSI + BB compression to catch sideways reversals. |
| 🎯 **Low-Noise Entries** | Requires SMA crossover + RSI + BB touch. |
| 📊 **Backtestable** | Use Strategy Tester to view win rate, profit factor, etc. |
Triple SuperTrend + RSI + Fib BB + Vol Osc Strategy✅ Key Features Implemented:
Three SuperTrend Indicators with different opacities:
ST1: 10 period, 1.0 multiplier (solid)
ST2: 11 period, 2.0 multiplier (40% transparent)
ST3: 12 period, 3.0 multiplier (70% transparent)
Signal Logic (no repainting):
BUY: All 3 SuperTrends turn green + RSI(7) > 50
SELL: All 3 SuperTrends turn red + RSI(7) < 50
EXIT: Any SuperTrend changes color OR price touches Fib BB
Fibonacci Bollinger Bands (200 SMA ± 2.618 × StdDev):
Purple bands with subtle fill
Gray dashed middle line
Visual Elements:
Green "BUY" labels below bars
Red "SELL" labels above bars
Yellow circle "EXIT" labels at candle tops
Green/red background tint when all STs align
Info dashboard showing real-time status
Alert Conditions for BUY, SELL, and EXIT
Position Tracking ensures only one signal per condition change
📊 Usage:
Copy the entire code and paste it into TradingView's Pine Editor, then click "Add to Chart". The indicator will display all three SuperTrends, Fibonacci Bollinger Bands, and generate signals according to your exact specifications.
The dashboard in the top-right corner shows the current status of each SuperTrend, RSI value, and whether you're in a position!RetryLH