Wednesday, April 30, 2008

Sell In May And Go Away

There is a market saying that one should sell in May and go away. Statistically, May to October period is not a good time to be in the market.

If you look at the STI index, the period from May to October has underperformed the period from October to May.

The probability of win if you buy in May and exit in October is 50%. However there were 5 periods with double digit losses. For $10,000 invested in the beginning of 1988, the account would have shrunk to $4,050.

Entry DateEntry PriceExit DateExit Price% ChangeAccount Value
5/3/1988968.9010/3/19881023.105.59$10559
5/2/19891266.0010/2/19891375.308.63$11470
5/2/19901458.8010/1/19901103.40-24.36$8676
5/2/19911557.2010/2/19911357.00-12.86$7560
5/4/19921499.0010/1/19921351.00-9.87$6814
5/3/19931783.6010/1/19932015.3012.99$7699
5/3/19942296.5010/3/19942334.401.65$7826
5/2/19952070.1010/2/19952120.002.41$8015
5/2/19962406.2010/1/19962175.70-9.58$7247
5/2/19972004.3010/1/19971954.80-2.47$7068
5/4/19981494.9810/1/1998938.08-37.25$4435
5/3/19991892.4310/1/19992021.146.8$4737
5/2/20002172.0110/2/20001970.93-9.26$4298
5/2/20011735.7510/1/20011329.54-23.4$3292
5/2/20021737.5410/1/20021345.69-22.55$2550
5/2/20031278.5310/1/20031621.0626.79$3233
5/3/20041841.3910/1/20041986.967.91$3489
5/3/20052146.0410/3/20052302.037.27$3743
5/2/20062613.8710/2/20062571.45-1.62$3682
5/2/20073395.5710/1/20073734.949.99$4050


The picture reverses if you buy in October and exit in May. The probability of win increases to 70%. For $10,000 invested in the beginning of 1988, the account would have grown to $81,283.

Entry DateEntry PriceExit DateExit Price% ChangeAccount Value
10/3/19881023.105/2/19891266.0023.74$12374
10/2/19891375.305/2/19901458.806.07$13125
10/1/19901103.405/2/19911557.2041.13$18523
10/2/19911357.005/4/19921499.0010.46$20461
10/1/19921351.005/3/19931783.6032.02$27013
10/1/19932015.305/3/19942296.5013.95$30781
10/3/19942334.405/2/19952070.10-11.32$27296
10/2/19952120.005/2/19962406.2013.5$30982
10/1/19962175.705/2/19972004.30-7.88$28540
10/1/19971954.805/4/19981494.98-23.52$21828
10/1/1998938.085/3/19991892.43101.73$44033
10/1/19992021.145/2/20002172.017.46$47318
10/2/20001970.935/2/20011735.75-11.93$41673
10/1/20011329.545/2/20021737.5430.69$54462
10/1/20021345.695/2/20031278.53-4.99$51744
10/1/20031621.065/3/20041841.3913.59$58776
10/1/20041986.965/3/20052146.048.01$63484
10/3/20052302.035/2/20062613.8713.55$72086
10/2/20062571.455/2/20073395.5732.05$95190
10/1/20073734.94OpenOpen-14.61$81283

Sunday, April 27, 2008

SVAPO Case Study - Synear Food

This is the application of SVAPO indicator on Synear Food. The simple trading rules can be found in my earlier post on SVAPO Indicator



The trading record is given below:

Entry DateEntry PriceExit DateExit Price% ChangeBars HeldDraw Down %Max Gain %Bars Held
1/31/20071.82/5/20071.968.89308.88893
2/14/20072.12/21/20072.02-3.813-8.09520.95243
2/22/20072.122/27/20072.38.493-0.47178.49063
3/8/20071.753/13/20071.866.293-1.14296.85713
3/20/20071.793/23/20071.948.383011.73183
3/29/20071.914/3/20071.973.143-0.52366.80633
4/25/20071.894/30/20071.90.53304.76193
6/4/20071.766/7/20071.97.95309.65913
6/27/20071.857/2/20071.81-2.163-3.78381.62163
8/21/20071.658/24/20071.681.823-7.27272.42423
9/26/20071.6210/1/20072.1130.253030.24693
11/15/20071.9511/20/20071.7-12.823-12.820503
11/23/20071.6511/28/20071.745.453-4.84855.45453
12/19/20071.5812/26/20071.633.163-5.06333.16463
1/15/20081.51/18/20081.35-103-140.66673
1/22/20081.151/25/20081.215.223-14.78265.21743
1/25/20081.211/30/20081.2103-2.47939.09093
2/6/20081.072/13/20081.0703-5.60754.67293
2/15/20081.012/20/20081.1513.863-0.990121.78223
2/29/20080.623/5/20080.678.063-0.806511.29033
3/6/20080.6453/11/20080.515-20.163-21.70541.55043

There were a total of 21 trades with 14 winners and 7 losers.

Thursday, April 24, 2008

SVAPO Metastock Code

There is some problem when I try to paste the metastock code into the blog site. Some of the characters went missing. So I am posting the screenshot of the metastock formula.


You will need to do some typing to see this indicator in action.

Wednesday, April 23, 2008

SVAPO Indicator On Yanlord

SVAPO is an indicator presented by Sylvain Vervoort in the Nov 07 issue of the Stocks & Commodities magazine.

