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

Re: [amibroker] Is it possible to show more than one open position per symbol?



PureBytes Links

Trading Reference Links

you have multiple possibilities in Amibroker.  You can use pyramiding using functions like sigScaleIn / sigScaleOut (see help file). But you can also use functionality added to 1 of the later beta versions, see Readme file:
 
rgds, ed
 
 
AFL: new function SetBacktestMode( mode )
Sets working mode of the backtester:

// default, as in 4.90, regular, signal-based backtest, redundant signals are removed
SetBacktestMode( backtestRegular );

// signal-based backtest, redundant (raw) signals are NOT removed, only one position per symbol allowed
SetBacktestMode( backtestRegularRaw );

// signal-based backtest, redundant (raw) signals are NOT removed,
// MULTIPLE positions per symbol will be open if BUY/SHORT signal is "true" for more than one bar and there are free funds
// Sell/Cover exit all open positions on given symbol, Scale-In/Out work on all open positions of given symbol at once.
SetBacktestMode( backtestRegularRawMulti );

// rotational trading mode - equivalent of EnableRotationalTrading() call
SetBacktestMode( backtestRotational );
 
 
 
 
----- Original Message -----
From: trustdnb
Sent: Monday, August 20, 2007 11:44 PM
Subject: [amibroker] Is it possible to show more than one open position per symbol?

Hi,

Is there anyway to override the default which shows no more than one
open position per symbol when back testing? Say for example my system
is to buy XYZ every time it drops 5 points from it's prior close and
then sell in one week. IF XYZ drops 5 points on Monday and 5 more on
Wednesday, Amibroker currently will not show me that second trade. Is
there a way to change this?

Is there also a way to override all the other trading limits (e.g.
account equity, max open positions, etc.) so that I can see the raw
profitability of every trade signal? I realize that I can view the
raw trade signals via scan/explore, but that does not show
profitability, MAE, etc.

Muhammad

__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___