OPEN-SOURCE SCRIPT

Custom Candlestick Markings

This indicator allows you to filter candlesticks based on their body (the real body) and wick lengths. Specifically, it marks candlesticks based on the following criteria:

For Bearish Candles:
1. The close price is lower than the open price (indicating a bearish candle).
2. The difference between the high and the maximum of open and close is less than or equal to the specified upper wick length.
3. The absolute difference between the close and open is greater than or equal to the specified body height.

For Bullish Candles:
1. The close price is higher than the open price (indicating a bullish candle).
2. The difference between the maximum of open and close and the low is less than or equal to the specified lower wick length.
3. The absolute difference between the close and open is greater than or equal to the specified body height.

These conditions are used to filter and mark candlesticks that meet the specified criteria, allowing you to visually identify them on the chart. This can be useful for technical analysis and identifying specific candlestick patterns or conditions based on body and wick lengths.

Certainly, this indicator can help in identifying trends more easily. Specifically, by applying certain criteria based on the length of candlestick bodies and wicks, it becomes easier to visually capture changes in market trends and specific patterns.

For instance, you can use this indicator to identify candlestick patterns that match specific body heights or wick lengths. This makes it easier to detect signs of trend reversals or trend changes, and it can assist in making trading decisions when combined with trendlines or support and resistance levels.

However, it's common to use this indicator in conjunction with other technical analysis tools and indicators. Confirming trends and pinpointing entry points often requires multiple sources of information and analysis. In investing and trading, thorough research and careful strategy are essential.
candlesCandlestick analysisChart patterns

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm