Stream Influxes and ReversalsI have a really interesting script for you guys today. While walking home I had an interesting idea that I wanted to visualize, but had no clue how it would turn out. This script is the result and it seems to provide some larger information.
For anyone who doesn't know the definition of concavity here is a super quick calculus lesson: Concavity is a fancy word for the sign of the second derivative of something. This is the SLOPE OF A SLOPE; how fast is the rate of change changing? An example is position, if you are in a place and want to go to another place the first derivative how you move there is the velocity, if you are measuring the derivative of velocity that is called acceleration. If you are speeding up then you have positive concavity. If you are slowing down you have negative concavity. On a graph positive concavity looks like a cup, negative concavity looks like an upside down bowl. Infection is just a fancy word for when it is zero, which means - to + or + to - So...
If we look at the concavity of the edges it seems to provide us clues about how the price is moving and where it wants to reverse. I made boxes around points of inflection (pos --> neg or neg --> pos concavity)
The purple lines are just moving averages of the green dots. The green dots are where the edges are at each time step, just the average of all of them at once. If price is wiggling a lot then it creates lots of edges, the green dots get plotted close to the price line, which moves up the purple lines.
The red line is a highlight of the last line, helps guide the eye.
The other smooth red lines are a shout out to bollinger bands, set the band width smaller to find break outs or squeezes.
There really isn't a defined strategy for how to use this, but with all the messages I am getting about these scripts everyone is always surprising me with what they see. So I hope some of you can make some good calls with this!
Theres lots of calculations here and it takes a long time to load, if it won't load, just toggle something back and forth till it does.
Happy trading everyone! I hope these scripts give some of you financial freedom. If you're making really good profits then share some of it with those who are less fortunate. Cheers