TradingView
gtabachi
2022년 11월 4일 오후 1시 46분

ATR Table 2.0 

Bovespa Index FuturesB3

설명

ATR Table 2.0

This script was created in order to display a table that "calculates" how far the price can go on the current day.

The script is a table with 3 lines that calculates:
  • First Line - Day TR: The True Range of the current day ([Max of the day] - [Min of the day], including an Opening GAP if it exists);
  • Second Line - 10 Day ATR: The Average True Range of the asset (including Opening GAPs) for the last 10 days;
  • Third LIne - Range Consumed: How much of the 10 Day ATR it was consumed on the current day.


Example of how to use the information on the table and the understanding of it's purpose:
1) Supose you are day trading an asset that, during the last 10 days, have moved around $1.00 a day - This is the 10 Day ATR.
2) On this day, after 2 hours of the opening market, the price have already moved $0.50 (supose that it has moved $0.30 up and $0.35 down from the close of the prior day and the price is now near the close of the prior day).
3) In this situation, knowing that the price often moves around $1.00 a day, and knowing that it already moved $0.65 ($0.30 up and $0.35 down based on the close of the prior day), you may pay attention when the price breaksthrough the max or the min of the day, cause it can still move $0.35 in that direction ($1.00 - $0.65).

----------------------------------------------

ATR Table 2.0

Esse script foi criado para disponibilizar uma tabela que "calcula" quanto o preço pode andar ainda no dia em questão.

O script é uma tabela com 3 linhas que calcula:
  • Primeira Linha - TR do Dia: O Range Verdadeira do dia em questão ([Max do dia] - [Min do dia], incluindo GAP de Abertura se for o caso);
  • Segunda Linha - ATR de 10 Dias: A média do Range Verdadeira do ativo (incluindo GAPs de abertura) dos últimos 10 dias;
  • Terceira Linha - Range Consumido: O quanto do ATR de 10dias já foi consumido no dia em questão.


Exemplo de como usar essa informação na tabela e o entendimento do seu propósito:
1) Suponha que você está realizando day trade de um ativo que, durante os últimos 10 dias, se move em torno de $1.00 por dia. Esse é o ATR de 10 dias.
2) Nesse dia, após 2 horas da abertura do pregão, o preço já se moveu $.050 (suponhamos que ele tenha se moveu $0.30 para cima e $0.35 para baixo a partir do fechamento do dia anterior e agora o preço está próximo do fechamento do dia anterior).
3) Nessa situação, sabendo que o preço se move por volta de $1.00 por dia, e sabendo que ele já se moveu $0.65 ($0.30 pra cima e $0.35 pra baixo a partir do fechamento do dia anterior), você deve se atentar para quando o preço romper a máxima ou a mínima do dia, pois ele pode se mover ainda $.035 na direção do rompimento ($1.00 - $0.65).

릴리즈 노트

Changes on the Table Description
-----
Alterações nas descrições da tabela

릴리즈 노트

Added a new row to the table, Max ZRange, displaying the maximum theoretical value for Support and Resistance Zones.
This value is a result of 12% of the 10 Day ATR.

-----------------
Adicionada uma nova linha na tabela, Maz ZRange, mostrando o valor teórico máximo para Zonas de Suporte e Resistência.
Esse valor é o resultado de 12% do ATR de 10 dias.

릴리즈 노트

Visual improvements

릴리즈 노트

Table "Max ZRange" fixed.
코멘트
Mamista
I really like your indicator table, but unfortunately, it always shows up top-right corner and TV has these buttons overlapping it. Would be great if there would be the possibility to decide where on the chart this table should be located (left, middle, right). IN any cases, if the box could be just put a little bit more to the left to clear these TV buttons, that would be great!
gtabachi
@Mamista, you can copy and paste my script on a new script for you, then, on line 129, you can replace "position.top_right" with a different position and have what you need.
I hope I was able to help you.
Mamista
@gtabachi, Many thanks!
더보기