[amibroker] Re: a bug in portfolio tester?

2009-06-04 Thread stevensg2009
Tomasz, I took a look of my code really hard, and found the possible reason. My code set backtester mode to backtestRegularRaw. For this mode, if there are multiple buy before sell, the example code for scale in and out below seems not to work. I think the code cannot determine the priceatbuy

Re: [amibroker] Re: Do all trading systems stop working? - Howard Bandy's book

2009-06-04 Thread malcolm Crouch
Its a funny Conversation this . If All systems will eventually fail then The underlying theory must be wrong so therefore dow theory , elliot wave theory , fundamental economic thoery ect must all be wrong ... except these are the underpinning of most practitioners. which leads us to say

[amibroker] Re: Do all trading systems stop working? - Howard Bandy's book

2009-06-04 Thread sidhartha70
Malcolm, Spot on. I agree 100%. --- In amibroker@yahoogroups.com, malcolm Crouch malcolm.crouc...@... wrote: Its a funny Conversation this . If All systems will eventually fail then The underlying theory must be wrong so therefore dow theory , elliot wave theory , fundamental

[amibroker] Re: automation : asked already in AT forum - but maybe someone here knows an ans

2009-06-04 Thread dubi1974
They do... but this would not be a nice and reliable solution... As the exported trade history is delayed ... if the two indicators would produce signals at the same time, I could not find out which was filled ... does someone else have a solution or ever thought about that problem? --- In

Re: [amibroker] Re: AFL formula question

2009-06-04 Thread Thomas Ludwig
On 03.06.2009, 22:11:06 Keith McCombs wrote: You probably meant RSI(14) Ref(RSI(14),1) Better yet: RSI(14) Ref(RSI(14),-1) ;-) IMPORTANT PLEASE READ This group is for the discussion between users only. This is *NOT* technical support

[amibroker] How to graph ... Ticker Information Financials 1Yr Target price

2009-06-04 Thread gmorlosky
I see under the Information window in Amibroker for each ticker, there is a sub category Financials, which has a listing of 1yr Target Price.(fundamental basic data from Yahoo - downloaded via AmiQuote) How do I access this piece of data that I might create an indicator to overlay on the price

[amibroker] Re: How to graph ... Ticker Information Financials 1Yr Target price

2009-06-04 Thread gmorlosky
Look in http://www.amibroker.com/guide/h_fundamental.html --- In amibroker@yahoogroups.com, gmorlosky gmorlo...@... wrote: I see under the Information window in Amibroker for each ticker, there is a sub category Financials, which has a listing of 1yr Target Price.(fundamental basic data

[amibroker] How to use ODBC for data other than OHLC

2009-06-04 Thread dmcleod1981
Is it possible to use other data from a database that is not open high low close data? I wanted to try and plot in AB some historical fundamental information but have not been able to figure out based on the samples given. Is this possible and does anyone have an example they would be willing

[amibroker] How to stop fundamental download from overwriting Fullname ???

2009-06-04 Thread gmorlosky
I notice that when I download Fundamental data (Yahoo), the fullname is overwritten. The problem is that the full name for the mutual funds from Yahoo starts with the company and is usually 40 charaters long and so there is no value left in the field to understand which fund it is, as it is

[amibroker] Re: WorstRankHeld Help

2009-06-04 Thread bistrader
Hoping to do without backtester. Will read Help and see if I can do this. I have Howard Brandy's book, Into to AmiBroker, and will see if something is in there as well. Thanks Bruce. --- In amibroker@yahoogroups.com, bruce1r bru...@... wrote: Bert - I think that it isn't trivial, but is

[amibroker] Re: WorstRankHeld Help

2009-06-04 Thread bistrader
Thanks and I am still trying. I am hoping that someone else has done something like this, that can post here. --- In amibroker@yahoogroups.com, Ron Rowland rowl...@... wrote: I don't think it can be done (short of writing special code inside the Custom Backtester). Every time I try to

