OPEN-SOURCE SCRIPT
Cập nhật Trend Lines, Supports and Resistances

█ OVERVIEW
This is a simple script that draws trend lines, supports and resistances based on the highs and lows of pivots and is developed solely for practice purposes while learning the Pine Script language.
█ FEATURES:
█ DISCLAIMER:
Trading is risky and most of the day traders lose money eventually. This indicator is only for educational purposes and should not be construed as financial advice. Past performances does not guarantee future results.
This is a simple script that draws trend lines, supports and resistances based on the highs and lows of pivots and is developed solely for practice purposes while learning the Pine Script language.
█ FEATURES:
- Ability to change pivot length and mark pivots on chart.
- Ability to change amount of pivot points that used to generate trend lines or support and resistances.
- Ability to set exception for last "n" bars for breaks.
- Ability to set exception up to "n" times for breaks.
- Ability to see broken trend lines as ghosts.
- Ability to set alarms for breaks.
- Ability to change colors and line widths.
- And many more...
█ DISCLAIMER:
Trading is risky and most of the day traders lose money eventually. This indicator is only for educational purposes and should not be construed as financial advice. Past performances does not guarantee future results.
Phát hành các Ghi chú
Fixed bugs at alert texts.Phát hành các Ghi chú
Added options for alert frequencies.- "Once Per Bar": The first function call during the bar triggers the alert.
- "Once Per Bar Close": The function call triggers the alert only when it occurs during the last script iteration of the real-time bar, when it closes.
- "All": All function calls trigger the alert.
Phát hành các Ghi chú
Added alerts for new pivot highs and lows which may be possible supports and resistances.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.