divergencesw

MTF TrendLines [Private]

divergencesw アップデート済   
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.
リリースノート:
Updates for memory restriction errors.
リリースノート:
Adjustments for series error.
リリースノート:
Updated to Pinescript V5
リリースノート:
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.

Divergence Software, Inc.
www.sr-analyst.com/tradingview.php
招待専用スクリプト

このスクリプトへのアクセスは作者が許可したユーザーに制限されており、通常はお支払いが必要です。お気に入りに追加することはできますが、許可を申請して作者が許可した後でなければ使用することはできません。 詳細については divergencesw にお問い合わせいただくか、以下の作者の指示に従ってください。

TradingViewは、スクリプトの作者を100%信頼して、スクリプトの動作を理解しているといった場合でない限りは、代金を支払って利用される事をお勧めしません。多くのケースでは、コミュニティスクリプトでオープンソースの優れた代替スクリプトを無料で見つける事ができます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

作者の指示

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

チャートでこのスクリプトを利用したいですか?

注: アクセス権をリクエストされる前にご覧ください