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

[amibroker] Re: converting amibroker quotes into ascii format



PureBytes Links

Trading Reference Links

Dear UM,
What are you talking about ?
You are a programmer and you create a little monster to export data 
into a *.txt or a *.csv file.
You should read first the users's guide, see what is readily 
available and then contribute with your programming knowledge and 
experience to solve what is NOT AVAILABLE for the present time for 
the benefit of amibroker users.
You simply sacrifice the ultimate simplicity principle, in order to 
answer ANY question through your sophisticated tool.
As for my codes, I did not see ANY question from you.
Many users asked a lot of things and they have had a prompt reply, no 
matter if it was EXACTLY what they asked or it was a simple and 
honest "I don't know".
If you don't understand my codes then you don't study AFL, because 
ANYTHING I HAVE POSTED is nothing but AFL.
Sometimes my codes were not the shortest possible. The most creative 
in this open forum is the  criticism : Tomasz, Peter, Herman, Ken, 
Bill (the Wavemechanic) to name a few criticised my methods/codes. 
The result was always creative for the benefit of the average user. 
We changed a lot of messages and, finally, we found the best way to 
Rome, far from personal opinions. These dialogues often gave an 
opportunity for new AFL requirements, which, thanks to Tomasz 
sensitive ears, are now available to the average user at a VERY 
REASONABLE COST.
As for this "...aimed mainly for programmers only...", can you PLEASE 
be more specific ? Are you a programmer, do you have any studies or 
titles or MSc or even PhD and what school provided such a certificate 
to a person who writes 40 lines in order to EXPORT data to a 
*csv/*txt file?[Do not hesitate, please, to give schools, names, 
dates, e-mail addresses of your tutors, WE ARE IN THE SAME MARKET, WE 
KNOW EACH OTHER FOR YEARS and I would like to communicate to your 
teachers right now, they know Dimitris, they send a lot of mails to 
Dimitris for general OR detailed questions, and have a nice talk 
about the present and the future of the various programmers they gave 
a PASS sometime ago, let us speak the language of the market, at 
least once, dear !!!]
Your teachers should give you the No 1 scientific postulate : Accept 
the criticism, whereever it comes, good will or not and try TO PROOVE 
your position.
As for your "you even don't have tried yet", of course I haven't and 
I will not try an unknown proprietary code to solve what 
the "creator" thinks as unsolved [you are very far, my friend, to 
judge what is unsolved or not for a very simple reason : You don't 
even know AFL, one of the most powerful T/A languages I am so lucky 
to meet]. 
It would be the most miserable moment of my life if I believe that 
the only solution to all these AFL unsolved questions is your 
experimental ABtool. 
I am glad to follow the evolution of amibroker the last 2 years, I 
think Tomasz is probably the best person to meet, he is always here, 
there, everywhere, day and night, 24h on line and I am more than sure 
he will give us, for many years, a great part of his genious spirit.
I will be happy, 10 years later, to say : I was there, feeling this 
fresh air of ideas [the only comparison is before jumping with the 
parachute, if you ever have this marvellous experience] and I added 
my contribution to this great event.
Since many readers are interested for your work, you should be more 
serious and, at least, accept that you reinvent the already existing 
wheel.
BTW, I would be more than glad to answer ANY of your questions for my 
AFL examples and, much more, I would accept your creative criticism 
for any improvements/shorter expressions/better syntax or more 
profitable trading ideas, if the programmers are also care for 
trading their masterpieces.
Let's do a better start, I don't like this style of communication and 
I will not continue it.
If it is OK for you, I may put my signature that you are the best, 
your ABtool is unique, what would we do without you etc. Just prepare 
the papers...
Dimitris Tsokakis

--- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> Hi Dimitris,
> as you might know there are many roads to rome :-)
> 
> BTW speaking of simplicity. I myself must admit
> that over 95% of your code presented has been very 
> hard to understand for me. No comments, no indendation etc.
> 
> And: I would like to remind you that ABtool is still in the beta 
phase.
> I'm sure that there are many other problems which can be
> solved only by the use of ABtool (or another such tool).
> It is of course your own choice and freedom not to use ABtool,
> and I doubt you would understand its power, because it
> is at the moment aimed mainly for programmers only, as
> was also written some msgs before (see my reply to IVA GmbH).
> 
> > Is this the tool you want to certify, as I read somewhere else ?
> > Will you also certify this kind of "logic" to solve a problem 
like 
> > exporting data in ASCII format ?
> > If positive, I have lost the measure of common understanding.
> 
> Dimitris, I don't think you have the right to critize something 
> you even don't have tried yet. Are you criticizing the code/method
> posted below or the ABtool plugin? As said: don't use it and be 
happy.
> 
> UM
> 
> 
> ----- Original Message ----- 
> From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, May 17, 2003 8:48 AM
> Subject: [amibroker] Re: converting amibroker quotes into ascii 
format
> 
> 
> > UM,
> > Do you really consider this "simple" way to export data in ASCII 
> > format ?
> > In other words, an average amibroker user needs to
> > a. use a 3rd party plugin
> > b. use a while loop
> > c. move his tickers to a WL
> > d. save somewhere this code you suggest
> > e. read all tickers as "foreign"
> > and all this stuff in order to have an ASCII csv file without 
dates ?
> > [Perhaps he will need another code to insert dates and if, like 
> > myself, he does not understand your magnificent code ask for help 
> > again and again...]
> > There is no reason to rediscover America, Colombus & co did the 
job 
> > many years ago.
> > On the other side, amibroker would be quite miserable if it could 
not 
> > export data before while looping+ABtool+so complicated coding. 
And it 
> > isnt, as far as I know.
> > Is this the tool you want to certify, as I read somewhere else ?
> > Will you also certify this kind of "logic" to solve a problem 
like 
> > exporting data in ASCII format ?
> > If positive, I have lost the measure of common understanding.
> > Dimitris Tsokakis
> > PS Impressionism was not always the best trend in arts evolution, 
IMHO
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > > The following is for exporting the last quotes
> > > of all tickers in a watchlist using the ABtool plugin.
> > > UM
> > > 
> > > /* export the last quote of all tickers
> > >    in a watchlist using ABtool plugin
> > > 
> > >    Run in AA Explore by first setting 
> > >      AppyTo=current stock, 
> > >      Range=n last quotes, 
> > >      and n=1
> > > */
> > > Filter = 1;
> > > AddColumn(C, "dummy");
> > > 
> > > WL = 60;  // set your watchlist# here
> > > 
> > > filename = "LastQuotes.csv";
> > > fh = xxFileOpen(filename, "wt");
> > > ticker = xxWLtickerFirst(WL);
> > > while (ticker != "")
> > >   {
> > >     tO = foreign(ticker, "O");
> > >     tH = foreign(ticker, "H");
> > >     tL = foreign(ticker, "L");
> > >     tC = foreign(ticker, "C");
> > >     tV = foreign(ticker, "V");
> > >     tI = foreign(ticker, "I");
> > >     line = ticker + "," + tO + "," + tH + "," + tL 
> > >                   + "," + tC + "," + tV + "," + tI + "\n";
> > >     xxFileWriteStr(line, fh);
> > >     ticker = xxWLtickerNext(WL);
> > >   }
> > > xxFileClose(fh);
> > > xxMsgBox("See " + filename, "Finished");
> > > 
> > > 
> > > /* The result will look like this:
> > > 
> > > ^NDX,1109.92,1137.45,1109.66,1136.51,0,0
> > > AAPL,14.46,14.59,14.34,14.45,5.75275e+006,0
> > > ADBE,36.24,38.14,36.15,37.92,5.78614e+006,0
> > > ADCT,2.37,2.52,2.36,2.5,6.16774e+006,0
> > > ALTR,15.79,16.56,15.7,16.51,1.10336e+007,0
> > > AMAT,14.95,15.31,14.79,15.15,2.7393e+007,0
> > > AMGN,62.27,63.62,62.01,63.27,9.42019e+006,0
> > > ...
> > > 
> > > */


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/