PureBytes Links
Trading Reference Links
|
<FONT face=Arial
color=#0000ff size=2>what's wrong with doing it the way the help file says to do
it? You're making it more complicated than necessary. Positionsize =
-50; will take 1/2 of the current equity.
<FONT face=Arial
color=#0000ff size=2>
<FONT face=Arial
color=#0000ff size=2>d
<BLOCKQUOTE
>
From: olivier_molongo
[mailto:olivier_molongo@xxxxxxxxx] Sent: Sunday, July 04, 2004 3:36
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Which function gives "current portfolio value"?
> Hi,> > How can I get max position to be half
of the portfolio value.> > I use the following function:>
> Position = Min (Position1,Equity()/2) ; /* position1 is a
> calculated value> > but amibroker will cap my position
to half of the "initial" portfolio > value and not the current
portfolio value. So if I start with 10 000 > in equity and end up
with 20 000, I expect to be cap at 10 000 but > Amibroker will always
cap my position at 5 000. > > Is this a bug? How can I get the
current portfolio value?> > Regards,>
OlivierCheck AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|