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

RE: [amibroker] Re: Speeding up Composite creation



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Thanks DT,
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Your method is convenient when your work has matured into routinely 
applied methodologies. However, if you are doing a lot of developement work, 
like many beginners, then the composite formulas may change in each run and it 
is easier to have the code "on-board".
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>take care,
<FONT face=Arial color=#0000ff 
size=2>herman.

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: DIMITRIS TSOKAKIS 
  [mailto:TSOKAKIS@xxxxxxxxx]Sent: December 9, 2003 9:12 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
  Speeding up Composite creationHerman,I prefer to 
  run all the daily composites just after the EOD download.If there are some 
  interesting intradays, it is more convenient to have some 
  GetCategorySymbols() already prepared to give the result without scan, 
  especially when the AA window is occupied for breakouts explorations etc. 
  In general, the more you prepare [time consuming of course] the better. 
  Tomasz wrote some time ago about more [independent] AA windows. It 
  would be probably interesting.Dimitris Tsokakis--- In 
  amibroker@xxxxxxxxxxxxxxx, "Herman vandenBergen" <psytek@xxxx> 
  wrote:> If you are like me you placed you AddToComposite()s ahead 
  of the code that> uses the Composites. This is easy as it keeps 
  things together however it> also means that when you perform a Scan 
  most of the other code is executed> as well and this can slow down 
  your Scan significantly. You can prevent this> by using a simple 
  if(scan){} , this executes Scan code only when scanning> and skips 
  the Scan code when running Backtests or Explorations. I found this> 
  really speeds up my code.> > Buy=Sell=Short=Cover=0;> 
  Scan = Status("Action")==3;> > ... preperatory code> 
  > if(Scan) {> > AddToComposite()> 
  AddToComposite();> > } else {> > ...systems and 
  explorations> > } // End elseSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.