Skip to content
All library documents

Stock Screening with Daily Range, Weekly MACD, and Float Size

Article MQL5 code base

Summary

This stock screen combines three conditions: daily price range greater than one percent of the previous close, weekly MACD above zero, and circulating share capital no greater than 5.5 billion shares. The document presents these as filters for market activity, trend direction, and tradability. It includes formula references for the range and MACD conditions, along with an example implementation intended to select qualifying stocks.

The post supplies no backtest, sample portfolio, or performance evidence, so it does not establish whether the filters predict returns. It cautions that technical conditions and float size alone omit company operations, industry conditions, policy risk, and broader market context. The example code also appears internally inconsistent: its stated float-share threshold differs from its circulating-market-value condition. Treat the specification as a rough screen, verify units and indicator definitions in the chosen platform, and assess candidates with additional research before trading.

Key ideas

  • The screen requires daily high-low range above one percent of the previous close.
  • It also requires weekly MACD to be above zero.
  • The stated size filter is circulating share capital at or below 5.5 billion shares.
  • The document warns that technical and float filters omit company, industry, policy, and market risks.
  • The example code uses a circulating market value condition, which does not match the stated share-count threshold.

Tags

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