--- In [email protected], "angio1967" <angio1...@...> 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.










Reply via email to