[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] ATR study from the library



PureBytes Links

Trading Reference Links

I looked at that system and found the results seemed too good to be 
true.  With a few of the back tested entries the buy price was set at the 
previous days low.  If only you could do that...lol.

What you can try is to comment out the section of code that calculates the 
stop values and  sets the buy/sell prices.  Just surround that section of 
code with  /*...*/.  This will cause the system to revert back to the 
defaults you have set in the AA/settings.  These settings should probably 
be set to trade on the open with a one day delay for a more realistic results.

You might want to also comment out the trailing stop as well to get some 
sort of baseline results and then look at the trades to see if they make sense.

Once you are comfortable with the simplified version you can try adding 
some of the additional features back  into the system to see how they 
affect results and see if they pass the common sense tests for buys and sells.

My impression is the system does work although it takes too many trades and 
runs out of capital because there is way more buy candidates than available 
capital.  This means it may miss some better buys later down the watch 
list.  Additional filtering of the possible buy candidates would be 
required to fix that problem.  Unfortunately that can be a lot of fairly 
complicated additional work.

Try some of these suggestions and learn from the experience if you like.

Sid


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006