Kyadav

Custom Engulfing Pattern

Kyadav Diupdate   
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.
Catatan Rilis:
Added input to parameters

Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?