PROTECTED SOURCE SCRIPT
Valdes Trading Bots - Scaled Profits and DCA — V 12.1

Valdes 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.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.