Kyadav

Custom Engulfing Pattern

Kyadav 업데이트됨   
This script identifies bullish and bearish engulfing candlestick patterns based on user-defined criteria. It highlights the engulfing patterns on the chart for easy visualization. The script allows for customization of certain parameters to fine-tune the engulfing pattern detection according to the user's preferences.

Features:

Wick Ratio: Define a ratio to ensure that the body of both the current and previous candles comprises a significant portion of the total candle range.
Opposite Candle Condition: Ensures that the current and previous candles are of opposite types (one bullish and one bearish).
Body Size Relative to Previous Candles: Ensures that the body of the current candle is larger than the average body size of a specified number of previous candles.
Body Size Comparison: Ensures that the body of the engulfing candle is not more than 150% of the body of the previous candle.
Color Highlighting: Highlights bullish engulfing patterns in green and bearish engulfing patterns in red on the chart for easy identification.
Parameters:

tolerance (default: 0.0001): A tolerance value to account for minor price discrepancies when comparing candle open and close prices.
wick (default: 0.5): A ratio to define the significance of the candle body relative to the total candle range.
prevCandles (default: 6): Specifies the number of previous candles to consider when calculating the average body size for the body size relative condition.
Usage:
Adjust the tolerance, wick, and prevCandles parameters as needed to fine-tune the engulfing pattern detection to suit your trading style or the specific characteristics of the asset being analyzed. The script will highlight engulfing patterns on the chart, allowing for quick visual identification of potential trading opportunities based on these classic candlestick patterns.

Please note that this script is intended for educational and illustrative purposes. It should not be used as financial advice. Always conduct your own analysis and consult with a financial advisor before making any trading decisions.
릴리즈 노트:
Added input to parameters

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?