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

Re: [amibroker] Exploration AFL question



PureBytes Links

Trading Reference Links

"What language is your script in?  Jscript, VBScript?"
-I wrote in delphi a program, which download and save myFile.txt.
It's running as an independent program without AB.

"Do you know how to write in either of the 2 languages above?"
-Yes. I'm not expert, I'm a "standard programmer" in both of these 
languages.

I'm a beginner in AmiBroker AFL.
So If there is a script in the beginning of an AFL code, 
when will be it run? (When I click an 'Apply' in code Editor.)
How could I send an "import event" to AB every 5 min?
I mean about "import event": If "import event", then it will be run 
an AFL code.
for example this:
"
<br><pre>
<br>function Import( filename )
<br>{
<br>	try
<br>	{
<br>		AmiBroker.Import( 0, filename, "aqd.format" );
<br>	}
<br>	catch( e )
<br>	{
<br>		return false;
<br>	}
<br>
<br>	/* refresh ticker list and windows */
<br>	AmiBroker.RefreshAll();
<br>	return true;
<br></pre>
"

My aim is, 
1.) Hungarian Stocks Data into AB.
2.) Some AFL Code running.
3.) If Alert, then mail for me.

br, Zoli.



--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> What language is your script in?  Jscript, VBScript? 
> 
> Do you know how to write in either of the 2 languages above?
> 
> Why are you not using version 4.50.9? 
> 
> d
> 
> -----Original Message-----
> From: Novak Zoltan [mailto:novizoli@x...] 
> Sent: Tuesday, January 20, 2004 10:45 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Intraday data importing from myFile.txt
> 
> Hi group,
> 
> I'm from Hungary. I have a script, whit it I can download and save 
into a
> file "myFile.txt" the hungarian stocks every 5 minutes. (Normal
> intraDay)
> My question:
> How could I import these Files into AmiBroker AUTOMATICALY every 5 
minutes?
> At the moment I must import these Files MANUALY with Import ASCII 
option.
> 
> Best regards, Zoli.
> 
> PS: "myFile.txt" Format is flexible, I can change it.
> PS2: Version 4.40.3
> 
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page:
> http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/amibroker/
> 
> 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/


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

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/