Stock Hideout

Go Back   Stock Hideout > Investing Online > Forex, Futures, and Commodities
Register Stock Contest FAQ Members List Stock News Calendar Search Today's Posts Mark Forums Read

Forex, Futures, and Commodities Welcome to the Largest Financial exchange in the World. Learn the ropes with discipline, and the unlimited wealth that is traded could be in your hands.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old Sat, 10-21-2006, 07:01 PM   #1 (permalink)
permanentjaun
Member
 
Join Date: Dec 2005
Posts: 87
permanentjaun
Automated Trading Theory Discussion

Hello all,

Here's the next of my open discussion threads. This time it is about automated trading systems. I'll start off by saying I do believe automated trading systems can work, but with help. In time I think I will be able to hand out business cards that title me as a Foreign Exchange Currency Automated Trading Systems Manager. Sounds nice right? So my belief is that automated trading systems can work, but will need to be monitored and tweaked to maintain efficiency and reliability.

This thread is to discuss why most automated systems fail however. It's to discuss their limitations and their abilities. Let me begin the discussion.

A computer can not make discretionary decisions. In my opinion this should rule out many indicators that need much discretion in making a decision based on them. Essentially, eliminate any indicators that do not follow price discreetly. RSI, CCI, MACD, stochastics, fibs, bollinger bands, nearly all indicators should be thrown out. Why do I say to eliminate just about every indicator out there? They don't follow price. They can form divergences. They can reach levels where their mathematical formulas are maxed out, such as in RSI, and can give neutral signals of being overbought and oversold. I believe it is asking too much of a computer to decide what to do in these situations.

Can a computer effectively recognize divergences? Chart patterns? It would add more to the confusion of the system when you must tell a computer by how much an indicator must have diverged before entering a trade. At what point does the divergence become effective in predicting a future market movement? If MACD diverges down for 2 periods is that a long enough divergence to base a decision? 5 periods? Perhaps only when it has diverged for 10 periods. There are many situations that must be accounted for. This is setting up for more possibilities for the system to fail.

Many times we look at several indicators and decide to throw out one of them since another indicator is giving more reliable signals. Can a computer decide which of these indicators to use? I will assume that to program a computer to do so would be too much of a project to profficiently carry out a trading system. There would be too many "what if" situations where you're only setting up the system to fail.

I will go so far as to say support/resistance levels should be thrown out of the equation. Get rid of fibs and other similar tools. There are plenty of times that prices explode through support/resistance levels easily. Even if resistance/support is confirmed as movement is stalled, the trend can continue through said levels. To program a computer to try and recognize support/resistance levels is just creating another "what if" situation for it to fail at. Can you correctly tell me why sometimes support/resistance levels are held while other times they mean nothing? If you can't do so with 100% accuracy, how can you tell that to a computer which has no thought process?

Thus, I believe that the way to program a trading system is to keep it simple. The system needs something that follows price solely since that is what we are concerned with predicting. We need something a computer can make decisions off of such that the indicator does not get maxed out, follows price, doesn't diverge, and is indiscretionary.

My conclusion is to use moving averages. They are based directly off of price, can not get maxed out, do not diverge, and computers can easily make decisions off of them.

Many will say that this is too simple to base a trading strategy off of. In fact, it can be as complicated as you want, for yourself. Do you create MA's off of the open, high, low, or close? Are they weighted, simple, exponential, triangular, etc.? Do you create it off of price closing above/below a MA or when another MA crosses? What period do you set the MA for? What time frame? I think those options right there are enough for you to think about. The point is that you create the system such that all the decisions were made by you. The computer can easily tell you when a cross or price movement will have triggered the trade. It doesn't need to recognize chart patterns, divergences, etc.. It simply needs to monitor price. The difficulty in deciding has been done by you.
permanentjaun is offline   Reply With Quote
Sponsored Links
Old Sat, 10-21-2006, 07:02 PM   #2 (permalink)
permanentjaun
Member
 
Join Date: Dec 2005
Posts: 87
permanentjaun
Now on to my thoughts on setting up the system.

We want a system that works well in any market, ranging and trending. To this I reply, a market is never ranging and a market is never trending. It is simply moving. I say this because what chart are you looking at to say a currency is ranging or trending? It has been shown that price movement slows down during times when major markets are closed and then explodes in movement when they open. Looking at a 10 minute chart would show many periods of inactivity or tight movement which could be categorized as ranging. Take a step back to a 2 hour chart or even a daily chart. Does the chart still show a ranging market? Conversely, look at a 1 or 2 hour chart. Does the currency look like it's trending? If so, take a step back to a weekly or monthly chart. GBP/USD has been trading in between 1.4000 and 2.000 since 1986. I argue that prices are just moving up or down. That is all we should be concerned with.

