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

Re: [amibroker] Custom Backtest - EnterTrade



PureBytes Links

Trading Reference Links

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:
 
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 -----
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

__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___