OPEN-SOURCE SCRIPT
Profit target area

Calculates short-term support and resistance and shows areas where put profit targets. Area calculation is based on retracement levels 38% and 62%
Assuming that price always tests previous resistance and performs 38% or 62% retracement. So if area above or below are 62% or 38% of the movement, current resistance-support is 100-62 or 100-38. Result area is rest part above resistance to fill 100% of movement (same below).
When price breaks the support or the resistance, put profit target into the area.
You should always watch not only current suggested area, but also previous areas because detecting supports and resistances is not always perfect
Assuming that price always tests previous resistance and performs 38% or 62% retracement. So if area above or below are 62% or 38% of the movement, current resistance-support is 100-62 or 100-38. Result area is rest part above resistance to fill 100% of movement (same below).
When price breaks the support or the resistance, put profit target into the area.
You should always watch not only current suggested area, but also previous areas because detecting supports and resistances is not always perfect
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.