This indicator combines price and volume information into a Short-Term Volume And Price Oscillator.

The Metastock code for the indicator is given below:

{calculate the heikin ashi closing average haCl and get the input variables}

haO:=(Ref((O+H+L+C)/4,-1) + PREV)/2;

haCl:=((O+H+L+C)/4+haO+Max((O+H+L+C)/4,Max(H,haO))+Min((O+H+L+C)/4,Min(L,haO)))/4;

period:= Input("SVAPO period :", 2, 20, 8);

cutoff:= Input("Minimum %o price change :",0,10,1);

{Inputs for standard deviation bands}

devH:= Input("Standard Deviation High :", 0.1, 5, 1.5);

devL:= Input("Standard Deviation Low :", 0.1, 5, 1.3);

stdevper:= Input("Standard Deviation Period :", 1, 200, 100);

{Smooth HaCl closing price}

haC:=Tema(haCl,period/1.6);

{Medium term MA of Volume to limit extremes and division factor}

vave:=Ref(Mov(V,period*5,S),-1);

vmax:=vave*2;

vc:=If(V(Ref(haC,-1)*(1+cutoff/1000)) AND Alert(vtr>=Ref(vtr,-1),2), vc, If(haC<(Ref(haC,-1)*(1-cutoff/1000)) AND Alert(vtr>Ref(vtr,-1),2),-vc,0)),period)/(vave+1),period);

devH*Stdev(SVAPO,stdevper);

-devL*Stdev(SVAPO,stdevper);

zeroref:=0;

zeroref;

SVAPO;


The highlights of this indicator are as follows:


  1. In an uptrend market, price and volume are moving up. When calculating the oscillator, volume will be added

  2. In a downtrend market, price goes down while volume goes up. When calculating the oscillator, volume will be subtracted.

  3. When volume is moving down and price is in consolidation phase moving in either direction, volume will not be used to calculate the oscillator.

  4. Additional price and volume smoothing is done using triple exponential moving average (TEMA).

Let’s look at Yanlord as a case study.

Entry Rules :

  1. SVAPO (Red line) must be below the lower boundary (Green line)

  2. Today’s SVAPO must be greater than yesterday’s SVAPO

  3. If condition 1 and 2 are true, buy at tomorrow’s opening price.

Exit Rules:

  1. Exit the trade after 3 days.

The trading record is as follows:

Entry DateEntry PriceExit DateExit Price% ChangeBars HeldDraw Down %Max Gain %
11/23/20061.7311/28/20061.9512.723019.0751
1/10/20072.461/15/20072.43-1.223-3.65850
1/24/20072.361/29/20072.19-7.23-8.89830.8475
2/14/20072.082/21/20072.132.4303.8462
3/6/20071.783/9/20071.959.55309.5506
3/9/20071.953/14/200722.563-2.56416.1538
4/26/20072.345/2/20072.381.713-1.70942.1368
7/31/20073.248/3/20073.260.623-1.85193.7037
8/3/20073.268/8/20073.24-0.613-2.4544.2945
8/21/20072.798/24/20072.945.38307.5269
9/21/20073.29/26/20073.220.623-2.51.25
10/19/20073.710/24/20073.62-2.163-9.18920
11/15/20073.711/20/20073.42-7.573-7.56761.0811
1/11/20082.771/16/20082.65-4.333-6.49821.083
1/25/20082.481/30/20082.64.84307.6613
3/11/20082.083/14/20081.95-6.253-9.13469.6154
3/25/20081.83/28/20082.2826.673027.7778
4/23/20082.31OpenOpen4.331-1.73166.4935

There are a total of 18 trades with 11 winners and 7 losers.

Tuesday, April 22, 2008

STI Update

STI index broke closed at 3171 yesterday. It managed to break through 3200 but it could not stay above it.



Looking at the chart, the index needs to stay above 3130 which is the support line. This is also where the neckline resides. The index tried to break out of this neckline in early Apr but failed. It only managed to break this level after a pullback to 3035.

The index has moved from a low of 2745 on 17 Mar 08 to a high of 3181 on 7 Apr 08. Based on Fibonacci Retracement, the objective point for STI is at 3471.

Sunday, April 20, 2008

Dow Inverse Head And Shoulder

Dow broke through 12800 points on Friday boosted by better earnings result from Google which rose about 20%.



The Dow chart is looking like a breakout of an inverse head and shoulder pattern. During the beginning of the week, it looked as if the right shoulder would not be formed. However due to better earning results, the index managed to claw back and break out of the 12800 level which is where the neckline resides (point C).

The price objective based on this pattern is (B-A+C) which gives an objective level of 13950.

Sunday, April 13, 2008

Dow And VIX Update

On Friday's trading session, the Dow Industrial Average closed down 256.56 points at 12325.42. General Electric shocked investors with lower-than expected earnings and a profit warning that wiped $46.9 billion off its value and sent the overall market slumping.

The VIX closed at 23.46.




If you look at the VIX chart, you can draw a trend line ("Blue Line") connecting the bottom formed on Oct 07, Nov 07 and Apr 08 respectively. These 3 points marked the beginning of significant drop in the Dow Industrial Average ("Red Line").


The VIX is not painting a good picture for trading next week. So do trade with care.

STI Sideway To Bearish Tone

US market had a bad closing last night.  Dow plunged by 243 points.  It seems like we are seeing more volatility recently.  With earnings...