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

[amibroker] problem with Equity() function


  • Date: Thu, 11 Feb 2010 21:20:27 -0000
  • From: "tf28373" <tomfid@xxxxx>
  • Subject: [amibroker] problem with Equity() function

PureBytes Links

Trading Reference Links

Hello

I face problems using Equity() functionality when calculating position size. I want to utilize SetPositionSize function with method=1 (dollar value of size) - this method is crucial for me, I'm not interested in method=2 and the rest. Unfortunately during backtest it occurs that backtester use only initial value of Equity for all trades, so I cannot take advantage of the rise of capital.

What can be wrong? Are there any additional conditions which I missed that are crucial to use Equity() properly? I want to add that I tried to utilize "~~~EQUITY" ticker, too, however SetPositionSize seems not to "understand" it (it treats it as it was equal to zero) and as a result no trades are taken.

I will be grateful for any tips.
Regards
Tomasz



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

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