OPEN-SOURCE SCRIPT

AmitN STDEV V5

已更新
Often, a trader would like to predict the range for the next certain amount of period. This is useful for doing short strangles, Iron Fy, Iron Condor strategies.

This script calculates the price range for the next 'X' number of candles on the given timeframe based on Standard Deviation formulae.
It gives this range on 1 standard deviation and 2 standard deviations.

-----------------------------------------------------------
1SD Range : Probability of expiry in that range is 68 %
2SD Range : Probability of expiry in that range is 95 %
-----------------------------------------------------------

From the settings, you can choose the "lookback" period which is used to calculate the next price prediction based on those many candles.

The range is plotted in the form of lines. It marks the range and also the difference between spot and the range-value.
版本注释
Updated the chart image
版本注释
Added the percentage figure to see the range percentages.
statistics

开源脚本

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

想在图表上使用此脚本?

免责声明