zathruswriter

Daily Defining Range

zathruswriter Atualizado   
Shows the highest probability daily high and low for the New York session in its first hour.
Then detects the trend in which this session is likely to move during the day.

This script will use the first hour of NY session (9:30 am to 10:30 am) to determine the Defining Range between that range's highest high and lowest low.

It will also determine the Implied Defining Range, which are the actual close values of the highest and lowest candle in the Defining Range.

Once a highest high or lowest low is broken, this script shows you the most likely direction of the trend for the day with 88% probability.

Credits: this idea originates from TheMas7er
Notas de Lançamento:
added a more graphical representation of the defining range
Notas de Lançamento:
added a mid line in the half of the defining range, so you can check which of your FVGs is more likely to be hit after the defining range was broken
Notas de Lançamento:
added the option to set your own session timezone and session start time
Notas de Lançamento:
fix: DR and IDR are actually broken by a close price, not high/low
Notas de Lançamento:
added alerts for when DR or IDR high/low lines are broken
Notas de Lançamento:
fix: IDR range was calculated incorrectly
Notas de Lançamento:
fix: IDR bottom range and both, top and bottom lines were drawn incorrectly
Notas de Lançamento:
fix #1: DR and IDR ranges end on the correct candle
fix#2: resetting now works correctly with markets that don't start at midnight
Notas de Lançamento:
fix: DR and IDR lines positioned incorrectly in some cases (the range was highlighted correctly though)
Notas de Lançamento:
added the possibility to show 0.5% fibo levels for the IDR + fixed IDR lines not being positioned where they should be (IDR range box was still correct)
Notas de Lançamento:
fix for instances where one candle closes almost at the DR/IDR level but fails to break it and then next candle actually opens above/below the DR/IDR level, essentially breaking it at the open - this was previously ignored and only candle close value was taken into consideration for breaking the range
Notas de Lançamento:
fix #1: starting bar on Indian markets now correctly shows 9:15, fix #2: DR/IDR lines showing correct on Indian markets
Notas de Lançamento:
fix: IDR lines positioned at the wrong places
Notas de Lançamento:
fix: IDR line once again not positioned correctly as per candle's body (this is the last IDR line fix, I promise! :-)
Notas de Lançamento:
1) fixed IDR range reliability statistics that is showing when Debug Mode is on, 2) added the ability to color 0.5 Fibo levels differently and also to adjust Fibo labels offset, so it doesn't get in the way

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?