Showing posts with label ECP. Show all posts
Showing posts with label ECP. Show all posts

Thursday, August 19, 2010

The System...

Update on the ECP trading system. Paper trading of the 2nd exit strategy based on an actual entry trigger in the opposite direction has yielded interesting results.

First the results and then I will get into the interesting part:


Based on IWM 1000 shares
Trade costs

Monthly total Weekly avg Net with IB Net with TD Total trades
Jan $40.00 $10.00 $705.00 $1,938.10 190
Feb $490.00 $122.50 $210.00 $1,508.00 200
Mar $1,280.00 $320.00 $440.00 $1,117.60 240
Apr $810.00 $122.50 $26.00 $1,427.76 224
May $2,450.00 $612.50 $1,715.00 $352.10 210
Jun $720.00 $144.00 $162.00 $1,797.48 252
Totals $5,710.00 $218.58 $1,104.00 $7,436.84 1316






Max Profit $1,970.00 Best Day $2,220.00 Average Profit $0.34
Max Loss $1,080.00 Worse Day $2,010.00 Average Loss $0.15
Ratio 182% Ratio 110% Ratio 227%
% Winners 33% Best Week $2,090.00 Total Wins 217
% Losers 66% Worse Week $1,300.00 Total Losers 436
Ratio 50% Ratio 161%


So...unfortunately this exit strategy doesn't minimize the number of loosing trades....this is the same as the previous exit strategy.

But the winners still out pace loosers by enough to get you a profitable system over the long run...in this case 6 months worth of data.

Now for the interesting part...lucky for me, the months of January through June offer a period of low and high volatility, this is what gives me confidence in the system itself as well as the paper trading results it has provided. Plus with a total of 600 plus round trip trades, you have some pretty good statistics to back your ideas up.

So now I will post the results of the first exit strategy vs. the second exit strategy:



First Exit

Monthly total Weekly avg
Jan $1,350.00 $337.50
Feb $760.00 $190.00
Mar $2,260.00 $647.50
Apr $380.00 $142.00
May $1,460.00 $365.00
Jun $70.00 $47.50
Totals $5,520.00 $240.92


Second Exit

Monthly total Weekly avg
Jan $40.00 $10.00
Feb $490.00 $122.50
Mar $1,280.00 $320.00
Apr $810.00 $122.50
May $2,450.00 $612.50
Jun $720.00 $144.00
Totals $5,710.00 $218.58

Ironically, Exit Strategy 1 outperformed Exit Strategy 2 during the low volatility days of January through March, then from April through June Exit Strategy 2 outperformed Exit Strategy 1.

I haven't gone back to do the academic exercise as to why this is, in a way i would think that exit 2 would do worse in higher volatility given that it keeps you in longer...but in higher volatility environments you get stronger moves so the profitable trades get more profitable.

In fact, the average profit was 0.28 for exit 1, vs 0.34 for exit 2 (21% delta) , whereas the avg loser was 0.13 for exit 1 vs. 0.15 for exit 2 (15% delta). So volatility benefits the exit 2 to the extent in that it keeps you in profitable trades longer than in loser trades...

Anyway when you combine the two you did better than using either one on its own. You would be up $8350 and not have had a loosing month, this is a 51% improvement over exit 1, and a 46% improvement over exit 2.

Now all I need is something to tell me when to switch exit strategies. Perhaps use some indicator with the VIX?

Wednesday, July 28, 2010

The System...

Quick update on the trading system I have been developing. I have now tested all the way through the first half of the year on a 5 minute timeframe.

I have the following statistics to share.



Based on 1000 shares of IWM
Trade costs

Monthly total Weekly avg Net Total trades TD IB
Jan $1,320.00 $330.00 $550.00 220  $  2,197.80  $    770.00
Feb $970.00 $242.50 $200.00 220  $  2,197.80  $    770.00
Mar $2,080.00 $622.50 $1,107.00 278  $  2,777.22  $    973.00
Apr $80.00 $98.00 $1,053.00 278  $  2,777.22  $    973.00
May $1,290.00 $322.50 $408.00 252  $  2,517.48  $    882.00
Jun $160.00 $40.00 $1,210.00 300 $2,997.00 $1,050.00
Totals $5,420.00 $243.25 $2.00 1548  $15,464.52  $ 5,418.00







Max Profit $1,710.00 Best Day $2,130.00 Average Profit $0.28
Max Loss $720.00 Worse Day $1,910.00 Average Loss $0.13
Ratio 237% Ratio 112% Ratio 215%
% Winners 32% Best Week $1,810.00 Total Wins 251
% Losers 66% Worse Week $1,450.00 Total Losers 511
Ratio 49% Ratio 125%



