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

[amibroker] Re: Renko chart code revD--looks good



PureBytes Links

Trading Reference Links

yuki

 you should also be aware that there is another file in formats 
called
 format.types which needs to have any new formats you write included
 to show in ascii import.(always use notepad)
 here is a version of the import macro for a single file.

 change "D:\AMIBROKER\IntradayData\" to your path 
and  "Custom5.format"

 to your format file name, then simply run the macro to import your 
 file, much easier than manual.

 bw 
 curt


Sub IMPORT_TO_AB()

     Set oAB = CreateObject("Broker.Application")
     
     ChDir "D:\AMIBROKER\IntradayData\"
    
    Tic = "master.csv"
    
     FileName = "D:\AMIBROKER\IntradayData\" & Tic
   
    oAB.Import 0, FileName, "Custom5.format"
    
    
     
     oAB.RefreshAll
 'Application.Quit
 End Sub

 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/