Many times I hear to exit a trade when the chart tells you to. This means don't set profit limits. If you exit with 10 pips be happy and don't force a trade to make 100. If a chart shows 100 pips then don't cut yourself short with 10 pips.

I'm an economist so a lot of how I think comes down to efficiency. To make it clear I'll describe extremes. You don't want to trade a daily chart with a 100 MA cross because it may be too slow. You don't want to trade a 1 minute chart with a 5 MA because it is too fast. Both situations present inefficient situations. In the first you're missing many opportunities to maximize profits and in the latter you're presented with too many signals which don't allow you to ride a price movement.

So my thoughts are that a chart needs to be used such that periods of inactivity are eliminated. If a price is "ranging" then its a large enough range that MA's can effectively keep up with price to play it just as equally as if it were "trending." This can be accomplished on many charts. We could use a 4 hour chart with a fast MA such as a weighted 5 MA. Would this give us too many whipsaws? We could also use a 30 minute with a 50 MA. Would this be too slow? That is where I believe the success of the system lies.

Find a MA that is overall quick enough to give a signal early, but not slow enough that the price movement is missed. It's not just the MA either. For the chart, is a 2 hour too slow such that each new candle allows too much movement so that when the next candle forms and you enter a position the run is already over? I'll present the converse of a 30 minute chart being too quick to enter a position.
permanentjaun is offline   Reply With Quote
Old Sat, 10-21-2006, 07:02 PM   #3 (permalink)
permanentjaun
Member
 
Join Date: Dec 2005
Posts: 87
permanentjaun
Lastly, I'll discuss limits. In my previous post I discussed how we should not cut our winners short. How would the system handle whipsaws or drastic movement against us to protect ourselves from profit loss?

One option I present is that the system is ALWAYS in the market. We want the chart that doesn't trade flat and is always going up or down. So if there is a cross to enter short we assume it will go down and when it crosses long we expect the market to continue going up. I assume this because why do we exit positions? We do so because we expect our profits to be maximized and further market movement is not strong. When we exit a long position its because we expect the market to reverse and head down. Would you not enter a short position if you trade a chart such that there is no sideways movement and only up or down? It doesn't make sense.

The system is based that we enter a long only in the belief that the market is going to go down.

So profits are protected by closing a position for only a few pips loss or even because of a whipsaw, and entering a new oppositie position. So if you entered long, protecting profits would involve a new position short. This allows us to maintain a position in the overall movement to make such losses insignificant.

What if the MA is too slow then? First off, we should be managing the system to eliminate this problem in the first place. Secondly, well I'm not so sure about secondly. I don't have a definitive answer to this problem. Certain ideas running through my head right now include exiting positions before the MA cross if price retraces 50% from the position entered in a certain amount of time. I'm taking suggestions on this part as well. Although, again, a lot of this problem can be minimized by finding the most efficient chart time and MA settings to make profits most efficient. It's sort of a 2 steps forward, one step back approach. We want to position ourselves to ride the 100 pip movement while taking small losses of 5-10 pips to guarantee ourselves a front row seat on the big ride.

Strategies could also include entering 2 lots. One that is exited with a profit of only a few pips to guarantee some pips. The other could be exited when the MA crosses or for an even close on the position. This would be difficult because of the typical problems associated with being "stopped out." Price can swing large enough to exit a trade, but not warrant the movement to reverse.

I'll conclude by summing up the problems of the system.

1. There is no clear profit protecting strategy. What happens when price reverses before the MA's can clearly tell us that? How do we protect ourselves?

2. Somewhat the same problem is telling the computer when to enter a trade. The computer would likely need a candle to complete and confirm the cross before entering the trade. Unfortunately what happens if we're looking at a 2 hour chart and the movement happens in that two hours then stops? We would have entered at the peak of the run and are vulnerable to a drop in price.

I believe the solutions are to finding the efficient chart intervals, and type of MA or MA's used. It needs US. We need to tell it what to do, not what it tells itself to do. Automated systems will need us.

Ok. Those are my thoughts. What do you all think? Thanks in advance. Matt
permanentjaun is offline   Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Add RSS   Add RSS2   Add to Google   Add to My Yahoo   My MSN RSS
All times are GMT -5. The time now is 03:01 AM.


vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5 © 2006, Crawlability, Inc.
Copyright © 2005, StockHideout.com, info@stockhideout.com
Clicky Web Analytics Clicky

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287