Kyadav

Custom Engulfing Pattern

Kyadav Güncellendi   
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.
Sürüm Notları:
Added input to parameters

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?