PureBytes Links
Trading Reference Links
|
what do you mean with "mid-level custom backtester interface
"?
--- In amibroker@xxxxxxxxxxxxxxx, "gp_sydney" <gp.investment@xxx>
wrote:
>
> As far as I'm aware, you can't use the Equity() function for
position
> size control or any other buy/sell rules, since it needs to evaluate
> all those rules first to come up with the equity.
>
> And I don't believe you can set two different types of position size
> rule at the same time.
>
> I would say you need to use the mid-level custom backtester
interface
> to be able to make your buy/sell conditions (including position
size)
> dependant on the current portfolio equity.
>
> GP
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "supistarde" <supistarde@> wrote:
> >
> > HI community,
> >
> > I have the following question: How can I let the position size
grow
> > with the equity and how can I set a maximum level?
> > I tried:
> > SetPositionSize( 20, spsPercentOfEquity );
> > SetPositionSize( 20, spsShares );
> > or:
> > IIf(Equity()<200000,PositionSize = -20,20); // use 20% of equity
> >
> > but it does not work (intraday 5min, future mode)
> >
> > Regards!
> >
>
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
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/
|