Coringa

Directional filter VERSION 2

Coringa Updated   
The idea is to make it more visible if the moment is to seek buying or selling, based on moving averages, being SMA 21 and EMA 9.

best BUYBAR has the EMA9 and SMA21 rising and closing above them. "relevance A"

best SELLBAR has the EMA9 and SMA21 dropping and closing below them. "relevance A"

Conditions for all colors of the candlesticks:

BuyBar A = price closes above EMA9 and SMA21 with EMA9 and SMA21 rising.

BuyBar B = price closes above SMA21 with SMA21 rising OR price closes above EMA9 and SMA21.

BuyBar C = price closes above EMA9 with EMA9 rising and SMA21 falling.

BuyBar Neutral = close> open.


SellBar A = price closes below EMA9 and SMA21 with EMA9 and SMA21 falling.

SellBar B = price closes below SMA21 with SMA21 falling OR price closes below EMA9 and SMA21.

SellBar C = price closes below EMA9 with EMA9 falling and SMA21 rising.

SellBar Neutral = close <open.


The moving averages also change according to the direction in which they are:

EMA 9 up = blue
EMA 9 down = orange

SMA 21 up = green
SMA21 down = red




PT-BR

A idéia é deixar mais visivel se o momento é buscar compra ou venda, se baseando nas médias moveis , sendo elas SMA 21 e EMA 9.

melhor BUYBAR possui a EMA9 e SMA21 subindo e fecha acima delas. "relevância A"

melhor SELLBAR possui a EMA9 e SMA21 caindo e fecha abaixo delas. "relevância A"

Condições para todas as cores dos candlesticks:

BuyBar A = preço fecha acima de EMA9 e SMA21 com EMA9 e SMA21 subindo.

BuyBar B = preço fecha acima de SMA21 com SMA21 subindo OU preço fecha acima de EMA9 e SMA21.

BuyBar C = preço fecha acima de EMA9 com EMA9 subindo e SMA21 caindo.

BuyBar Neutral = fechamento > abertura.


SellBar A = preço fecha abaixo de EMA9 e SMA21 com EMA9 e SMA21 caindo.

SellBar B = preço fecha abaixo de SMA21 com SMA21 caindo OU preço fecha abaixo de EMA9 e SMA21.

SellBar C = preço fecha abaixo de EMA9 com EMA9 caindo e SMA21 subindo.

SellBar Neutral = fechamento < abertura.


As medias moveis também alteram de acordo com a direção em que estão:

EMA 9 subindo = azul
EMA 9 caindo = laranja

SMA 21 subindo = verde
SMA21 caindo = vermelho
Release Notes:
In that small modification, I added my other indicator: "Avarege MULTI_SMA". I have observed that it is being useful.

For those interested in how "Avarege MULTI_SMA" works, check out my published scripts, it has the explanation.
Release Notes:
a small correction of the conditions of the bars of relevance C
Release Notes:
In this Update I added another script of mine, called EMA_ZONE.

The difference is that by default the zone will be filled using a fast exponential average (EMA9 by default) and a slower simple average (SMA20 by default)

for some this may be another interesting filter to identify which type of operation is most likely to work.


PT-BR

Nessa Atualização adicionei outro script meu, chamado EMA_ZONE.

A diferença é que por padrão sera feito o preenchimento da zona utilizando uma média rapida exponencial( EMA9 por padrão) e uma média mais lenta simples( SMA20 por padrão)

para alguns isso pode ser mais um filtro interessante para identificar qual tipo de operação é mais provavel de dar certo.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?