Skip to content
All library documents

Zigzag Swing Points for Automated Trend-Line Scalp Entries

Article MQL5 code base

Summary

This document outlines a basic automated scalp approach that uses the Zigzag indicator to identify recent price highs and lows. The system treats those swing points as potential support or resistance, draws a trend line based on the market’s reaction around them, and places a buy or sell when price reaches the line, depending on market conditions.

The description gives no entry filters, exit rules, position sizing, execution details, or performance evidence, so the method cannot be evaluated from the text alone. It is presented as an early shared implementation rather than a finished system. The author advises users to understand the risks, test the expert advisor in a demo environment before live use, and modify the code only if they have the relevant knowledge. In particular, the document does not explain how the Zigzag signal is handled in real time or whether swing points may shift as new prices arrive.

Key ideas

  • The approach uses Zigzag to locate recent price highs and lows as potential support and resistance.
  • It draws a trend line from price reactions around those swing points and considers action when price touches the line.
  • The system can issue buy or sell decisions according to the market situation, but the exact rules are unspecified.
  • The document offers no performance evidence or detailed risk and execution rules, and recommends demo testing before live use.

Tags

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