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

Re: [amibroker] AFL Library



PureBytes Links

Trading Reference Links

George, I can really sympathize with your situation.  I was studying Mechanical Engineering at the University of Oklahoma in the mid sixties, and took a very short Fortran course where we used punch cards to program a heat flow equation.  That course was the end of my programming until I started to try to use Amibroker.
 
Luckily, my son had already started to learn how to use Amibroker.  If it were not for him, I don't know if I could have learned it.
 
I still find it almost impossible to under stand most of the HELP explanations written  are written for programmers, with very few if any examples of a real life, practical of the AFL function being described.
 
The very active users on this Amibroker board have been superb at helping those of us who need help. However, they rightfully don't want to spoon-feed every bite to us as we are learning how Amibroker works, and how the AFL language works. 
 
The only advice I can give you is to do as I have done, and do your best to understand what the USER manual explanations mean, and then ask this board for help in trying to get your mind around it.
 
I will start you off with something that is very basic, and hopefully, relatively easy for you to start testing. 
 
Lets assume that you want to create a custom indicator that notifies you each time that the 14 day moving average of StochK has crossed the 14 day moving average of StochD.   The AFL code for this is "Cross(Stochk(14),StochD(14));" 
 
Now Click on "Analysis" at the top of the Amibroker screen, then click on the menu item, "Indicator Builder, then click on "Add" and you will then see a blank Editor screen.
 
On your keyboard type the following, or else you can copy and paste it in.  
 

Title="Stk14xStd14";

Stk14xStd14=Cross(StochK(14),StochD(14));

Plot(Stk14xStd14,"Stk14xStd14",colorRed,styleOwnScale);

What I have given you here is the kind of help that my son gave me that got me started.  Unfortunately, the last time I tried to use the user manual, there were very few if any of these simple explanations. 

I read this board a lot, and since I understand the need that many of us have to be given a working example of a code in order to learn it, I am more than willing to do my best to help you in your learning curve.  Ron D

 
=============================
 
----- Original Message -----
From: Bob Jagow
Sent: Saturday, March 26, 2005 4:14 PM
Subject: RE: [amibroker] AFL Library


George,
AB stores the formulas in subfolders of the Formulas folder, so it is
probably easiest to right-click on library formulas and 'save target as' to
desired subfolders--Custom or whatever.
You can then select the desired formula from Workspace|Charts.

Bob

-----Original Message-----
From: george plant [mailto:plant316@xxxxxxxxx]
Sent: Saturday, March 26, 2005 1:29 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] AFL Library



Terry, I have been reading tutorials but some parts
are unclear to me because I don't understand the use
of some of the terms, nothing like programming in TC.
In the mid '60s I took a crash course in Fortran IV
and wrote simulations for chemical reactors for 2
years. There is a little simularity but not as much as
I need. Maybe it is my age creeping up on me, I'm 75.

My problem is not being stupid or lazy, just I am lost
with word meanings here, and there is nothing that
goes back ot the beginning and defines that I have
found so far.

Thanks for your help.
--- Terry <MagicTH@xxxxxxxxxxx> wrote:
> George,
>
> You can copy and paste the formula into the Formula
> Editor and click the
> Apply button.
>
> Then it sounds like some reading is in order. Go to
> HELP, Contents,
> Tutorial.
>
> Terry
>
> George Plant wrote:
>
> >
> >I am new to Amibroker (5 days) but experienced with
> TC ( 18 years).
> >They are different.
> >
> >I went to the Amibroker site and found "AFL
> Library".  If I pick a
> >formula and go to "Details".  A choice called
> "Download formula file"
> >appears. If I select that where does the download
> occur?  I want the
> >results to appear on one of "Sheets" so I'll show a
> result on every
> >stock I analyze.
> >
> >Or can I copy and paste the formula somewhere???
> Where?
> >
> >Or do I have to type it in somewhere??  Where?
> >
> >I'm a tad lost.
> >
> >Thanks for any help.
> >
> >
>



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









------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/
 





--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.3 - Release Date: 3/25/2005



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 Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links