Skip to content
All library documents

Semi-Automated Swing Entries from Manual Support and Breakout Lines

Article MQL5 code base

Summary

This trading-platform description explains a semi-automated expert advisor for entering trades from manually drawn support, resistance, or breakout levels. The trader loads the advisor, sets parameters such as stop-loss, take-profit, trade size, and entry threshold, then draws and labels a trendline to indicate long or short direction. Colored chart lines can be moved to adjust protective and profit-taking levels.

The tool also describes proportional risk sizing: setting fixed lots to zero allows position size to be calculated from a chosen percentage of account equity and the stop-loss distance. An optional setting closes a trade if the entry candle reverses and closes against the intended direction. These are operating instructions rather than a tested strategy. The description supplies no market, timeframe, backtest, execution details, or performance results, and it does not establish that manually selected levels have predictive value.

Key ideas

  • The advisor can place trades when price interacts with manually drawn support, resistance, or breakout lines.
  • Trendline labels specify whether the intended trade direction is long or short.
  • Stop-loss, take-profit, entry threshold, and trailing stop settings control order behavior.
  • Position size can be based on a selected fraction of account equity and stop-loss distance.
  • An optional rule exits if the entry candle closes against the trade direction, but no strategy performance evidence is given.

Tags

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