Enter Once per Period
The Enter Once per Period feature allows one entry order in each selected period. Every further entry order inside the same period is canceled, and the next period reopens the entry.
What the feature is for
Use this feature to limit how often a strategy may increase its exposure. It caps a busy signal stream — one position per day, for example — without touching the entry rules or the exit rules, and it cannot be bypassed by adding to an open position.
How the period works
The period is a fixed calendar window of the market data clock, not a delay counted from the last trade (Min Time Since Entry covers delays). The window boundaries come from the bar time, so the day starts at 00:00 and ends at 24:00 of the market data — the same clock the server uses.
| Period | Window |
|---|---|
| Bar | one bar |
| Minute | one clock minute, e.g. 10:05:00 to 10:05:59 |
| Hour | one clock hour, e.g. 10:00 to 10:59 |
| Day | 00:00 to 24:00 of the bar time |
| Week | Monday 00:00 to Sunday 24:00 |
| Month | the first day of the month to the last day |
The bucket comes from the bar's opening time, so every bar belongs to exactly one bucket. In the exported Expert Advisor the same bucket is derived from the bar time on the broker's clock, so a week still starts on Monday even when a bar opens before midnight and its ticks arrive after it.
When the strategy wants to enter inside a period that already saw an entry order, the order is canceled. Exits are never affected: a position opened in the period keeps its stop loss, take profit, indicator exit, and duration exit.
What counts as an entry
Every order that increases exposure uses the period:
- the first entry of a new position;
- an Add on Same Signal add;
- a Grid Averaging Down add;
- the opening leg of a Reverse on Opposite Signal.
Reducing and closing do not use the period. A reduce therefore does not free the period for a later add. When the reverse entry is blocked, only the close leg is executed, so the position closes without a new one opening in the opposite direction.
Examples
- One entry per day: on an H1 chart, the first signal of the day opens a position. Every later signal that day is canceled, and the first signal of the next day opens again.
- One entry per bar: a strategy with Add on Same Signal grows the position at most once per bar, and a reverse signal closes without re-entering on the very bar of the entry. A single-position strategy without adds and without a reverse sees no difference: the bar unit only limits the extra entry orders of one bar.
- One entry per week: a strategy trades at most once a week, which suits slow markets and avoids holding several entries of the same idea.
Combining with other features
- Min Time Since Entry and Min Time Since Exit are separate gates: both must be open for an entry. They measure elapsed time, this feature measures calendar periods.
- Entry Days and Entry Hours decide whether an entry is allowed at all; this feature adds the one-per-period limit on top.
- Max Open Positions and Max Open Volume cap the exposure at the same time; Enter Once per Period only reduces how many entries those limits can receive.
- Max Spread Protection is checked on the same entry attempt; a blocked spread and a used period both cancel the entry.
Form fields
- Enter once per period: section header.
- Period: the window length — Bar, Minute, Hour, Day, Week, or Month. Default: Day.
MetaTrader 5 export
The exported Expert Advisor carries the same period limit as a baked rule: the period is written into the generated code, so there is no extra input on the chart. A canceled entry appears in the Experts log with the message Enter once per <period>: one entry order already opened this period.