OPEN-SOURCE SCRIPT
CP Algo Pro V2.3

CP Algo Pro V2
CP Algo Pro V2 is a technical analysis indicator designed to identify high-probability trading opportunities by combining trend, momentum, and market structure.
Features
Automatically detects BUY and SELL signals.
Displays Entry, Stop Loss, TP1, TP2, and TP3.
Supports both Fast and Normal modes.
Automatically adjusts TP/SL based on the selected Symbol and Timeframe.
Allows manual TP/SL customization.
Includes a built-in daily performance dashboard.
Supports multiple markets, including XAUUSD, XAGUSD, BTCUSD, and custom symbols.
Compatible with TradingView Alerts for Telegram notifications and Webhook integrations.
Dashboard
Total Trades
TP1 Hit
TP2 Hit
TP3 Hit
SL Hit
Win Rate
TP Statistics
Take-profit statistics are calculated based on the highest target actually reached by price:
If price reaches TP1, TP1 is counted.
If price reaches TP2, both TP1 and TP2 are counted.
If price reaches TP3, TP1, TP2, and TP3 are all counted.
Stop Loss is counted only if price has not reached TP1.
This ensures:
TP1 ≥ TP2 ≥ TP3
Performance statistics accurately reflect the actual progression of price movement.
Disclaimer
CP Algo Pro V2 is designed to assist traders with technical analysis and trade management. It should be used alongside proper risk management and independent market analysis before making any trading decisions. Past performance does not guarantee future results.
CP Algo Pro V2 is a technical analysis indicator designed to identify high-probability trading opportunities by combining trend, momentum, and market structure.
Features
Automatically detects BUY and SELL signals.
Displays Entry, Stop Loss, TP1, TP2, and TP3.
Supports both Fast and Normal modes.
Automatically adjusts TP/SL based on the selected Symbol and Timeframe.
Allows manual TP/SL customization.
Includes a built-in daily performance dashboard.
Supports multiple markets, including XAUUSD, XAGUSD, BTCUSD, and custom symbols.
Compatible with TradingView Alerts for Telegram notifications and Webhook integrations.
Dashboard
Total Trades
TP1 Hit
TP2 Hit
TP3 Hit
SL Hit
Win Rate
TP Statistics
Take-profit statistics are calculated based on the highest target actually reached by price:
If price reaches TP1, TP1 is counted.
If price reaches TP2, both TP1 and TP2 are counted.
If price reaches TP3, TP1, TP2, and TP3 are all counted.
Stop Loss is counted only if price has not reached TP1.
This ensures:
TP1 ≥ TP2 ≥ TP3
Performance statistics accurately reflect the actual progression of price movement.
Disclaimer
CP Algo Pro V2 is designed to assist traders with technical analysis and trade management. It should be used alongside proper risk management and independent market analysis before making any trading decisions. Past performance does not guarantee future results.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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ã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.