Search the web
Sign In
New User? Sign Up
amibroker · AmiBroker User's List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Short system advice?   Topic List   < Prev Topic  |  Next Topic >
Reply | Forward  | 
RE: [amibroker] Short system advice?

System design should follow some logic: evaluate your "signal strength" first. 
 
Please know I work in the Min or smaller timeframe my experience is limited and very one-sided. I do things "my way" and try to ignore tradition. The only things I have learned from "other systems" are coding techniques. You won't find the perfect system or the HG anywhere. Sorry to burst your bubble :-) In trading you have to do your own work or work in a group. Whichever way, to attain above average results takes hard and innovative work. The following is jmo.
 
Since you may end up testing hundreds or even thousands (yes!) of ideas you need to be efficient. Getting drawn into advanced system concepts, fancy stops, money management and creating fancy charts before you have a validated the basic signals is a waste of time.
 
By fiddling with all the above you increase the chance of 1) curve fitting and 2) drawing profits from what are essentially Random signals. It is actually possible to take random signals and add so many "shock-breakers" to it that it becomes profitable (Tharp?). This, to me, is a totally "non-fun" way of developing systems, all you are doing is increasing your statistical odds to draw a little money out of the market. 
 
The Popularization and Commercial Exploitation of TA encourages this approach. Looking at fancy and colorful chart gives us ( I've been there! ) a feeling of accomplishing something important. But are we really?  Just go to your local bookstore and browse through some books or browse the web for TA software and you'll see what i mean. Tons of stuff out there that looks impressive but won't make you any money.
 
Try to focus on what is important. The backtests I perform to validate price patterns are: 
  • Exit at the Entry bar's Close (one-bar trade) or at the Next Bar's Close (two bar trade).  
  • If the system makes money I start testing intrabar exits during those two exit bars.
  • Test 1-10 minute time frames.
  • If the system looks profitable I add some code and run a Short test.
  • Run it over a watchlist, how many stocks are profitable characterizes the system as selective or common
  • Any kind of fancy stuff, like stops and MM "masks" the true signal performance, make it a very last step.
I have developed some standard code modules and placed them in my indicator space so that i can drag them onto my code under test and to plot trade prices, signals and equity. With this setup you can test hundreds of ideas a day.
 
Always look at the equity curve and try to get as many trades as possible - thousands if possible. Numerical Stats don't mean a lot since they can be distorted by a single big loss or profit. If this happens and the equity curve is good otherwise you can study the single event and add code to exploit, or protect against,  it.
 
Best regards,
herman
 
 
 
 
 
 
-----Original Message-----
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]On Behalf Of kris45mar
Sent: Saturday, March 11, 2006 9:49 PM
To: amibroker@yahoogroups.com
Subject: RE: [amibroker] Short system advice?

Herman

Your replies and experience are appreciated.

So one could look at placing a time stop into the system, rather than leaving this to discretion. Previously you said: "the significance of a signal fades quickly" : interesting thought: in designing a system then I would need to work out my preferred time frame, expected duration of the effect of the signal and then factor in an appropriate time stop.

It is valuable to see "why" and "how" others' trading systems are designed, philosophically: to see what is capable of being done, and then seeing if there are parts of others systems or ideas that converge with one's own ideas. Better than starting the whole learning curve from scratch and so that is why appreciate your input and that of others in this forum.

Long way to go still.

Regards

ChrisB
Herman van den Bergen <psytek@...> wrote:
I simply try to trade price patterns based on a handfull of minute bars... I expect profitable conditions to exist early in the trade, not near the end. If a trade doesn't behave as expected soon i feel like gambling, or trying to get lucky, and I rather get out and wait for another opportunity.
 
While this may sound easy it isn't and a lot of work goes into peripheral code to trade patterns automatically.
 
best regards,
herman
 
 
-----Original Message-----
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]On Behalf Of kris45mar
Sent: Saturday, March 11, 2006 10:41 AM
To: amibroker@yahoogroups.com
Subject: RE: [amibroker] Short system advice?

Herman,

thanks for the reply.

Presumably one would have a high win ratio (% of winners) with these short term systems, and smaller pay off ratios?

When exits are based on price action or price targets alone, and they do not reach the profit target, would you use a time based stop?

If not then one could assume we could use oscillators that will continue to oscillate and return a sell signal, even if price does not reach the target?

Or indicators that have a time based decay such as parabolic SAR?

ChrisB

Herman van den Bergen <psytek@...> wrote:
Hi Chris,
 
Yes i like to develop short term systems: the shorter the better, usually 1-10 minute trades. imo, The significance of a signal fades quickly.  And yes, I meant ApplyStop() type stops where you set the position to close at a given % trade DD. Invariably maxloss stops make me "lock in Losses" and the price goes my way after I close the position. I don't use complicated stops and perhaps that is the problem. I find it better to develop system without and kind of profit/loss stops, just the basic system working on signals only. Almost always after i have that working adding profit stops will increase profits and adding Max Loss stops decrease profits.
 
