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

[amibroker] Example Please - PositionSizing as a function of Portfolio Equity and MaxDD



PureBytes Links

Trading Reference Links

In futures trading, it's not uncommon to positionsize as a function of
Portfolio Equity and/or MaxDD.

But the "advanced portfolio backtester interface" looks so
intimidating for a "cut-and-paste" coder.

More examples would really help in addition to the "New portfolio
backtester interface - application #2" sample provided by TJ.

Would anyone be kind enough to provide some examples of positionsizing
of a kind below ?

Number of Contracts = iff( Portfolio Equity / ( MaxDD + InitialMargin
) < 1, 1, floor( Portfolio Equity / ( MaxDD + InitialMargin ) ) )

TIA





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/