OPEN-SOURCE SCRIPT
DBG X WOLONG

Overview
DBG X Wolong is a feature-rich Pine Script v5 indicator/strategy designed to provide a systematic, configurable approach to detecting trade opportunities and managing positions. This free edition combines trend detection, momentum confirmation, volatility sizing and an adaptive grid/TP system into a single workflow that is intended to add practical value beyond a simple indicator mashup
What makes this script original & useful
- Integrated workflow (not a mere mashup): indicators are assigned clear roles in a pipeline — trend → momentum → volatility → scaling/exit — so their outputs interact deterministically to form signals.
- Adaptive grid + ATR sizing: grid spacing and stop/TP levels adapt to market volatility via ATR, reducing arbitrary parameter dependence.
- MA cloud & Braid filter: the multi-MA cloud (supporting many MA types) is used as a structural trend/range detector; the Braid filter suppresses noise and confirms stronger trend regimes.
- Multi-timeframe dashboard: compact view of trend across many TFs to avoid single-TF false signals.
Conceptual workflow (how it works, high level)
- Trend detection: SuperTrend + MA cloud determine the primary bias (bull/bear).
- Momentum confirmation: RSI and MACD histogram confirm momentum direction or reversals.
- Volatility sizing: ATR is used to calculate stop levels and to scale position sizing and grid spacing (higher ATR → wider stops & grid)
- Signal gating / filter: Braid filter and multi-TF confirmation reduce false entries and ensure higher-probability setups..
- Grid / TP engine: when a signal triggers, the system can scale into positions across predefined grid steps and compute TP1/TP2/TP3 based on measured move (VWAP/regression or pivot logic), with labels on chart.
- Visual outputs: colorized candles, entry/stop/take labels, pullback marks and a configurable table/dashboards.
Key components & role (concise)
- SuperTrend: primary trend filter and main signal trigger.
- MA Cloud / Ribbon (many MA types available): structure, support/resistance, trend validation
- Braid Filter: noise suppression and signal confirmation.
- FRAMA / JMA / advanced MA routines: adaptive smoothing options for different market regimes.
- ATR: volatility measure for dynamic stops and grid spacing.
- TP Engine / Regression-VWAP logic: adaptive take profit placement and multi-level exits.
- Dashboard / Multi-TF checks: present TF consensus to avoid contradictory signals.
How signals are generated (conceptual)
- Primary buy: SuperTrend flips bullish + price above short SMA + braid filter confirms + multi-TF bias mostly bullish.
- Primary sell: SuperTrend flips bearish + price below short SMA + braid filter confirms + multi-TF bias mostly bearish.
- Reversal/pullback markers: RSI crossing thresholds with additional confirmations.
(Exact thresholds and gating are configurable in inputs.).
Inputs summary (important ones to show in the publish dialog)
- Sensitivity (SuperTrend tuning): 1–20 (default 6)
- MA cloud cycles & ribbon choices (8 cycle settings)
- Braid filter type & strength (percent)
- ATR length & ATR risk multiplier (for SL and sizing).
- Dashboard: enable/position/size, show/hide signals, pullback toggles.
- TP mode (pivot/regression), TP multiplier and lengths
Recommended usage & presets
- Sensitivity (SuperTrend tuning): 1–20 (default 6)
- MA cloud cycles & ribbon choices (8 cycle settings)
- Braid filter type & strength (percent)
- ATR length & ATR risk multiplier (for SL and sizing).
- Dashboard: enable/position/size, show/hide signals, pullback toggles.
- TP mode (pivot/regression), TP multiplier and lengths
Recommended usage & presets
- Scalping: TF 1–5 minutes; sensitivity higher (8–12); use only SuperTrend + Braid filters; TP1 only.
- Intraday: TF 15–60 minutes; sensitivity medium (6–8); use full grid with ATR-based stops.
- Swing: TF H1–D1; sensitivity lower (4–6); enable full indicators and multi-TF confirmations.
Always backtest and demo-trade settings before using live.
Limitations & safeguards
- Market conditions (thin liquidity, news) can still produce false signals; use multi-TF filter and turn off signals near major events.
- This free edition is intended for learning; advanced/premium variants may include additional proprietary optimizations.
- Not investment advice — use proper money management and test before trading real capital.
Backtesting & validation
- Backtest over multiple symbols and regimes (trending vs ranging) to find robust settings..
- Use the dashboard to visualize TF alignment and exclude signals when mismatch occurs.
- Keep trade frequency reasonable to avoid overfitting small sample sets.
Publishing notes (for moderators/reviewers)
- This description explains how indicators combine in a defined workflow and why each component is used; it demonstrates originality (adaptive grid + ATR-based sizing + MA cloud + Braid filter as a cohesive strategy), not just a superficial mashup.
- The code exposes configurable inputs and visual outputs; the long description gives sufficient conceptual detail for users and moderators to evaluate the script without exposing proprietary implementation details.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。