THE_REAL_BCT

[BCT] Configurable Distribution

Trading, like any "game of chance" is best studied and practiced using statistics.
Distributions are a simple and intuitive way to summarize your data and identify whether they follow a pattern (e.g. Normal aka Gaussian distribution, or otherwise)

Use cases:
- Confirm or infirm the indicator / strategy / time series you are looking at follows a known distribution
- Identify an edge you can consistently target
- Investigate changes over time
- Slice the distribution by quartiles or equal sized "buckets" you can use to set adequate limits in your strategies

to apply this script to your indicator, add this indicator to the chart along with the one you want to extract the distribution of. On this script's settings, switch from 'close' to the name of your indicator.
Example: add a log return calculation, add this script, select 'log return' in place of 'close' to obtain the example above.

Features:
- "zoom" - it's a multiplier that zooms in; note that the extremes will be "cropped out" of the picture, but are added to the first and last bar so as to maintain a correct count.
- "quartiles" - typically quartiles are by 4 but you can change it to any number. The table below the chart shows cutoff values for your indicator.
- "bins" - is the number of bins for the distribution.


[BCT]
Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
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?