OPEN-SOURCE SCRIPT

Basic Price Action Indicator

142
Key Features:
Support and Resistance: Identifies support and resistance levels based on the highest and lowest values of the last 20 bars (you can adjust the lookback period with the input).
Bullish Engulfing Pattern: Recognizes when a bullish engulfing candlestick pattern occurs and marks it below the bar.
Bearish Engulfing Pattern: Recognizes when a bearish engulfing candlestick pattern occurs and marks it above the bar.
Background Coloring: Highlights the chart background with a green or red color based on the pattern detected, providing an easy visual cue.
How to Use:
Support and Resistance levels will be plotted on the chart as green and red lines.
Bullish Engulfing patterns will be marked below the bars with a “BUY” label.
Bearish Engulfing patterns will be marked above the bars with a “SELL” label.
The background color will change based on the detected price action pattern (green for bullish, red for bearish).

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.