Skip to content
All library documents

Candlestick Classification and Largest Candle Highlights

Article MQL5 code base

Summary

The document describes a candlestick analysis script that labels each candle as bullish, bearish, or neutral by comparing its open and close. It also identifies the five largest-amplitude bullish candles and the five largest-amplitude bearish candles within the analyzed period. The stated aim is to help traders inspect candle direction and size across a chosen timeframe or symbol.

The report suggests that candle distributions and amplitudes may inform take-profit or stop-loss choices. It provides no definition of amplitude, selection rules beyond ranking by size, example output, or empirical evidence that these observations improve trading decisions. It also does not specify how neutral candles are handled in the highlights or how the analysis period is selected. Treat the description as a basic chart-analysis utility rather than a tested trading strategy.

Key ideas

  • Candles are classified by whether the close is above or below the open, with a neutral category also available.
  • The script highlights the five largest bullish and bearish candles by amplitude.
  • Candle size and direction can be inspected over a selected period and symbol.
  • The document offers no performance test or detailed rules connecting the highlights to trade decisions.

Tags

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