PureBytes Links
Trading Reference Links
|
Thanks so much tuzo. K
--- In amibroker@xxxxxxxxxxxxxxx, "tuzo_wilson" <j.tuzo.wilson@xxx> wrote:
>
> --- In amibroker@xxxxxxxxxxxxxxx, "kathline_80" <kathline_80@> wrote:
> >
> > Hi!
> >
> > Trying to do multiple buys on the same symbol.
> >
> > In a simple Moving average system;
> >
> > Buy = Cover = (MA(C,5)) > (MA(C,10);
> > Sell = Short = (MA(C,5)) < (MA(C,10);
> >
> > I want to make an additional buy each bar the MA5 > MA10.
>
> If you want to open multiple positions for one symbol (as opposed to scaling in/out of one position then you need to change the backtester mode. By default, the backtester will only open one position per symbol.
>
> From http://www.amibroker.com/guide/h_portfolio.html :
>
> "If you want ALL repeated entry signals to be acted and allow to open multiple, separate positions on the same symbol without scaling in/out effect (so multiple positions on the same symbol open simultaneously appear as separate lines in the backtest report) you need to use backtestRegularRawMulti mode by adding the following line to the code:
>
> SetBacktestMode( backtestRegularRawMulti );
> "
>
>
> Tuzo
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|