PureBytes Links
Trading Reference Links
|
Thanks to both you and Graham .
-- N !!
--- Rakesh Sahgal <rakeshsahgal@xxxxxxxxx> wrote:
> /*
> Export intraday and EOD data to TXT files
> One file for each stock
> In the first line insert the directory you want to
> save them to, make sure the
> directory exists
> Select your charts to export with the "Apply to"
> filter in AA window
> Select the timeframe period you want to save as using
> the AA "Settings"
> Press Scan button
> by Graham Kavanagh 05 Feb 2004
> */
>
> CODE IS COURETSY OF GRAHAM KAVANAGH. CHANGE PATH
> SETTINGS PER YOUR REQUIREMENTS.
>
>
>
>
>
> fh = fopen(
> "d:\\amibroker\\US_STOCKS_ASCII\\"+Name()+".txt",
> "w");
> if( fh )
> {
>
>
fputs("<ticker>,<name>,<per>,<date>,<open>,<high>,<low>,<close>,<volume>\n",fh);
> t = Name();
> flnm=FullName();
> p = "D";
> y = Year();
> m = Month();
> d = Day();
>
> for( i = 0; i < BarCount; i++ )
> {
> fputs( t + "," , fh );
> fputs(flnm + "," , fh );
> fputs(p + "," , fh );
>
> ds = StrFormat("%02.0f/%02.0f/%02.0f,",
> m[ i ], d[ i ], y[ i ]);
> fputs( ds, fh );
>
>
> qs = StrFormat("%.4f,%.4f,%.4f,%.4f,%.0f\n",
> O[ i ],H[ i ],L[ i ],C[ i ],V[ i
> ] );
> fputs( qs, fh );
> }
>
> fclose( fh );
> }
>
> Buy = 0;
>
> --- Natasha !! <dynomitedoll@xxxxxxxxxxxx> wrote:
>
> > Hello ,
> > Do we have a Dll to export amibroker data
> > as metastock data ?? or some afl to do
> > that ??
> >
> > Thanks .
> >
> > --- N !!
> >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Warm regards,
Natasha !!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.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/
|