BigBitsIO

Stochastic PC [BigBitsIO]

This script is a very simple stochastic calculation similar to Stochastic RSI that calculates a stochastic value of a moving average of the percentage price change. The purpose of the indicator is to find positive and negative volatility momentum peaks which might be able to help identify changes in trends. Like other stochastic indicators, it may be best used in combination with other indicators.

Explained:
- First gets the % change for the candle from open to close. Green candles produce positive values, red candles produce negative values.
- Then it creates a moving average of that number to try and reduce impacts of very large moves, although this can be changed with the super-fast smoothed length setting. Set it to 1 to remove all smoothing.
- After that, it creates a K value using a stochastic calculation based on the range of the price change moving average we created in the previous step. Set the smoothK to one to use a fast stochastic calculation, it is a slow stochastic calculation by default (3-period SMA of stochastic)
- Finally, to create the D value it calculates a 3-period SMA of the K value.

FAQ:
- Why is this script useful?
- This script can help identify the peaks and valleys of volatility momentum

DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB.

Like and follow!

💻 Website: www.bigbits.io
📺 YouTube: www.youtube.com/bigbits
🎮 Discord: discord.gg/rapMn4z
🐦 Twitter: twitter.com/BigBitsIO
💸 Save $30 on TradingView Paid Plan: bit.ly/2CaRfjs
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

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?