OPEN-SOURCE SCRIPT
Engulfing Strategy

This indicator has the following key features:
- Detects bullish and bearish engulfing candlestick patterns using a well-established price and body comparison logic.
- Incorporates a customizable moving average filter with multiple smoothing options to confirm trend direction.
- Highlights both the current and previous candles involved in the engulfing pattern by coloring them distinctly, improving visual clarity for reversal signals.
- Offers an interchangeable mode allowing the user to switch between a fully automated trading strategy (entries and exits) and a simple indicator mode (signal and color visualization only).
- Supports pyramiding positions and accounts for commissions and initial capital for realistic strategy testing.
- Uses modern Pine Script v5 functions and syntax for reliable and efficient execution.
- Provides clear visual bar colors for bullish (orange) and bearish (yellow) engulfing signals.
- Allows configuration of MA type and period, adapting to various trading styles and assets.
These features make it a versatile tool for traders seeking both visual confirmation and automated trade execution based on engulfing candle patterns combined with trend filtering.
by tumiza999
- Detects bullish and bearish engulfing candlestick patterns using a well-established price and body comparison logic.
- Incorporates a customizable moving average filter with multiple smoothing options to confirm trend direction.
- Highlights both the current and previous candles involved in the engulfing pattern by coloring them distinctly, improving visual clarity for reversal signals.
- Offers an interchangeable mode allowing the user to switch between a fully automated trading strategy (entries and exits) and a simple indicator mode (signal and color visualization only).
- Supports pyramiding positions and accounts for commissions and initial capital for realistic strategy testing.
- Uses modern Pine Script v5 functions and syntax for reliable and efficient execution.
- Provides clear visual bar colors for bullish (orange) and bearish (yellow) engulfing signals.
- Allows configuration of MA type and period, adapting to various trading styles and assets.
These features make it a versatile tool for traders seeking both visual confirmation and automated trade execution based on engulfing candle patterns combined with trend filtering.
by tumiza999
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。