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,closecount- maximum number of entries, including the firsttimer- minimum pause between entries in minutes. 0 - no pauseeach_tp- each entry gets its own limit take-profit attake_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 and run it in hamster-bot.