PROTECTED SOURCE SCRIPT
[Wda Inner Circle] Golden Duck Runner With Targets

The "Golden Duck Runner With Targets" is a sophisticated technical analysis indicator designed for active traders seeking precise entry and exit points in fast-moving markets. This indicator combines dual EMA trend analysis with pullback detection and implements a comprehensive risk management system based on candle size calculations with automatic position cleanup functionality.
Key Features
Dual EMA System
- Fast EMA (18-period): Golden line (linewidth=2) that tracks short-term price momentum
- Trend Filter EMA (111-period): Extra thick line (linewidth=4) for major trend identification
- Blue: Bullish trend (Fast EMA > Slow EMA)
- Red: Bearish trend (Fast EMA < Slow EMA)
Advanced Signal Generation
The indicator employs a sophisticated pullback detection algorithm that ensures high-probability entries:
Long Signal Requirements:
- Market must be in uptrend (18 EMA > 111 EMA)
- Price must pull back below the 18 EMA while staying above the 111 EMA
- Price must then close back above the 18 EMA with bullish momentum
- No duplicate signals until position is closed
Short Signal Requirements:
- Market must be in downtrend (18 EMA < 111 EMA)
- Price must pull back above the 18 EMA while staying below the 111 EMA
- Price must then close back below the 18 EMA with bearish momentum
- No duplicate signals until position is closed
This methodology ensures traders enter positions only after proper trend confirmation and healthy pullback completion. Dynamic Risk Management System
Unlike static risk management approaches, this indicator calculates Stop Loss and Take Profit levels based on the actual volatility of the entry candle, providing adaptive risk management:
Risk Levels (Based on Entry Candle Size):
- Stop Loss: 2x entry candle size (providing adequate breathing room)
- Take Profit 1: 3x entry candle size (1.5:1 reward-to-risk ratio)
- Take Profit 2: 5x entry candle size (2.5:1 reward-to-risk ratio)
- Take Profit 3: 8x entry candle size (4:1 reward-to-risk ratio)
Automatic Position Management
Clean Chart Technology:
- Positions automatically close when TP3 or Stop Loss levels are hit
- All risk management lines are automatically removed upon trade completion
- Charts remain clean and focused on active opportunities only
- Maximum holding period of 20 bars prevents stale signals
Visual Elements
- Golden Entry Level: Clearly marks your exact entry price
- Color-Coded Risk Lines: Dark red for stop loss, blue for take profits
- Golden Arrow Signals: Easy-to-spot entry points with BUY/SELL labels
- Entry Candle Highlighting: Gold-colored candles mark signal bars
- Information Dashboard: Real-time display of trend direction, position status, entry price, and bars held
- Professional Color Scheme: Consistent golden theme throughout
Trading Applications
Best Suited For:
- Scalping: Short-term trades in liquid markets (1-5 minute charts)
- Day Trading: Intraday momentum plays (15-minute to 1-hour charts)
- Swing Trading: Multi-day position holding (4-hour to daily charts)
- Forex Markets: Major currency pairs with good liquidity
- Stock Trading: High-volume equities and indices
- Cryptocurrency: Bitcoin, Ethereum, and major altcoins
- Commodities: Gold, Silver, Oil, and other liquid futures
Optimal Market Conditions:
- Trending Markets: Works best when clear trend direction is established
- Moderate Volatility: Candle-based risk management adapts to market conditions
- Liquid Markets: Ensures accurate execution at calculated levels
- Session Overlaps: Forex majors during London/New York overlap
- News-Driven Moves: Captures momentum after fundamental catalysts
Risk Management Philosophy
This indicator implements a position sizing approach that adapts to market volatility through several key principles:
Adaptive Risk Calculation:
- Risk levels scale with actual market volatility (candle size)
- Larger candles = wider stops and targets
- Smaller candles = tighter risk management
- Maintains consistent risk-reward ratios across all market conditions
Professional Exit Strategy:
- Multiple take profit levels allow for position scaling
- Automatic cleanup prevents chart clutter
- Real-time monitoring of all risk levels
- Maximum 20-bar holding period prevents overholding
Market-Neutral Approach:
- Works equally well in bull and bear markets
- Trend-following methodology captures major moves
- Pullback timing ensures favorable entry prices
Usage Instructions
Setup Phase:
1. Apply to Chart: Add indicator to your preferred timeframe
2. Verify Settings: Confirm EMA periods (18 and 111) suit your style
3. Enable Alerts: Set up TradingView alerts for entry signals
4. Plan Position Size: Determine risk per trade before signals appear
Signal Identification:
1. Trend Confirmation: Monitor EMA colors and positioning
- Bullish Setup: 18 EMA (golden) above 111 EMA (blue)
- Bearish Setup: 18 EMA (golden) below 111 EMA (red)
2. Wait for Pullback: Price must retrace to 18 EMA level
- Long: Price pulls back below 18 EMA but stays above 111 EMA
- Short: Price pulls back above 18 EMA but stays below 111 EMA
3. Entry Confirmation: Golden arrow appears when conditions are met
- BUY signal: Price closes back above 18 EMA with momentum
- SELL signal: Price closes back below 18 EMA with momentum
Position Management:
1. Entry Execution: Enter trade at signal candle close price
2. Risk Placement: Use provided stop loss level (dark red line)
3. Profit Taking: Scale out at blue TP levels (TP1: 3x, TP2: 5x, TP3: 8x)
4. Position Monitoring: Watch dashboard for trade status and duration
Exit Management:
- Automatic Cleanup: Lines disappear when TP3 or SL is hit
- Time Exit: Position closes after 20 bars if targets not reached
- Manual Override: Traders can exit earlier based on discretion
Advanced Features
Pullback Quality Control
The indicator uses sophisticated logic to ensure only high-quality setups:
- Trend Structure Validation: Pullbacks must respect major trend EMAs
- Momentum Confirmation: Requires decisive close through 18 EMA
- No Whipsaw Protection: Prevents signals during choppy conditions
- Duplicate Prevention: Only one signal per trend move
Real-Time Monitoring System
- Live Position Tracking: Dashboard shows current status
- Automatic Level Updates: Lines adjust to current bar position
- Alert Integration: Built-in notifications for all signal types
- Performance Metrics: Entry price and duration tracking
Customization Options
Display Controls:
- Toggle Fast EMA visibility
- Toggle Trend Filter EMA visibility
- Enable/disable signal arrows
- Show/hide information dashboard
Parameter Adjustment:
- Modify Fast EMA period (default: 18)
- Adjust Trend Filter EMA period (default: 111)
- Customize alert messages
Market Analysis Benefits
Trend Following Advantage:
- Captures major directional moves early
- Avoids counter-trend trades in strong markets
- Adapts to changing market conditions automatically
Timing Optimization:
- Enters after healthy pullbacks for better prices
- Avoids chasing momentum at extremes
- Provides multiple profit-taking opportunities
Risk Control:
- Volatility-adjusted stop losses prevent random exits
- Excellent risk-reward ratios (up to 4:1)
- Automatic position management reduces emotional decisions
Educational Value
This indicator serves as an excellent learning tool for understanding:
Technical Analysis Concepts:
- EMA crossover strategies and trend identification
- Pullback trading methodology and timing
- Support and resistance level recognition
- Momentum confirmation techniques
Risk Management Principles:
- Position sizing based on market volatility
- Multiple take profit level strategies
- Stop loss placement using market structure
- Time-based exit rules
Trading Psychology:
- Systematic approach reduces emotional trading
- Clear rules for entry and exit decisions
- Patience waiting for quality setups
- Disciplined risk management practices
Performance Optimization Tips
Timeframe Selection:
- Lower Timeframes (1-15m): More signals, requires faster execution
- Higher Timeframes (1h-4h): Fewer but higher quality signals
- Daily Charts: Swing trading with excellent risk-reward ratios
Market Selection:
- High Liquidity: Ensures accurate execution at calculated levels
- Trending Assets: Maximizes strategy effectiveness
- Volatile Periods: Provides larger profit targets
- Session Timing: Trade during active market hours
Risk Management:
- Never risk more than 1-2% of account per trade
- Use position sizing that allows for multiple concurrent trades
- Consider correlation between instruments when trading multiple markets
- Maintain trading journal to track performance
Backtesting and Validation
Historical Performance Analysis:
Users are encouraged to conduct thorough backtesting across different:
- Market conditions (trending vs. ranging)
- Volatility environments (high vs. low)
- Time periods (various years and seasons)
- Asset classes (forex, stocks, crypto, commodities)
Forward Testing Recommendations:
- Start with paper trading to understand signal timing
- Use small position sizes during learning phase
- Track all trades for performance analysis
- Gradually increase position size as confidence builds
Technical Specifications
Pine Script Details:
- Version: Pine Script v5
- Chart Type: Overlay indicator
- Resource Limits: max_lines_count=500, max_labels_count=500
- Repainting: Non-repainting signals (confirmed on bar close)
- Real-time Updates: Yes, with live dashboard
- Alert Compatibility: Full TradingView alert support
System Requirements:
- TradingView account (Basic or higher recommended)
- Stable internet connection for real-time data
- Compatible with all TradingView supported markets
- Works on desktop, mobile, and web platforms
Disclaimer and Risk Warning
IMPORTANT: This indicator is designed for educational and analytical purposes only.
Risk Acknowledgment:
- No Guarantee of Profits: Past performance does not predict future results
- Substantial Risk of Loss: Trading involves risk and is not suitable for all investors
- Market Volatility: Cryptocurrency and forex markets can be extremely volatile
- Technical Analysis Limitations: No indicator is 100% accurate
- Leverage Warning: Using leverage amplifies both profits and losses
User Responsibilities:
- Personal Research: Always conduct independent analysis
- Risk Assessment: Only trade with money you can afford to lose
- Position Sizing: Use appropriate risk management for your account size
- Market Knowledge: Understand the markets you're trading
- Professional Advice: Consult financial advisors when needed
Legal Disclaimer:
- This tool provides analysis, not investment advice
- Users are solely responsible for trading decisions
- No warranty is provided regarding accuracy or profitability
- Historical results do not guarantee future performance
- Seek professional guidance for investment decisions
Support and Development
Continuous Improvement:
This indicator is actively maintained and updated to ensure:
- Compatibility with TradingView platform changes
- Bug fixes and performance optimizations
- Feature enhancements based on user feedback
- Documentation updates and educational content
Conclusion
The "Golden Duck Runner With Targets" represents a comprehensive approach to technical analysis that combines trend following, pullback timing, and adaptive risk management. Its automatic cleanup functionality and professional visual design make it suitable for traders of all experience levels who demand precision and reliability in their analytical tools.
By focusing on high-probability setups with excellent risk-reward ratios, this indicator helps traders develop disciplined trading habits while providing the flexibility to adapt to various market conditions and trading styles.
Remember: Successful trading requires patience, discipline, and continuous learning. This tool provides the analysis - the trading decisions and their consequences remain entirely with the user.
Developed for serious traders who demand precision, reliability, and professional-grade risk management with clean, clutter-free chart visualization.
Key Features
Dual EMA System
- Fast EMA (18-period): Golden line (linewidth=2) that tracks short-term price momentum
- Trend Filter EMA (111-period): Extra thick line (linewidth=4) for major trend identification
- Blue: Bullish trend (Fast EMA > Slow EMA)
- Red: Bearish trend (Fast EMA < Slow EMA)
Advanced Signal Generation
The indicator employs a sophisticated pullback detection algorithm that ensures high-probability entries:
Long Signal Requirements:
- Market must be in uptrend (18 EMA > 111 EMA)
- Price must pull back below the 18 EMA while staying above the 111 EMA
- Price must then close back above the 18 EMA with bullish momentum
- No duplicate signals until position is closed
Short Signal Requirements:
- Market must be in downtrend (18 EMA < 111 EMA)
- Price must pull back above the 18 EMA while staying below the 111 EMA
- Price must then close back below the 18 EMA with bearish momentum
- No duplicate signals until position is closed
This methodology ensures traders enter positions only after proper trend confirmation and healthy pullback completion. Dynamic Risk Management System
Unlike static risk management approaches, this indicator calculates Stop Loss and Take Profit levels based on the actual volatility of the entry candle, providing adaptive risk management:
Risk Levels (Based on Entry Candle Size):
- Stop Loss: 2x entry candle size (providing adequate breathing room)
- Take Profit 1: 3x entry candle size (1.5:1 reward-to-risk ratio)
- Take Profit 2: 5x entry candle size (2.5:1 reward-to-risk ratio)
- Take Profit 3: 8x entry candle size (4:1 reward-to-risk ratio)
Automatic Position Management
Clean Chart Technology:
- Positions automatically close when TP3 or Stop Loss levels are hit
- All risk management lines are automatically removed upon trade completion
- Charts remain clean and focused on active opportunities only
- Maximum holding period of 20 bars prevents stale signals
Visual Elements
- Golden Entry Level: Clearly marks your exact entry price
- Color-Coded Risk Lines: Dark red for stop loss, blue for take profits
- Golden Arrow Signals: Easy-to-spot entry points with BUY/SELL labels
- Entry Candle Highlighting: Gold-colored candles mark signal bars
- Information Dashboard: Real-time display of trend direction, position status, entry price, and bars held
- Professional Color Scheme: Consistent golden theme throughout
Trading Applications
Best Suited For:
- Scalping: Short-term trades in liquid markets (1-5 minute charts)
- Day Trading: Intraday momentum plays (15-minute to 1-hour charts)
- Swing Trading: Multi-day position holding (4-hour to daily charts)
- Forex Markets: Major currency pairs with good liquidity
- Stock Trading: High-volume equities and indices
- Cryptocurrency: Bitcoin, Ethereum, and major altcoins
- Commodities: Gold, Silver, Oil, and other liquid futures
Optimal Market Conditions:
- Trending Markets: Works best when clear trend direction is established
- Moderate Volatility: Candle-based risk management adapts to market conditions
- Liquid Markets: Ensures accurate execution at calculated levels
- Session Overlaps: Forex majors during London/New York overlap
- News-Driven Moves: Captures momentum after fundamental catalysts
Risk Management Philosophy
This indicator implements a position sizing approach that adapts to market volatility through several key principles:
Adaptive Risk Calculation:
- Risk levels scale with actual market volatility (candle size)
- Larger candles = wider stops and targets
- Smaller candles = tighter risk management
- Maintains consistent risk-reward ratios across all market conditions
Professional Exit Strategy:
- Multiple take profit levels allow for position scaling
- Automatic cleanup prevents chart clutter
- Real-time monitoring of all risk levels
- Maximum 20-bar holding period prevents overholding
Market-Neutral Approach:
- Works equally well in bull and bear markets
- Trend-following methodology captures major moves
- Pullback timing ensures favorable entry prices
Usage Instructions
Setup Phase:
1. Apply to Chart: Add indicator to your preferred timeframe
2. Verify Settings: Confirm EMA periods (18 and 111) suit your style
3. Enable Alerts: Set up TradingView alerts for entry signals
4. Plan Position Size: Determine risk per trade before signals appear
Signal Identification:
1. Trend Confirmation: Monitor EMA colors and positioning
- Bullish Setup: 18 EMA (golden) above 111 EMA (blue)
- Bearish Setup: 18 EMA (golden) below 111 EMA (red)
2. Wait for Pullback: Price must retrace to 18 EMA level
- Long: Price pulls back below 18 EMA but stays above 111 EMA
- Short: Price pulls back above 18 EMA but stays below 111 EMA
3. Entry Confirmation: Golden arrow appears when conditions are met
- BUY signal: Price closes back above 18 EMA with momentum
- SELL signal: Price closes back below 18 EMA with momentum
Position Management:
1. Entry Execution: Enter trade at signal candle close price
2. Risk Placement: Use provided stop loss level (dark red line)
3. Profit Taking: Scale out at blue TP levels (TP1: 3x, TP2: 5x, TP3: 8x)
4. Position Monitoring: Watch dashboard for trade status and duration
Exit Management:
- Automatic Cleanup: Lines disappear when TP3 or SL is hit
- Time Exit: Position closes after 20 bars if targets not reached
- Manual Override: Traders can exit earlier based on discretion
Advanced Features
Pullback Quality Control
The indicator uses sophisticated logic to ensure only high-quality setups:
- Trend Structure Validation: Pullbacks must respect major trend EMAs
- Momentum Confirmation: Requires decisive close through 18 EMA
- No Whipsaw Protection: Prevents signals during choppy conditions
- Duplicate Prevention: Only one signal per trend move
Real-Time Monitoring System
- Live Position Tracking: Dashboard shows current status
- Automatic Level Updates: Lines adjust to current bar position
- Alert Integration: Built-in notifications for all signal types
- Performance Metrics: Entry price and duration tracking
Customization Options
Display Controls:
- Toggle Fast EMA visibility
- Toggle Trend Filter EMA visibility
- Enable/disable signal arrows
- Show/hide information dashboard
Parameter Adjustment:
- Modify Fast EMA period (default: 18)
- Adjust Trend Filter EMA period (default: 111)
- Customize alert messages
Market Analysis Benefits
Trend Following Advantage:
- Captures major directional moves early
- Avoids counter-trend trades in strong markets
- Adapts to changing market conditions automatically
Timing Optimization:
- Enters after healthy pullbacks for better prices
- Avoids chasing momentum at extremes
- Provides multiple profit-taking opportunities
Risk Control:
- Volatility-adjusted stop losses prevent random exits
- Excellent risk-reward ratios (up to 4:1)
- Automatic position management reduces emotional decisions
Educational Value
This indicator serves as an excellent learning tool for understanding:
Technical Analysis Concepts:
- EMA crossover strategies and trend identification
- Pullback trading methodology and timing
- Support and resistance level recognition
- Momentum confirmation techniques
Risk Management Principles:
- Position sizing based on market volatility
- Multiple take profit level strategies
- Stop loss placement using market structure
- Time-based exit rules
Trading Psychology:
- Systematic approach reduces emotional trading
- Clear rules for entry and exit decisions
- Patience waiting for quality setups
- Disciplined risk management practices
Performance Optimization Tips
Timeframe Selection:
- Lower Timeframes (1-15m): More signals, requires faster execution
- Higher Timeframes (1h-4h): Fewer but higher quality signals
- Daily Charts: Swing trading with excellent risk-reward ratios
Market Selection:
- High Liquidity: Ensures accurate execution at calculated levels
- Trending Assets: Maximizes strategy effectiveness
- Volatile Periods: Provides larger profit targets
- Session Timing: Trade during active market hours
Risk Management:
- Never risk more than 1-2% of account per trade
- Use position sizing that allows for multiple concurrent trades
- Consider correlation between instruments when trading multiple markets
- Maintain trading journal to track performance
Backtesting and Validation
Historical Performance Analysis:
Users are encouraged to conduct thorough backtesting across different:
- Market conditions (trending vs. ranging)
- Volatility environments (high vs. low)
- Time periods (various years and seasons)
- Asset classes (forex, stocks, crypto, commodities)
Forward Testing Recommendations:
- Start with paper trading to understand signal timing
- Use small position sizes during learning phase
- Track all trades for performance analysis
- Gradually increase position size as confidence builds
Technical Specifications
Pine Script Details:
- Version: Pine Script v5
- Chart Type: Overlay indicator
- Resource Limits: max_lines_count=500, max_labels_count=500
- Repainting: Non-repainting signals (confirmed on bar close)
- Real-time Updates: Yes, with live dashboard
- Alert Compatibility: Full TradingView alert support
System Requirements:
- TradingView account (Basic or higher recommended)
- Stable internet connection for real-time data
- Compatible with all TradingView supported markets
- Works on desktop, mobile, and web platforms
Disclaimer and Risk Warning
IMPORTANT: This indicator is designed for educational and analytical purposes only.
Risk Acknowledgment:
- No Guarantee of Profits: Past performance does not predict future results
- Substantial Risk of Loss: Trading involves risk and is not suitable for all investors
- Market Volatility: Cryptocurrency and forex markets can be extremely volatile
- Technical Analysis Limitations: No indicator is 100% accurate
- Leverage Warning: Using leverage amplifies both profits and losses
User Responsibilities:
- Personal Research: Always conduct independent analysis
- Risk Assessment: Only trade with money you can afford to lose
- Position Sizing: Use appropriate risk management for your account size
- Market Knowledge: Understand the markets you're trading
- Professional Advice: Consult financial advisors when needed
Legal Disclaimer:
- This tool provides analysis, not investment advice
- Users are solely responsible for trading decisions
- No warranty is provided regarding accuracy or profitability
- Historical results do not guarantee future performance
- Seek professional guidance for investment decisions
Support and Development
Continuous Improvement:
This indicator is actively maintained and updated to ensure:
- Compatibility with TradingView platform changes
- Bug fixes and performance optimizations
- Feature enhancements based on user feedback
- Documentation updates and educational content
Conclusion
The "Golden Duck Runner With Targets" represents a comprehensive approach to technical analysis that combines trend following, pullback timing, and adaptive risk management. Its automatic cleanup functionality and professional visual design make it suitable for traders of all experience levels who demand precision and reliability in their analytical tools.
By focusing on high-probability setups with excellent risk-reward ratios, this indicator helps traders develop disciplined trading habits while providing the flexibility to adapt to various market conditions and trading styles.
Remember: Successful trading requires patience, discipline, and continuous learning. This tool provides the analysis - the trading decisions and their consequences remain entirely with the user.
Developed for serious traders who demand precision, reliability, and professional-grade risk management with clean, clutter-free chart visualization.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.