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
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?