PureBytes Links
Trading Reference Links
|
Thanks Rakesh and Paul... I got what I need now. Without your help I would have been going down the wrong path.
I cobbled together a routine that will export price array segments of data from Amibroker
based on the tickers in a watchlist. For what I'm doing I only wanted the last 250 bars(or selectable segments)
to see what patterns Patternz was picking up.
Best regards
JOE
----- Original Message -----
From: Paul Ho
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, October 24, 2006 9:31 AM
Subject: RE: [amibroker] Downloading data for Bulkowski
This afl will export your daily data, each symbol into a separate txt file. Just change the path to suit yourself
if(Name()=="PRN")
filename = "PR";
else
{
if(Name()=="AUX")
filename = "AU";
else
filename = Name();
}
fh = fopen( "E:\\Documents and Settings\\paul\\My Documents\\Trading\\Stuffup\\"+filename+".TXT", "w");
if( fh )
{
fputs( "Ticker,Date,Open,High,Low,Close,Volume \n", fh );
y = Year();
m = Month();
d = Day();
for( i = 0; i < BarCount; i++ )
{
fputs( Name() + "," , fh );
ds = StrFormat("%02.0f-%02.0f-%02.0f,", y[ i ], m[ i ], d[ i ] );
fputs( ds, fh );
qs = StrFormat("%.4f,%.4f,%.4f,%.4f,%.0f\n", O[ i ],H[ i ],L[ i ],C[ i ],V[ i ] );
fputs( qs, fh );
}
fclose( fh );
}
Buy = 0;
------------------------------------------------------------------------------
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Joe Landry
Sent: Tuesday, 24 October 2006 11:24 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Downloading data for Bulkowski
Hello Rakesh
That would be outstanding and a way I didn't expect or certainly think of! I get QPlus data really don't want to download from Yahoo if I don't have to.
Please post it or send it directly if you please.
Have you worked with PatternZ? Engineered the patterns in AFL?
Thanks for the prompt response
Joe
----- Original Message -----
From: Rakesh Sahgal
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, October 24, 2006 8:13 AM
Subject: Re: [amibroker] Downloading data for Bulkowski
Not AQ but if you want I can post the AFL that dumps your database from AB for use with PatternZ. As to the date format there is some flexibility WRT built into the program. You can acess the date format options via the "File Format" options. File Format--->Date Format.
R
On 10/24/06, Joe Landry <jelandry@xxxxxxxxxxxxx> wrote:
I'm working with the Bulkowski patterns and resorted to downloading stocks from Yahoo using MLDownloader yesterday.
http://www.trading-tools.com/ to run through PatternZ, the Bulkowski pattern recognition routine,
AND
I'm asking whether anyone has been able to use Amiquote to do the same. PatternZ accepts a straight forward format CSV
ASCII except it likes(could be it's flexible??) 4 digits for the year, YYYY in the date field.
My work is at a very low level, comparing his top patterns(1-4) with what I see and can discern in AB. Sort of reverse engineering
since I'm not sure what his parameters are for example a rectangle...sometimes it 30 bars and other times it's 15 for the length of
the rectangle.
Thanks in advance
Joe
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
|