SPY fell 0.1% this week, while my account fell 1.2% to its lowest
level ever! Once again the “relief rally” is cancelled. I bet that gold
would go down, but it went up. I bet that DRETF and TNA
would go up, but they went down. I need a more reliable trading paradigm.
See MACD-based trades below.
Euro news: Next Wednesday, the Constitutional Court of Germany will
rule on whether it is permissible for Germany+France to bail out Greece,
given that the Lisbon treaty says ”countries may not assume other countries’
debts”. If they say no, the Euro is dead.
| │ | Daily % gain | │ | Max % loss | │ | Results |
Symbol |
since |
│ |
Fri |
Mon |
Tue |
Wed |
Thu |
Fri |
│ |
Beg |
End |
│ |
|
RWM |
JL01 |
│ |
3.0 |
|
-0.1 |
|
-0.5 |
|
-0.3 |
|
1.0 |
|
3.2 |
|
│ |
|
|
│ |
|
AUp30 |
JL01 |
│ |
-0.6 |
|
-0.6 |
|
-0.5 |
|
-0.5 |
|
-0.7 |
|
-0.6 |
|
│ |
|
|
│ |
|
SEp34 |
AU08 |
│ |
-1.3 |
|
-1.2 |
|
-0.9 |
|
-1.0 |
|
-1.3 |
|
-1.2 |
| │ |
|
|
│ |
|
SEp31 |
AU30 |
│ |
|
|
|
|
-0.5 |
|
-0.6 |
|
-0.7 |
|
-0.6 |
|
│ |
|
|
│ |
|
|
IAU |
JL25 |
│ |
5.6 |
|
3.5 |
|
|
|
|
|
|
|
|
|
│ |
|
|
│ |
+2.6% |
SEp17 |
AU11 |
│ |
-2.2 |
|
-2.1 |
|
|
|
|
|
|
|
|
|
│ |
|
|
│ |
−2.1% |
|
RPRX |
JL25 |
│ |
-30.4 |
|
-23.8 |
|
-22.2 |
|
-24.7 |
|
-23.5 |
|
-21.8 |
|
│ |
−7.7 |
−7.7 |
│ |
|
NOp7½ |
JL25 |
│ |
7.7 |
|
16.0 |
|
5.8 |
|
6.4 |
|
6.1 |
|
15.0 |
|
│ |
|
|
│ |
|
|
SCHA |
AU23 |
│ |
0.6 |
|
2.4 |
|
2.4 |
|
2.5 |
|
1.3 |
|
0.1 |
|
│ |
−3.6 |
+0.4 |
│ |
+0.6% |
|
DGZ |
AU29 |
│ |
|
|
-0.3 |
|
-4.0 |
|
-2.8 |
|
-2.9 |
|
-6.1 |
|
│ |
−2.4 |
−2.4 |
│ |
−3.0% |
|
DRETF |
AU29 |
│ |
|
|
-0.5 |
|
-0.9 |
|
-1.4 |
|
-1.4 |
|
-1.8 |
|
│ |
−2.8 |
−2.8 |
│ |
−2.8% |
|
TNA |
AU31 |
│ |
|
|
|
|
|
|
-0.9 |
|
-3.5 |
|
-7.8 |
|
│ |
|
|
│ |
−5.6% |
|
SPY |
|
│ |
0.0 |
|
2.9 |
|
3.1 |
|
3.6 |
|
2.5 |
|
-0.1 |
|
│ |
|
|
│ |
me |
|
│ |
0.0 |
|
-0.2 |
|
-0.3 |
|
-0.5 |
|
-1.2 |
|
-1.2 |
|
│ |
|
|
│ |
RWM: On Monday the shares I sold last week were settled.
Bought more on Friday to prepare for the Big Drop if it happens this
weekend.
On Tuesday I bought another put, since I had expected a relief rally.
Looks like the put will expire worthless at the end of next week. It is the
nearly-invisible red line on the pie chart.
SCHA: Bought more Monday and Tuesday. Previously-sold shares settled Tuesday and Wednesday. Sold more on Thursday. Sold all on Friday. I need a better system for deciding when to buy and sell!
DGZ: I thought gold would go down, but it went up.
DRETF: I thought real estate would go up, but it went down.
TNA: Tried to catch the bottom on Wednesday, but missed on
the first try. Sold and bought some more at lower price. Went down again.
MACD-based trades
Over the past year, on and off, I have been trying to figure out how to use
MACD to get reliable
profits. I might finally have something!
Basic rules:
- Always buy blocks of the same dollar value, regardless of gain/loss from previous round (no compounding, more shares at lower prices).
- Use PPO(q,s,p), which is MACD(q,s,p) ÷ price so the numbers represent %change.
- Apply PPO to IWM, because it has a lot of volume and thus is
hard for the bad actors to manipulate. Do the actual buys/sells using SCHA because it
has no trading commissions. Generally, SCHA tracks the ups and
downs in IWM quite well.
- Re-evaluate PPO at end of each period (hourly, daily, or weekly).
- Buy (if not already bought) when PPO > ϵ, the “epsilon”
parameter.
- Sell (if not already sold) when PPO < ϶, the “negative
epsilon” parameter.
- Emergency sale when price < peak × (1-trailing), the trailing stop.
- Do not buy if price fell during this period. Do not sell
if price rose during this period. [This avoids “stupid moves” where
the stock has changed direction but PPO hasn’t noticed yet.]
- Do not buy if price < SMA(n). [This rule actually
reduces profit slightly, but avoids another class of ”stupid move” that
leads to occasional large losses.]
Here are simulated results for last 12 months. The “profit” is expressed as
a fraction of the block size.
| Inputs | Outputs |
Period | PPO(q,s,p) | ϵ | ϶ | trailing | SMA(n) | Wins:Losses | Profit |
---|
Hourly | 5,30,10 | 0.15% | 0.05% | 5% | 20 | 28:20 | 26% |
Daily | 5,25,12 | 0.10% | 0.05% | 7% | 10 | 5:3 | 19% |
Weekly | 5,30,10 | 1.00% | -1.00% | 8% | 10 | 1:0 | 22% |
The ”weekly” rule says I should have bought at the open on October 3, 2010
and sold at the open on May 22, 2011 for a 22% profit! At no time during
those seven months did SCHA’s price ever fall more than 8% below
its peak so far. A nice, effective rule—but very rarely active. Over
the last three years it would have triggered only five times, with four wins
and one loss for an overall gain of 27%, during a period when the market
lost 9%. It says (and I think it is correct) that I should not
own SCHA right now.
The ”daily” rule is apparently the most popular among traders, but it seems
to have the most problems. Its overall profit score is the lowest. It
requires that I buy and sell precisely at 4 PM (profits would be even lower
if I used the next day’s opening price). Worst of all, it says I should
own SCHA as of today! I don’t think so. Perhaps I should just not
use the daily rule.
The ”hourly” rule has seven times as much data to work with as the daily
rule, so it does a better job. It says I should have bought SCHA
on August 26th at 1PM and sold August 31st at 12PM (5.5% gain) and not own
any right now, which seems right. The main problem with the hourly rule is
that it requires me to check the market every hour on the hour, all day
every day. Since this is unrealistic, I have adjusted the simulation to
assume that I will not buy/sell based on the PPO for the first hour of each
day (before I get out of bed) or the last hour of the day (requires sniping
that 4PM price). Oddly enough, skipping those hours improves profit
slightly! Other hours will have to be skipped because it’s just too
inconvenient to check the market every hour of every day. I am not sure yet
how much profit will be lost that way.
If this thing actually works with
SCHA, the next move would be to
apply it to
TNA, which tracks the same ups and downs as
IWM
but leveraged 3× (before fees). Here are some comparative gain charts:
Period | Start | End | IWM | TNA | Trade time |
Weekly | 2010-07-01 | 2011-09-01 | 22% | 66% | Monday 9:30AM |
Daily | 2010-07-01 | 2011-09-01 | 21% | 65% 51% | Same day 4PM Next day 9:30AM |
Hourly | 2011-06-01 | 2011-09-01 | 16% | 40% | Top of the hour |
Looks great! The problem is that if I screw up and get losses when the
simulation says I should have had gains, the losses will be tripled. I
think I’ll stick with
SCHA until this system proves itself.