Experts in amibrokers please help.

#1
I want to back test on commodity futures. Since all commodities have different lot size, results are not reliable. Kindly guide me, how to add lot size foreach commodity and backtest it. In symbol information when I add, it dose not work. Please help.
 

shirajroz

Active Member
#2
I want to back test on commodity futures. Since all commodities have different lot size, results are not reliable. Kindly guide me, how to add lot size foreach commodity and backtest it. In symbol information when I add, it dose not work. Please help.


1. Pls fill in details of lot in Symbol Informotion of each Commodity/Scrip :
for ex: for CRUDEOIL
TickSize --> 1
PointValue --> 100

for ZINCMini
TickSize --> 0.05
PointValue --> 1000


2. Also add the following line at the end of ur AFL:
SetPositionSize(1, spsShares);

If u desire to trade in 3 lots then the code line shud be
SetPositionSize(3, spsShares);
 

Similar threads