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

Re: [amibroker] AmiBroker FAQ / SNIPPETS idea



PureBytes Links

Trading Reference Links

That was fast and I'm willing to give a try but this effort will need some organization.
starting with topical headings - like TJ has inserted with the OLE documentation.  
 
I think Wiki pages should be used for "how to" snippets" of code - AFL, jScript, Vbasic,
flow control (as in for loops), use of Osaka plug ins, file operations, some simple work for
the skilled, difficult to learn for the beginner; maybe since the infor is so dispersed.
Other areas such as how to load multiple databases is a good one,
how to load multiple copies of Amibroker one beta and the previous beta, 
and hopefully an increasing degree of documentation on the com model.
  
In area of AFL I thought the most helpful would be " how to". with a real world example,
 like the example below I just extracted from my Infoselect db. 
 How did I get to it? 
While in the application Infoselect, I Pressed F5(hot key for search) ,keyed in <Tsokakis> in the window and I got probably a 100 hits, all by heading (depending on how well I documented it going in). 
How do I use it? 
 "As is" for an indicator or as a way to see how one of the masters coded this
in AFL.  At times Dimitris's code is so dense I have trouble working through it.
 
Now if I wanted to see where the word "breakout" was used and possibly defined; I do a similar search. 
 I got 50 hits on < ribbon>  a term for how I plot ribbons in the Indicator chart.
 
Hope you gents and ladies don't mind the ramblings but thought I'd give you a real life example of
how I manage (and I understand one of our neighbors to the north does the same).
 
Best regards
JOE
 

DIMITRIS TSOKAKIS BREAKOUT 11/2003

Lookback=100;x1=LastValue(Cum(1));

H1=LastValue(Ref(HHV(H,Lookback),-1));

L1=LastValue(Ref(LLV(L,Lookback),-1));

H1=IIf(Cum(1)>x1-Lookback,H1,-1e10);

L1=IIf(Cum(1)>x1-Lookback,L1,-1e10);

UpBreakout=Cross(H,H1);

DownBreakout=Cross(L1,L);

Plot(H1,"H1",colorYellow);

Plot(L1,"L1",colorYellow);

Plot(C,"Close",IIf(upbreakout OR

downbreakout,colorRed,colorBlack),64);

Filter=Upbreakout OR DownBreakout;//EXPLORE THE DATABASE FOR THE N=1

LAST QUOTATIONS

AddColumn(Upbreakout,"UP",1.0);

AddColumn(H,"H");

AddColumn(H1,"H1");

AddColumn(downbreakout,"DOWN",1.0);

AddColumn(L,"L");

----- Original Message -----
From: dingo
Sent: Friday, July 01, 2005 4:38 PM
Subject: RE: [amibroker] AmiBroker FAQ / SNIPPETS idea

Well,
 
after looking this over for a few minutes - I fear that it might be too complicated for our user base as a whole.
 
If we have people just paste email threads into the site (this has already happened) then it will be worse than purebytes.
 
I fear this is gonna be a mess.
 
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Friday, July 01, 2005 2:18 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] AmiBroker FAQ / SNIPPETS idea

Hello,
 
I have set-up Wiki page at:
 
as a tool for this collaborative documentation project.
 
For those of you who do not know what is Wiki, here is a page from Wikipedia (Wiki-based free Encyclopedia):

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: dingo
Sent: Friday, July 01, 2005 5:11 PM
Subject: RE: [amibroker] AmiBroker FAQ / SNIPPETS idea

That would be nice if we can get this off the ground.
 
As to publishing others work:  If it was posted on a forum then I think it would be ok (if anyone disagrees now's the time to speak up). I DO think we should post the date and author just the be courteous.
 
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Joe Landry
Sent: Friday, July 01, 2005 10:45 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] AmiBroker FAQ / SNIPPETS idea

ALL:
I'm interested and while no expert I have a collection of snippets that I've filed on my Infoselect database over the past 2 years and would be happy to clip and paste those in with some editing/categorizing, for example as Graham just wrote "how to plot arrows" or how to draw a signal "ribbon" etc. some very simple stuff keeps getting asked.  I forget how to compose them and have to clip, paste and modify.
 
FWIW
There are others on this board who use Infoselect and other databases to do exactly that, to keep a store of AFL snippets that can be searched down to the letter.  Most of these snippets are not my original thought and borrowed from the board.  Somehow searching Purebytes is not nearly as productive as creating your own store. 
 
Then there are others who've moved on but who left quite a legacy of tight algorithms and indicators.
 
I can contribute a low level of jScript automation -  the running nightly jobs as I call them - to create composties,  I'd be interested in moving to the next level in jScripts as well as some realtime monitoring/alerts/indicators.
 
Be glad to be a contributor of what I have. I'm sensitive about publishing others' work and some of the best would be coming from others.
 
JOE
----- Original Message -----
From: dingo
Sent: Friday, July 01, 2005 8:54 AM
Subject: RE: [amibroker] AmiBroker FAQ / SNIPPETS idea

No there isn't - except for the stuff I've done for the PBI Collected Documentation at http://finance.groups.yahoo.com/group/amibroker-beta/files/
 
There have been several attempts to do such a thing but the interest level is 0 to build it - but very high to have access to one. But then there are those that are too lazy to read anything and therefore will just post a question anyway and someone far more patient than most of us (good old Graham for instance) will answer that question that's been asked and answered 100's of times.
 
TJ offered to set up a WikiWiki for the OLE group several months ago (no other folks were interested so it died). Maybe he or you could set one up.  If so that would allow a "community" effort (Looks like maybe you and me at this point).
 
I'll help but due to the lack of response of a couple of other attempts I won't lead it.
 
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Prosser, Daniel
Sent: Thursday, June 30, 2005 9:59 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AmiBroker FAQ / SNIPPETS idea

Hi,

> From: Graham <kavemanperth@xxxxxxxxx>
> Subject: Re: Daytrade System - Close open Positions at Close
>
> actually this question has been answered before a few times in this
group
>
> sell = cross( timenum(), 155959 ); //assuming 4pm is close time

Is there an FAQ document maintained for this group?  It seems to me it
would be *very* useful for this particular group.

Perhaps a "SNIPPETS" style FAQ where snippets of code are kept with
common "How do I...?" questions in one large (indexed) document.  Such
as the question above...

I would certainly take a look at this file before asking my stupid
questions :-) It may help cut back on some common questions and help
educate new users faster.  It could even be put into the help files of
AmiBroker for each major release.

The online AFL Library and purebytes.com archives don't really suit this
purpose I am finding.

Any volunteers? ;)

Dan.

p.s., in case you don't know - SNIPPETS was a project whose goal was to
"collect and disseminate the best C/C++ answers to 'How do I...?'
programming questions" (started in the old FidoNet BBS days if I
remember correctly - gee I must be getting old...)

http://snippets.snippets.org/index.php#PREFACE




=======================================================
                                     IMPORTANT INFORMATION

This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed.  
If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system. 
SEALCORP does not warrant that the information is free of a virus or any other defect or error.

SEALCORP is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of SEALCORP.

=======================================================



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software Stock investment software


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS