TradingView
Spinn29
5 Tem 2022 10:45

Spinn ATR target 

Bitcoin all time history indexINDEX

Açıklama

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% случаев за заданный период достигала этого уровня.

Sürüm Notları

Open bar line added. | Добавлена линия открытия периода.

Sürüm Notları

Text added with the percentile near the lines.
Возле линий выводится текст с размером заданного перцентиля.

Sürüm Notları

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.
Yorumlar
d.umesh
Hello sir, Thnx for update but value can't see on Dark theme plz put colour option for that.
Spinn29
@d.umesh, you have it. Lines 36-37 of code.
Pls, check options. Change black to white.
d.umesh
Hello sir, Thnx for this indicator.
Sir, One Request from my side , can you please add price value with percentage if possible. M Waiting for your Reply
Thnx.
Spinn29
@d.umesh, hello.
You can do the following. Right-click on the name of the indicator on your chart and select "Indicator values". Then, when you hover over any point on the chart, you will see the price values of the lines next to the indicator name for that point.

However, I have fulfilled your request. Enjoy!
d.umesh
@rva2929, Thnx sir, M Waiting...
King_Mizzo
Hello do this work with heiken ashi
Spinn29
@King_Mizzo, hello.
I think yes. But you have to remember that this is an experimental indicator.

King_Mizzo
@rva2929, thanks
UnknownUnicorn40403838
thank you very much
Spinn29
@codystrading, welcome )
Daha Fazla