Trend MatrixFinal TradingView-Compliant Description for Trend Matrix
Trend Matrix is a precision-engineered trend-following strategy built for high-confidence entries and tactical trade management.
This strategy combines multiple non-repainting filters, each with a distinct role, to form a unified "trend matrix" that confirms directional bias, volume commitment, and momentum strength — all before entry is considered.
🔍 Core Components & Why They’re Used
🧠 Gaussian Filter (Custom)
A smoothed Gaussian-weighted moving average is used to detect trend direction changes. Unlike standard EMAs, this filter minimizes lag while retaining smooth transitions — ideal for confirming trend shifts without false reversals.
📈 RMI Trend Memory
A Relative Momentum Index is used to validate trend direction persistence. RMI's ability to filter out short-term oscillations makes it ideal for confirming whether a trend is still active.
📊 Gradient Filter (ZLEMA-based)
Measures the slope of a ZLEMA-smoothed close. If slope flips, it signals a potential trend weakness. This provides real-time confirmation for entry or exit bias.
📉 Volume Spike Detection
Confirms that breakouts or trend continuations are supported by volume commitment. Uses a dynamic SMA-based volume filter with a user-defined multiplier.
🟦 White Line (Bias Midpoint)
This structural component calculates the midpoint of the highest high and lowest low over a range — providing directional context and helping eliminate trades in consolidation zones.
🎯 Entry Conditions
Long entries require:
Gaussian trend flip to the upside
RMI > 50 (bullish memory)
Volume spike confirmation
Positive gradient (ZLEMA slope)
Price above White Line (bias filter)
Short entries use the inverse logic.
All entries enforce a cooldown bar to prevent same-bar reversals or whipsaw trades.
🎯 Exit Conditions
Take Profit 1: 50% of position at +2%
Take Profit 2: Remaining 50% at +4%
Early Exit on Trend Weakness:
Position closes fully if the trend weakens (RMI flip or gradient reversal)
📊 Dashboard + Performance Tracking
The built-in dashboard shows:
Current Position
Entry Price
TP1/TP2 Hit Status
Bars Since Entry
Win Rate (%)
Profit Factor
Useful for manual tracking or live trading review.
🌐 Multi-Exchange Bot Compatibility
Trend Matrix is built with universal trade alerts using customizable comment= fields. This makes it compatible with any exchange-connected bot platform such as:
WunderTrading
3Commas
Alertatron
Cornix
Or any webhook-based trading system
Alerts are sent using the {{strategy.order.comment}} placeholder, allowing you to route entries and exits through your preferred exchange account on Binance, Bybit, OKX, Kraken, and others.
🛠️ Customization
All components are modular:
TP1/TP2 levels
Gaussian length & sigma
Volume spike filter sensitivity
Gradient & White Line length
RMI settings
You can tailor the strategy for different assets or timeframes — optimized for crypto 1H, but works with stocks, FX, or lower timeframes with adjusted parameters.
✅ Final Notes
Trend Matrix is not just a mashup — it's a synchronized system of filters with clear roles, designed to maximize trade confidence and minimize noise. Every layer of confirmation serves a purpose, making this a highly adaptive trend-following tool for any market environment.
⚠️ Disclaimer (as required by TradingView)
This script is for educational purposes only and does not constitute financial advice. Use at your own risk. Always test strategies thoroughly before applying them in live trading environments. Past performance is not indicative of future results.
지표 및 전략
Bysq-Distance Reversal Entry - BTCUSDT (v6)Strategy Concept
This is a hybrid momentum-reversal strategy for BTC/USDT that combines:
A distance-based momentum approach (original Bysq-style)
A MACD crossover reversal system
The strategy uses technical indicators and statistical distance measurements to identify potential trend reversals and momentum shifts.
⛅ CloudEdgeCloudEdge Strategy Description
This strategy uses key elements of the Ichimoku Cloud to analyze market trends and identify potential reversal signals. It incorporates the calculations of Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, and Chikou Span. Based on eight bullish signals—such as the price rising compared to its past level, the price trading above the Tenkan-sen, the Tenkan-sen crossing above the Kijun-sen, and recent crossovers involving the Chikou Span—the strategy determines entry and exit points.
When the number of bullish signals meets or exceeds a predefined threshold, a long (buy) position is entered and any short (sell) positions are closed.
Conversely, if the number of bullish signals falls below the specified bearish threshold, a short position is initiated and any long positions are closed.
The chart visually represents the strategy’s components by plotting the Ichimoku lines, the cloud (Kumo), signal markers, and a label displaying the count of bullish signals. This aids in understanding the underlying market structure and assessing the strategy's effectiveness.
Return-to-Trend Wick Scalper — Full Control VersionReturn-to-Trend Wick Scalper — Modular Scalping Strategy for Gold (XAUUSD) & Indices
This is a precision-engineered scalping strategy designed primarily for high-volatility instruments such as Gold (XAUUSD), NASDAQ, and indices.
The system focuses on counter-trend pullbacks within the dominant daily trend, utilizing wick-based liquidity grabs (commonly referred to as “John Wick” candles) to identify high-probability return-to-trend opportunities.
Key Features:
✅ Dynamic Wick Reversal Detection: Detects reversal setups based on wick dominance and body ratio.
✅ Multiple Take Profit Levels: TP1, TP2, TP3 with individual enable/disable toggles and adjustable exit percentages.
✅ Time-Based Stop-Loss: Optional failsafe to close trades after exceeding a defined number of bars.
✅ VWAP Proximity Filter: Ensures entries happen near volume-weighted average price for precision.
✅ Pullback Depth Control: Filter for significant pullbacks using percentage of daily ATR.
✅ Dynamic Support & Resistance Validation: Confirms setups at key reactive levels.
✅ Volatility Filter: Avoids entries in overly volatile or dead market conditions.
✅ Aggressive Entry Mode: Optional early entry at pullback zones for faster fills.
✅ Paper Trading & Backtest Ready: Fully compatible with TradingView’s Paper Trading simulator.
Usage Notes:
Optimized for 5-minute chart entries.
Use in conjunction with Paper Trading for forward testing before live execution.
Can be connected to live brokers via alert webhooks and external bridges like PineConnector.
Instrument Focus:
Gold (XAUUSD) ✅
NASDAQ ✅
Dow Jones (US30) ✅
Other liquid indices ✅
Risk Note:
Always test thoroughly in Paper Trading before going live.
Optimize TP levels and filters according to market volatility conditions.
Designed for traders who want precision entries, flexibility in scaling out positions, and professional-grade risk control.
DI+/- Cross Strategy with ATR SL and 2% TPDI+/- Cross Strategy with ATR Stop Loss and 2% Take Profit
📝 Script Description for Publishing:
This strategy is based on the directional movement of the market using the Average Directional Index (ADX) components — DI+ and DI- — to generate entry signals, with clearly defined risk and reward targets using ATR-based Stop Loss and Fixed Percentage Take Profit.
🔍 How it works:
Buy Signal: When DI+ crosses above 40, signaling strong bullish momentum.
Sell Signal: When DI- crosses above 40, indicating strong bearish momentum.
Stop Loss: Dynamically calculated using ATR × 1.5, to account for market volatility.
Take Profit: Fixed at 2% above/below the entry price, for consistent reward targeting.
🧠 Why it’s useful:
Combines momentum breakout logic with volatility-based risk management.
Works well on trending assets, especially when combined with higher timeframe filters.
Clean BUY and SELL visual labels make it easy to interpret and backtest.
✅ Tips for Use:
Use on assets with clear trends (e.g., major forex pairs, trending stocks, crypto).
Best on 30m – 4H timeframes, but can be customized.
Consider combining with other filters (e.g., EMA trend direction or Bollinger Bands) for even better accuracy.
BONK/USD (1H) - $4k DCA + Dual Trailing + Date FilterThis strategy trades BONK/USD on the 1-hour chart, employing a Dollar-Cost Averaging (DCA) approach for long entries.
It initiates a Base Order when a faster Exponential Moving Average (EMA) crosses above a slower one (signaling a potential uptrend, default 9/21 EMA). If the price declines after entry, it can automatically place up to two additional Safety Orders at predetermined lower levels, calculated using either Average True Range (ATR) volatility or fixed percentage drops.
Exits are triggered by a trend reversal (EMA crossunder) or a dual trailing stop-loss mechanism, which includes both a standard trail and a tighter profit-locking trail activated after reaching a certain profit target.
The strategy includes user-configurable inputs for all key parameters (EMAs, order sizes, trailing stops, SO spacing) and an optional date filter to limit backtesting or execution to a specific period. It also generates alerts formatted for potential automation with platforms like 3Commas.
Batman - Supertrend with MA + SL/TP + Dynamic Profit %This Pine Script is a complete strategy script for TradingView named "Batman - Supertrend with MA + SL/TP + Dynamic Profit %". It's designed to help traders visually and programmatically:
Identify buy/sell signals using a Supertrend indicator
Confirm trend direction using a customizable moving average (MA)
Automatically manage trades with Stop Loss (SL) and three Take Profit (TP) levels
Track dynamic profit % from entry
Generate alerts for signal and TP hits
Visualize trade levels and conditions directly on the chart
Indicators Used:
Supertrend: Primary signal generator.
Moving Average: Used to confirm or visualize trend strength.
🎯 Signal Logic:
Buy Signal: When price crosses above the Supertrend line.
Sell Signal: When price crosses below the Supertrend line.
🔁 Entry Execution:
Long or short orders are placed based on crossover/crossunder signals.
The entry price is saved to track profits and SL/TP levels.
💰 Profit Tracking:
Calculates and displays real-time dynamic profit % of the current open trade.
A floating label shows this near the candle high.
🛡️ Risk Management:
Automatically plots:
Stop Loss line
TP1, TP2, TP3 levels
Separate lines for long and short positions.
🚨 Alerts:
Alert conditions for:
Buy/Sell signals
Hitting any of the 3 Take Profit targets (both long and short)
Hope it helps!
Dskyz (DAFE) MAtrix with ATR-Powered Precision Dskyz (DAFE) MAtrix with ATR-Powered Precision
This cutting‐edge futures trading strategy built to thrive in rapidly changing market conditions. Developed for high-frequency futures trading on instruments such as the CME Mini MNQ, this strategy leverages a matrix of sophisticated moving averages combined with ATR-based filters to pinpoint high-probability entries and exits. Its unique combination of adaptable technical indicators and multi-timeframe trend filtering sets it apart from standard strategies, providing enhanced precision and dynamic responsiveness.
imgur.com
Core Functional Components
1. Advanced Moving Averages
A distinguishing feature of the DAFE strategy is its robust, multi-choice moving averages (MAs). Clients can choose from a wide array of MAs—each with specific strengths—in order to fine-tune their trading signals. The code includes user-defined functions for the following MAs:
imgur.com
Hull Moving Average (HMA):
The hma(src, len) function calculates the HMA by using weighted moving averages (WMAs) to reduce lag considerably while smoothing price data. This function computes an intermediate WMA of half the specified length, then a full-length WMA, and finally applies a further WMA over the square root of the length. This design allows for rapid adaptation to price changes without the typical delays of traditional moving averages.
Triple Exponential Moving Average (TEMA):
Implemented via tema(src, len), TEMA uses three consecutive exponential moving averages (EMAs) to effectively cancel out lag and capture price momentum. The final formula—3 * (ema1 - ema2) + ema3—produces a highly responsive indicator that filters out short-term noise.
Double Exponential Moving Average (DEMA):
Through the dema(src, len) function, DEMA calculates an EMA and then a second EMA on top of it. Its simplified formula of 2 * ema1 - ema2 provides a smoother curve than a single EMA while maintaining enhanced responsiveness.
Volume Weighted Moving Average (VWMA):
With vwma(src, len), this MA accounts for trading volume by weighting the price, thereby offering a more contextual picture of market activity. This is crucial when volume spikes indicate significant moves.
Zero Lag EMA (ZLEMA):
The zlema(src, len) function applies a correction to reduce the inherent lag found in EMAs. By subtracting a calculated lag (based on half the moving average window), ZLEMA is exceptionally attuned to recent price movements.
Arnaud Legoux Moving Average (ALMA):
The alma(src, len, offset, sigma) function introduces ALMA—a type of moving average designed to be less affected by outliers. With parameters for offset and sigma, it allows customization of the degree to which the MA reacts to market noise.
Kaufman Adaptive Moving Average (KAMA):
The custom kama(src, len) function is noteworthy for its adaptive nature. It computes an efficiency ratio by comparing price change against volatility, then dynamically adjusts its smoothing constant. This results in an MA that quickly responds during trending periods while remaining smoothed during consolidation.
Each of these functions—integrated into the strategy—is selectable by the trader (via the fastMAType and slowMAType inputs). This flexibility permits the tailored application of the MA most suited to current market dynamics and individual risk management preferences.
2. ATR-Based Filters and Risk Controls
ATR Calculation and Volatility Filter:
The strategy computes the Average True Range (ATR) over a user-defined period (atrPeriod). ATR is then used to derive both:
Volatility Assessment: Expressed as a ratio of ATR to closing price, ensuring that trades are taken only when volatility remains within a safe, predefined threshold (volatilityThreshold).
ATR-Based Entry Filters: Implemented as atrFilterLong and atrFilterShort, these conditions ensure that for long entries the price is sufficiently above the slow MA and vice versa for shorts. This acts as an additional confirmation filter.
Dynamic Exit Management:
The exit logic employs a dual approach:
Fixed Stop and Profit Target: Stops and targets are set at multiples of ATR (fixedStopMultiplier and profitTargetATRMult), helping manage risk in volatile markets.
Trailing Stop Adjustments: A trailing stop is calculated using the ATR multiplied by a user-defined offset (trailOffset), which captures additional profits as the trade moves favorably while protecting against reversals.
3. Multi-Timeframe Trend Filtering
The strategy enhances its signal reliability by leveraging a secondary, higher timeframe analysis:
15-Minute Trend Analysis:
By retrieving 15-minute moving averages (fastMA15m and slowMA15m) via request.security, the strategy determines the broader market trend. This secondary filter (enabled or disabled through useTrendFilter) ensures that entries are aligned with the prevailing market direction, thereby reducing the incidence of false signals.
4. Signal and Execution Logic
Combined MA Alignment:
The entry conditions are based primarily on the alignment of the fast and slow MAs. A long condition is triggered when the current price is above both MAs and the fast MA is above the slow MA—complemented by the ATR filter and volume conditions. The reverse applies for a short condition.
Volume and Time Window Validation:
Trades are permitted only if the current volume exceeds a minimum (minVolume) and the current hour falls within the predefined trading window (tradingStartHour to tradingEndHour). An additional volume spike check (comparing current volume to a moving average of past volumes) further filters for optimal market conditions.
Comprehensive Order Execution:
The strategy utilizes flexible order execution functions that allow pyramiding (up to 10 positions), ensuring that it can scale into positions as favorable conditions persist. The use of both market entries and automated exits (with profit targets, stop-losses, and trailing stops) ensures that risk is managed at every step.
5. Integrated Dashboard and Metrics
For transparency and real-time analysis, the strategy includes:
On-Chart Visualizations:
Both fast and slow MAs are plotted on the chart, making it easy to see the market’s technical foundation.
Dynamic Metrics Dashboard:
A built-in table displays crucial performance statistics—including current profit/loss, equity, ATR (both raw and as a percentage), and the percentage gap between the moving averages. These metrics offer immediate insight into the health and performance of the strategy.
Input Parameters: Detailed Breakdown
Every input is meticulously designed to offer granular control:
Fast & Slow Lengths:
Determine the window size for the fast and slow moving averages. Smaller values yield more sensitivity, while larger values provide a smoother, delayed response.
Fast/Slow MA Types:
Choose the type of moving average for fast and slow signals. The versatility—from basic SMA and EMA to more complex ones like HMA, TEMA, ZLEMA, ALMA, and KAMA—allows customization to fit different market scenarios.
ATR Parameters:
atrPeriod and atrMultiplier shape the volatility assessment, directly affecting entry filters and risk management through stop-loss and profit target levels.
Trend and Volume Filters:
Inputs such as useTrendFilter, minVolume, and the volume spike condition help confirm that a trade occurs in active, trending markets rather than during periods of low liquidity or market noise.
Trading Hours:
Restricting trade execution to specific hours (tradingStartHour and tradingEndHour) helps avoid illiquid or choppy markets outside of prime trading sessions.
Exit Strategies:
Parameters like trailOffset, profitTargetATRMult, and fixedStopMultiplier provide multiple layers of risk management and profit protection by tailoring how exits are generated relative to current market conditions.
Pyramiding and Fixed Trade Quantity:
The strategy supports multiple entries within a trend (up to 10 positions) and sets a predefined trade quantity (fixedQuantity) to maintain consistent exposure and risk per trade.
Dashboard Controls:
The resetDashboard input allows for on-the-fly resetting of performance metrics, keeping the strategy’s performance dashboard accurate and up-to-date.
Why This Strategy is Truly Exceptional
Multi-Faceted Adaptability:
The ability to switch seamlessly between various moving average types—each suited to particular market conditions—enables the strategy to adapt dynamically. This is a testament to the high level of coding sophistication and market insight infused within the system.
Robust Risk Management:
The integration of ATR-based stops, profit targets, and trailing stops ensures that every trade is executed with well-defined risk parameters. The system is designed to mitigate unexpected market swings while optimizing profit capture.
Comprehensive Market Filtering:
By combining moving average crossovers with volume analysis, volatility thresholds, and multi-timeframe trend filters, the strategy only enters trades under the most favorable conditions. This multi-layered filtering reduces noise and enhances signal quality.
-Final Thoughts-
The Dskyz Adaptive Futures Elite (DAFE) MAtrix with ATR-Powered Precision strategy is not just another trading algorithm—it is a multi-dimensional, fully customizable system built on advanced technical principles and sophisticated risk management techniques. Every function and input parameter has been carefully engineered to provide traders with a system that is both powerful and transparent.
For clients seeking a state-of-the-art trading solution that adapts dynamically to market conditions while maintaining strict discipline in risk management, this strategy truly stands in a class of its own.
****Please show support if you enjoyed this strategy. I'll have more coming out in the near future!!
-Dskyz
Caution
DAFE is experimental, not a profit guarantee. Futures trading risks significant losses due to leverage. Backtest, simulate, and monitor actively before live use. All trading decisions are your responsibility.
Bollinger Bands Strategy Direction & VWAP This is an updated version of classic Bollinger bands. It adds the VWAP line for reference but does not include the bands usually associated with that. It also allows for the turning on and off of longs or shorts, and limiting the duration of trades by the number of days with the default being set to 4(2 seems to be the optimal) I tested this against crypto currency perpetual markets and it consistently wins more than 60 percent of the trades against the majors ( BTC, ETH, SOL) but doesn't seems to do well against some small cap Alts. Id love to hear your feedback
Combined Breakout and Divergence SignalsCombined Breakout and Divergence Signals
🧠 Description:
This strategy combines price breakout logic with multi-indicator divergence detection, creating a powerful dual-filtered trading system that identifies high-probability entries. It’s designed to reduce false signals by only acting when both price action confirms a breakout and momentum-based divergence confirms a likely reversal or continuation.
⚙️ Core Logic:
The strategy executes trades only when a breakout is supported by recent divergences detected across a wide set of oscillators and momentum indicators. This dual-layer filtering helps eliminate noise and improves signal quality in trending and ranging markets.
🧩 Strategy Components:
🔺 Breakout Detection:
Identifies bullish breakouts when price exceeds previous high levels from bearish candles.
Detects bearish breakouts when price drops below low levels from bullish candles.
Optional First Arrow Only feature prevents repetitive entries during strong trends.
📉 Divergence Engine:
Scans for both Regular and Hidden divergences.
Supports 10 indicators: MACD, MACD Histogram, RSI, Stochastic, CCI, Momentum, OBV, VWmacd, CMF, MFI.
Flexible input options to customize divergence types, pivot length, max bars, and confirmation logic.
🔗 Combined Logic:
Trades are executed only when a breakout is confirmed by a recent divergence (within a customizable lookback window).
Supports both long and short entries with automatic position closing upon reverse signals.
✅ Features:
📊 10 Momentum & Volume Indicators for divergence confirmation.
🧮 Customizable Pivot Parameters and Divergence Types.
🧠 Adaptive Breakout Filter with trend direction memory.
🎯 Visual markers for Combined Buy/Sell Signals on chart.
🔁 Logical exit rules: trades are only closed upon an opposing signal.
🛠️ Inputs:
Breakout Settings: ATR period, max bars back, first arrow toggle.
Divergence Settings: Pivot period, type, source (Close / High-Low), min divergences required, confirmation toggle.
Indicator Toggles: Enable or disable any divergence indicator individually.
Lookback Control: Number of bars within which divergence must occur to be valid.
Signal Visualization: Custom colors for combined buy/sell arrows.
🎯 Use Cases:
Trend Traders can filter out false breakouts.
Mean Reversion Traders get entry signals backed by weakening momentum.
System Developers can test different indicator combos or divergence types.
🔒 Best Practices:
Use higher timeframes (e.g., 1H, 4H, Daily) for more reliable divergence signals.
Combine with risk management tools (e.g., stop loss, trailing SL) via external script if desired.
Analyze past signals via Strategy Tester to refine breakout/divergence synergy.
🧰 Suggestions for Optimization:
Fine-tune showlimit to balance signal quality vs. quantity.
Disable unused indicators to speed up performance.
Adjust combinedLookback to prevent stale divergences from triggering entries.
📌 This EA is a smart fusion of trend breakout logic and momentum-based divergences, offering a refined signal mechanism with adjustable precision for professional and systematic traders.
Ultimate Momentum & Trend Strategy v6The only strategy needed for both scalping and swingtrading.
Fully adjustable variables.
Giving signals for both sell and buy orders.
MTF OB + FVG Scalper EnhancedMulti-Timeframe Order Block + Fair Value Gap Scalper
Purpose: High-probability scalping with smart entry confirmation using structure, liquidity, and momentum filters.
🧠 Core Concepts Used
Order Blocks (OB) – Smart money footprints.
Fair Value Gaps (FVG) – Imbalance zones where price may return.
Multi-Timeframe Bias – Higher timeframe trend guides lower timeframe trades.
RSI Overbought/Oversold – Entry only when RSI indicates momentum exhaustion.
RSI Divergence – Entry only if price and RSI disagree (classic reversal signal).
CHoCH (Change of Character) – Early shift in market structure (plotted for extra context).
📈 Trade Entry Logic
You only take a trade when everything aligns:
✅ Long Entry:
Price returns into a bullish OB zone (engulfing candle logic).
HTF (daily) shows a bullish trend (close > EMA).
RSI is oversold (below 30).
Bullish RSI divergence is detected (price made a lower low, RSI made a higher low).
✅ Short Entry:
Price returns into a bearish OB zone.
HTF shows a bearish trend (close < EMA).
RSI is overbought (above 70).
Bearish RSI divergence is detected (price made a higher high, RSI made a lower high).
💰 Trade Management
Stop Loss: Set dynamically at ATR * 1.5 away from the entry price.
Take Profit: Same distance as SL, for a 1:1 Risk:Reward (can be modified).
Only one trade at a time is allowed (strategy.position_size == 0).
📊 Visuals & Overlays
OBs plotted as labels
FVGs drawn as rectangles (extend forward)
CHoCHs plotted with triangles for structure shifts
RSI divergence plotted as circles
Alerts fire when all conditions for long/short entries are met
🎯 Goal
This strategy is designed for precision scalping, entering when:
There's a return to smart money zones (OBs)
Liquidity imbalances (FVGs) are likely to get filled
Momentum is exhausted
Market structure has shifted or is turning
🧪 Use Cases
Perfect for forex, indices, crypto
Ideal on lower timeframes (1m to 15m) with daily HTF
Great for automated alerts or bots
DCA StrategyThis strategy makes it easy for you to backtest and automate the DCA strategy based on 2 triggers:
Day of the week
Every X candles
This way you can set up your DCA strategy the way you like and automate on any exchange or even a DEX, which offers an API.
The strategy is auto selling on the last candle, otherwise you won't see any performance numbers because all positions will still be open (non conclusive).
Settings
Start Date & End Date
Use those dates to help you with your backtest period. It also helps when automating, to start at a specific time to mimic what you have already done on your own portfolio and thus be in sync in TV as well.
Capital to invest per trade
Set how capital to use per DCA buy signal. Hover over the tooltip to understand, which currency is used.
Close All on last candle
When backtesting, you must close open positions, otherwise the Strategy Tester won't show you any numbers. This is why the strategy automatically closes all positions on the last candle for your convenience (ON per default).
BUT, when automating, you cannot have this checked because it would sell all of your asset on every candle open. So turn this OFF when automating.
Use Day of Week Mode
This checkbox switches between the "Day of Week" mode or the "Every X Candles" mode.
Day of Week
Opens a long position at the start of the weekday you have set it to.
Hover over the tooltip to understand, which number to use for the day of the week you need.
Every X Candles
Opens a long position after every x candles. Always at the start of every such candle.
On the daily chart, this number represents "1 day", on the 1h chart, it's "1 hour" and so on.
Properties
Initial Capital
DCA has a special quirk and that is that it invests more and more and more funds the longer it runs. But TradingView takes the Initial Capital number to calculate Net Profit, thus the Initial Capital number has to grow with every additional dollar (money) that is being invested over time, otherwise the Net Profit number will be wrong.
Sadly PineScript does not allow to set the Initial Capital number dynamically. So you have to set it manually.
To that end, this strategy shows a Label on the last candle, which shows the Invested Capital. You must take that number and put it into the Initial Capital input and click Ok .
If you don't do this, your Net Profit Number will be totally wrong!
The label must show green .
If it shows red it means you need to change the Initial Capital number before looking at the performance numbers.
After every timeframe or settings change, you must adapt the Initial Capital, otherwise you will get wrong numbers.
Heiken Ashi Supertrend ADX - StrategyHeiken Ashi Supertrend ADX Strategy
Overview
This strategy combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement.
Supertrend Filter : Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop : Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters: All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters: Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings: Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
Recommended Timeframes: Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Position Sizing: The strategy uses a percentage of equity approach (default: 3%) for position sizing
Performance Characteristics
When properly optimized, this strategy has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This strategy represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
T模型无重绘放心用V1发布半公开(已验证)Strategy Notes:
1: The strategy requires Binance Perpetual Contract data sources for all loaded coins.
2: Binance exchange data sources for all coins have been successfully loaded.
**Timeframe**: 4 hours
**Priority Coins**:
`BTCUSDT.P`, `ETHUSDT.P`, `ARCUSDT.P`, `VINEUSDT.P`, `NEIROUSDT`, `AI16ZUSDT.P`, `FILUSDT.P`, `SUSDT.P`, `TIAUSDT.P`, `AVAXUSDT.P`, `BCHUSDT.P`, `APEUSDT.P`, `WLDUSDT.P`, `MKRUSDT.P`, `HBARUSDT.P`, `DOGEUSD.P`, `ONDOUSDT.P`, `ARBUSDT.P`, `PIUSDT`, `AUCTIONUSDT.P`, `API3USDT.P`, `DOTUSDT.P`, `MAGICUSDT.P`, `KASUSDT.P`, `RAREUSDT.P`
**Secondary Coins**:
`LAYERUSDT.P`, `IPUSDT.P`, `KAITOUSDT.P`, `TRUMPUSDT.P`, `GALAUSDT.P`, `XRPUSDT.P`, `ICPUSDT.P`, `SANDUSDT.P`, `DYDXUSDT.P`, `TRXUSDT.P`
**Style**: Customize according to personal preferences.
---
### **Parameter Settings**:
- **Initial Capital**: 1000 USDT
- **Order Size**: 1000 (later changed to USDT)
- **Transaction Fee**: 0.05%
- **Order Execution**:
- Enable "K-line Amplifier"
- Execute on K-line close
- Use standard OHLC (Open/High/Low/Close)
---
**Note**:
Free to share with the community for one day. For authorization, please contact the author via WeChat: **ailiuliang6666**.
alpha.scalp.R-411.dom-2alpha.scalp.R-411.dom-2 is a proprietary scalping strategy designed for high-volatility crypto markets, especially on Binance Futures. Built using a custom regression model and crafted through extensive data analysis, this strategy is focused on capturing small, high-probability movements in the market.
Originally developed for the 15-minute timeframe, it performs remarkably well across different timeframes and adapts effectively to both trending and consolidating environments. It utilizes intelligent entry and exit logic tailored for short-duration trades and includes dynamic filters to reduce noise and avoid weak signals.
The strategy emphasizes risk-managed, micro-target scalping, making it suitable for traders looking for consistency over high-risk, high-reward trades. It’s ideal for high-frequency execution where precision and timing are critical.
Users are encouraged to backtest this strategy with a realistic commission setting (such as 0.3%) to account for trading fees, slippage, and funding costs when testing it in futures environments.
Silver Strat |BASIC| [AgJ]Silver Strat |Basic by SilverJROM
Strategy for multiple assets on cryptocurrencies
The Silver Strategy is a trading approach primarily developed for a wide range of cryptocurrencies, with Bitcoin (BTC) and Solana (SOL) serving as the main assets for testing and refinement. Its effectiveness in the cryptocurrency market stems from two key characteristics of these assets: (1) their prices tend to exhibit strong trends, either upward or downward, and (2) over the long term, their value generally increases. The strategy is designed to capitalize on these traits, and it may not perform well if applied to assets that lack these behaviors.
Additionally, the Silver Strategy is built for simplicity and flexibility. It features a core trading logic that handles the primary buy and sell decisions, complemented by optional auxiliary logic that users can enable or disable as needed. To support decision-making, the strategy incorporates trend and momentum calculations, which are visually represented through bar colors indicating trend strength. It also includes performance metrics, making it easy for users to evaluate the strategy’s results on a specific asset.
🧩 Key Features
8 Indicators
The strategy combines 8 unique indicators to analyze market trends, momentum, and conditions, generating precise buy and sell signals across various cryptocurrencies:
Oscillators : Detect overbought/oversold levels to pinpoint entry and exit opportunities, particularly in range-bound markets.
Trend Following : Monitor price direction and persistence to align with sustained bullish or bearish trends.
Momentum & Strength : Evaluate the speed and force of price movements to identify strong, actionable trends versus weaker signals.
Adaptive Calculations : Dynamically adjust to volatility and asset-specific factors, ensuring reliable performance.
By integrating these indicator classes, the strategy delivers a cohesive, adaptable system for confident trading decisions.
Customizability
The strategy has a core trading logic for long and short positions, with optional supplementary logic users can toggle to adjust its behavior for specific assets. This simple design skips complex tweaks, letting users easily adapt it to various cryptocurrencies or trading styles, like momentum or trend-following, while keeping it user-friendly and flexible.
Trend Strength
The strategy uses bar color for trend strength to reflect price trends and momentum based on its 8 indicators. Green bars signal a strong upward trend with bullish momentum, while red bars indicate a downward trend or crash. This color-coding helps traders quickly identify market conditions for better entry and exit decisions. Note that the bar color is a lagged indicator, reflecting past price movements rather than real-time shifts.
Metrics
The Silver Strategy offers user-friendly metrics integrated into TradingView, displaying the strategy’s performance directly on the time series screen. These metrics provide a clear summary of historical results, enabling users to assess and customize the strategy for each asset based on its past performance. Key features include:
Sortino Ratio to assess risk-adjusted returns with a focus on downside risk
Sharpe Ratio to measure overall return per unit of risk.
Profitability indicates the success rate of trades
Net Profit highlights the total gains achieved over time.
Class rating , reflecting its overall performance quality.
By analyzing these metrics, users can make data-driven decisions when adjusting the strategy’s logic flags—such as toggling Logic1 or Logic9—to optimize its behavior for different cryptocurrencies or market conditions, ensuring better alignment with their trading objectives.
BTCUSD
SOLUSD
ETHUSD
🔵 Usage
Tailor and Test: Create a customized strategy for any cryptocurrency by toggling logic flags (e.g., Logic1 for trend focus, Logic9 for momentum filters) to suit your trading style. Use the provided metrics to test historical performance—evaluating risk-adjusted returns, win rate, and overall gains—and refine your setup before deploying the strategy in live markets.
Risk Management : Implement robust risk controls by setting appropriate position sizes, using stop-loss orders, and adjusting trade frequency based on market volatility. This ensures the strategy aligns with your risk tolerance and financial goals, especially in the unpredictable crypto market.
Disclaimer : Past results, as reflected in the metrics, do not guarantee future performance. Market conditions, volatility, and asset behavior can change, so always trade with caution and adapt to current trends.
Silver Strat is a specific tool to help managing a portfolio mainly cryptocurrencies. This is a basic version, if you like this one, appreciate it and would like to support my work a PRO version of this strategy would be available version, kindly drop me a DM.
RSI Divergence w/ Visuals + Candle ConfirmationStrategy Blueprint: RSI Divergence Reversal (1H Timeframe)
RSI Period: 10
Timeframe: 1H
Entry Logic:
Bullish Divergence:
Price makes a lower low
RSI makes a higher low
RSI is below 30 before turning upward
Bearish Divergence:
Price makes a higher high
RSI makes a lower high
RSI is above 70 before turning downward
Exit Logic:
Fixed stop loss (e.g., 40 pips)
Fixed take profit (e.g., 80 pips)
Plot divergence lines:
Green for bullish divergence
Red for bearish divergence
Candlestick confirmation:
Bullish divergence triggers only if there's a bullish candle (close > open)
Bearish divergence triggers only if there's a bearish candle (close < open)
BONK 1H Long Volatility StrategyGrok 1hr bonk strategy:
Key Changes and Why They’re Made
1. Indicator Adjustments
Moving Averages:
Fast MA: Changed to 5 periods (from, e.g., 9 on a higher timeframe).
Slow MA: Changed to 13 periods (from, e.g., 21).
Why: Shorter periods make the moving averages more sensitive to quick price changes on the 1-hour chart, helping identify trends faster.
ATR (Average True Range):
Length: Set to 10 periods (down from, e.g., 14).
Multiplier: Reduced to 1.5 (from, e.g., 2.0).
Why: A shorter ATR length tracks recent volatility better, and a lower multiplier lets the strategy catch smaller price swings, which are more common hourly.
RSI:
Kept at 14 periods with an overbought level of 70.
Why: RSI stays the same to filter out overbought conditions, maintaining consistency with the original strategy.
2. Entry Conditions
Trend: Requires the fast MA to be above the slow MA, ensuring a bullish direction.
Volatility: The candle’s range (high - low) must exceed 1.5 times the ATR, confirming a significant move.
Momentum: RSI must be below 70, avoiding entries at potential peaks.
Price: The close must be above the fast MA, signaling a pullback or trend continuation.
Why: These conditions are tightened to capture frequent volatility spikes while filtering out noise, which is more prevalent on a 1-hour chart.
3. Exit Strategy
Profit Target: Default is 5% (adjustable from 3-7%).
Stop-Loss: Default is 3% (adjustable from 1-5%).
Why: These levels remain conservative to lock in gains quickly and limit losses, suitable for the faster pace of a 1-hour timeframe.
4. Risk Management
The strategy may trigger more trades on a 1-hour chart. To avoid overtrading:
The ATR filter ensures only volatile moves are traded.
Trading fees (e.g., 0.5% on Coinbase) reduce the net profit to ~4% on winners and -3.5% on losers, requiring a win rate above 47% for profitability.
Suggestion: Risk only 1-2% of your capital per trade to manage exposure.
5. Visuals and Alerts
Plots: Blue fast MA, red slow MA, and green triangles for buy signals.
Alerts: Trigger when an entry condition is met, so you don’t need to watch the chart constantly.
How to Use the Strategy
Setup:
Load TradingView, select BONK/USD on the 1-hour chart (Coinbase pair).
Paste the script into the Pine Editor and add it to your chart.
Customize:
Adjust the profit target (e.g., 5%) and stop-loss (e.g., 3%) to your preference.
Tweak ATR or MA lengths if BONK’s volatility shifts.
Trade:
Look for green triangle signals and confirm with market context (e.g., volume or news).
Enter trades manually or via TradingView’s broker tools if supported.
Exit when the profit target or stop-loss is hit.
Test:
Use TradingView’s Strategy Tester to backtest on historical data and refine settings.
Benefits of the 1-Hour Timeframe
Faster Opportunities: Captures shorter-term uptrends in BONK’s volatile price action.
Responsive: Adjusted indicators react quickly to hourly changes.
Conservative: Maintains the 3-7% profit goal with tight risk control.
Potential Challenges
Noise: The 1-hour chart has more false signals. The ATR and MA filters help, but caution is needed.
Fees: Frequent trading increases costs, so ensure each trade’s potential justifies the expense.
Volatility: BONK can move unpredictably—monitor broader market trends or Solana ecosystem news.
Final Thoughts
Switching to a 1-hour timeframe makes the strategy more active, targeting shorter volatility spikes while keeping profits conservative at 3-7%. The adjusted indicators and conditions balance responsiveness with reliability. Backtest it on TradingView to confirm it suits BONK’s behavior, and always use proper risk management, as meme coins are highly speculative.
Disclaimer: This is for educational purposes, not financial advice. Cryptocurrency trading, especially with assets like BONK, is risky. Test thoroughly and trade responsibly.
Optimized Liquidity Sweep RSI Divergence StrategyIncreasing your win percentage isn’t solely about tweaking code—it involves:
Systematic testing: Validate each change over sufficient historical data.
Market context understanding: Know that different market conditions might favor one type of filter over another.
Holistic review: Evaluate not just the win rate but also your overall expectancy. A lower win rate with a strong risk/reward might be more profitable than a high win rate with low rewards.
Continue experimenting while keeping thorough records of your backtests and live results. This iterative process will help you tailor your approach to achieve that target 70% win rate. If you have further questions or need additional modifications, feel free to ask!
PG (45 Min) - PROD v6This strategy combines familiar technical tools into a structured system designed for clean, high-probability setups on the 45-minute timeframe. It is modular, momentum-driven, and equipped with adaptive risk and drawdown control.
⸻
🔍 Core Logic & Indicators:
• Volume Filter: Confirms signals using volume above a 25-bar SMA.
• MACD Signal Logic: Tracks histogram color changes (not just crossovers), requiring two flips before entry triggers.
• HMA-Based CMO: Custom momentum logic using Hull MA of open/close; identifies overbought/oversold momentum at pivots.
• RSI Thresholds: RSI < 25 marks support zones; RSI > 75 flags potential resistance.
• Support Pattern Logic: Uses bar indexing to track valid double-signal support zones with volume confirmation.
• Price Drop Entry Filter: Entry only triggers if price dips 1% below support trigger and MACD momentum flips again.
⸻
📊 Rolling Profit Factor + Dynamic Position Multiplier:
The script calculates a rolling profit factor using the last 24 closed trades. This PF dynamically adjusts a position size multiplier to scale exposure based on recent performance:
• PF < 2.0 → No multiplier
• PF 2.0–3.0 → 1.0x
• PF 3.0–5.0 → 1.5x
• PF 5.0–7.0 → 1.75x
• PF > 7.0 → 2.5x
This approach helps adjust trade aggressiveness without manual tuning, aligning system behavior with real equity performance.
⸻
🔻 Drawdown Management:
Tracks both per-trade and rolling max drawdown:
• Monitors equity during open trades to track peak/trough
• Calculates per-trade drawdown and stores in a rolling array
• Applies rolling max drawdown as a dynamic exit threshold after 1000 bars
• Prevents excessive risk by comparing real equity deviation against historical pain points
⸻
⚙️ Additional Features:
• Cascading take-profit logic reduces TP target slightly each bar
• Clean JSON-formatted alerts for both entries and exits
• No repainting, no security() lookaheads
• Alert payloads compatible with automation tools
⸻
🧪 Backtest Parameters:
• Initial capital: $100
• Trade size: $75 per trade
• Commission: 0.4%
• Slippage not included
• Timeframe: 45-min (designed for intraday swing setups)
31 Trades made over the Backtest Period (depends on your subscription). Running this live for the last 60 days.
Blu-Money Vip📈 Introducing the system: "Blu Money"
Are you looking for an accurate, easy-to-use BUY/SELL signal system with an automatic trailing stop to optimize your entry points?
"Blu Money" is the choice for you.
✅ Key features:
🔹 Clear Buy/Sell signals:
The system automatically displays arrows and "Buy" or "Sell" labels right on the chart whenever there is a trend reversal signal.
🔹 Smart Trailing Stop:
The blue line below/above the candle acts as a trailing stop – helping you identify reasonable exit zones or move the SL according to the trend.
🔹 Multi-timeframe and multi-pair application:
Easily used on all charts – from Forex, Crypto to Stocks.
🔹 Flexible parameter customization:
Allows you to change signal sensitivity, trailing width, confirmation time, suitable for various trading styles.
🧠 Who is it suitable for?
New traders who need easy-to-understand, intuitive signals.
Professional traders looking to optimize their trading strategies.
Tactical FlowTactical Flow – Altcoin Swing Strategy with Trend Logic & Dynamic TP System
(Built for 1H timeframe altcoin trading)
🎯 Purpose
Tactical Flow is a swing trading strategy purpose-built for altcoins on the 1-hour timeframe. It targets clean trend continuation setups by combining non-repainting filters for direction, momentum, and volume with a real-time execution engine that strictly avoids same-bar reversals. It includes a dynamic take-profit system with real-time trade tracking and an integrated visual dashboard.
⚙️ Strategy Core Components
Each module was chosen for precision, trend clarity, and altcoin-specific price behavior.
🔹 1. White Line Bias
Defines market structure using the midpoint of recent high/low range.
→ Keeps you trading with the dominant structure.
🔹 2. Tether Trend Engine
Two mid-range bands (Fast & Slow Tether) act like a dynamic trend cloud.
→ Ensures trend direction is confirmed with structural layering.
🔹 3. ZLEMA Gradient Filter
A Zero Lag EMA of price that’s compared to its previous value for momentum slope.
→ Confirms the trend has actual energy behind it.
🔹 4. TEMA Micro-Flow
A smoothed directional signal to confirm price is accelerating, not just trending.
→ Filters out late or fading entries.
🔹 5. Volume Spike Filter
Confirms that breakouts are real by requiring volume > 1.5× median of previous candles.
→ Designed for altcoins to avoid fakeouts during random volatility.
🔹 6. RMI Trend Memory
Keeps track of the trend state over time, allowing for smoother transitions and fewer whipsaws.
→ Helps the strategy stay in trend longer and only reverse when confirmation is strong.
🔹 7. Reversal Cooldown Logic
Exits a trade, then waits 1 full bar before taking a reversal entry.
→ Avoids common backtest false positives where entries and exits occur on the same candle.
💸 Trade Management – TP1/TP2 Logic
TP1 = 50% closed when price hits target 1
TP2 = full exit
Exits early if trend weakens
Supports dynamic reentry after TP2 if trend resumes
→ Keeps risk controlled while allowing position scaling in volatile altcoin swings.
📊 Strategy Dashboard
Visual interface shows:
Current Position (Long / Short / Flat)
Entry Price
TP1 and TP2 hit status
Bars since entry
Real-time Win Rate
Profit Factor
🧪 Backtesting & Execution Compliance
✅ Fully non-repainting
✅ Compatible with TradingView's deep backtesting
✅ Uses strategy.exit with limit logic for accurate TP tracking
✅ No stop-loss — closes trades on trend weakening only
🔥 Best Use Case
Altcoin swing trades on 1H chart
Works well during trending periods with volume
Not designed for choppy or sideways conditions
Pairs well with watchlist scanners and heatmaps