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

[amibroker] Backtesting - commision and lots.



PureBytes Links

Trading Reference Links

I posted this at the forum, no
reply(http://www.amibroker.org/boards/viewtopic.php?t=1546). As it is
more lively here, I hope someone will give me a hand...)

*******************************

What would be the best way to get the backtest report in points (as
opposed to money)?

One way to simulate that would simply be to enter a position size of 1
but I don't quite seem to be able to do it. I have tried using:
SetPositionSize(1, spsValue);
but that just results in no trades are taken at all for some reason.

This also reflect on the commission, where I simply want it to be per
trade (as it says), not times shares or lots.
Ex. if the system generates 100 trades, and my commision per trade is
set to 5, each trade should cost 5, coming to a total of 500.
Somehow I cannot make this happen.

To sum: I want the report to tell me how many points where made, and
Total minus (no_of_trades * commission_per_trade).

As I am spreadbetting, these are my needs, although I know it does not
make much sence outside SB.

Hope I make sense...

All the best...







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