# Buy\&Sell Bullish Engulfing

This backtesting software analyzes the performance of a **Bullish Engulfing Candlestick Pattern** strategy, developed by our team and released as open source as a contribution to the community.

**Strategy type:** manually or automatically executable

**Applicability:** stocks, indices, forex, cryptocurrencies, ETFs, etc.

## Strategy

Buy\&Sell strategy based on entering long positions when the **Bullish Engulfing** pattern is detected.&#x20;

## Buy

When the pattern is detected, the algorithm opens a single long trade **\[A]**. The capital used in a trade is calculate following the formula:&#x20;

***Initial Capital \* Orders Size (%)***

*Where **Initial Capital** is a value found in the **Properties** section of the user interface, and **Order Size (%)** in the **Inputs** section.*

## Sell

The position is closed when the calculated take profit or stop loss on equity is reached **\[B]**.&#x20;

<figure><img src="https://3368670033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQA5TREj5G7T0pH3ZeTAz%2Fuploads%2Fj3CuZBkl24QJ01aEqEd6%2FSchermata%202024-01-06%20alle%2014.31.26.png?alt=media&#x26;token=1be23545-3967-459e-9d38-a459225e903d" alt=""><figcaption></figcaption></figure>
