Fractal Series History SummaryThis 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.
Summary
Rolling deviationsSometimes the market data follows normal distribution, in these cases it is more appropriate to utilize mean-based statistical techniques. This script plots the special case of seven-number summary with 1st, 2nd & 3rd standard deviations below and above the mean.
It also has "Log-space" switch which should be checked while using logarithmic scale.
The next version with minor visual improvs might arrive soon
Rolling summaryStatistical methods based on mean cannot be effective all the time when attributed to financial data since it doesn't usually follow normal distribution, the data can be skewed or/and have extreme values which can be described as outliers.
In order to deal with this problem it is appropriate to use median-based techniques.
The most common one is called five-number summary/box plot, which plots median of the dataset, 25th (Q1) & 75th (Q3) percentiles (the medians of lower & upper parts of the original dataset divided by the original median), and whiskers calculated by taking range between Q1 and Q3, multiplying it by 1.5 and adding it to Q3 and subtracting it from Q1. The values which are outside the whiskers are considered outliers. Default settings of the script correspond to the classic box plot.
Seven-number summary can be also plotted by this script, by turning on 4 additional percentiles/Bowley’s seven-figure summary by turning on first 2 additional percentiles and changing their values to 10 and 90 respectively.
P.S.: Mean can be also turned in just to check the difference.
Indicator SummaryThis is a proof of concept for an indicator summary.
If the indicator color is green, it's bullish. Red is bearish.
This will be improved over time with more indicators.