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

[amibroker] Re: VBScript to automate back test and export of tradelist.



PureBytes Links

Trading Reference Links




<FONT face=Arial 
color=#0000ff size=2>Make sure that you set the following to match your system 
(Underlined/Bold lines):
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face="Courier New" 
color=#0000ff size=2>    
'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!    
' change the following settings to suit your configuration    
'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!    
If Not .LoadSettings(cstr(Settngs_FilePath)) 
Then        MsgBox "Can't Load Settings 
File"        iError = 
true    Else    
        .RangeMode = 3 
' Use From and To Dates        
.RangeFromDate = "01/01/2001"        
.RangeToDate = 
"12/31/2002"        
.ClearFilters        .ApplyTo 
= 2   ' Use Filter        
.Filter(0, "watchlist") = 29 ' Use watchlist number 
29    End If<SPAN 
class=234410018-20042004><FONT face=Arial color=#0000ff 
size=2>d

  
  
  From: danielwardadams 
  [mailto:danielwardadams@xxxxxxxxx] Sent: Tuesday, April 20, 2004 
  1:55 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  Re: VBScript to automate back test and export of 
  tradelist.
  Wow -- you've done a lot of good stuff! Appreciate it. And my 
  vote would be to "meld" the two sets of code (export/import & 
  backtest) as it would give me a "pushbutton" system ;-). I don't have any 
  opinions on how best to do it though. Will need to play with it for 
  awhile.But first a question. I'm just now trying your export/import 
  and it's not working for me (after successfully using Herman's last week). 
  I get a "VBScript Finished" message but the RT database isn't updated 
  and there are no tracks left as to what has happened (-EOD quotes 
  aren't imported, nothing is left in the Output folder, etc).My EOD 
  database is Yahoo and RT is eSignal. I "think" I've gotten your format and 
  AFL file set up correctly (?). Here are my parameters for your 
  code:RT_DB_Path = "G:\Program 
  Files\AmiBroker\ESignal_IBD_04172004"EOD_DB_Path = "G:\Program 
  Files\AmiBroker\Yahoo_EOD_041704"Frmla_Path = "G:\Program 
  Files\AmiBroker\AFL\dingo_export_import.afl"CSV_Dir = "G:\Program 
  Files\Amibroker\Output"FmtFleNam = "G:\Program 
  Files\Amibroker\Format\dingo.Format"Any help would be 
  appreciated.Dan Adams


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 the Yahoo! Terms of Service.