OPEN-SOURCE SCRIPT

Bullish & Bearish Once Bar Painter

119
The Bullish & Bearish First Bar Marker is a simple yet powerful indicator designed to highlight the first bullish and bearish bars in a sequence, helping traders identify key momentum shifts in the market. It marks:Bullish Bars: The first bar where the high and low are both higher than the previous bar (high > high[1] and low > low[1]), painted green with a "Bullish" label.
Bearish Bars: The first bar where the high and low are both lower than the previous bar (high < high[1] and low < low[1]), painted red with a "Bearish" label.

To avoid clutter, consecutive bullish or bearish bars are not marked until a non-bullish or non-bearish bar resets the sequence. This makes it ideal for spotting the start of strong upward or downward price movements.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.