OPEN-SOURCE SCRIPT
5 Major Signal Strategy / 7 Candlestick Patterns

## 5 Major Signal Strategy / 7 Candlestick Patterns
This strategy is based on the `HanJinSignals26` signal library and is designed to detect multiple independent candlestick reversal and momentum patterns on the chart.
The strategy currently supports the following signal groups:
1. Pinbar
2. Engulfing Pattern
3. Fractal Top
4. Fractal Bottom
5. Single Harami
6. Double Harami
7. Big Body Candle
Each signal can be enabled or disabled independently from the input panel. When a signal is disabled, the related library function will not be called, keeping the detection flow clean and modular.
## Core Design
The main design goal of this strategy is signal independence.
Each enabled signal has:
* Its own detection logic
* Its own chart marker
* Its own strategy entry ID
* Its own webhook alert tag
This means that different signal types can trigger independently without depending on one shared signal result.
## Webhook Bridge
The strategy also includes a webhook payload generator.
When a confirmed signal appears at bar close, the strategy sends a structured JSON payload containing:
* Secret key
* Unique signal ID
* Timestamp
* Symbol
* Trade side
* Signal comment/tag
This makes the script suitable for connecting TradingView alerts to external automation systems, bridge services, or execution engines.
## Important Notes
This script is designed for signal research, automation testing, and strategy development.
It is not financial advice and does not guarantee profitability.
Users should always perform their own backtesting, forward testing, risk control, and parameter adjustment before using any signal in a real trading environment.
## Author
Created by richardgong1988.
This strategy is based on the `HanJinSignals26` signal library and is designed to detect multiple independent candlestick reversal and momentum patterns on the chart.
The strategy currently supports the following signal groups:
1. Pinbar
2. Engulfing Pattern
3. Fractal Top
4. Fractal Bottom
5. Single Harami
6. Double Harami
7. Big Body Candle
Each signal can be enabled or disabled independently from the input panel. When a signal is disabled, the related library function will not be called, keeping the detection flow clean and modular.
## Core Design
The main design goal of this strategy is signal independence.
Each enabled signal has:
* Its own detection logic
* Its own chart marker
* Its own strategy entry ID
* Its own webhook alert tag
This means that different signal types can trigger independently without depending on one shared signal result.
## Webhook Bridge
The strategy also includes a webhook payload generator.
When a confirmed signal appears at bar close, the strategy sends a structured JSON payload containing:
* Secret key
* Unique signal ID
* Timestamp
* Symbol
* Trade side
* Signal comment/tag
This makes the script suitable for connecting TradingView alerts to external automation systems, bridge services, or execution engines.
## Important Notes
This script is designed for signal research, automation testing, and strategy development.
It is not financial advice and does not guarantee profitability.
Users should always perform their own backtesting, forward testing, risk control, and parameter adjustment before using any signal in a real trading environment.
## Author
Created by richardgong1988.
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.