Hello,

No need to decipher anything. Just F1 and type EnterTrade in search field and 
you will quickly find it.

Yes it is (as always) in the help:
http://www.amibroker.com/guide/a_custombacktest.html

Scroll to "Backtester object" and there are ALL METHODS described

Quote
"long EnterTrade( long Bar, string Symbol, bool bLong, float Price, float 
PosSize, [optional] variant PosScore, [optional] variant RoundLotSize, 
[optional] variant MarginDeposit, [optional] variant TickSize, [optional] 
variant PointValue )

Low-level method that enters trade on any symbol. This allows to take trades 
even on symbols that have no corresponding signals. If values for optional 
parameters are not provided then AmiBroker uses values defined in 
Symbol->Information window"


Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: Ara Kaloustian 
  To: AB-Main 
  Sent: Thursday, October 16, 2008 9:12 AM
  Subject: [amibroker] Custom Backtest - EnterTrade


  bo.EnterTrade(i, sig.Symbol, True, sig.Price, sig.possize);

  Trying to decipher what is the function of the 3rd parameter ("True")



  Did not see an explanation in help files



  Thanks



  Ara

   

Reply via email to