Spinn29

Spinn ATR target

Spinn29 已更新   
Not quite the usual approach to plotting targets on the chart, where the price will come with a given probability.

The indicator draws targets by studying the ATR of the target timeframe. More precisely, this is not exactly an ATR - the price move is taken from the closing price of the previous bar and is calculated both up and down separately.

The settings specify the percentage used to calculate the price move, at which the specified percentage of bars reached this price move in the past.

Simply put, if we set 50% in the settings, this means that a line will be drawn at the level at which the price reached this level in 50% of cases over a given period.

--
Не совсем обычный подход к построению целей на графике, куда цена придет с заданной вероятностью.

Индикатор рисует цели, изучая ATR целевого таймфрейма. Точнее, это не совсем ATR - ход цены берется от цены закрытия предыдущего бара и считается отдельно как вверх, так и вниз.

В настройках задается процент, исходя из которого вычисляется ход цены, при котором заданный процент баров достигал этого хода цены ранее.

Проще говоря, если мы задаем в настройках 50%, то это означает, что будет построена линия на том уровне, на котором цена в 50% случаев за заданный период достигала этого уровня.
版本注释:
Open bar line added. | Добавлена линия открытия периода.
版本注释:
Text added with the percentile near the lines.
Возле линий выводится текст с размером заданного перцентиля.
版本注释:
The structure and code of the indicator have been slightly modified. Comments have been added. Price values have been added to the labels at the user's request.
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?