Hello
I have set my position size =1 in my backtester. however it still 
defaults the position to 10000. wher and how do i fix it.


DEFAULT_POSITION_SIZE=1;

for (trade = bo.GetFirstOpenPos(); trade; trade = bo.GetNextOpenPos())
                                { // Loop through all open positions
                                        if (trade.GetProfit() >= 
trade.GetEntryValue()) // If time to scale-in
                                                {
                                                        scaleSize = 
trade.GetEntryValue() / 2; // Scale-in the trade
                                                        bo.ScaleTrade
(bar, trade.Symbol, True, trade.GetPrice(bar, "C"), 
DEFAULT_POSITION_SIZE);
                                                }
                                } //



Reply via email to