Skip to content
All library documents

Stochastic Entries with Time-Based Starts and Profit Trailing

Article MQL5 code base

Summary

This expert advisor describes a Stochastic-based approach for EUR/USD on a four-hour chart. It uses signals within the 20–80 range and starts trades at a configured minute. The listed parameters include the number of orders, a stop-loss setting, a balance divisor for sizing lots, and an optional filter requiring a larger gap between the Stochastic signal and base lines.

When a trade reaches a specified profit in points, the system begins protecting gains by setting a trailing stop at a configured distance. The author says the optional signal-gap filter is unused and mentions an attached tester result for July 2013. No performance figures, entry direction rules, or fuller test methodology are provided, so the brief description is insufficient to assess robustness or risk.

Key ideas

  • The described setup uses Stochastic signals in the 20–80 range on EUR/USD at a four-hour interval.
  • A configured minute determines when a trade starts.
  • A stop loss is set, and a trailing stop begins after a specified profit threshold.
  • Order count and a balance divisor affect lot sizing.
  • An optional filter checks the gap between the Stochastic signal and base lines, but the author says it is unused.
  • A July 2013 tester result is mentioned without performance details.

Tags

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