OPEN-SOURCE SCRIPT
업데이트됨 Directional filter VERSION 2

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
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
릴리즈 노트
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.
릴리즈 노트
a small correction of the conditions of the bars of relevance C릴리즈 노트
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.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.