Hello,
i am wondering that the Position Size Value that i see with the Debug Viewer is different than the one that AmiBroker displays in the AA report list. I have tried it also on a single trade and just the first few bars of the trade. Does anyone know the reason ?
for(bar = 0; bar < BarCount; bar++) {
bo.ProcessTradeSignals(bar);
CurEquity = bo.Equity;
for( pos = bo.GetFirstOpenPos(); pos; pos = bo.GetNextOpenPos() ) { posval = pos.GetPositionValue
(); _TRACE("bar " + bar + " GetPositionValue = " + posval[bar] );
}
-- Regards
__._,_.___
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 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
SPONSORED LINKS
__,_._,___
Attachment:
differentPosSize.png
Description: PNG image
|