PureBytes Links
Trading Reference Links
|
I have found that there a number if tricks & tips to making AFL code
run as fast as possible on AB... partly to do with AFL itself and
partly to with peculiarities of AB... It's taken trial and error
frankly to work them out...
But I'm now much clearer about how to AB in an efficient manner...
such that pervious code that I found almost unusably slow is now
pretty fast.
--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> Barry,
>
> I agree on most issues ... have experienced the hardship of thinking
arrays
> ... has cost me a lot of time...
>
> Fortunatley (I think) I have lost the limited C programming I could
do ...
> actually I used turbo Pascal because it was less forgiving than C /
C++ ...
> I know C++ had improved a lot since .. the old days... so I don't even
> consider a DLL task now.
>
> The advantages I see for a DLL (other than hiding your code) is to
group
> common routines AND faster execution under some conditions. I have
some very
> slow code that becomes unusable in real time...
>
> Have a great day
>
> Ara
>
>
> ----- Original Message -----
> From: "Barry Scarborough" <razzbarry@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, December 02, 2008 11:33 AM
> Subject: [amibroker] Re: Why are there so few?
>
>
> > Hi Ara,
> >
> > I will have to disagree about AFL vs C++. They are about the same
> > difficulty to learn. AFLs use of arrays threw me for a loop for about
> > a year. I kept trying to code it like C. Bad idea. Don't! The C++
> > compiler is much less forgiving and you have to have the code perfect
> > before the compiler will let it pass. That is a good thing because
> > AFL allows syntax error to pass that only surface at run time and
> > they are a BEAR to figure out. But then C++ has linking and run time
> > errors that are a BEAR to figure out too. And you are much more
> > likely to get help with coding here if you use AFL.
> >
> > I think the best thing to do is read the AFL manual over and over
> > until you understand it. Then read it again. But realize you would
> > have to do that with C++ too. If you think the AFL manual is hard to
> > understand pick up a Visual C++ manual, 4 CD library, and try to
> > learn it. Good luck! And I am not talking about using the full blown
> > object oriented aspects of C++, which are much harder to grasp and
> > use and not needed in a DLL. OE is mainly for creating functions that
> > can be used over and over with standard interfaces and you can do
> > that with functions in AFL and put them in an include library.
> >
> > The main reason for DLLs is hiding your design. Once you compile them
> > they are in machine language and unreadable. So your design would
> > remain a secret. DLLs would be good if you were writing application
> > level AmiBroker programs to sell where you would have a number of
> > applications with common function. Using common function lowers
> > maintenance and improves productivity. That is where OE shines.
> >
> > Learn AFL. Forget DLLs unless you really need them.
> >
> > Cheers,
> > Barry
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@> wrote:
> >>
> >> yes ... you need to be able to program in C++ (or similar) language.
> >>
> >> AFL is considered a user larguage .. that's why it's relatively easy
> >>
> >> C++ on the other hand is a full programming language
> >>
> >>
> >> ----- Original Message -----
> >> From: "Tim" <raven4ns@>
> >> To: <amibroker@xxxxxxxxxxxxxxx>
> >> Sent: Tuesday, December 02, 2008 10:37 AM
> >> Subject: [amibroker] Why are there so few?
> >>
> >>
> >> > Hello,
> >> > Many people have said that a DLL is the way to go for a formula.
> > It
> >> > is said it is faster among other positives. Why then is there so
> > few
> >> > DLL's available? I know my ignorance about computers is showing
> > but I
> >> > would really like to know. Are they more complicated than an AFL,
> > you
> >> > need special training, what? Thank you for indulging my curiosity.
> >> >
> >> > Kindest regards always,
> >> >
> >> > Tim
> >> >
> >> >
> >> > ------------------------------------
> >> >
> >> > **** IMPORTANT ****
> >> > This group is for the discussion between users only.
> >> > This is *NOT* technical support channel.
> >> >
> >> > *********************
> >> > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail
> > directly to
> >> > SUPPORT {at} amibroker.com
> >> > *********************
> >> >
> >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> >> > http://www.amibroker.com/devlog/
> >> >
> >> > For other support material please check also:
> >> > http://www.amibroker.com/support.html
> >> >
> >> > *********************************
> >> > Yahoo! Groups Links
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > *********************
> > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail
directly to
> > SUPPORT {at} amibroker.com
> > *********************
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > *********************************
> > Yahoo! Groups Links
> >
> >
> >
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|