jwammo12

Hi-Lo Trend

jwammo12 Cập nhật   
This script uses the most recent low/high and candle size to determine trend breakouts.

The trend is determined buy whether the most recent price extreme within the Lookback period is a high or low. If it is a most recent high, it is an uptrend, if it is a lwo, a downtrend.

Bands are created using the average absolute difference of current minus previous close over the MABandPeriod, multiplied by the MABandMultiplier.
If the current close minus previous close is above/below the band, then a blue dot is painted and it is a breakout.

a buy alert fires when a downtrend becomes an uptrend and a breakout above the bands happens.

A sell alert fires when an uptrend becomes a downtrend and a breakout below the bands happns.
Phát hành các Ghi chú:
added some comments : )

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?