[amibroker] Re: Walk Forward Testing - Varies by Computer?

2009-06-04 Thread toddk63
I just debugged a similar problem. Same system, same database, different answer. Turned out to be the Limit Trade Size option on the Settings dialog box. Default is 10, I need to set it to 0. I wish there were a function like SetOption(LimitTradeSize), but there is not... --- In

[amibroker] Re: How to stop fundamental download from overwriting Fullname ???

2009-06-04 Thread Ed Hoopes
This is a work-around that I use. After loading the fundamental data, I run the following script to put the names back to what I like. If you haven't done these scripts: 1. Edit/Save the file as clear text using NotePad or whatever. 2. Go to FILE - IMPORT ASCII in AB 3. Navigate to the file

[amibroker] Newbie Array / Looping Question

2009-06-04 Thread ics4mer
Hi all, I'm after a general form for doing a particular type of algorithm in AFL - and I'm happy to admit that I might be going about it the totally wrong way... I am attempting to extract an evolving profile of a stock over time. Using median as an example, lets say I want calculate the

[amibroker] Re: How to stop fundamental download from overwriting Fullname ???

2009-06-04 Thread sumangalam
Hello ED, Is it right/possible to put Import Format as well as IMPORT Data in one file? I thought Format has to be in a separate file than the data to be imported. I think while importing you select Format separately than the file. Can you please tell how you manage, when you have both in one

[amibroker] Re: Do all trading systems stop working? - Howard Bandy's book

2009-06-04 Thread brian_z111
Re grey areas in our trading knowledge: When someone is 'teaching', especially if it is a formal presentation (a book or seminar) we tend to mark their ideas, moreso than them, quite harshly, and rightly so. When I 'see' that their ideas don't addup or aren't consistent, in a certain area, I

Re: [amibroker] Re: File copying between Win2000 and XP-64 bit.

2009-06-04 Thread Keith McCombs
Mike -- Thanks for your response. However, it is more complicated than just copying the files to the correct directory. Directory paths are embedded in two binary files, broker.newcharts and broker.prefs. I've sent a request to support and am waiting for an response from them. Two* bad M$

[amibroker] Re: Newbie Array / Looping Question

2009-06-04 Thread brian_z111
Median(array, periods) I assume you are measuring, say ROC(C,1) or similar for % price change. I guess you just need to get a progressive count, of the number of ROC datapoints, to make the function work. Things to look out for (if the AB function is going to work for you): - every element in

Re: [amibroker] Re: File copying between Win2000 and XP-64 bit.

2009-06-04 Thread Keith McCombs
Paolo -- It is very simple if you set up your AB that way in the beginning. However, I have a lot of work invested in setting up my charts and do not want to repeat it. The coupling of charts to .afl code, along with the full path of where the .afl code is, appears to be stored in a binary

[amibroker] Re: Newbie Array / Looping Question

2009-06-04 Thread brian_z111
I am not sure about this one now ... I think we need some help from the code/maths experts. Median() doesn't appear to accept an array as input (the manual doesn't say one way or another?) ... it might be demanding a constant (that wouldn't surprize me since mean/mode/median are moments of a

[amibroker] Including externale AB file.

2009-06-04 Thread Dimension
Hi, is it possible to link reusable AFL code that are stored in a file of there own, into other AFL scripts?

[amibroker] Re: Including externale AB file.

2009-06-04 Thread brian_z111
# include Put it at the head of your AFL script. Does that help? --- In amibroker@yahoogroups.com, Dimension dimensi...@... wrote: Hi, is it possible to link reusable AFL code that are stored in a file of there own, into other AFL scripts?

[amibroker] Re: Including externale AB file.

2009-06-04 Thread Mike
See #include_once http://www.amibroker.com/guide/afl/afl_view.php?name=%23include_once Mike --- In amibroker@yahoogroups.com, Dimension dimensi...@... wrote: Hi, is it possible to link reusable AFL code that are stored in a file of there own, into other AFL scripts?