mcrypt28

Spread Percent

This indicator shows the percent change between the highs and the lows (or optionally the open and close) of each candle. You may also set a low and a high percent threshold to better highlight the candles that exceed your desired spread percent. Red signifies low spread, green is high spread - these are unrelated to the color of the candle body. There is also the option to display a moving average of the spread percent at your desired length which is a representation of volatility over time.

This is not only helpful for historical analysis over time, but this can also be a time saver if you are trying to calculate the measured distance of a move. Save clicks - no more needing to use the measuring tool.

The settings of the indicator on the chart above are:
- Measure Candle Body Only? - No
- Highlight Thresholds? - Yes
- Thresholds Based on Moving Averages? - Yes
- Low Percent Threshold - 3.0
- High Percent Threshold - 7.0
- Show Moving Average? - Yes
- Moving Average Length - 5

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?