NEW TOTT Strategy by egoigor1976

By egoigor1976

Performance Metrics

Description

OverviewThis script is an enhanced, professional-grade evolution of the Twin Optimized Trend Tracker (TOTT). While the original OTT is famous for its trend-following capabilities, this version is rebuilt from the ground up in Pine Script v5 to include advanced filtering and a comprehensive trade management suite.Key Improvements Over the Original1. Expanded MA Engine (13 Types)Unlike the standard version that usually offers a few basic moving averages, this script includes 13 different MA types for calculation. This allows traders to fine-tune the "speed" and "smoothness" of the signals:Standard: SMA, EMA, WMA, TMA.Advanced: VAR (Variable Index Dynamic Average), WWMA, ZLEMA (Zero Lag), TSF (Time Series Forecast), DEMA, HMA (Hull).New Additions: * ALMA (Arnaud Legoux): Superior smoothness with minimal lag.LSMA (Least Squares): Predictive trend analysis.RMA: The classic smoothing used in RSI.2. Multi-Stage Take Profit (3 Tiers)Standard OTT scripts are usually "always in the market." This version introduces a professional exit strategy:Split Exits: Close your position in 3 parts (e.g., 30% / 30% / 40%).Custom Volume: Define exactly how much of the position to shave off at each target.3. Automated Break-Even (BE) TriggerProtect your capital automatically. You can set a profit threshold (in %); once reached, the script automatically moves your Stop-Loss to the entry price, ensuring a "risk-free" trade.4. Dynamic Risk ManagementOptional Stop-Loss: Toggleable SL based on percentage.Signal Priority: The script always respects opposite trend signals, but gives you the flexibility to exit early via TP/SL.How to UseSelect MA Type: Use ALMA or VAR for noise reduction, or HMA for high-speed scalping.Fine-tune OTT: Adjust the Optimization Constant to widen or tighten the trend "tracking" line.Set Risk: Enable the Multi-TP and Break-Even features to automate your exit plan and lock in profits during volatile moves.Technical DetailsLanguage: Pine Script v5Execution: Strategy (Supports Backtesting and Alerts)Compatibility: Works on all timeframes (optimized for M5, M15, and H1)Would you like me to add a "Visual Table" feature to the script as well? It could show the current Trend, SL/TP levels, and PnL in a neat box on your chart so you don't have to check the settings every time.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView