Automated BuyZone

trading strategies and money management discussion, code, results

Moderator: moderators

Ken_S
rank: 50+ posts
rank: 50+ posts
Posts: 60
Joined: Tue Jun 19, 2007 2:43 am
Reputation: 0
Location: Rivervale, NJ
Gender: Male

Automated BuyZone

Postby Ken_S » Tue Dec 04, 2007 3:06 am

Based on TRO's BuyZone method, I've had the prop. firm I trade with code a custom application to automatically trade the first BuyZone entry of the day fading the gap. The application has the following variables:
Symbol to trade, # shares and/or $ to trade, gap amount, retrace amount, profit target amount, time price is above profit target/stop loss, stop loss amount, and exchange.

Once in a trade, the user can override the program to exit using discretion (for better or worse).

So far, I've been trading small shares on AAPL, RIMM, GOOG, and GS. I traded 100 shares to start, but that cost me a lot of money working out the bugs in the program. :(

The program will enter on a market order once the BuyZone as we know it is entered, and create a stop limit order for exit.
I've spent a lot of time backtesting/scanning for symbols that show historical profitability using the method. A few observations:

1. Backtesting/optimizing can show a high win% just waiting for the profit target to get hit for the day, but once in a while, you get those days where you loose 10-20 days worth of profits. Having a stop loss can sometimes improve the backtested results.

2. Avoid trading a symbol if there is significant news (earnings, up/downgrades, etc.) about that stock or market sector that will disrupt the "normal" price movement. RIMM was a good example today. Downgraded, gapped down for a long entry, entered buy zone long, but wouldn't have hit my profit target.

3. I backtest/optimize using TS and their data. My prop. firm uses esignal data which usually results in different opening prices between the two. TRO also mentioned this problem on another thread the other day. So, I'm lowering the profit target number from what is shown as optimal over the past 1-3 months.

4. I enter on a market order which sometimes results in negative slippage, but my profit target price is calculated from my actual entry price. Another reason to lower the profit target amount from what was optimal historically.

Today's results were 70 shares traded, $32.50 profit before comm. A nice profit/share ratio. I'll be scaling up sloooowly and adding more symbols accordingly.

My next step is to modify one of TRO's plotting indicators to make is faster to scan for trading candidates to spread the risk across many symbols.

This strategy is capital intensive, so trading with a prop. firm and getting 20+:1 leverage helps. Lower than retail commissions helps too.

I'll post my progress and results going forward so others may learn from my ATS project.

Good trading to all.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
Patch
rank: 500+ posts
rank: 500+ posts
Posts: 941
Joined: Sat Jan 06, 2007 6:13 pm
Reputation: 0
Location: Virginia
Real name: Jeff
Gender: Male
Contact:

Postby Patch » Tue Dec 04, 2007 5:43 am

Ken_S

Congratulations, this sounds really good.

Go for small profits.jb
ENOUGH being a Yalie for me Back to the Sea. "What i can lose, i can win" "YES YOU CAN" - dragon33 -"Pick one method and one pair and stick with them until you master it. "The choice is yours - success or failure." TRO

User avatar
Gert Frobe
rank: 150+ posts
rank: 150+ posts
Posts: 177
Joined: Fri Jun 30, 2006 9:51 pm
Reputation: 0
Location: Arlington, Texas
Real name: ben arata
Gender: Male

Postby Gert Frobe » Tue Dec 04, 2007 3:38 pm

when you are milking the cows w/ the buy zone you have to keep a lookout for the "mad cows" that will take you profits.

airball

User avatar
eudamonia
rank: 500+ posts
rank: 500+ posts
Posts: 536
Joined: Thu Jun 15, 2006 9:50 pm
Reputation: 0
Location: Rocklin, CA
Real name: Edward Heming
Gender: Male
Contact:

Postby eudamonia » Tue Dec 04, 2007 5:06 pm

Airball,

Mad cows. Ha! That's great.

Ed
Eudaimonia (pron.: you-die-moan-e-a) (Greek: εὐδαιμονία) is a classical Greek word commonly translated as 'happiness'. The less subjective "human flourishing" is often preferred as a translation.

Ken_S
rank: 50+ posts
rank: 50+ posts
Posts: 60
Joined: Tue Jun 19, 2007 2:43 am
Reputation: 0
Location: Rivervale, NJ
Gender: Male

Postby Ken_S » Wed Dec 05, 2007 2:23 am

350 shares today for $35 within 5 seconds after the open. Canceled GS on downgrade.
Yeah....shoot the mad cows....

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

Ken_S
rank: 50+ posts
rank: 50+ posts
Posts: 60
Joined: Tue Jun 19, 2007 2:43 am
Reputation: 0
Location: Rivervale, NJ
Gender: Male

Postby Ken_S » Wed Dec 05, 2007 6:34 pm

480 shares, -$5.60
Input errors before the open cost me all my profits....plus hoping...

BP
rank: 50+ posts
rank: 50+ posts
Posts: 99
Joined: Tue Feb 06, 2007 12:58 pm
Reputation: 0
Location: Camp Hill, PA
Gender: Male

Postby BP » Wed Dec 05, 2007 7:31 pm

Thanks for posting. Good luck.

BP

Ken_S
rank: 50+ posts
rank: 50+ posts
Posts: 60
Joined: Tue Jun 19, 2007 2:43 am
Reputation: 0
Location: Rivervale, NJ
Gender: Male

Postby Ken_S » Thu Dec 06, 2007 9:05 pm

440 shares, -$353
Toasted and roasted on AAPL.
Yep the LOD was me going short.
Got caught with the difference in opening prices. There was a two cent difference in opening prices between TS and esignal. I got filled short by one cent over my threshold. Never should have let is go so far against me. I need to spread my risk over more symbols too.

BP
rank: 50+ posts
rank: 50+ posts
Posts: 99
Joined: Tue Feb 06, 2007 12:58 pm
Reputation: 0
Location: Camp Hill, PA
Gender: Male

Postby BP » Fri Dec 07, 2007 4:54 pm

which broker are you using for the signal? and which one to do your trading?

Thanks,

BP

rrobin
rank: 50+ posts
rank: 50+ posts
Posts: 112
Joined: Fri May 19, 2006 11:09 am
Reputation: 0
Location: Cedar Creek Lake, Texas
Gender: Male

Postby rrobin » Fri Dec 07, 2007 6:42 pm

Ken

Are you trying to scalp or trade the gap.

I like to scalp using the buy zone and fade as set up direction.

But I have the trigger finger on the close trade button at all times.

RIMM seams to be an easier trade when the fade runs away at open then

returns to try and fill. All of this can happen in the first minute. If it takes longer just wait.

Remember that the buy zone is based on stats, the cow should move 0.50.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “strategy trading & money management”