Skip to content
All library documents

Closing Positions with Bollinger Bands and RSI

Article MQL5 code base

Summary

CloseAgent is presented as an automated position-closing tool that combines Bollinger Bands with the Relative Strength Index. It is intended to identify overbought or oversold conditions as potential exit points, particularly for residual positions near the end of a trading day or session. The document also suggests using it in low-volatility markets and during periods of uncertainty before major news releases.

An added function can close all open positions once a specified profit is reached. No indicator settings, precise exit rules, execution details, or performance results are supplied, so the description is insufficient to assess whether its exits are timely or reliable. Bollinger Bands and RSI can provide context for exits, but the document does not explain how their signals are combined or address the risks of using thresholds around news or session transitions.

Key ideas

  • CloseAgent combines Bollinger Bands and RSI to identify potential position exits.
  • It is described for residual positions near the end of a day or session.
  • The tool is also suggested for low-volatility conditions and uncertainty before major news.
  • A function can close all positions after reaching a specified profit.
  • No settings, detailed rules, or performance evidence are provided.

Tags

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