Hello,

You really need to read more about CBT.
This 
http://www.amibroker.org/userkb/2008/03/16/amibroker-custom-backtester-interface-2/
is good starting point.

You did not said that but guessing from your previous e-mail,
you are probably using low-level and you are not calling UpdateStats.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "olivier_molongo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, November 16, 2008 10:35 PM
Subject: [amibroker] GetPositionValue gives the position value of bar n-1


> Hello,
> 
> I use the CBT. I traced my code and realized that generally 
> GetPositionValue on the bar n gives the value of the position on the 
> previous bar.
> 
> Why is that?
> 
> Regards,
> Olivier
> 
> 
> ------------------------------------
> 
> **** IMPORTANT ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> *********************
> TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> *********************
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> *********************************
> Yahoo! Groups Links
> 
> 
> 

Reply via email to