PureBytes Links
Trading Reference Links
|
Hello All,
I am thinking of embarking on a project to write an afl code to export intra-day data collected in AB as pseudo end of day data.
The AFL code for exporting data from AB to ascii format was contributed by Graham Kavannagh long back and is available with me.
The problem area for me is to replace each date-time stamp with a
date stamp that converts the data file into an end of day data file.
There
are several examples of loops including a tutorial a group member was
kind enough to contribute titled "Looping in Amibroker AFL". The
question that I am not able to answer is how to write a loop that will
start from Bar #1 and execute till Bar # 360 and then restart from Bar
# 361 and stop at Bar # 720 and so on to add the years.
If I am not wrong, similar logic can be used to add months and
dates by nesting the relevant loops within the loop to add the year.
I
will be very grateful if someone can point out the flaw in the method I
am thinking of using and give me a pointer to constructing the loop IF
the direction I am thinking of going to write the code is NOT incorrect.
Thanks
Rakesh
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|