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

Re: [amibroker] Value of Equity



PureBytes Links

Trading Reference Links

Hi Graham,

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)

Am I making sense?

Trying what you suggested above yielded no results.

Other settings in my system are:

SetBarsRequired(500,5000);
SetTradeDelays( 1, 1, 1, 1 );
SetOption( "initialequity", 5000 );
SetOption( "PriceBoundChecking", 1 );
SetOption("FuturesMode", 1 );
SetOption("MaxOpenPositions", 1);
PointValue = 10000;
MarginDeposit = 1;

Thanks,
Andrew.


Graham wrote:
> If yu arre just wantng to use a percentage of the current equity just use
> Positionsize = -0.005;



------------------------ 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/