Skip to content
All library documents

Daily Countertrend Entries Based on an Earlier Hourly Move

Article MQL5 code base

Summary

This document describes a rule-based strategy that opens at most one position per day at a configured hour, trading against the direction inferred from price movement over a chosen number of preceding hours. It also lists controls for trade size, take profit, maximum position count, and maximum lot size. When fixed lots are disabled, position volume is calculated from a percentage of free margin; lot multipliers can increase size after successive losing trades.

The document gives implementation parameters but no backtest, performance evidence, or detailed entry and exit rules beyond the hourly reversal premise and take profit. The loss-based lot increases may raise exposure during drawdowns, and the listed risk percentage does not by itself establish a maximum loss. Results would depend on instrument, spread, execution, and parameter choices, none of which are evaluated here.

Key ideas

  • The strategy takes a position opposite the price direction measured over a configurable number of prior hours.
  • It limits entries to one position per day at a selected hour.
  • Position size can use fixed lots or a percentage of free margin, with a maximum lot cap.
  • Lot multipliers increase trade size after consecutive losses, which can amplify drawdowns.
  • The document provides no empirical evidence of profitability.

Tags

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