Buy = Condi1 AND Condi2 AND Condi3 AND Condi4 AND Condi5 AND Condi6 AND Condi7 
; // kaufbedingungen

Buystop = Ref (H,-1);

BuyPrice = Max (Buystop,Low); // kaufpreis

  ----- Original Message ----- 
  From: alta hob 
  To: [email protected] 
  Sent: Sunday, April 20, 2008 11:55 AM
  Subject: [amibroker] Buy stop and sell stop instead of backtester setting 
options.


  Hi


  I am using the backtester in AB and when a trade is triggered the "backtester 
setting" option is being used which is currently set at "open".  So my 
backtesting results show the opening price as the open of the next bar which is 
wrong for my testing.


  The price I actually want to enter at is High > Ref( High, -1 ); and I want 
to have a buystop at this price and not use the open price of a bar.


  Anyone know how to do this please? 

  thanks
  AH


   

Reply via email to