Hello,
Use this,
Param_LotSize = Param("Lot Size", 50,5,5000,5);
Param_NoOfLots = Param("No of lots normally traded (used for backtesting
only)",1,1,10000,1);
SetOption("FuturesMode", True);
SetOption("MaxOpenPositions",1);
RoundLotSize = Param_LotSize;
SetOption("MinShares",RoundLotSize);
Above lot size is for Nifty, has to be changed if required for Individual
Stocks / other Indices
Cheers
Prashanth
----- Original Message -----
From: Deepak Patade
To: [email protected]
Sent: Tuesday, November 24, 2009 16:44 PM
Subject: [amibroker] Limiting number of positions ( contracts)
I trade only futures and while i backtest then number of contracts bought are
very huge in the AA
how can i limit the number of contracts
Tried numcontracts
this is simple.
i am missing something