OPEN-SOURCE SCRIPT
Layout Padrao_HULL Version

This layout was inspired by the Andre Machado´s Tabajara set of rules.
The adaptation are the following:
-Usage of Hull Average instead of simple moving average
-Usage of 2 Averages instead of just one
-Implementation of a "transition zone"
Average Candle Color
p1 // p2 // Prior
> // > // > Set Color 1
> // > // < Set in your layout settings color (down candle)
> // < // > Set Color A1
> // < // < Set Color A2
< // > // > Set Color A1
< // > // < Set Color A2
< // < // > Set in your layout settings color (up candle)
< // < // < Set Color 2
The A1 // A2 colors are for the transition zone.
Either the average 1 or the average 2 will be lower than the previous average.
This is a way to show how both averages are developing without having to look at 2 additional lines, making the layout more clear (at least, for me).
Feel free to comment
PS: Thank you for all the people who have implemented Machado´s work in pine editor
The adaptation are the following:
-Usage of Hull Average instead of simple moving average
-Usage of 2 Averages instead of just one
-Implementation of a "transition zone"
Average Candle Color
p1 // p2 // Prior
> // > // > Set Color 1
> // > // < Set in your layout settings color (down candle)
> // < // > Set Color A1
> // < // < Set Color A2
< // > // > Set Color A1
< // > // < Set Color A2
< // < // > Set in your layout settings color (up candle)
< // < // < Set Color 2
The A1 // A2 colors are for the transition zone.
Either the average 1 or the average 2 will be lower than the previous average.
This is a way to show how both averages are developing without having to look at 2 additional lines, making the layout more clear (at least, for me).
Feel free to comment
PS: Thank you for all the people who have implemented Machado´s work in pine editor
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
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.