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

[amibroker] Re: Value of Equity



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, Andrew Z <wizard@xxxx> wrote:
>
> I don't think I'm understanding this correctly. I want to use X% of my 
> current equity to calculate my Positionsize. Therefore, if my equity 
> last bar was $6500, I have:
> 
> size = Current Equity * 0.02;   ---- 6500 * 0.02 = $130
> PositionSize = size / 40; 	---- 3.25  (will be rounded down to 3)
> 
> In my system (this is a Forex system) my next buy size will be 3
lots of 
> my pointvalue (be it 1000, 10000 or whatever)

Can someone clarify something for me please - Shouldn't the statement
CurrentEquity = ref(Equity(),-1); give me the value of equity at last bar?

Thanks,
Andrew.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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/