OPEN-SOURCE SCRIPT

Bullish 3 Bars Reversal Pattern

2 976
This TradingView Pine Script indicator identifies and highlights a bullish 3-bar reversal pattern on your chart. The script also calculates the percentage difference between the current high and the previous low, displaying this value on the chart when the pattern is detected.

Features:

Pattern Detection:

The script detects a bullish 3-bar reversal pattern when the low of the previous bar is lower than the low of the bar before it, and the current low is higher than the previous low.
Percentage Difference Calculation:

When the pattern is detected, the script calculates the percentage difference between the current high and the previous low. This percentage is displayed on the chart.
Visual Indicators:

When a bullish 3-bar reversal pattern is detected, a label is created on the chart showing the calculated percentage difference. The label is styled with an upward arrow, green color, and white text for clear visibility.
Alerts:

An alert condition is set up to notify users when the bullish 3-bar reversal pattern is detected. This allows traders to take timely action based on the pattern.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。