SpaceTradex

Red Candles with Green Precedent



**Title**: Red Candles with Green Precedent Indicator

**Description**:

This TradingView indicator is designed to help traders identify potential reversal or continuation patterns based on the appearance of consecutive red candles following a green candle. The script marks a region starting from a green candle that precedes at least four consecutive red candles, extending a box forward for a predefined number of bars to analyze the continuation of the trend.

**Key Features**:

- **Consecutive Red Candles Detection**: The indicator counts consecutive red candles that close lower than they open.
- **Initial Green Candle Identification**: Identifies the last green candle before a series of red candles begins. This green candle must close higher than it opens.
- **Visual Box Extension**: Creates a visual box from the open to the high of the green candle and extends it forward to highlight the period of interest.
- **Dynamic Box Termination**: Optionally terminates the box early if a significant green candle appears within the extension period, suggesting a potential reversal.

**Usage**:

1. **Setup**: Apply the indicator to any chart in TradingView. Adjust the number of consecutive red candles to track based on your trading strategy.
2. **Interpretation**: A visual green box will appear when the criteria are met. This box helps focus on the price action following a potentially significant green candle. Traders should watch for price actions within and around the box to make informed decisions.
3. **Alerts**: Consider setting alerts for when a new box is created or when a significant green candle forms that might terminate the box early, indicating potential market movements.

**Suitable for**: This indicator is suitable for traders looking for visual cues about potential bearish exhaustion or the setup for a bullish reversal, particularly in volatile markets.

---

Feel free to customize the description and features according to any additional details or personal insights you might want to include based on your trading experience or the specific behaviors of the markets you track.


**Disclaimer**:

This script is provided as a tool for trading analysis and is not intended to be used as the sole basis for any trading decisions. While this indicator aims to identify potential trading opportunities, its effectiveness can depend on market conditions and individual trading strategies. Users should conduct their own research and consult with professional advisors before making any investment decisions. The creator of this script assumes no responsibility for any potential financial losses incurred from using this indicator. Trading in financial markets involves risk, and it is possible to lose more than your initial investment.

---
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?