OPEN-SOURCE SCRIPT

IU Probability Calculator

已更新
How This Script Works:

1. This script calculate the probability of price reaching a user-defined price level within one candle with the help Normal Distribution Probability Table.

2. Normal Distribution Probability Table is use for calculating probability of events, it's very powerful for calculation of probability and this script is fully based on that table.

3. It takes the Average True Range value or Standard Deviation value of past user-defined length bar.

4. After that it take this formula z = ( price_level - close ) / (ATR or Standard Deviation) and return the value for z, for the bearish side it take z = (close - price level) / (ATR or Standard Deviation ) formula.

5. Once we have the z it look into Normal Distribution Probability Table and match the value.

6. Now the value of z is multiple buy 100 in order to make it look in percentage term.

7. After that this script subtract the final value with 100 because probability always comes under 100%

8. finally we plot the probability at the bottom of the chart the red line indicates "The probability of price not reaching that price level", While the green line indicates "Probability of price Reaching that level " .

9. This script will work fine for both of the directions


How This Is Useful For The User:

1. With this script user can know the probability of price reaching the certain level within one candle for both Directions .

2. This is useful while creating options hedging strategies

3. This can be helpful for deciding stop loss level.

4. It's useful for scalpers for managing their traders and it can be use by binary option traders.
版本注释
How This Script Works:

1. This script calculate the probability of price reaching a user-defined price level within one candle with the help Normal Distribution Probability Table.

2. Normal Distribution Probability Table is use for calculating probability of events, it's very powerful for calculation of probability and this script is fully based on that table.

3. It takes the Average True Range value or Standard Deviation value of past user-defined length bar.

4. After that it take this formula z = ( price_level - close ) / (ATR or Standard Deviation) and return the value for z, for the bearish side it take z = (close - price level) / (ATR or Standard Deviation ) formula.

5. Once we have the z it look into Normal Distribution Probability Table and match the value.

6. Now the value of z is multiple buy 100 in order to make it look in percentage term.

7. After that this script subtract the final value with 100 because probability always comes under 100%

8. finally we plot the probability at the bottom of the chart the red line indicates "The probability of price not reaching that price level", While the green line indicates "Probability of price Reaching that level " .

9. This script will work fine for both of the directions


How This Is Useful For The User:

1. With this script user can know the probability of price reaching the certain level within one candle for both Directions .

2. This is useful while creating options hedging strategies

3. This can be helpful for deciding stop loss level.

4. It's useful for scalpers for managing their traders and it can be use by binary option traders.
educationalforecastingstatistics

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明