LeoTheMors

(2) Two Alerts

LeoTheMors Cập nhật   
Current Trading View free plan allows only ONE active alert.

This simple indicator Allows to trigger this ONE and ONLY alert when price reaches Higher, or Lower price level.

You can set levels and turn alerts for them on/off in settings, or by just drag-n-dropping Horizontal lines on the chart.

To set the only alert you need to create new alert, and change it's following parameters :
condition : 2alerts
Any alert function() call

Feel free to modify it on your needs.
Phát hành các Ghi chú:
Indicator allows to trigger ONE alert in two different cases :
1. Price is Higher the predefined variable
2. Price is Lower the predefined variable

So basically it allows to use ONE alert as TWO alerts.
(It could be very useful for those who have FREE account like me ;) )

Instruction how to use :
1. Set necessary price levels to be alerted in indicator settings, or just move the horizontal lines.
2. Create new alert in the TV interface, and set it's condition values to :
2alerts
Any alert() function call
Phát hành các Ghi chú:
Now the horizontal lines are solid on full length.
Phát hành các Ghi chú:
Now matching close with levels to break. Before was using highs and lows.
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 đồ?