i want to use 1% risk per Trade, but i have the problem that my code doesnt work:
//Money Management 1%
//double startingcapital = 10000;
//int LotSize = (int)(((startingcapital-Performance.AllTrades.Count)*0.01 /(Instrument.MasterInstrument.PointValue * StopLoss)))*100;
but it isnt the code; if i change the DefaultQuantity in the EnterLongLimit() for example to 10000 and use Quantity by Strategy, the tester always takes the Size 1.
I just can change it manually in the tester (by DefaultQuantity).
And the second problem is, that if the size is changed, the profits changes in $, but the % Performance and Drawdown never change. The Risk per Trade is always 0,12% by Ninja Trader.
What can i do? Help would really be nice..
best regards
Comment