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

Re: [amibroker] Poor Amibroker Performance after running a Backtest using FOR Loop



PureBytes Links

Trading Reference Links

Hello,

Apparently you have coded it wrong (inefficent). "for" loop is intended to process
single array values while you (judging from the description) are re-processing all arrays in
every iteration of the loop doing unnecessary work all the time.
Move all loop invariants OUTSIDE the loop and you will be fine.

By the way there are TWO equity charts: one is Portfolio equity ( the DEFAULT ONE
that you should be using that is NOT recalculated) and individual (the remainder from the old
days - that recalculates with refresh).

Use PORTFOLIO equity, even if you are backtesting on single symbol.

Also READ THE USERS GUIDE, everything about equity lines is described there
http://www.amibroker.com/guide/a_equity.html


Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: sslack88 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, June 02, 2006 10:49 PM
  Subject: [amibroker] Poor Amibroker Performance after running a Backtest using FOR Loop


  Has anyone ever experienced this issue:

  I created a system using a FOR loop.  After running the system using 
  the backtester on four symbols my Amibroker performance is terrible.  
  When I resize the window, change symbols, etc. the software moves very 
  slow.

  It seems like it is trying to regenerate the equity curve everytime I 
  change symbols.

  Has anyone else experienced this issue?


  P.S. - Does anyone know where the equity curve data is stored?  After 
  I close amibroker and come back in the equity curve data is still 
  there.  Maybe if I delete this data it will speed things up again.

  Thanks,
  Steve





  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





  SPONSORED LINKS Investment management software  Real estate investment software  Investment property software  
        Software support  Real estate investment analysis software  Investment software  


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "amibroker" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------