PureBytes Links
Trading Reference Links
|
Hello,
As a beginner, I can say that nothing is missing, but it's very
difficult to find a simple answer to a simple question.
I spend thousands hours to read archives, UKB, library, AB list forum,
other forums. It's difficult to retrieve things at the right moment.
Could I suggest to open a UKB dedicated to basics programming examples
ONLY, where advanced users and beginners could add practical code for
a simple problem or a pedagogical detailled answer.
Anybody could add a tested code piece and the comments will follow as
in the UKB library. The AFL code's pieces should be in the spirit of
an Excel subroutine or to get a simple result immediatly without
special knowledge.
A BASICS AFL UKB with such examples :
To measure the distance between price and Simple Moving average and
plot the result as a histogram
plot(C, "C", colorblack);
myMA = MA(C,13);
plot(myMA, "MA", colorblue);
plot(C - myMA, "Distance", colorgreen, styleHistogram | styleownscale);
Barry
The title will be : To measure the distance...
And this template is under the heading PLOT
Another example of entries :
Array : understanding the basics
When I was first learning AFL, I did not quite understand how the
Arrays worked in the grand scheme of an AFL update pass. The key
concept I was missing was that everything started over from nothing
for each update of the charts. Later I learned that I could only keep
information around between AFL passes with static variables or files.
While I was talking offline with another AFL user, I found that he
also stumbled over this exact problem.
Without this basic understanding, I made no real progress. I was just
floundering.
Dennis
The title will be : Array : understanding the basics
And this texte is under the heading ARRAY
A third example to put into heading TRENDLINE OR LINE
Q:
title of the item : draw a line automatically
draw a line automatically on my chart - the line would be at the last
close price, minus 1,2 and 3 ATR(20)'s?.
Ideally the line would go from left to right across all the scren,
whatever the timescale being viewd?
foxblade2000invest
A :
You need to use linearray function to draw a line.
Find first visible bar using:
bi = BarIndex();
Firstbar = status("FirstVisibleBar") - bi[0];
Line = linearray(FirstBar,ATR_value,Barcount-1,ATR_Value,0,0);
Plot(Line, .... )
Check help file for details
Ara Kaloustian
Another entrie should be GLOSSARY to explain such or such feature...
If possible, keep the name of the author.
Best Regards
------------------------------------
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 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/
|