OPEN-SOURCE SCRIPT
Cập nhật MG - Fibonacci Level Alerts

This script allows a user to get alerts when the price goes within a certain percentage threshold of a Fibonacci level.
If connected with AutoView, it could allow an easy way to do automated range trading between Fibonacci levels. Although I plan to do this myself, I haven't used it for this purpose yet so please be cautious and verify with live results beforehand before using it for any automation.
NOTE: The image shown of the indicator is not fully correct as the close price is used. In many cases in the example image, the candle close price DID come within the alert threshold but closed outside the threshold
Usage:
1. User performs a Fibonacci retracement / extension analysis to identify a sensible high and low point. (Currently, this script is geared towards dip pullbacks during a bull market with the ability to toggle rise pullbacks in a bear market in the pipeline)
2. User enters the high and low points into this indicator
3. User can then set alerts on the buy and sell signals which should provide alerts at excellent entry / exit points.
4. Set the alerts to once per bar (not per close). In this indicator, we want to catch things as soon as they happen.
NOTE: Should use in conjunction with another indicator for maximum results.
I personally use this indicator (tradingview.com/script/JV2WLRcM-Indicator-Multiple-Moving-Averages-1-0/)
TODO
- Add negative alert levels
- Allow user to specify direction of Fib retracement as the levels are different in bull and bear markets
All feedback is welcome
If connected with AutoView, it could allow an easy way to do automated range trading between Fibonacci levels. Although I plan to do this myself, I haven't used it for this purpose yet so please be cautious and verify with live results beforehand before using it for any automation.
NOTE: The image shown of the indicator is not fully correct as the close price is used. In many cases in the example image, the candle close price DID come within the alert threshold but closed outside the threshold
Usage:
1. User performs a Fibonacci retracement / extension analysis to identify a sensible high and low point. (Currently, this script is geared towards dip pullbacks during a bull market with the ability to toggle rise pullbacks in a bear market in the pipeline)
2. User enters the high and low points into this indicator
3. User can then set alerts on the buy and sell signals which should provide alerts at excellent entry / exit points.
4. Set the alerts to once per bar (not per close). In this indicator, we want to catch things as soon as they happen.
NOTE: Should use in conjunction with another indicator for maximum results.
I personally use this indicator (tradingview.com/script/JV2WLRcM-Indicator-Multiple-Moving-Averages-1-0/)
TODO
- Add negative alert levels
- Allow user to specify direction of Fib retracement as the levels are different in bull and bear markets
All feedback is welcome
Phát hành các Ghi chú
Changed Fibonacci level from integer to floatMã 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.