OPEN-SOURCE SCRIPT
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.
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.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。