Julien_Eche

Ultimate Trend Line

Julien_Eche アップデート済   
The "Ultimate Trend Line" indicator, designed for overlay on financial charts, calculates and plots a global trend line. It works by first allowing users to input several parameters such as different lengths for up to 21 groups, a multiplier that defines the deviation from the linear regression line for calculating the upper and lower bands, and a color for the fill.

Using these inputs, it calculates the upper and lower bands for each length group based on a multiple of the standard deviation from the linear regression line. It then averages these bands to define the global trend line, which is plotted on the graph.

Although the code includes commented-out lines for plotting each individual upper and lower band, the indicator as it stands only displays the overall average trend line. The line's color and linewidth can be adjusted according to user preferences.

This indicator can be effectively used on both logarithmic and linear scales. This versatility allows it to be adaptable to various types of financial charts and trading styles, providing a flexible tool for users to assess and visualize trend patterns across different market conditions and time frames. It maintains its accuracy and relevance, regardless of the scale used, thus making it a comprehensive solution for trend line analysis in diverse scenarios.

It's important to note that the "Ultimate Trend Line" indicator requires a substantial amount of historical data to function properly. If insufficient historical data is available, the indicator may not display accurately or at all. This issue is particularly prevalent when using larger time units, such as weekly or monthly charts, where the available data may not stretch back far enough to satisfy the requirements of the indicator. As such, users should ensure they are operating on a time scale and data set that provides adequate historical depth for the reliable operation of this indicator.
リリースノート:
MTF option added

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

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

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