Small corretion - I actually did not mentioned that before but I am testing the system on composite symbol.. ~MySymbol
with the line of code: PositionSize = MarginDeposit = 1; The above works if I test on future contract but the moment I switch to composite symbol with the same settings as future contract the above line is not limiting me to one contract.. does anyone know solution to this problem? Paul On 6/20/06, PKJR <[EMAIL PROTECTED]> wrote: > 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 --------------------~--> What does your credit report say about you? Find out on the Beehive. http://us.click.yahoo.com/XrNZRC/HPaOAA/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/