PureBytes Links
Trading Reference Links
|
Hi,
Graham helped me with this the other day and I have been testing it
and I expected that the position size would increase as the equity()
increases but it isn't!
Here is my latest position sizing:
--------------------------------------
Risk = 0.02; //2% of capital
MinPer = 0.07; //7% of capital
MaxPer = 0.10; //10% of capital
Capital = Ref(Equity(),-1)
MinTrade = Capital * MinPer;
MaxTrade = Capital * MaxPer;
RiskPS = (Capital * Risk) / (BuyPrice - InitialStop);
PositionSize = Min(MaxTrade, RiskPS);
Buy = Signal AND PositionSize > MinTrade;
--------------------------------------
It uses % risk, a minimum trade size and a maximum trade size. Problem
is the position size does not increase as equity increases. The
maximum trade size is 10% of the "initial" equity as shown in the
Report.
Is this the way to increase (or decrease) position size based on your
capital please?
Thanks, Rangar
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hppbb9h/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124104187/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html">Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~->
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 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/
<*> 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/
|