Logo hamster-bot
RU EN PT

Loading…

← All strategies

RSI Pullback

Entry on a pullback in the direction of the trend (rsipullback). The direction is set by a moving average (EMA 200 by default): long only when the closed bar is above it, short only below. Inside the trend the strategy waits for a pullback shown by RSI and enters when the pullback ends.

The bot chart shows the trend MA.

ATR stop, target and trailing stop. At entry the bot stores the ATR and computes the levels: stop = entry price ∓ stop_atr × ATR, target = entry price ± take_atr × ATR. The trailing stop follows the best price since entry at a distance of trail_atr × ATR and works together with the stop - whichever is closer to the price triggers. Levels are checked on every tick against the current price and the position is closed with a market order. Levels are saved in the bot state and survive a restart. If the position was opened manually or by another strategy, the levels are computed from its entry price and the current ATR.

⚠️ Weak spot - trend change: the pullback the strategy bought may turn out to be the start of a reversal. The ATR stop and the exit on a trend MA break protect against it.

Parameters

The rsi_pullback block in the bot settings, basic.strategy: rsipullback

Entry filters entry_filter - they only restrict new entries and never block exits. All are off by default. When several are on, an entry is allowed only if all of them pass.


Backtest the strategy on historical data in the tester and run it in hamster-bot.