best regards,
herman
 
 
-----Original Message-----
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]On Behalf Of kris45mar
Sent: Saturday, March 11, 2006 7:29 AM
To: amibroker@yahoogroups.com
Subject: RE: [amibroker] Short system advice?

Herman

Could I trouble you to expand on that briefly?:

by "max stop loss" I presume you mean an initial capital protection as per
Applystop(stoptypeloss,...,......) or similar.

or do you mean trailing stops as in
Applystop(stoptypetrailing,..., ..., ... ?

I appreciate your systems may be shorter term, rather than longer.

Only ask because this w/e I have been reviewing all my trades since Jan 2004 (ASX markets, stocks, long only, trend following) and found that it is my trailing stops (whatever volatility parameter), that curtailed my results, (together with emotions etc but that is another story). I might look at locking in the stop at breakeven, then only trailing when there is a pattern/retracement/consolidation above each successive R-multiple profit level, starting at 3R. This would have served me far better in the trending market we have experienced over the last few years.

I am beginning to think that for shorter term systems, initial Capital protection stops may prematurely halt the cyclical nature of whatever is causing the system to work, but need to get to grips with more coding and backtesting skills to confim this.

Your comments would be most appreciated.

ChrisB



Herman van den Bergen <psytek@...> wrote:
stocks have "character" some work Long and some work short and some work both ways. Same wrt rhythmic and other characteristics...imho there is no reason why we should assume any characteristic to be permanent or common to a large population.
 
When designing a system I try to find similar performance for Long and Short, this gives me more confidence that I won't go broke in a strong trend. Systems that only work Long or Short make me nervous as I worry that they will stop working abruptly. Sometimes, most of the time I should say...  it is necessary to adjust parameters individually for long and short. I try to develop systems that give me thousands of trades (minute time frame) and produce a nice smooth surfaces on the 3D charts. I never trust systems that give me more than one significant hotspot.
 
wrt indicator, I don't use any. I trade only very short term patterns - I am a skeptic on the use of traditional indicators. Never got any to work well - probably because I don't have the patience (or nerve) to sit through long trades and through major DDs.
 
tips? don't use any max loss stops, imho they kill systems. Use profit stops instead. Design both Entries and exits individually, only rarely will an entry rule give same performance as an exit rule. The exception to this may be high speed automated reversal trading systems (50-100 trades a day) that are in the market full time
 
jmo... from a developer's viewpoint, I enjoy development more than trading :-)
 
herman 
-----Original Message-----
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]On Behalf Of Brian
Sent: Thursday, March 09, 2006 2:12 PM
To: amibroker@yahoogroups.com
Subject: [amibroker] Short system advice?

I have some nice, well-tested long systems in place. I was surprised
when testing my discretionary systems, to find that none of my short
signals performed nearly as well as the long signals, in the
optimization/backtest/monte carlo simulations.

Is this common?

In addition, I am looking for some ideas around what indicators to use
as the foundation for building an adequate short system. Any ideas? I
did some searches on previous messages here, and did not find anything
of value. General rules of thumb, and bits of experiential wisdom, are
also welcome -- as they apply to short systems.

Thanks in advance,

Brian





Yahoo! Mail
Use Photomail to share photos without annoying attachments.

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS






Yahoo! Mail
Use Photomail to share photos without annoying attachments.

YAHOO! GROUPS LINKS






Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.


Sun Mar 12, 2006 12:35 pm

psytek2
Offline Offline
Send Email Send Email

Forward
 | 
Expand Messages Author Sort by Date

Herman Your replies and experience are appreciated. So one could look at placing a time stop into the system, rather than leaving this to discretion....
kris45mar
Offline Send Email
Mar 12, 2006
2:48 am

System design should follow some logic: evaluate your "signal strength" first. Please know I work in the Min or smaller timeframe my experience is limited and...
Herman van den Bergen
psytek2
Offline Send Email
Mar 12, 2006
12:35 pm

Herman All interesting points and I will work through them one at a time. One other thought. When running some backtests I add a Moving Average to my Equity...
kris45mar
Offline Send Email
Mar 13, 2006
2:35 pm

The idea you refer to would be covered in past posts on this list, or you can Google: TASC has some pubs on it, with the subject "Equity Feedback" or "Trading...
Herman van den Bergen
psytek2
Offline Send Email
Mar 13, 2006
2:43 pm

... or you ... Feedback" or ... me but i ... curve has ... built-in lag ... You guys may want to check out breakoutfutures.com. The guy who runs this website...
eminimethods_com
eminimethods...
Offline Send Email
Mar 14, 2006
11:10 am

Thanks Herman Will look into these. Regards ChrisB Herman van den Bergen <psytek@...> wrote: The idea you refer to would be covered in past...
kris45mar
Offline Send Email
Mar 14, 2006
3:40 pm

Hi kris45mar, Monday, March 13, 2006, 11:35:06 PM, you wrote: k> b. When the Equity is above the MA, then take the signals. k> c. when the equity curve...
Yuki Taga
yukitaga
Offline Send Email
Mar 13, 2006
11:00 pm

Phew, Yuki. Honoured to humbled to receive your lengthy reply. Please be warned: this inspirational, supportive ( and midly cajoling ) reply ( thank you! )...
kris45mar
Offline Send Email
Mar 14, 2006
3:39 pm

