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

RE: RE: [amibroker] Another Code Puzzle



PureBytes Links

Trading Reference Links

The principle I got from Fred's code (that I could not see myself) is that to mark or identify a bar before a given bar of interest, you determine the first bar of interest by BarIndex, then subtract from it, the BarsSince event of the previous or preceding bar of interest.  Marking a single bar in an array of zeros is the elegant way to "mark" it.


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of progster01
Sent: Friday, August 15, 2008 8:16 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: RE: [amibroker] Another Code Puzzle

Thanks, Fred, for this great batch of AFL!  

Puzzling thru it is quit enlightening.

For those interested, I have attempted to explain it in detail here  .

I invite correction to my explanation, if needed.  Cheers!



__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___