If you focus only on the small moves of a single stock or futures contract, it is easy to miss that you are trading against the market as a whole. Martin Schwartz drew a short exponential moving average (EMA) on the New York Stock Exchange (NYSE) Composite Index to check which direction the market favored. If you settle the direction first, you don't have to weigh everything from scratch each time you place an order.
Lesson 323 and Lesson 352 also judge the direction before trading, but this lesson sticks to one index and one average line. The calculations use the 0.18 and 0.82 that Schwartz wrote in his book. So the last digits can differ from a line drawn with the more precise default coefficient that charting programs use.
The source is Schwartz's book Pit Bull (HarperPerennial 1999 edition), pages 271-273, 276 and 280. The third column of the rules table below notes which pages of the book each point comes from and what they say. The prices, accounts and stocks on the card and in the exercises are all hypothetical.
1. The card at a glance
The example index on the left moves below the blue 10-day EMA, climbs above it, and at the end drops back below. Whether the index close is above or below the average line decides the direction of new trades. The line on the card is the standard 10-day EMA, and the hand calculation below uses the book's approximate coefficient of 0.18.
2. The trading rules: index, condition, direction
| Item | Rule | What the source says |
|---|---|---|
| Indicator | The NYSE Composite Index and its 10-day EMA | Pages 271-273. In the worked example, the close is multiplied by 0.18 and the previous day's EMA by 0.82 |
| Condition | Check whether the index is above or below the average line | Pages 271-273 and 276. This is a call made on the market index, not on a single stock's average line |
| Direction | Above the line, look for buying trades first; below it, look for selling trades first | Pages 271-273, 276 and 280. The direction and the timing of each order are judged separately |
| Stop, exit, size | Follow the prices and account rules of a separate trading method | Schwartz does not use this index rule to set a common stop price, profit target or order size |
Three points are worth noting. First, this lesson draws the line on a market index, because the book's worked example is the 10-day EMA of the New York Stock Exchange Composite Index. Schwartz called a price above this line a green light and a price below it a red light. In a widely quoted remark, he called it his favorite indicator for judging the trend. Drawing a 10-day line on one stock and gauging the direction of the whole market are different questions, so note in your records which index the line was drawn on.
Second, the calculation is one line. Multiply today's close by 0.18 and yesterday's EMA by 0.82, and add them. This is almost the same as the standard 10-day EMA coefficient of 2 ÷ 11 ≈ 0.1818, so it differs from a charting program's line only in the last digits. Only on days when the index is right next to the line can the two methods give different answers.
Third, the line decides only the direction. When the index is above the line, look for buying trades first; when it is below, look for selling trades first. Where to buy and where to put the stop is up to a different trading method.
3. A worked example account
This is a hypothetical example. Let's run an index through three days. If yesterday's EMA was 99 and today's close is 101, the new EMA is 0.18 × 101 + 0.82 × 99 = 99.36. The close of 101 is above the line, so tomorrow is a buy-side day.
The next day the index slipped to 98. The EMA is 0.18 × 98 + 0.82 × 99.36 ≈ 99.12, and the close is now below the line. You hold off on new buys. If the index recovers to 100.50 the day after, the EMA is 0.18 × 100.50 + 0.82 × 99.12 ≈ 99.37, and the close is back above the line. Over three days the call went above, below, above. Days like these keep coming while the index moves up and down around the line.
Look at the distance from the line too. On the first day the close was 101 − 99.36 = 1.64 above the line, and on the third day it was 100.50 − 99.37 = 1.13 above. Both days count as above the line, but the more narrowly a day closes above it, the more easily the call flips the next day. Schwartz set no distance threshold, so this lesson doesn't invent one. You just write the distance in your records.
On a buy-side day like the first one, say a stock meets the conditions of a separate trading method, and you buy it at $42 with a stop at $41. If the most you can lose on one trade is $180, you buy 180 ÷ (42 − 41) = 180 shares. The index's 10-day EMA only screened the direction of this order. The price and share count came from the trading method and your account rules. On a day like the second, when the index is below the line, you hold off even if a buy signal shows up, and look for sell-side signals first.
Commissions and the gap between the order price and the actual fill are not included.
4. When it works and when it doesn't
It works in a trending stretch, when the index stays on one side of the line for many days. The call doesn't change, so each day you only look for signals in the same direction, and you end up trading against the market less often.
It doesn't work in a sideways stretch, when the index moves back and forth across the line. As in the three days above, the call flips every day, and switching direction each time just adds trades. Ten days is a short average. It suits the direction of trades that last a few days, but it changes too often to judge stocks you plan to hold for months.
The follow-through day in Lesson 323 is a rare signal that also checks how many days have passed since a decline and what volume did. The Impulse system in Lesson 352 layers the direction of momentum on top of the direction of the average. Schwartz's line asks just one thing: is the index close above or below the average? All three ask about the market's direction, but they give an answer at different frequencies.
5. Real charts
NYSE Composite, Nov 2023: 35 sessions of closes above the 10-day EMA (Chart: TradingView)
This is the daily chart of the NYSE Composite in the fall of 2023. The orange line is the 10-day exponential moving average. On November 10 the close of 15,388.44 moved above the line at 15,266.97. For 35 trading days, counting November 10, the close never fell below the line. Under this rule, you would have looked only for buy-side signals during that time. On January 3, 2024, the close of 16,718.65 fell below the line at 16,753.16. In between, the index rose (16,718.65 − 15,388.44) ÷ 15,388.44 × 100 ≈ 8.6% on a closing basis.
NYSE Composite, spring 2026: 13 crosses of the 10-day EMA in 30 days (Chart: TradingView)
This is the same index in the spring of 2026. From April 29 to June 11 the close stayed between 22,751.51 and 23,572.76. In the 30 trading days from April 30 to June 11, the close crossed the line 13 times. Each arrow marks one crossing. The direction call flipped on average every 30 ÷ 13 ≈ 2.3 trading days. If you had switched direction every time the call changed, you would have switched thirteen times in 30 trading days.
This rule only goes as far as choosing the direction. While a trend lasts, the call holds for a long time. When the index moves in a narrow range, it flips often. Either way, entries and stops come from a trading method you set up separately.
6. After the close, and what to check before you order
After the market closes, write down three numbers: the index close, the new EMA, and the close minus the EMA. If the difference is positive, tomorrow is a buy-side day; if it is negative, a sell-side day. The EMA carries over yesterday's value, so note the day you started the calculation and the starting value. Then, if your number differs from another program's, you can find out why.
During the session, don't change the call based on today's index, which hasn't closed yet. Look for trade signals within the direction set at yesterday's close, and use their entry and stop prices to set the share count.
Keep one note for each trade: whether that day's market direction matched the direction of your trade. Once you have twenty rows, count the results separately for trades that matched and trades that didn't.
Try it yourself
- Yesterday's EMA was 50, and today's close is 55. Use the book's coefficients to find the new EMA.
- Your stock is above its 10-day line, but the NYSE Composite is below its 10-day EMA. Which side is it on by the market's measure?
- The index has moved back above its average line. Does this calculation also set the stock's stop price?
Answers
First, 0.18 × 55 + 0.82 × 50 = 50.90. The hypothetical close of 55 is above the average.
Second, by the index, it is below the line. The position of a single stock doesn't replace the call on the index.
Third, no. The actual order and its stop price are set separately.



