J-Streak

(JS) Double Stochastic

J-Streak Обновлено   
The idea for this indicator came from looking at the Stochastic RSI. The Stochastic RSI takes the RSI reading then applies the Stochastic formula to it - an indicator on top of an indicator. Using this logic, I decided to try using a Stochastic on the existing Stochastic in order to smooth it out - hence the "Double Stochastic". I have also added the option to add RSI on to the indicator as well (with smoothing if you'd like).

Resolution:
I added this so you can look at the reading on any time frame.

K & D:
This is the standard K% and D% used with the Stochastic indicator - the numbers modify the length of their calculations.

Smooth:
This is the smoothing calculation, also from the normal Stochastic indicator.

Use Second Stochastic:
This adds a second Stochastic on to the chart for analysis.

K & D 2:
This is the parameters used to calculate the second K% and D% lines.

Smooth 2:
This is the smoothing interval for the second K% and D% lines.

Use K% and D%:
The default for this is to have it on. What it means is that you wish to see both the K% and D% lines (watching for a cross). If you turn this off, the plot switches to a K% & D% difference line. It is just one line that plots the distance between the two.

SMA Length Using Difference:
If this is on, then you can smooth the difference plot with an SMA, obviously if you just want the raw difference to plot, then set this to 1.

Use RSI:
Since both RSI and Stochastic use a 0-100 scale, I added the ability to plot the RSI along with the Stochastic. This will not plot if you are using the Difference plot, being that plot isn't on a 0-100 scale.

Smooth RSI:
I also added the ability to smooth the RSI if you'd like, you can turn this off for the standard RSI reading.

RSI Length:
This is the period of bars used to calculate the RSI.

RSI Smoothing Length:
This is the smoothing interval if you'd like to apply a moving average on the regular RSI reading.

RSI Smoothing Use EMA:
This makes the RSI smoothing use an EMA, when off an SMA is used instead.

RSI Source:
And finally, this is the source used to calculate the RSI value.

I hope that you all may find this useful, I have been using it myself with a lot of success. Any questions, please leave them in the comments, thanks!
Информация о релизе:
...
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?