J-Streak

(JS) Sustained Velocity Squeeze Index

J-Streak Uppdaterad   
So I have revamped my original SVI indicator with the new Squeeze Pro system and have fused them together to form a single and extremely versatile indicator.

First, allow me to share the description on the original SVI, as all of this still applies:
"The Sustained Velocity Index is an original indicator I've created as a means to accurately measure parabolic moves to the up or down side.

Acceleration
I have added Acceleration to the equation which you can turn on and off.
This is meant to amplify the value when the move is sustained in a given direction.
What this does is amplify the reading based on consecutive green or red candles.
You can also change the Acceleration sensitivity with 5 being the strongest and 1 being the weakest.

Length
This is rather obvious - the look back period for the math formula.
However - I did include presets that I thought best suited Daily/Weekly/Monthly which you can toggle on and off

The rest of the options are purely cosmetic;

Backgroud Off - Turn the indicator background colors on and off.
Simple Background? - This toggles a simple two shade background on and off.
Background Transparency - Allows you to adjust the transparency of the background colors.
Plot Background Off? - Allows you to toggle the background inside the plot on and off.
Plot Line Color Off? - If you don't like the way the plot line changes colors, this turns it white.
Color Scheme - Four schemes to choose from, first three are color based, the last one is a plain version.
Plot Width - Adjusts the width of the plot line on the indicator.
Plot Line Value? - Toggles a line on the indicator at the current value on and off.
"

Regarding the Squeeze Pro:
"The new Squeeze Pro has three different squeeze types rather than a single signal.
White = Warning/Low Squeeze
Red = Regular/Mid Squeeze
Yellow = Power/High Squeeze
"

So what does this new indicator do? well - it does everything above, for one. Also, it allows you to use these indicators (Squeeze and SVI) separately in more ways than one, or if you choose so, individually. The default layout is the SVI overlayed on top of the Squeeze Momentum which can be seen in the background allowing you to be aware of both simultaneously, and done in a way that doesn't feel cluttered.

So here''s the new features:

Squeeze Momentum Off - This is rather obvious, when selected this will only show the SVI, no squeeze overlay.
Squeeze Momentum Only - Obvious again, when this is on SVI is removed and only the Squeeze momentum appears on the indicator.
Squeeze Momentum Plot Transparency - This toggles the opacity of the Squeeze momentum when it is overlayed with SVI, so you can bring it out/fade it back more depending on your preference.
Combined Indicator - This is the really cool feature. I combined the math formulas of both the Squeeze and SVI to create a single momentum indicator, the combo indicator tends to lag the other two a bit, but is better at assessing the longer term trend.

There are 5 different color schemes as well, with the fifth being a plain grayscale bg if you aren't into all the extra stuff.
Lots of moving parts to this script! I have been using this thing now for about a week or so prior to publishing and I love it so far, hope you all do too - enjoy!
Versionsinformation:
Added where you can totally remove background
Versionsinformation:
slight formula change
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
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?