OPEN-SOURCE SCRIPT
已更新 Fractal Series History Summary

This script presents a summarized view of a series by drawing lines between series samples taken at power-of-two intervals from the current value.
The intent is to provide a visualization of trendlines at multiple scales, without having to untangle those that my overlap each other.
It doesn't overlay a price-chart as written; it could, but IMHO that would be redundant. It's intended to augment oscillators and other kinds of indicators that don't necessarily scale with a price chart.
The script does not attempt to provide buy or sell triggers, but rather, to provide a visualization tool and a line-drawing tech-demo.
The intent is to provide a visualization of trendlines at multiple scales, without having to untangle those that my overlap each other.
It doesn't overlay a price-chart as written; it could, but IMHO that would be redundant. It's intended to augment oscillators and other kinds of indicators that don't necessarily scale with a price chart.
The script does not attempt to provide buy or sell triggers, but rather, to provide a visualization tool and a line-drawing tech-demo.
版本注释
- Calculate deltas forwards, not backwards
Remove normalization
Default to absolute values, overlay=true
版本注释
Added a function to display momentum chords to each sampled node, which was my original inspiration for this script.Reverted to tip-first drawing order, which is simpler and actually draws the oldest visible lines.
版本注释
Refactored, added "Average" and "Linear Regression" as basis for fractal history. (The latter greatly improves the accuracy and stability of the historical summary.)Note #1: This indicator repaints by nature.
Note #2: It is not intended to provide buy or sell signals.
版本注释
Fixed some comments, but mainly wanted to update chart to improve visibility of the indicator版本注释
Added an option to display the fractal historical summary in Log Time, which can visually exaggerate recent information and compress information from the more distant past.Adjusting the "Log(time) Factor" parameter will shrink or stretch the summary to your taste (use 0 for linear time.)

(Linear time in white, Log time in yellow)
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。