INVITE-ONLY SCRIPT

MTF TrendLines [Private]

Theo divergencesw
Cập nhật
As the name suggests, the Multi-Timeframe (MTF) Trendlines indicator allows you to extrapolate trendlines from a higher timeframe into your chart timeframe. A maximum of one upper trendline and one lower trendline will be plotted per indicator instance. You can load multiple copies of the indicator into your chart and manually set each copy to operate in a different higher timeframe.

The trendlines are based on the two most recent upper and lower qualifying pivots found in the higher timeframe, and you can adjust the pivot size via the settings menu. In order to qualify, an upper trendline must have a flat to downward slope and a lower trendline must have a flat to upward slope. In both cases there should not be any breach of the trendline between the two pivots. A tolerance factor is provided so you can introduce some leeway in terms of what constitutes a breach.

As mentioned above, the trendlines are actually extrapolated into the chart timeframe. By that we mean that the cluster of bars that comprise each individual pivot in the higher timeframe are located in the chart timeframe, and the bar with the highest-high/lowest-low is used as the actual pivot point. This is necessary because, for example, the high of a daily pivot bar may not always exactly match the highest-high found in the pivot cluster in the chart timeframe.

In terms of selecting the higher timeframe, there are two modes of operation which can be selected via the settings dialog. In Auto Mode the indicator will automatically select the higher timeframe to use based on your chart timeframe. In Manual Mode you select the higher timeframe to use. In either case the selected higher timeframe must always be greater than or equal to the chart timeframe.

Along with each trendline you can also elect to plot pivot markers as well as price labels. Each can be customized and/or toggled on or off via the settings dialog.

The pivot markers will display as up or down triangle shapes plotted below (for lower trendline) or above (for upper trendline) the two price bars that represent the two pivots used in generating the trendline. You have the option to display just the marker, or display the marker plus the timeframe.

The price labels will display on the most current price bar (an offset is provided) and can be configured to display the trendline value as of that bar, the trendline timeframe, or both. You can also adjust the orientation of the price labels.

For the trendlines themselves, you can adjust the color, thickness, and line type. You can also toggle upper and lower trendlines on or off independently.

Please visit the link in our Signature for pricing.
Phát hành các Ghi chú
Updates for memory restriction errors.
Phát hành các Ghi chú
Adjustments for series error.
Phát hành các Ghi chú
Updated to Pinescript V5
Phát hành các Ghi chú
Added trendline source as a new option. You can select between high/low (the default) and close. If close is selected then all trendlnes will be based off of the close price rather than the conventional high/low. This would make sense if you are plotting a close-line chart rather than a bar or candle chart.
multi-timeframePivot PointsSupport and Resistance
divergencesw
Divergence Software, Inc.
sr-analyst.com/tradingview.php

Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ divergencesw để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

Xin lưu ý rằng đây là tập lệnh riêng tư, chỉ dành cho người được mời và người kiểm duyệt tập lệnh không phân tích. Chưa xác định có tuân thủ với Quy tắc nội bộ không. TradingView đề xuất bạn không thanh toán và sử dụng tập lệnh trừ khi bạn tin tưởng 100% vào tác giả của tập lệnh và hiểu cách hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy giải pháp thay thế nguồn mở tốt miễn phí trong Tập lệnh cộng đồng của chúng tôi.

Hướng dẫn của tác giả

For more information, please visit: https://www.sr-analyst.com/tradingview.php

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

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.

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