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.
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
__,_._,___
|