Supply and Demand Based Pattern [RH]

HasanRifat 已更新   
This indicator focuses on detecting RBR and DBD patterns, which signify periods of increased momentum and potential continuation or reversal of the prevailing trend.

The RBR pattern consists of a rally (upward movement), followed by a base (consolidation or retracement), and then another rally. It suggests that the upward momentum may persist and provide trading opportunities.

On the other hand, the DBD pattern comprises a drop (downward movement), followed by a base, and then another drop. It indicates that the downward momentum might continue, offering potential shorting opportunities.

Bullish(RBR) example:

Bearish(DBD) example:

1. The bullish (RBR) and bearish (DBD) patterns share the same underlying logic, only differing in their directionality.

2. For both RBR and DBD patterns, the first rise/drop can consist of one or multiple candles. However, in the case of multiple candles, all candles must exhibit a bullish nature for RBR and a bearish nature for DBD.

3. It is a prerequisite for the first rise/drop to include at least one candle with a defined percentage of health, as determined by the user.

4. The base, following the first rise/drop, may comprise one or multiple candles.

5. To maintain consistency, the base is not allowed to retrace beyond 80%, although this value can be adjusted by the user.

6. Similar to the first rise/drop, the second rise/drop in both RBR and DBD patterns can consist of one or multiple candles. However, all candles within this phase must demonstrate a bullish nature for RBR and a bearish nature for DBD.

7. Confirmation of the bullish (RBR) pattern occurs when a candle closes above the high of the first rise. Conversely, the bearish (DBD) pattern is confirmed when a candle closes below the low of the first drop.

Alerts can be set for all bullish and bearish pattern or for the first pattern in the range of similar pattern.
Pattern's name fix.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。