Hello

I face problems using Equity() functionality when calculating position size. I 
want to utilize SetPositionSize function with method=1 (dollar value of size) - 
this method is crucial for me, I'm not interested in method=2 and the rest. 
Unfortunately during backtest it occurs that backtester use only initial value 
of Equity for all trades, so I cannot take advantage of the rise of capital.

What can be wrong? Are there any additional conditions which I missed that are 
crucial to use Equity() properly? I want to add that I tried to utilize 
"~~~EQUITY" ticker, too, however SetPositionSize seems not to "understand" it 
(it treats it as it was equal to zero) and as a result no trades are taken.

I will be grateful for any tips.
Regards
Tomasz

Reply via email to