PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxxxxxxxxxxxxx, "angio1967" <angio1967@xxx> wrote:
>
> I would like to create a code to export to ASCII, from a intraday database, the following values for each day:
>
> DATE, OPEN_153000, OPEN_170000, OPEN_190000, OPEN_210000, CLOSE_220000
>
> can you help me?
>
Time_1 = ParamTime("Time_1", "15:30");
O_1530 = IIf (TimeNum()== Time_1, O, Null);
Time_2 = ParamTime("Time_2", "17:00");
O_1700 = IIf (TimeNum()== Time_2, O, Null);
//.... and so on (maybe you can devise a loop, I'm a very bad AFL programmer).
Filter = TimeNum()==Time_1 OR TimeNum()==Time_2; // AND SO ON...
AddColumn (O_1530, "o_1530");
AddColumn (O_1700, "o_1700");
Ciao,
Angelo.
------------------------------------
**** 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/
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/
|