hi,

have a look at these two modes. This is the easiest way to do such a thing:

SetBacktestMode( backtestRegularRaw ); 
SetBacktestMode( backtestRegularRawMulti ); 

rgds, Ed






  ----- Original Message ----- 
  From: tiedemj 
  To: [email protected] 
  Sent: Friday, August 08, 2008 1:12 PM
  Subject: [amibroker] Taking all signals (long/short) with individual 
profit/loss target exits


  Hello

  Anybody know how to express a system in AFL, that trades ALL buy and 
  short signals - holding each trade until a profit or loss target is 
  reached independent for each individual trade?

  I was trying to use sigScaleIn/Out - but as there can be both entry - 
  and exit signals on each bar - I was not able to express the correct 
  pricing and sizing. 

  I also tried use custom backtest - but that did not do the trick. Any 
  hint's appreciated!

  Regards,
  Jens Tiedemann



   

Reply via email to