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

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

# RedFlag

A simple strategy that buys a sharp drop. Works only long.

The bot watches the current candle. If the candle is red and the price has dropped by the set % from the previous candle's price (open, high, low or close, your choice), the bot buys with a market order right away, without waiting for the candle to close. If the drop continues, it averages in.

Order type used: Market (entry) and Limit (take-profit).

**⚠️ In a prolonged decline without a bounce, averaging in increases the loss. Limit the number of entries.**

#### Parameters

- `drop_percent` - how many % the price must drop to enter (default 10%)
- `from` - which price of the previous candle to measure the drop from: `open`, `high`, `low`, `close`
- `count` - maximum number of entries, including the first
- `timer` - minimum pause between entries in minutes. 0 - no pause
- `each_tp` - each entry gets its own limit take-profit at `take_profit_long` % from that entry's price. Without this option there is one take-profit for the whole position

---

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).
