Maru Tech's share price has passed its prior confirmed high of $100. By the Lesson 245 standard it is in Buy review, and the quantity computed with the method of Lesson 276 is 80 shares. But on the same day, the market index is about 11.9% below its high of five weeks ago and is swinging 2% to 3% a day. Can you buy 80 shares as usual?
Lesson 270 showed that the same rule gives different results in rising, sideways and falling markets. This lesson sets how to reflect that difference in actual orders. It judges the states of the market, the industry and the stock separately, and builds in advance a policy table that allows, reduces or holds off entries for each combination. It also checks with numbers the problem that regime judgments come late and change often.
1. Judge the market, the industry and the stock separately
Maru Tech and the index and numbers in this lesson are all hypothetical examples made up for illustration. Look only at a stock signal and you miss the state of the market; look only at the market and you miss the differences between industries and stocks. So split them into three layers and set one state for each layer.
| Layer | What you look at | States |
|---|---|---|
| Market | The index's trend and volatility | Uptrend, Unsettled, Sharp decline |
| Industry | The industry ETF's trend and strength against the index | Strong, Weak |
| Stock | Its Lesson 245 status and entry signal | Buy review with a signal, anything else |
Write the judgment standard for each layer in numbers. "The mood is bad" is not a judgment. The economic indicators of Lessons 209 and 216 do not go into this table directly. Rather than predicting the next regime from indicators, this approach follows the state already visible in index prices and volatility. When you enter ahead of a major indicator release, calculate separately with the event loss budget of Lesson 276.
2. Set the market state by trend and volatility
For example, you could define market states like this.
- Uptrend: the index close is above its 200-trading-day moving average, that average is higher than 20 trading days ago, and volatility is normal.
- Sharp decline: the index close is below its 200-trading-day moving average, and volatility is high.
- Unsettled: every case that is neither Uptrend nor Sharp decline.
Measure volatility with the index's ATR ratio. The average true range (ATR) is the average of the daily range computed in Lesson 244, and dividing it by the index level gives the ATR ratio. If the ATR ratio over the last 20 trading days is at most 1.5 times its median over the past year, call it normal; above that, high.
Judge the day in the opening. The index is 5,200 and its 200-trading-day moving average is 5,450, so it is below the average. The ATR ratio is 2.6%, which is 2.6 ÷ 1.1 = about 2.4 times the past year's median of 1.1%. Volatility is high, so the market state is Sharp decline. The index has come down 5,200 ÷ 5,900 − 1 = about −11.9% from its high of 5,900.
There is a reason to look at volatility apart from the trend. Even with the same trend, when daily moves more than double, a stop-loss level set at the usual distance can be reached by a single day's swing. The size of the overnight gap that can jump past the stop-loss level grows too. The trend tells you the direction; volatility tells you how much you can lose at once.
3. Add the industry and stock states
For the industry state, use the method of Lesson 245 as it is. For example, if the industry ETF is above its own 200-trading-day moving average and its 3-month ratio change against the index is above 0, it is Strong; otherwise Weak. The hypothetical industry ETF that Maru Tech belongs to fell 6% over 3 months, while the index fell 11% over the same period. Since 0.94 ÷ 0.89 − 1 = about +5.6%, it is stronger than the index, and the ETF price of $81 is above its own average of $78.50. The industry state is Strong.
The stock state is "with a signal" only when Lesson 245 has judged the stock Buy review and the entry signal you set has fired. Maru Tech passed its prior confirmed high of $100 while in Buy review, so it has a signal. A stock on Watch or Exclude never reaches the policy table, however good the market is.
In sum, today's combination is market Sharp decline, industry Strong, stock with a signal. Looking only at the stock and the industry, this combination seems like a day to buy.
4. Set Allow, Reduce or Hold off for each combination in advance
The policy table puts the market state in rows and the industry state in columns. Use the table only for stocks with a signal. For example, you could set it as follows.
| Market state | Industry Strong | Industry Weak |
|---|---|---|
| Uptrend | Allow: 100% of the planned loss budget | Reduce: 50% of the budget |
| Unsettled | Reduce: 50% of the budget | Hold off |
| Sharp decline | Hold off, keep on the watchlist | Hold off |
Maru Tech today is in the Sharp decline and industry Strong cell, so it is Hold off. You do not throw away the signal. Keep it on the watchlist, and when the market state changes, recompute with that day's prices.
Reduce means cutting the planned loss budget, not the number of shares. With the numbers of Lesson 276, a usual budget of $500, an entry level of $100, a stop-loss level of $94 and round-trip costs of $0.20 make the planned loss per share $6.20. In the Allow cell it is floor(500 ÷ 6.20) = 80 shares, and in the Reduce cell the budget becomes $250, so floor(250 ÷ 6.20) = 40 shares.
The reason to cut by budget is that the stop-loss distance widens along with volatility. If larger swings make you widen the stop-loss level to $91, the planned loss per share is 100 − 91 + 0.20 = $9.20. Even with the same $500, the quantity falls to floor(500 ÷ 9.20) = 54 shares, and with the reduced budget of the Unsettled state it is floor(250 ÷ 9.20) = 27 shares. The wider distance and the smaller budget together turn 80 shares into 27.
A common mistake is to widen only the stop-loss level to $91 and still buy 80 shares. The planned loss is 80 × 9.20 = $736, about 1.5 times the usual budget. In a Sharp decline, gap risk is added on top. This table exists to prevent exactly this mistake: entering at the same size when the market state differs, even with the same stock signal.
5. Regime judgments come late, and frequent changes cost money
A judgment based on the 200-trading-day average comes late. The hypothetical index in the figure below peaked at 5,900 in week 4. Even assuming volatility was already high by then, it fell below the average and was judged a Sharp decline only in week 8, at 5,428. Since 5,428 ÷ 5,900 − 1 = −8.0%, that came after it had already fallen 8%. The rebound is the same. From the week-11 low of 4,900, the Sharp decline is lifted only when the index rises above the average at 5,480 in week 16. Since 5,480 ÷ 4,900 − 1 = about 11.8%, the early part of the rebound passes with no new entries.

