PROTECTED SOURCE SCRIPT
[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.
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]
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
[BCT]
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.