OPEN-SOURCE SCRIPT
Candle Averages (Jonzi/Galaxy) with Alerts

This indicator is used to highlight outlying candles.
Our script takes the average of the trailing candles and then highlights and/or places a symbol at the candles outside the average.
Example: Your settings use the previous 20 candles and combine the range of each candle.
Divide by 20 and get the average. Let's assume the average is $10
Now if you have your settings at highlighting candles 50% larger than the average, once a candle gets to $15, the indicator would trigger the candle to be highlighted and/or place a symbol of your choice.
In case you don't want to pay attention to the consolidation, you can use the alerts feature. Just go on the timeframe you'd like to be notified on, set an alert for either a down close or up close trigger.
Our script takes the average of the trailing candles and then highlights and/or places a symbol at the candles outside the average.
Example: Your settings use the previous 20 candles and combine the range of each candle.
Divide by 20 and get the average. Let's assume the average is $10
Now if you have your settings at highlighting candles 50% larger than the average, once a candle gets to $15, the indicator would trigger the candle to be highlighted and/or place a symbol of your choice.
In case you don't want to pay attention to the consolidation, you can use the alerts feature. Just go on the timeframe you'd like to be notified on, set an alert for either a down close or up close trigger.
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.
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.
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.