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

[amibroker] Re: I am lostII



PureBytes Links

Trading Reference Links

Thanks Steve,

Yes, I have had to go back to the AFL manual for a rework.
Your comments do help.
It all adds up.

BrianB.


--- In amibroker@xxxxxxxxxxxxxxx, "scourt2000" <stevehite@xxx> wrote:
>
> 
> > How would one become proficient/knowledgable in writing code 
such 
> as this???
> 
> By understanding that the Buy[] array is not true ONLY on the bar 
> where the first buy signal occurred in a trade. 
> 
> Required reading with 100% comprehension:
> 
> 1. Tutorial in the docs on "Understanding how AFL works"
> 
> When you fully understand this document, it is easy to see how 
> excessive buy/sell signals get generated.   AFL works on arrays of 
> data and compares the indices of that data in a parallel manner to 
> other arrays of data in your AFL expressions and statements.
> 
> Required understanding:
> 
> 2. How the exrem() function works.  In the code below, Tomasz's 
> example is walking through the Buy[] array which contains 
excessive 
> buy signals.  He's only interested in the first one that triggered 
> and has to ignore the excessive signals for a respective trade 
> sequence.
> 
> AFL looks on the surface like a small C-like language and, in many 
> ways, it is.  However, its real power is based upon the 
fundamental 
> understanding that it takes care of processing arrays upon arrays 
of 
> data for you "behind the scenes" so you don't have to write a 
bunch 
> of for() loops to get your work accomplished.   
> 
> You're getting stopped (mentally) by the code below not because of 
> your inexperience with programming, but because of the two 
> fundamental things about AFL I mentioned above.   
> 
> Steve
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, allansn@ wrote:
> >
> > Hi Terry,
> > Noticed you reccomended these 2 books...I have absolutely no 
> problem coding in Amibroker,but I do run into problems with coding 
> such as this..
> >  for( i = 0; i < *BarCount*; i++ )
> > {
> >  if( priceatbuy == 0 *AND* *Buy*[ i ] )
> >    {
> >       priceatbuy = *BuyPrice*[ i ];
> > 
> > How would one become proficient/knowledgable in writing code 
such 
> as this???
> > Is this AFL???  or
> > Is this sort of language inherent in every language?
> > Would either of the 2 books you reccomended assist me in this 
task?
> > If you or anyone could point me in the direction of a "Dummies " 
> book,that would be great.I would just like to be proficient at 
> writing/understanding code such as the snippet above
> > 
> > Someone reccomended Beggining Programming for Dummies by Wang...
> > 
> > Any thoughts deeply appreciated
> > 
> > Allan
> > 
> > 
> > 
> > 
> > 
> > 
> > ----- Original Message -----
> > From: Terry <MagicTH@>
> > Date: Sunday, July 16, 2006 9:34 pm
> > Subject: RE: [amibroker] Re: I am lost
> > > Great book for macro and function coding: 
> > > http://www.wrox.com/WileyCDA/WroxTitle/productCd-
0764543717.html 
> > > 
> > > Excel for Dummies: 
> > > http://www.amazon.com/gp/product/1568840500/sr=1- 
> > > 1/qid=1153099963/ref=sr_1_1/104-1895807-1075905?
ie=UTF8&s=books 
> > > 
> > > 
> > > 
> > > -- 
> > > 
> > > Terry 
> > > 
> > > -----Original Message----- 
> > > From: amibroker@xxxxxxxxxxxxxxx 
> [mailto:amibroker@xxxxxxxxxxxxxxx] On 
> > > Behalf Of MillowenaJuno 
> > > Sent: Sunday, July 16, 2006 08:36 
> > > To: amibroker@xxxxxxxxxxxxxxx 
> > > Subject: Re: [amibroker] Re: I am lost 
> > > 
> > > 
> > > 
> > > Hi Ton! 
> > > 
> > > 
> > > 
> > > Is there a Programming Excel for Dummies? 
> > > 
> > > 
> > > 
> > > Thanks! 
> > > 
> > > 
> > > 
> > > Millowena 
> > > 
> > > 
> > > 
> > >
> >
>