You can set the PositionSize variable in your code. For example, if you want all positions to be 100 shares using the Open price, you would write:
PositionSize = Open * 100; ...where PositionSize is set to the dollar value for the position (see table): http://www.amibroker.com/guide/a_language.html Alternatively, you could set the PosSize field of each individual Signal object from within custom backtester code. http://www.amibroker.com/guide/a_custombacktest.html --- In [email protected], "srengret" <[EMAIL PROTECTED]> wrote: > > Okay, the info from you and Tomas helped. > Is there a way to explicitly limit the number of shares (100) using > settings regardless of the amount available for trading? I didn't see > how. > > > --- In [email protected], "apfxtrader" <apforex@> wrote: > > > > It can be that you do not have sufficient funds to enter all trades or > > backtestmode (regular) is removing all excess signals. > > > > > > --- In [email protected], "srengret" <lechols@> wrote: > > > > > > When conducting a backtest, I obtain a trade list report as selected > > > in my settings. When I view the price chart, the stock shows more buy > > > and sell arrows in the price chart than the trade list report shows > > > in the text. This only happens some of the time. In other cases, > > > the trade list report buys and sells match the price chart buys and > > > sells arrows. > > > I rechecked the dates on the price chart and trade list report. They > > > are okay. > > > What have I overlooked? > > > Example: PYZ showed 3 buy and sell occurrences in the text. The > > > price chart showed 3 buy and sell occurrences. Using the same > > > backtest criteria, PZD only showed one buy and sell on the trade list > > > report and four or more buy and sell arrows on the price chart. > > > If anyone has any idea of what I need to recheck or change, please let > > > me know. > > > Regards. > > > > > >