This delay is less a flaw in the rule than its price. In exchange for judging late, the policy does not change with brief swings. Shortening the judgment period makes it faster, but it changes more often.
When the index moves up and down near its average, the judgment can change every day. Say that over ten days the distance between the index and its average was +0.6%, −0.4%, +0.3%, −0.5%, +0.2%, −1.2%, −2.4%, −1.9%, −2.8% and −3.1%. A rule that looks only at above or below changes its judgment five times over these ten days. Each time the policy changes, so in the same market the size you can enter changes from one day to the next. If the rule also cuts and rebuilds existing holdings, then, as seen in Lesson 270, trades that sell low and buy back high repeat.
There are two ways to reduce switching. One is a buffer zone that uses different thresholds going down and coming up. For example, judge it below only when it is more than 2% under the average, and above only when it is more than 2% over. Applied to the ten days above, it changes only once, on the seventh day at −2.4%. The other is to judge only once a week, on the same weekday's close.
A buffer zone reduces switching but increases delay. With a 2% buffer zone on the index in the figure, the lower threshold is 5,450 × 0.98 = 5,341 and the upper threshold 5,450 × 1.02 = 5,559. The Sharp decline judgment comes in week 9 at 5,200, after it has fallen about 11.9% from the high. It is lifted in week 17 at 5,600, after it has risen about 14.3% from the low. Whether to cut switching or delay more depends on how often you can judge and place orders.
The record for this lesson is one regime policy table. Write the judgment standards of the three layers in numbers, and write Allow, Reduce or Hold off with the budget ratio for each combination, along with the buffer zone and the judgment weekday. Below it, keep one line each week with the market and industry states judged and the date.
Try it yourself
- The index is 5,600, its 200-trading-day average 5,500 (5,520 twenty trading days ago), and its ATR ratio 1.9% (past year's median 1.1%). What is the market state?
- Market Unsettled, industry Strong, a stock with a signal. With an entry level of $50, a stop-loss level of $46.50, buy and sell costs of $0.10 each and a usual budget of $500, what is the order quantity? What would it be in the Allow cell?
- Ignoring the policy, you bought 80 shares at $100 in a Sharp decline. The next day it opened at $84 along with the index, and the stop order filled at $84. Including round-trip costs of $0.20, the loss is how many times the usual budget of $500?
- After a below judgment, the distance between the index and its average over five days was +0.8%, +1.5%, +2.1%, +1.7% and +2.6%. On which day does the above-or-below rule switch to above, and on which day the 2% buffer zone rule? What do you gain and what do you lose?
- Make a policy table like the one in section 4 with an index and one industry ETF you follow, and judge the market and industry states on this Friday's close.
Answers
First, the index is above its average, but the average is lower than 20 trading days ago, so it fails the Uptrend conditions. Volatility is 1.9 ÷ 1.1 = about 1.7 times, so high. The index is not below its average, so it is not a Sharp decline either. The market state is Unsettled: Reduce to a 50% budget if the industry is Strong, and Hold off if it is Weak.
Second, the planned loss per share is 50 − 46.50 + 0.20 = $3.70. With the reduced budget of $250, floor(250 ÷ 3.70) = 67 shares. In the Allow cell it would be floor(500 ÷ 3.70) = 135 shares. Even with the same stock and the same signal, one market state halves the quantity.
Third, the loss is 80 × (100 − 84 + 0.20) = $1,296, and 1,296 ÷ 500 = about 2.6 times. Had you held off as the policy table said, there would have been no such loss. That a stop-loss level is not a cap on the loss is the same point as the event loss in Lesson 276, and in a Sharp decline such days can come more often.
Fourth, the above-or-below rule switches to above on the first day (+0.8%), and the 2% buffer zone rule on the third day (+2.1%). The buffer zone is two days late. In exchange, it prevents the switch that would have occurred had the index gone back below its average. If it keeps rising as in these five days, only the delay remains; if it moves up and down, the gain from fewer switches remains.
Fifth, first write the market standards (average length, volatility multiple, buffer zone) and the industry standards in numbers. Fill in all six cells of the policy table, each with one of Allow, Reduce or Hold off and a budget ratio, leaving none empty. Keep the verdicts with dates, and in a week when a state changes, recompute the stocks on the watchlist with that day's prices.
