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 abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.