RSI and RSI Moving-Average Crossovers with Position Spacing
Summary
This expert advisor trades intersections between an RSI line and a moving average of RSI. A crossover below the midpoint generates a buy signal, while one above it generates a sell signal. Before entry, the advisor checks the distance from the nearest position against a configurable position step. Traders can choose the indicator timeframe and whether signals are checked on each tick or at the start of a new bar; the advisor limits entries to one per bar.
The settings cover fixed or percentage-risk position sizing, optional stop loss, take profit and trailing stop, trading-hour filters, and controls for restricting trade direction, reversing signals, allowing only one open position, or closing opposite positions. The time filter restricts signal searches but does not affect trailing. The document describes configuration and behavior rather than test results, so it provides no evidence of profitability or robustness. Its crossover rules and settings should be treated as a strategy specification, not a validated trading recommendation.
Key ideas
- The advisor buys when RSI crosses its moving average below the midpoint and sells when it crosses above it.
- A configurable price-distance step can prevent entries that are too close to an existing position.
- Signal checks can run on each tick or at a new bar, with at most one entry per bar.
- Position sizing can use a fixed lot, a percentage-risk setting, or the minimum lot.
- Trade controls include session hours, direction filters, signal reversal, and closing opposite positions.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.