MZ
A strategy that enters on a pullback after an impulse. The bot remembers the local low (for long) and builds levels from it at set fractions of the channel size channel_size.
When a candle closes above the trigger level (the impulse is confirmed), a limit buy order is placed on the pullback, with a take-profit above and a stop-loss just above the local low.
For short - mirrored from the local high.
Trades in one direction: if long is enabled in the basic settings - long only, otherwise short only. After a losing trade the lot of the next one can be increased (martingale).
⚠️ Martingale quickly increases risk during a losing streak.
Parameters
channel_size- channel size in price units (default 10000 - adjust it to the coin price)mul_trigger- trigger level: fraction of the channel from the local low (default 0.1)mul_limit_1- level of the limit entry order (default 0.05)mul_tp_1- take-profit level (default 0.5)mul_control- control level: if the price reached it and came back to the entry level, the position is closed (default 0.25)mul_sl- stop-loss: offset from the local low as a fraction of the price (default 0.001 = 0.1%)martingale- lot multiplier after a losing trade (default 1 - off)
Backtest the strategy on historical data in the tester and run it in hamster-bot.