Hi All:

I am still in the learning mode here  but I'm trying to get through
the learning curve asap.... I tried almost everything to get the
testing results based on 1 contract basis (futures mode).

I tried the following in my code (one or all):
//PositionSize = MarginDeposit = 1;
SetOption("MaxOpenPositions", 1 );
SetPositionSize(1, spsShares);

in my code and I always get different position count - pic attached..

I know it must be something simple..

tks/Paul


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/qlNZQC/hOaOAA/cosFAA/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:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Attachment: positioncount.gif
Description: GIF image

Reply via email to