Well, OK, I see that. But what if I try to scale in using sigscalein? I guess I need to know how to determine the current number of owned shares in the symbol in order to determine how many more I can buy. Is there a variable that specifies the current number of owned shares?
----- Original Message ----- From: Paul Ho To: [email protected] Sent: Tuesday, September 09, 2008 9:34 PM Subject: RE: [amibroker] Limit number of shares per symbol? if shares is what you normally work out to be what you buy shares = ..... setpositionsize(min(shares, 500), spsShares); ---------------------------------------------------------------------------- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of cstrader Sent: Wednesday, 10 September 2008 10:22 AM To: [email protected] Subject: [amibroker] Limit number of shares per symbol? Dumb question I'm sure, but what's the best way to limit the maximum number of shares per symbol in the backtester? (for instance, only allow a maximum of 500 shares even if there's cash for more) Thanks
