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

[amibroker] Re: Loops to Arrays learning



PureBytes Links

Trading Reference Links

I think that that is an excellent idea.

Realistically speaking, I think that the UKB would be the path of 
least resistance, at least to start. That way, peer review could 
allow for in place modification of the submission until it was 
accepted. At that point, the finalized version could be added to the 
function definition page.

Otherwise, the function definition page would be a stream of comments 
and corrections forcing the reader to scroll and scroll through all 
the iterations until the final result was accepted. The UKB has the 
advantage of hiding all these iterations.

Mike

--- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>
> Hello,
> 
> 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.
> 
> Next I had some trouble understanding exactly what was going on 
inside  
> many array functions.  Instead of using them, I would write my own  
> loops to do what I wanted.  When I became familiar with a working 
loop  
> version of something, I would get the idea of what must be going on 
in  
> the array function.  Then I would start to substitute array 
functions  
> and array logic so speed up my AFL.  Since I already had it 
working, I  
> could see if my substitutions gave the same results.
> 
> I would like to propose that a library of functions be set up 
either  
> in the KB, UKB, or as an example in each function definition page  
> (preferred).  The purpose of each function would be to duplicate 
each  
> array type function with an exact AFL loop equivalent.
> 
> This would serve two purposes:
> 
> First, the loop version of the function would actually be a 
concise  
> definition of what is inside the optimized array function.
> 
> Second, if the array version did not do exactly what was needed, 
the  
> loop version could be modified in the formula to give the desired  
> functionality.
> 
> I believe these would speed the learning and application of AFL for 
all.
> 
> Now open for discussion.
> 
> Best regards,
> 
> Dennis
>



------------------------------------

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/