ETFs · Glossary
Automate an ETF Savings Plan: Dollar-Cost Averaging With a Rule
Founder of OptionsApp, active in the markets for 20+ years.
An ETF savings plan with a rule is a recurring ETF purchase that is only executed when a predefined market condition is met, such as a price above the 200-day moving average. Automating an ETF savings plan this way means setting two things: the date (for example the 1st of every month) and the condition that must hold on that date. A regular broker savings plan only knows the date and buys regardless of price.
Savings plan with a rule at a glance
- 2 building blocks: a fixed date (monthly, weekly) and 1 condition checked on that date.
- Most common rule: close above the 200-day average (SMA 200), otherwise no purchase.
- Without a purchase the monthly amount stays as cash; there is no catch-up.
- In the worked example the rule buys in 4 of 6 months and ends 111.40 USD behind the plain plan.
- The execution day itself makes at most a 1.3 % difference over 5 years (Finanztip, MSCI World since 2001).
- Broker savings plans check no price condition; that takes rule-based software on your own account.
Rhythm
Monthly
fixed day, weekly also possible
Condition
SMA 200
price above the 200-day line
Risk profile
Like the ETF
the rule does not limit losses on holdings
What is a savings plan with a rule?
A classic ETF savings plan invests a fixed amount on a fixed date, no matter where the price is. This principle is called dollar-cost averaging: at low prices the same amount buys more units, at high prices fewer. The savings plan with a rule adds a condition to the date. Only when it is met does the buy order go out.
The condition describes a market state that is fixed in advance and can be checked without judgment. A typical choice is a trend filter: the ETF is only bought while its price is above the moving average of the last 200 trading days. The buying decision is therefore made when the plan is set up, not in the moment.
How does a conditional ETF savings plan work?
On the execution day the software checks the condition at a fixed time. If it is met, it converts the monthly amount into a number of shares and sends the order. If it is not met, nothing happens on that date, and the next date is checked as usual.
- 1. Date
- e.g. 1st of every month, 10:00 New York time
- 2. Condition
- Close (Day) > SMA 200 (Day)
- 3. Shares
- budget / price, rounded down
- 4. Result
- purchase or no purchase this month
Common rules for an ETF savings plan
Most rules are trend filters based on moving averages. The approach became widely known through Mebane Faber, who in 2007 tested a rule with the 10-month average across several asset classes: stay invested only while the monthly close is above the average (source: Faber, A Quantitative Approach to Tactical Asset Allocation). The 10-month average roughly corresponds to the 200-day line.
| Rule | Condition | Effect |
|---|---|---|
| 200-day trend filter | Close (Day) > SMA 200 (Day) | buys only in a long-term uptrend |
| Shorter trend | Close (Day) > EMA 50 (Day) | reacts faster, switches more often |
| Momentum | Close (Day) > Close N bars ago (Day, 126) | buys when the price is above its level 6 months ago |
| Buy the dip | RSI 14 (Day) < 40 | buys only after declines, often not for months |
Configuration examples with fictitious thresholds, not a recommendation. 126 trading days correspond to about 6 months.
Applying a momentum rule to many stocks at once leads to the RSL strategy, which picks the strongest members of an index each month. For a savings plan on a single ETF, one rule on that ETF is enough.
Worked example: ETF savings plan with the 200-day line
A fictitious ETF XYZ trades in USD. The plan invests a budget of 500 USD every month and buys whole shares only. The rule: buy only if the price on the execution day is above the 200-day line. For comparison, a plain plan without a rule runs on the same dates.
| Month | Price (USD) | SMA 200 | Rule | Shares with rule | Shares without rule |
|---|---|---|---|---|---|
| January | 50.00 | 46.00 | met | 10 | 10 |
| February | 52.40 | 46.60 | met | 9 | 9 |
| March | 47.10 | 47.30 | not met | 0 | 10 |
| April | 44.80 | 47.20 | not met | 0 | 11 |
| May | 48.90 | 47.15 | met | 10 | 10 |
| June | 51.20 | 47.40 | met | 9 | 9 |
| Total | End: 51.20 | 4 of 6 | 38 | 59 |
Worked example with fictitious prices, not a recommendation and no guarantee. Shares = 500 USD / price, rounded down; before fees and taxes.
After six months 3,000 USD has been paid in either way. With the rule, 38 shares were bought for 1,921.40 USD; at the final price of 51.20 USD they are worth 1,945.60 USD, plus 1,078.60 USD in cash: 3,024.20 USD in total. Without the rule, 59 shares were bought for 2,885.20 USD, worth 3,020.80 USD plus 114.80 USD in cash: 3,135.60 USD in total.
In this path the rule is 111.40 USD behind because it skipped exactly the two cheapest months. If instead the price had kept falling for many months after April, the rule would have kept new money out of that decline. Which case occurs is not known in advance; the rule trades purchases during declines for the risk of missing a quick recovery.
What happens to the money when the plan does not buy?
If the rule does not buy, the monthly amount stays in the account as cash. The following month the plan again buys only the regular amount; it does not automatically catch up on the idle money. After a long phase below the line a substantial share of the deposits can be uninvested.
Three approaches are common: leave the cash and invest it later by hand, route the monthly amount into a second rule that buys a different ETF while prices are below the line (for example a bond ETF), or size the budget so that a single month without a purchase matters little. The second rule is a trend-following decision with its own risks.
Anyone who also wants to collect premium on the ETF holding sells calls against it; that combination is a covered call. Anyone who only wants to buy an ETF below the current price can sell a short put instead of placing a buy order and receives a premium for it, but carries the full price risk from the strike down.
Advantages and limits of a savings plan with a rule
Advantages
- The buying decision is fixed in advance and not made during a sell-off.
- In long downtrends no new money flows into the falling market.
- The rule is verifiable: every purchase and every skipped month has a reason.
Limits
- Cheap prices just before a recovery are skipped, as in the worked example.
- If the price oscillates around the line, the rule switches often between buying and pausing.
- The filter only protects new money; shares already bought fall with the market.
The last point is often overlooked: a buy rule is not a stop loss. When the VIX rises in a sell-off, the ETF is usually already below its 200-day line, the plan pauses, yet the portfolio still loses. Selling the holding by a rule as well needs a separate exit rule. That turns the savings plan into a trend-following strategy. For investors with a horizon of decades a filter is not a must; the unfiltered plan is the simpler solution.
Which day of the month should the ETF savings plan buy?
The date matters far less for the result than the rule. Finanztip simulated savings plans on the MSCI World in euros since 2001 for every day of the month, each over five years. The gap between the best and worst execution day ranged from 0.54 to 1.3 percent, measured over the whole five-year period and not per year (source: Finanztip, savings plan execution).
In practice something else counts: the date should fall after payday so the budget is in the account, and the time should be within the exchange's trading hours. If the day falls on a weekend or holiday, the rule needs to specify whether to buy on the trading day before, after or not at all.
Setting up a rule-based ETF savings plan in OptionsApp
In OptionsApp such a savings plan is a row in the "Seasonals & Signals" tab (group "Stocks & ETFs"). Unlike options there is no trade template here: symbol, size, entry and exit sit directly in the row. Orders go through your own Interactive Brokers account; more on the process under automated stock trading.
The row settings
| Field | Value in the example |
|---|---|
| Symbol / Side | the chosen ETF, BUY |
| Qty | Size by "Budget", 500.00 in the account currency |
| Entry: Frequency | Monthly, Rule "Day of month", Day 1, If closed "Next trading day" |
| Entry: Time | 10:00 New York time |
| Entry: Condition | Filter Close (Day) > SMA 200 (Day) |
| Exit | No Exit (the holding stays) |
| Max. open Trades | high enough, each monthly purchase stays its own open trade (up to 999) |
Configuration example, not a recommendation. All values are freely selectable.
OptionsApp checks the filter at each full minute during the five minutes after the entry time; if it is not met by then, that month's purchase is skipped. It calculates the share count from budget and ask and rounds down to whole shares. Two limits apply: a purchase only happens if OptionsApp is running and connected to TWS at the entry time, otherwise the date is skipped (for continuous operation see server operation). And the timing logic is built around US exchanges; whether an ETF is tradable in your account is decided by Interactive Brokers. Retail investors in the EU cannot buy many US ETFs because no key information document under the PRIIPs regulation exists for them.
All row fields are described in the documentation article Stocks & ETFs: strategy, entry and exit, the conditions and indicators in Stocks & ETFs: conditions and indicators. A monthly savings plan on one ETF needs one opening per month; how many openings a plan includes is listed on the pricing page.
The rule runs mechanically on the values you set; the price at which a market order fills depends on the market. Choice of ETF, budget size, choice of condition and handling of uninvested cash remain the investor's decisions.
ETF savings plan tax treatment in Germany
Note: the following outline describes general rules for private investors fully taxable in Germany, as of December 2026. It is not tax advice.
Distributions and capital gains from ETFs count as capital income. The rate is 25 % flat tax plus a 5.5 % solidarity surcharge on the tax, plus church tax where applicable; the saver's allowance is 1,000 EUR for singles and 2,000 EUR for joint filers. For equity funds 30 % of income is tax-exempt (partial exemption under Section 20 InvStG), and an advance lump sum under Section 18 InvStG can arise each year.
A savings plan with a rule changes nothing here; each monthly purchase is a separate purchase with its own cost basis. Foreign brokers such as Interactive Brokers do not withhold German flat tax, so the income is declared in the tax return (Anlage KAP and Anlage KAP-INV).
FAQ on the ETF savings plan with a rule
What is an ETF savings plan with a rule?
An ETF savings plan with a rule is a recurring ETF purchase that is only executed when a predefined condition is met. The best-known condition is a price above the 200-day moving average. If it is not met on the execution day, that month's purchase is skipped.
Can you automate an ETF savings plan?
Almost every broker offers a fixed savings plan that buys on the chosen date regardless of price. Standard broker plans have no price condition. That takes rule-based software that checks the condition on the date and sends the order through your own account, for example at Interactive Brokers.
Is a savings plan with a 200-day moving average worth it?
It depends on how the market moves and cannot be known in advance. The rule avoids buying during long declines but also misses cheap prices just before a recovery. Sideways phases around the line cause frequent switches. In the worked example on this page the plain plan comes out ahead. Not a recommendation.
What happens to the money when the rule does not buy?
The amount stays in the account as cash. There is no automatic catch-up; the following month only the regular amount is bought. Using the cash differently requires a second rule, for example buying another ETF while the price is below the line.
Which day of the month is best for an ETF savings plan?
Over the long run the day hardly matters. Finanztip simulated MSCI World savings plans since 2001 for every day of the month: the gap between the best and worst execution day was at most 1.3 percent over five years, measured over the whole period.
Should you pause an ETF savings plan in a crash?
A classic savings plan keeps buying in a crash and gets more units per euro. A rule such as the 200-day line pauses purchases in such phases. Either way it is a decision best made in advance so it is not taken in the middle of a sell-off. Not investment advice.
Can an automated savings plan buy fractional ETF shares?
Many broker savings plans buy fractions so the full amount is invested. OptionsApp only buys whole shares: at a price of 52.40 USD, a budget of 500 USD buys exactly 9 shares for 471.60 USD, and the rest stays in the account as cash.
How is an ETF savings plan taxed in Germany?
Gains and distributions are subject to the 25 percent flat tax plus solidarity surcharge, plus church tax where applicable. For equity funds 30 percent of income is tax-exempt (partial exemption under Section 20 InvStG), and an advance lump sum can arise each year. Not tax advice.
Risk disclaimer
ETFs fluctuate in value, and a total loss of individual positions cannot be ruled out. A buy rule does not limit losses on shares already bought. The numbers on this page are worked examples with fictitious values, not a recommendation and no promise of future results. This content is not investment advice.
Store your savings plan rule in OptionsApp
Create a row with ETF, budget, monthly date and filter, connect your Interactive Brokers account. Free 14-day trial, no credit card.