Adaptive MVRV & RSI Strategy V6 (Dynamic Thresholds)Strategy Explanation
This is an advanced Dollar-Cost Averaging (DCA) strategy for Bitcoin that aims to adapt to long-term market cycles and changing volatility. Instead of relying on fixed buy/sell signals, it uses a dynamic, weighted approach based on a combination of on-chain data and classic momentum.
Core Components:
Dual-Indicator Signal: The strategy combines two powerful indicators for a more robust signal:
MVRV Ratio: An on-chain metric to identify when Bitcoin is fundamentally over or undervalued relative to its historical cost basis.
Weekly RSI: A classic momentum indicator to gauge long-term market strength and identify overbought/oversold conditions.
Dynamic, Self-Adjusting Thresholds: The core innovation of this strategy is that it avoids fixed thresholds (e.g., "sell when RSI is 70"). Instead, the buy and sell zones are dynamically calculated based on a long-term (2-year) moving average and standard deviation of each indicator. This allows the strategy to automatically adapt to Bitcoin's decreasing volatility and changing market structure over time.
Weighted DCA (Scaling In & Out): The strategy doesn't just buy or sell a fixed amount. The size of its trades is scaled based on conviction:
Buying: As the MVRV and RSI fall deeper into their "undervalued" zones, the percentage of available cash used for each purchase increases.
Selling: As the indicators rise further into "overvalued" territory, the percentage of the current position sold also increases.
This creates an adaptive system that systematically accumulates during periods of fear and distributes during periods of euphoria, with the intensity of its actions directly tied to the extremity of market conditions.
Indicators and strategies
BlackZone Flip→Base + LS/SS Scaling (v6, no-global-in-func fix)Flip to trend +1 → immediately open LONG_BASE.
While trend is at +1, add when LS1 → LS2 → LS3 are triggered (one at a time).
Flip to trend -1 → immediately open SHORT_BASE; add with SS1 → SS2 → SS3.
BlackZone LS/SS Scaling Strategy (v6, clean)Below is a single-declaration, clean Pine v6 strategy that implements the same procedure (entry at LS1/LS2/LS3, stop at the candle close at L100, and SS1/SS2/SS3 for short).
Uses the original BlackZone core.
Long/short gradual entry (LS1/LS2/LS3 – SS1/SS2/SS3).
Stop: Preferably close above L100 (trail); you can also choose a classic instant stop (intrabar).
Each level is triggered once within the same trend; the counters are reset when the trend flips.
BlackZone Strategy Pro v6 — single declarationSymbol: BTCUSD/BTCUSDT, TF: 1D/4H/1H/30m/15m.
Fine-tune the Entry Mode (Trend Flip or F2) with the ATR Period/Factor in "Inputs" and the Position % in "Properties."
Why will it work this time?
There's only one strategy() in the file.
All series are safe initialized (var + nz + na() checks).
Everything is written in v6 syntax.
You can continue here if you like:
Fixed RR target (1.5R/2R) + trail hybrid,
MTF confirmation (e.g., 15m trade but 1H Trend==1 requirement),
Session filter (London/NY),
Hassi XAUUSD Advanced FVG EMA/BOS/RSI/Volume + Session FilterWhat it does :
This strategy automates a popular ICT-style idea on XAUUSD (Gold): trade only when price taps back into a Fair Value Gap (FVG), but filter entries with trend, structure, momentum, volume, and session rules. It manages risk with fixed TP/SL (points) and shows a compact backtest panel on chart.
Core Logic
1) Market Structure (BOS)
Detects recent swing highs/lows and flags a Break of Structure:
BOS Up when price breaks the latest swing high.
BOS Down when price breaks the latest swing low.
2) FVG Detection (3-candle)
Bullish FVG when low > high and low > high .
Bearish FVG when high < low and high < low .
The most recent qualifying gap is drawn as a shaded box (optional).
3) Bias & Filters
Trend Bias: price vs EMA (default 200). Longs only above EMA; shorts only below.
Momentum: optional RSI filter (default 14); avoid longs in OB & shorts in OS.
Volume: optional filter requiring current volume > SMA(20) × multiplier.
Sessions: optional London / New York (PKT) time windows.
Entries & Exits
Long Entry (all must be true)
Above EMA, RSI bullish, volume ok, session ok, BOS Up.
A recent Bullish FVG exists (within N bars).
Price taps back into the FVG (low ≤ top & close > bottom) with a bullish candle.
Short Entry (mirror)
Below EMA, RSI bearish, volume ok, session ok, BOS Down.
A recent Bearish FVG exists (within N bars).
Price taps (high ≥ bottom & close < top) with a bearish candle.
Risk / R:R
Exits use fixed points on XAUUSD (default TP 100, SL 50).
On many gold feeds 1.0 = 10 points; inputs convert to price automatically.
“One-trade-at-a-time”: a new signal won’t fire until the previous position is flat.
Chart Labels
On entry, the script plots BUY/SELL plus fixed TP/SL lines & labels anchored to the entry bar (they don’t drift with price).
Visuals & Tools
EMA line (green/red by bias).
Swing points (tiny triangles) to see structure.
FVG boxes (green/red, optional).
Session shading (subtle blue overlay).
Stats Panel (top-right):
Total Trades, TP Hits, SL Hits, Win Rate, Profit Factor, Net P&L.
Inputs (quick guide)
EMA Length (default 200)
Swing Lookback for BOS (default 5)
FVG Box Length (how far the zone extends to the right)
TP / SL (points) for XAUUSD + display Risk:Reward
Sessions (PKT): London & New York windows + toggle
Filters: Volume (multiplier), RSI (length, OB/OS)
Visibility: show/hide FVG boxes & TP/SL drawings
Alerts
Buy Signal / Sell Signal on valid entries
Position Opened / Position Closed notifications
Best Practices & Notes
Designed for XAUUSD 15-minute. You can test other timeframes, but retune TP/SL points and filters accordingly.
Broker ticks differ: if your symbol steps are not 0.1, adjust TP/SL points.
Use with a HTF confluence (e.g., D1/4H bias, key S/R, news awareness).
Backtests are approximations; real results vary with spreads, slippage, and execution.
Disclaimer: This tool is for educational purposes. It is not financial advice. Always test before using on live capital.
Jimb0ws Strategy Trending Info PanelsJimb0ws Strategy — Golden Candles + Bubble Zones
A price-action/EMA strategy built for FX scalping and intraday swings. It colors Golden Candles when strong bodies touch/skim EMA20/50 in trend (“bubble”) and optionally highlights Robin Candles (break of the prior golden body). Signals are throttled per bubble and filtered by multiple higher-timeframe conditions.
How it trades
Trend bubbles: Uses EMA20/50/100/200 alignment on the chart timeframe; also reads 1H & 4H bubbles for context.
Entries: BUY/SELL labels appear only when a golden setup aligns with fractal/structure checks and all active filters pass.
Stops/Targets (strategy mode):
• Longs: SL = EMA100 if EMA200 > EMA100, else SL = EMA200.
• Shorts: SL = EMA100 if EMA200 < EMA100, else SL = EMA200.
• TP = RR × risk (default 2R).
An on-chart SL/TP info label prints the exact prices at each signal.
Risk filter options: disable beyond 1H EMA50, proximity band around 1H EMA50, wick overdrive veto, session filter (toggle on/off), max signals per bubble.
Visuals & tools
Colored EMAs (20/50/100/200), bubble zone background.
4H info panel (state, start time, duration); Prev-Day ATR panel sits above it.
Optional 1H info panel and consolidation warning.
Fractal markers (size selectable).
Alerts
1H bubble state change (Long/Short/Consolidation).
BUY/SELL signals.
Inputs worth checking
Session & timezone, min body size, pip tolerances, proximity/WOD filters, max signals per bubble, RR, SL/TP label offset.
Notes
Best on FX pairs; pip = mintick × 10. Backtest and adjust to your instrument and session. This is not financial advice.
Auction Market Theory: Value Area & VWAP Fade - DashboardAn "Auction Market Theory" dashboard is a visual summary of the market's state according to the principles of Auction Market Theory. It consolidates key metrics like the Value Area (VA), Point of Control (POC), and Volume-Weighted Average Price (VWAP) into a single, easy-to-read panel on your chart.
What a Dashboard Shows
The purpose of the dashboard is to give traders a quick, real-time snapshot of the market's auction process. It helps you answer critical questions like:
Where is the market's "fair value"? This is shown by the Value Area (VA) range.
Where is the most volume concentrated? This is the Point of Control (POC), the price that acts as a gravitational center.
How are market participants currently positioned? The VWAP provides a measure of the average price paid, weighted by volume. Price trading above VWAP suggests a bullish volume bias, while price below suggests a bearish bias.
Is the market in a state of balance or imbalance? The relationship between the current price and these key levels helps to quickly determine if the market is accepting a price range (balance) or rejecting it (imbalance/trend).
How to Interpret the Dashboard
Value Area (VA) & Point of Control (POC)
These metrics are derived from a volume profile and are the foundation of the auction theory dashboard. The dashboard displays the VA's low and high, as well as the POC. These levels define the market's "accepted" price range for a given period.
VWAP
VWAP acts as a real-time moving average that is more responsive to volume than a standard moving average. It's often used as an intraday anchor. When price is significantly stretched from the VWAP (and its standard deviation bands), it's a signal of a potential over-extension and a target for a mean-reversion trade.
Dashboard's Role in Trading
The dashboard is not an entry signal itself, but a contextual tool. It provides the framework for your trading decisions. For a "fade the edge" strategy, you would use the dashboard to:
Identify the edges: See the exact price levels of the VA and VWAP bands.
Wait for the stretch: Look for price to move beyond those edges.
Confirm the reversal: Only then would you look at other indicators (like RSI or volume spikes) for an entry signal.
Manage the trade: Use the POC as a potential take-profit target, as price has a high probability of returning to this point of volume consensus.
Opening Range Breakout🚀 ORB – Optimized for Peak Performance 🚀
Catch the morning breakout moves with zero guesswork!
This plug-and-play Opening Range Breakout strategy is fully optimized ; no settings to tweak, no parameters to adjust.
✅ Pre-tuned for U.S. market open on 5-minute charts.
✅ Built-in risk management with stop loss, take profit, and one trade per day.
✅ Auto exit before market close to lock in gains and avoid late-day whipsaws.
Perfect for day traders who want to focus on execution, not experimentation.
Just load it, trade it, and let the strategy do the heavy lifting.
⚠ Disclaimer : Educational use only. Always backtest and paper trade before using with real capital.
Key Features
• No Guesswork – Pre-set with the best-performing configuration.
• Opening Range Breakout Logic – Identifies the early range of the market and trades strong breakouts.
• Strict Risk Management – Stop loss and take profit levels are automatically calculated from the range size.
• One Trade Per Day – Prevents overtrading and keeps the focus on quality setups.
• End-of-Day Auto Exit – Closes all open trades at 3:30 PM EST to avoid late-session volatility.
How It Works
1. Opening Range Calculation: At market open (9:30 AM EST), the strategy monitors opening range.
2. Breakout Entry: Monitors the breakouts with moment.
3. Risk & Profit Targets: Stop loss and take profit are calculated automatically based on the range size. Risk-to-reward ratio is set for balanced performance.
4. Trade Control: Only one trade per day (either long or short). All trades are force-closed at 3:30 PM EST.
PP_Solstice StrategyThis strategy was developed by Vinay with inputs from Warren, Dodgie and others to replicate TOS AGAIG indicators. It is available for free of use.
DCA Strategy on Steroids for CryptoThis strategy getting only in Long position for Crypto
Using Fast and Slow moving Averages and Stochastic RSI to get in Long position
Fast and Slow moving Averages - cross-under - I Prefer - or opposite for Bull Market
Stochastic RSI cross-over - 5 and Trend Determined by the Fast moving Average
There is no Stop loss is not for one with small tolerance to getting under
Fast and Slow moving Averages and Stochastic RSI Parameters can be adjust
The bot Use Safe Trades and Price Deviation Determined from the User
Max Safe Trades = 10
Take profit Parameters can be adjust in %
Pepe-USDC is just a example What the bot Can do
Tweezers Bottom Strategy 5m - Long OnlyTweezers Bottom 5m Strategy – Catch Reversals Like a Pro!
Looking for fast, precise entries on the 5-minute chart? This strategy automatically detects the Tweezers Bottom candlestick pattern and opens long positions at the perfect moment. Signals appear as ▲ arrows on the chart, making it incredibly easy to spot high-probability setups.
Risk and Reward Perfectly Managed: Stop-loss is set just 0.1% below entry, and take-profit at 0.3% above, giving you a clear, controlled trading edge. All levels are visualized on the chart with lines and labels, so you always know where your risk and profit targets are.
Ideal for scalpers and short-term traders across Forex, crypto, and stocks. Enter reversals before the crowd, maximize your winning trades, and automate your trading with minimal risk!
STRATEGY WITH POINT TP/SL BY SKBTSThe formula for the standard middle band is simply a moving average, often set to 20 periods:
Middle Band = 20-period moving average (close)
The upper and lower bands are calculated from the standard deviation, which measures how dispersed the price data is from the average.
Upper Band = Middle Band + (2 standard deviations of 20-period close)
Lower Band = Middle Band - (2 standard deviations of 20-period close)
The key inputs are the 20-period moving average, the number of standard deviations (typically 2), and the 20-period standard deviation. The bands will expand and contract based on the standard deviation value.
Some traders increase the standard deviation multiplier to 2.1 or 2.2 to make the bands looser and more sensitive. Decreasing the number of periods for the moving average and standard deviation will also increase sensitivity.
EDWARDS 3MIN DOW STRATEGYSqueeze Momentum Strategy with EMA780 Trend Filter, ATR-SL, PT, EMA5 Exit Filter, and 3:57 PM Close
Adaptive ATR Guardian [自适应 ATR 守护者]自适应ATR守护者 | Adaptive ATR Guardian
——多品种智能交易防护策略 | Multi-Asset Intelligent Trading Protection Strategy
核心功能 | Core Features
1. 自动识别交易品种| Automatic Asset Detection
• 智能识别BTC/USD、XAU/USD等品种
• Auto-detects assets (e.g., BTC/USD, XAU/USD)
• 动态调整参数:ATR倍数、止盈止损比例
• Dynamic parameter tuning (ATR multipliers, TP/SL ratios)
2. 自适应ATR风控 | Adaptive ATR Risk Control
• 基于真实波动率(ATR)动态计算止盈止损
• TP/SL levels adjust with ATR volatility
• 参数自动优化:BTC(3xTP/1.5xSL) ,黄金(2xTP/1xSL)
• Auto-optimized: BTC (3xTP/1.5xSL), Gold (2xTP/1xSL)
3. 实时动态跟踪 | Real-Time Tracking
• 持仓期间止盈止损线实时更新
• Live TP/SL line updates during trades
• 可视化提示:绿色止盈线、红色止损线
• Visual cues: Green TP line, Red SL line
4. 趋势跟随逻辑 | Trend-Following Logic
• 双均线交叉(9MA & 21MA)触发信号
• Dual MA crossover (9MA & 21MA) for entries
• 金叉做多 / 死叉做空
• Long on Golden Cross, Short on Death Cross
5. 专业可视化界面 | Professional Visualization
• 图表标签显示关键参数
• On-chart label shows settings
• 自适应K线范围展示所有标记
• Auto-adjusts plot ranges for clarity
Institution Accumulation/DistributionLeveraging the Williams%R oscillator, the script has been optimized to pick out key turning point in the market specifically at Resistance (Overbought) or Support (Oversold)
The algo has been programmed to print both buy and sell alerts at extremes/when conditions flip eg a long position will be closed simultaneously opening a short position above resistance.
Best used as a scalping tool targeting 30m and below works well with currency pairs
Valdes Trading Bots - Scaled Profits and DCA — V 12.1Valdes Trading Bots – Scaled Profits and DCA — V 12.1
Overview
This strategy is built for traders who want to capture medium-term swings without getting caught in short-term noise. It is optimized for the 12-hour timeframe, where signals have historically shown stronger consistency across a wide range of market conditions.
Key Features
Trend regime detection – Identifies when momentum flips from bullish to bearish (and vice versa).
Scaled profit targets – Positions automatically reduce across multiple take-profit levels to secure gains progressively.
Risk management – Includes a capped, rules-based averaging (DCA) method during controlled pullbacks. Not martingale, strictly limited.
Directional flexibility – Can operate long or short, depending on market regime.
JSON output included – Adds flexibility for advanced users.
How to Use
Apply primarily on the 12-hour chart for best results.
Use this script for backtesting, research, and simulation before any live application.
No input changes are required; it is designed to run as-is.
Notes & Limitations
This is a strategy script, not a signal service.
Past win rates or backtest results are not predictive of future performance.
All markets carry risk, and losing trades will occur.
Always test extensively in paper trading before deploying to a live account.
Disclaimer
This script is provided for educational and research purposes only. It is not financial advice. The authors and publishers assume no responsibility for losses incurred from using this strategy.
Ultimate Bot v5 (Full Visual + Reversal + Sustained Signals)Ultimate Bot v5 is a powerful, all-in-one Pine Script strategy designed for traders who want both clarity and precision in their charts. It combines classic momentum indicators, volatility filters, and reversal logic to highlight high-probability trade opportunities.
🔹 Key Features
Full Visual Mode – Clean and easy-to-read buy/sell markers with large arrows and labels.
EMA Trend Detection – Fast & slow EMA crossovers for trend direction.
RSI + MACD Confirmation – Confirms entries with momentum & strength checks.
Reversal Alerts – Detects sharp drops or spikes for rebound/reversal plays.
Sustained Signal Mode – Highlights stronger continuation trends, not just short-term flips.
ADX Strength Filter (optional) – Filters out weak/noisy signals during sideways markets.
ATR Dynamic Positioning – Arrows adapt to volatility so they’re always visible.
Custom Alerts – Works with TradingView alerts for buy, sell, and reversal signals.
🔹 Why Use It?
This bot is designed to help traders:
✅ Spot early reversals and potential bounce opportunities
✅ Confirm strong momentum moves with multi-indicator checks
✅ Avoid false signals in choppy markets
✅ Trade with confidence using visual clarity
TrendPilot AI v2 — Adaptive Trend Day Trading StrategyOverview
TrendPilot AI v2 is a structured, rules-based day trading strategy that identifies and follows market momentum using a sophisticated blend of technical indicators. Optimized for 15-minute and higher timeframes on high market cap cryptocurrencies (AAVE, SOL, ETH, BCH, BTC) to minimize manipulation risks, it adapts to changing market conditions with dynamic risk management and controlled re-entry logic to maximize trend participation while minimizing noise.
Core Logic
Multiple EMA Trend Confirmation — Uses three Exponential Moving Averages (fast, medium, slow) to detect robust bullish, bearish, or neutral trends, ensuring trades align with the prevailing market direction.
ADX Momentum Filter — Employs an ADX-based filter to confirm strong trends, avoiding entries in choppy or low-momentum markets.
Smart Entry Filter — Optional ATR-based buffer (period 14, multiplier 1.5) around the fast EMA prevents entries at overextended prices, enhancing trade precision.
Flexible Exit System — Offers multiple exit options: fixed take-profit (default 1.7 offset), trend-reversal exits, or ATR-based trailing stops (period 14, multiplier 2.0), with secure modes requiring candle closes for confirmation to gain Max Profit.
Controlled Re-Entry Logic — Allows re-entries after take-profit or price-based stop-loss with configurable wait periods (default 6 bars), max attempts (default 2), and EMA touch requirements (fast, medium, or slow).
State-Aware Risk Management — Tracks trend states and recent exits to adapt entries, with daily trade limits (default 5 long/short) and loss cooldowns (default 2 stop-losses) for disciplined trading.
How to Use & Configuration
Markets & Timeframes
Works with high market cap cryptocurrencies (AAVE, SOL, ETH, BCH, BTC).
Optimized for intraday charts (15m–4h) but adaptable to higher timeframes (e.g., 1h, 4h).
Trade Direction Settings
Dual Trades — Trades both long and short, quickly re-aligning after trend reversals.
Long Only — Ignores bearish signals, ideal for bullish markets or strong uptrends.
Short Only — Ignores bullish signals, suited for bearish markets or downtrends.
Risk Management Settings
Stop Loss Types
Trend Reversal — Closes positions when an opposite trend signal is confirmed (default).
Fixed Offset — Static stop at 3.5 offset from entry price (adjustable).
ATR Based — Dynamic trailing stop using ATR (period 14, multiplier 2.0), adjusting to market volatility.
Secure SL Mode — Optional setting to trigger price-based stops only on candle closes, reducing false exits.
Maximum recommended risk per trade is 5–10% of account equity.
Trade size is configurable (default 20 units) to match individual risk appetite.
Take Profit Options
Fixed Offset — Predefined target at 1.7 offset from entry (adjustable, e.g., 2.5 for SOL).
Secure TP Mode — Exits only when a candle closes beyond the target, ensuring reliable profit capture.
Trend Reversal — Exits on opposite trend signals when fixed TP is disabled, ideal for riding longer trends.
Trade Management Controls
Smart Entry Filter — Optional ATR-based buffer (period 14, multiplier 1.5) prevents chasing overextended prices.
Max Re-Entries — Limits continuation trades per trend cycle (default 2).
Daily Trade Limits — Caps long/short trades per day (default 5 each) for disciplined trading.
Daily Loss Cooldown — Pauses trading after a set number of stop-losses (default 2) per day.
Max Bars in Trade — Closes positions after a set duration (default 1440 bars) to prevent stale trades.
Configuration Steps
Apply the strategy to your chosen symbol (e.g., AAVE/USDT, SOL/USDT) and timeframe (15m or higher).
Select Trade Direction mode (Dual, Long Only, or Short Only).
Set Stop Loss (Trend Reversal, Fixed Offset, or ATR Based) and Take Profit (fixed or trend-reversal).
Adjust Smart Entry Filter, Max Re-Entries, Daily Limits, and Loss Cooldown as needed.
Test across multiple market conditions using the performance panel (top-right, showing Total Trades, Wins, Losses, Win Rate).
Enables automated trading via webhook integration with platforms like Binance Futures.
Set up alerts for long/short entries (🟢 Long, 🔴 Short) and exits (🎯 Max TP, 🛑 Max SL, 🚨 Force Exit).
Backtesting Guidance
Use realistic commission (default 0.01%) and slippage (default 2 ticks) matching your broker and instrument.
Validate performance over long historical periods (e.g., 3–6 months) to ensure >100 trades across different market regimes.
Avoid curve-fitting by testing on multiple high market cap coins (AAVE, SOL, ETH, BCH, BTC) and avoiding over-optimization.
EMA and ATR parameters are set to balanced, industry-standard values for realistic backtesting.
Best Practices, Defaults & Disclaimer
Best Practices
Use consistent and conservative position sizing (default 20 units).
Match commission and slippage to your broker’s actual rates.
Enable secure TP/SL modes for entries and exits to reduce false signals.
Test across different symbols, timeframes, and market phases before live trading.
Keep parameters simple to avoid overfitting.
Default Settings (Recommended Starting Point)
Initial Capital: $10,000
Order Size: Fixed, 20 units
Commission: 0.01%
Slippage: 2 ticks
Take Profit Offset: 1.7 (adjustable, e.g., 2.5 for SOL)
Stop Loss Type: Trend Reversal (default), Fixed Offset (3.5), or ATR Based (period 14, multiplier 2.0)
Smart Entry Filter: ATR period 14, multiplier 1.5 (optional)
Max Re-Entries: 2 per trend cycle
Daily Trade Limits: 5 long, 5 short
Daily Loss Cooldown: 2 stop-losses
Max Bars in Trade: 1440 bars
Subscription Information
TrendPilot AI v2 is an invite-only strategy, accessible only to approved subscribers.
Benefits include full access to all features, priority support, and regular updates.
Access is limited to ensure a high-quality user experience.
Compliance Status
No functional warnings in the script.
The script uses closed candle logic, ensuring no repainting or lookahead issues.
Designed for realistic backtesting with a $10,000 account and sustainable risk (≤5–10% per trade).
Disclaimer
This strategy is intended for educational and analytical purposes only. Trading involves substantial risk, and past performance does not guarantee future results. You are solely responsible for your own trading decisions and risk management.
Developed by: TrendPilotAI Team
For questions, setup guidance, or enhancement suggestions, contact TrendPilotAI Team via TradingView.
Nifty Power -> Nifty 50 chart + EMA of RSI + avg volume strategyThis strategy works in 1 hour candle in Nifty 50 chart. In this strategy, upward trade takes place when there is a crossover of RSI 15 on EMA50 of RSI 15 and volume is greater than volume based EMA21. On the other hand, lower trade takes place when RSI 15 is less than EMA50 of RSI 15. Please note that there is no stop loss given and also that the trade will reverse as per the trend. Sometimes on somedays, there will be no trades. Also please note that this is an Intraday strategy. The trade if taken closes on 15:15 in Nifty 50. This strategy can be used for swing trading. Some pine script code such as supertrend and ema21 of close is redundant. Try not to get confused as only EMA50 of RSI 15 is used and EMA21 of volume is used. I am using built-in pinescript indicators and there is no special calculation done in the pine script code. I have taken numbars variable to count number of candles. For example, if you have 30 minuite chart then numbars variable will count the intraday candles accordingly and the same for 1 hour candles.
Simple Symmetrical Triangle Strategy (6 points)Overview
This strategy identifies triangle patterns formed by a series of key high and low price points. A trade is triggered when the price breaks out from the pattern's final confirmation points: a buy signal occurs on a close above the last high point, and a sell signal on a close below the last low point. To ensure relevance, any pattern that doesn't break out within 10 bars is automatically discarded.
This helps filter out patterns that lose momentum and focuses only on the most imminent breakouts.
How It Works
1. Pattern Detection: The script continuously scans for a sequence of three declining highs (points H1, H2, H3) and three rising lows (points L1, L2, L3) to form a triangle.
2. Entry Logic: The logic is straightforward and based on breaking the last confirmed pivot:
* Long Entry: A buy order is executed if the price closes above the level of the last high (H3).
* Short Entry: A sell order is executed if the price closes below the level of the last low (L3).
3. Pattern Expiration: A triangle only remains "active" for 10 bars after its formation. If a breakout doesn't occur within this window, the pattern is removed from analysis, avoiding trades on prolonged, unresolved consolidations.
Key Features
* Automatic Detection: Identifies and draws triangles for you.
* Simple Breakout Logic: Easy to understand, trades by following the price action.
* Time Filter: Its main advantage is discarding patterns that do not resolve quickly.
* Customizable: You can adjust the sensitivity of the pivot detection in the settings.
Important Disclaimer
This strategy is designed as an entry system and DOES NOT INCLUDE A STOP LOSS OR TAKE PROFIT.
Automation Ready
Want to automate this or ANY strategy on your broker or MetaTrader (MT4/MT5) without keeping your computer on or needing a VPS? You can use WebhookTrade.