I have added emphasis on the key statistics I feel have the most bearing on the validity of the system.

Prior to that...How about those trading costs? I think traders who try to develop their own systems eventually look at this column and say....hmmm...I think its time to start my own brokerage...what a business...no matter if you are winning or loosing THEY ARE WINNING. Always. Anyway that can be overcome with appropriate trading scale...and the power of compounding.

First the monthly totals...it is clear that winning months outpace loosing months by a wide margin. This is very positive and it means that if you take even a crude exit strategy which does not handle chop very well, and does not take profits at any point along the route...this is very good indeed.

Second and more concerning is the percent of the total trades that are profitable vs trades taht are loosers. In this case there are nearly twice as many losers for every winner.

The consolation prize is that the average winner is more than twice the size of the average loser..again speaks loudly to the validity of the system. This gives you enough edge to get those monthly totals...its a razor's edge though.

The system's details shall remain proprietary until I bear out all the testing and see if it works on different timescales and instruments. It is incredibly simple and I am goshdarn proud that something so stupidly simple can work decently well.

My next step in the process of backtesting is to tweak the exit strategy. I have at least 2 ideas for this one involves profit taking the other doesn't. I will probably eventually mash them both together to take profits along the way.

I want to bring the ratio of % profitable vs % losers UP while not sacrificing the average size of the winners vs losers...

If I am able to accomplish that with any of the next 2 ideas...I think I can start a hedge fund...

Especially if I can then take it to different assets and different timeframes...which is also part of the next steps in the process...but basically once I find the proper exit strategy...then computers will take over and help me figure out if it works accross time frames and asset classes.

The backtesting is arduous and I sacrifice many hours of sleep doing it. But I am confident now that the hard work is going to pay off.

The key to testing the first half was to see how well the strategy would do in periods of low volatility and high volatility. It doesn't do as great in high volatility because of the exit strategy. I saw lots of chop eating away profitable trades and taking me out of trades too soon.

So I am confident this strategy works...it works exceptionally well. I just now have to come up with an exit strategy that allows this thing to hang in with the trends it so precisely identifies.

Like I said...don't be surprised if in a few months you read about some guy running around Prospect Park naked Archimedes style. I feel I am on the verge of something incredibly awesome.

Friday, July 23, 2010

The system is working

The trading system I am developing is working pretty decently...I have paper traded through the whole 1st quarter thus far...

The results are rather encouraging given the number of trades already executed. However, my goal is to trade all the way through the 2nd quarter as well. This will give me a period of low volatility and a period of high volatility. Thus far it looks like it works in the low volatility environment but the chop really kills me.

Also the % of winners vs. losers isn't wonderful, but the winners are much larger than the loosers I haven't done the average calculations as I am still figuring that out in excel...but here are the results for the 1st quarter.


Based on 1000 shares of IWM
Trade costs

Monthly total Weekly avg Net Total trades TD IB
Jan $1,320.00 $330.00 $550.00 220  $2,197.80  $770.00
Feb $970.00 $242.50 $200.00 220  $2,197.80  $770.00
Mar $2,080.00 $622.50 $1,107.00 278  $2,777.22  $973.00
Apr





May





Jun













Max Profit $980.00
Best Day $1,260.00

Max Loss $560.00
Worse Day $670.00

P/L ratio 175%
Ratio 188%

% Winners 34%
Best Week $1,380.00

% Losers 63%
Worse Week $650.00




Ratio 212%







Max Proft and Max Loss are single trade#s...this system is a day trading system so multiple trades per day are executed.

Now...IWM traded in a range of 59 - about 68...so for 1000 shares you need to have around $70k to work with....if you can net $1800 and you used leverage on an account of $35,000 you made 5% in the quarter...annualize that and you got yourself a decent money machine.

And this is without refining a very crude exit strategy...the entries in the system are quite sophisticated (hehe), but the exits are the hard part. In the paper trade posted here, I am not taking profits (although I have a strategy for that). I also have an idea for the exit that should reduce the number of trades as well as make some of the loser trades into winners...

Nonetheless...I think I am onto something here.

Monday, July 19, 2010

Ideas for profit taking

You will forgive me for at times writing shit that may not make sense at all to you. I am developing a trading strategy and I am back-testing it incessantly.

So I will chicken scratch my thoughts on the strategy on this blog since this is my trading journal and I can do with it what I want...y'a hear?

OK...Profit taking idea:

Maybe let the trade ride until the trend is confirmed in the opposite direction by a new entry signal...unless the original trigger bar's stop is violated.

For now I am paper trading based on taking the trade off at any setup in the opposite direction...

This may be one way to refine the strategy and reduce chop.


Don't worry one day I will sell this strategy on the internets...and you all will get a discount.