Skip to content
All library documents

Bollinger Band and RSI Expert Advisor with a Trailing Stop

Article MQL5 code base

Summary

The document describes an expert advisor that uses Bollinger Bands and RSI thresholds to generate trades. Its listed settings include an eight-period RSI, a high threshold of 90 for selling near the upper band, and a low threshold of 10 for buying near the lower band. It also exposes lot size, slippage, stop-loss, and trailing-stop parameters, with the trailing stop intended to start after a specified profit threshold.

The material is a parameter description rather than a full strategy specification: it does not show the entry and exit code, explain how Bollinger conditions are combined with RSI, or provide backtest or live results. It notes that the release is an early version and asks users to report bugs. For five-digit brokers, it advises scaling the profit trigger and stop distances by ten, which highlights the need to match pip conventions to broker pricing. No evidence is given that the thresholds or risk settings are profitable across instruments or market conditions.

Key ideas

  • The advisor combines Bollinger Band locations with RSI extremes to define intended buy and sell conditions.
  • The listed RSI period is eight, with thresholds of 10 for buying and 90 for selling.
  • A trailing stop is intended to activate after a specified profit threshold, alongside a separate stop-loss setting.
  • The document gives parameter values but omits the implementation details and any performance evidence.
  • Distance settings must be adjusted for the stated five-digit broker convention.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.