Source: https://hamster-bot.com/en/algo/tv-mapm

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

# TV MAPM

A strategy on the crossover of two MACD signal lines, with averaging in and a take-profit. MACD is calculated as the difference between EMA 8 and EMA 49, and fast and slow signal lines are built from it. The fast line crossed the slow one upwards - buy, downwards - sell.

After entry, a limit take-profit is placed from the average position price, plus a limit order to average in at a step from the first entry price. Each next averaging order is `lot_x` times bigger than the previous one.

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

#### Parameters

- `fast_len`, `slow_len` - lengths of the fast and slow signal lines (default 300 and 600)
- `averaging_step` - averaging step in % of the first entry price (default 2.5)
- `max_entry_count` - maximum number of entries, including the first (default 3)
- `lot_x` - lot multiplier for each next averaging order (default 1)
- `tp_long`, `tp_short` - take-profit in % of the average position price (default 10)

---

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