Linear Weighted MA that changes colors based on slope. Green = slope up from last bar Yellow = slope is 0 from last bar Red = slope down from last bar This time with the ability to change the period.
Linear Weighted MA that changes colors based on slope. Green = slope up from last bar Yellow = slope is 0 from last bar Red = slope down from last bar
experimental: draws a line from 2 vectors(price, time) update: reformatted the function, added automatic detection of the period multiplier by approximation(gets a bit goofy with stocks/week time), example using timestamp() function. offsetting is still bugged, i cant find a way around it atm.
EXPERIMENTAL: improved range detection (it now locks range when its last formed on the appropriate side improving readability as it doesnt auto adjust when opposite extreme moves)
EXPERIMENTAL: Experiment using Linear Regression based on %atr for decay(decay option is a mutiplier for the atr).
experiment with linear regression, the purpose was to catch break outs early, but it creates to much visual noise same as version 0 but with added margin filter and signal to mark entrys
Method to draw linear regression lines from average price advance&decline range
Version 2 - Linear Regression Slope. This version will have more freedom on picking your own length for all the Inputs. One of the main reason I changed it is because, Slope calculation on transition period was not being computed properly. Because the Version 1, looks back the length assigned, and compute the slope based on two candle readings, could be 10 days...
Corrected Version, for VERSION - 2 () updated for Custom Length, and fixed some formula glitches.
This is version 1 of the Linear Regression Slope. In ideal world the Linear regression slope values will remain same for any time period length. because the equation is y = mx+b, where m is the slope. All I did here is m = y/x The Main Purpose of this indicator is to see, if the Trend is accelerating or decelerating. The first Blue bar will caution when a...