jasonnyberg

Fractal Series History Summary

jasonnyberg Uppdaterad   
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.
Versionsinformation:
  • Calculate deltas forwards, not backwards
    Remove normalization
    Default to absolute values, overlay=true
Versionsinformation:
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.
Versionsinformation:
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.
Versionsinformation:
Fixed some comments, but mainly wanted to update chart to improve visibility of the indicator
Versionsinformation:
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)
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?