Source: https://hamster-bot.com/en/algo/shadowoverlap

[← All strategies](https://hamster-bot.com/en/algo)

# ShadowOverlap

A strategy that trades a bounce off a long candle wick. If a candle has a long upper wick, a short level is built at a set part of that wick. When the price returns to this level a few days later, the bot opens short expecting another bounce. For long - mirrored on the lower wick.

Exit in parts: two partial take-profits and a final take-profit, plus a stop-loss and moving the stop to breakeven.

Order type used: Market or Limit (entry), Limit (take-profits) and Stop (stop-loss).

#### Parameters

Settings are set separately for the `short` and `long` blocks:

- `percent_input` - minimum wick length in % of the price at the edge of the candle body (default 5)
- `wick_level_percent` - at which part of the wick the entry level is built: 0% - edge of the body, 100% - end of the wick (default 90)
- `size_candle` - enter only if the distance between the level and the current price is more than the set % (default 7)
- `days_to_wait` - how many days must pass after the level appears before it can be traded (default 1)
- `use_new_filter`, `wick_level_percent2` - trade only a "fresh" level: if the price has already reached the `wick_level_percent2` % level of the wick (default 20), the level counts as used up
- `tp1_dist`, `tp1_qty` - first take-profit: distance in % from the entry price and share of the position in % (default 4% and 70%)
- `tp2_dist`, `tp2_qty` - second take-profit (default 6% and 15%)
- `tp3_dist` - final take-profit for the rest of the position (default 9%)
- `sl_dist` - stop-loss in % of the entry price (default 18)
- `no_loss_trigger`, `no_loss_value` - breakeven: when the profit reaches `no_loss_trigger` %, the stop is moved into profit by (`no_loss_trigger` - `no_loss_value`) %. 0 - off

Common settings:

- `use_market` - enter with a market order when the price reaches the level (default). If off, a limit order at the level is placed in advance when the price comes closer than `size_candle` %
- `notify_only` - signal mode: the bot does not trade, it only sends entry and exit notifications to Telegram

---

Backtest the strategy on historical data in the [tester](https://hamster-bot.com/en/tester) and run it in [hamster-bot](https://hamster-bot.com/en/download).
