OPEN-SOURCE SCRIPT
pipe_finder. Reversal Indicator for Pipe Top & Bottom Patterns.

Simple indicator to find pipe bottom and top patterns.
Definition:
- Pipe Bottom:
- Positive Difference from Open and Close is greater than the average thickness of the last "x" candles multiplied by sensitivity "y"
- The previous candle is red and the current candle is green
- Trend Definition - (Trend for EMA length 'z" has a slope less than 0 or pointed downwards)
- The average of the current and previous candle's volume is greater than the average volume for the last "n" candles.
- Pipe Top:
- Positive Difference from Open and Close is greater than the average thickness of the last "x" candles multiplied by sensitivity "y"
- The previous candle is green and the current candle is red
- Trend Definition - (Trend for EMA length 'z" has a slope greater than 0 or pointed upwards)
- The average of the current and previous candle's volume is greater than the average volume for the last "n" candles.
Settings:
Sensitivity: How thick do the pipe candles have to be? (Greater sensitivity = more alerts)
Candle Thickness Average Period: The number of past candles used for measuring the average body size of candlestick.
Filter EMA Length: Length of the EMA used to filter between bull trends and bear trends.
Volume EMA Length: Length of the volume EMA.
Definition:
- Pipe Bottom:
- Positive Difference from Open and Close is greater than the average thickness of the last "x" candles multiplied by sensitivity "y"
- The previous candle is red and the current candle is green
- Trend Definition - (Trend for EMA length 'z" has a slope less than 0 or pointed downwards)
- The average of the current and previous candle's volume is greater than the average volume for the last "n" candles.
- Pipe Top:
- Positive Difference from Open and Close is greater than the average thickness of the last "x" candles multiplied by sensitivity "y"
- The previous candle is green and the current candle is red
- Trend Definition - (Trend for EMA length 'z" has a slope greater than 0 or pointed upwards)
- The average of the current and previous candle's volume is greater than the average volume for the last "n" candles.
Settings:
Sensitivity: How thick do the pipe candles have to be? (Greater sensitivity = more alerts)
Candle Thickness Average Period: The number of past candles used for measuring the average body size of candlestick.
Filter EMA Length: Length of the EMA used to filter between bull trends and bear trends.
Volume EMA Length: Length of the volume EMA.
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.