Hi kris45mar, Wednesday, March 15, 2006, 12:39:07 AM, you wrote: k> I have 25% DD with 4 wins out of the last 30 discretionary trades. I was a discretionary...
Yuki Taga
yukitaga
Offline Send Email
Mar 14, 2006
11:03 pm

Yuki Indeed fading my own trades would be the quickest solution!. Time to put more work into system developement and exploring my limitations with AB and AFL....
kris45mar
Offline Send Email
Mar 16, 2006
2:34 pm

ChrisB, I just completed another "system" that's comprised of about 15 different proprietary indicators, all of them optimized for both EOD and Weekly...
Brian
penny_demon
Offline Send Email
Mar 15, 2006
2:07 am

Brian Good feedback, thanks. Yes "feeler trades" is basically where I am at at the moment. Keep probing the market, if good, add more, if bad, too bad. A...
kris45mar
Offline Send Email
Mar 15, 2006
4:41 am

So far it looks like I will be weighting signals based on 1) how consistently leading the indicator is, and 2) various ratios used to identify profitability...
Brian
penny_demon
Offline Send Email
Mar 15, 2006
5:45 am

Brian You've lost me, I'm afraid. This is clearly way ahead of where I would hope to be with AFL and system design, even some time from now, but the ideas...
kris45mar
Offline Send Email
Mar 16, 2006
2:40 pm

ChrisB, No problemo. Do what you can and get back to me later. Basically, I am talking about building an include (modular code) that weights buy/sell signals...
Brian
penny_demon
Offline Send Email
Mar 16, 2006
2:53 pm

I wrote something like this awhile back ( SFO ) i.e. a Signal File Optimizer which will allow combining of signals that with IO could be optimized for signal...
Fred
fctonetti
Offline Send Email
Mar 16, 2006
3:59 pm

Herman, I'm curious -- have you found that most trades (all products, all exchanges) should be dumped within a certain % profit zone? Does this zone change...
Brian
penny_demon
Offline Send Email
Mar 11, 2006
4:49 pm

If you get a "signal" then this is based on the translation of some logical assumption into a formula. If the trade doesn't do what the pattern normally ...
Herman van den Bergen
psytek2
Offline Send Email
Mar 11, 2006
5:26 pm

Hi All, Would someone kindly reply and tell the feasibility and means, of referencing the Chart Window Pane SIZE (height), in Dollars & Cents for use in an...
Hal or Ruth Brehe
halbree
Offline Send Email
Mar 12, 2006
2:45 am

Given that over a long period of time that markets are up about twice as frequently as they are down, I don't find this to be real surprising. Keep in mind...
Fred
fctonetti
Offline Send Email
Mar 9, 2006
7:52 pm

Fred. I would think you could optimize a discretionary system the same way you'd optimize any other system. Determine the parameters that you are using to...
cstrader
cstrader232
Offline Send Email
Mar 9, 2006
8:20 pm

Fred, Having developed systems from scratch, and also testing my discretionary systems to see what works under pressure, I can tell you I used the same process...
Brian
penny_demon
Offline Send Email
Mar 9, 2006
9:16 pm

to go from long to short just halve the long system periods, and invert from using highs to lows, would be a good place to start -- Cheers Graham AB-Write ><...
Graham
kavemanperth
Offline Send Email
Mar 9, 2006
10:50 pm

Hi Brian, Friday, March 10, 2006, 4:11:48 AM, you wrote: B> I have some nice, well-tested long systems in place. I was surprised B> when testing my...
Yuki Taga
yukitaga
Offline Send Email
Mar 9, 2006
10:53 pm

I have to agree with Yuki, at least in regards to stock trading. There is such an overwhelming bullish bias to the stock market that you're nearly always...
sebastiandanconia
sebastiandan...
Offline Send Email
Mar 9, 2006
11:46 pm

I have a couple of systems that work very well with giving buy and sell/short signals (although I need to alter some parameters slightly depending on if I am...
dimension@...
virtuouz_pagan
Offline Send Email
Mar 10, 2006
12:48 am

Thanks for all the great advice, everyone -- much appreciated ;-) Something in return, since this last post touches on it... sector correlations... ProFunds...
Brian
penny_demon
Offline Send Email
Mar 10, 2006
6:48 am

Bullish market price pattern has made it tougher for shorts historically. Look at NDX from 1986 and 2005: FLIP A COIN: Of a total 5047 days (of 5 no-change...
sursod
Offline Send Email
Mar 10, 2006
12:05 pm

"Historic price pattern confirms why fading the bear (buy low) is tougher than fading the bull (sell high)." Sorry about the typo, I meant fading the bear (buy...
sursod
Offline Send Email
Mar 10, 2006
12:44 pm

Brian Did you see the dates for the correlation matrix? Data is from Jan 1,1987 to Sept 30,2001. Perhaps this was done some years ago and hasn't been...
David Fitch
dave9542
Offline Send Email
Mar 10, 2006
4:40 pm
 First  |  |  Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help