[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: How to control PositionSize correctly?



PureBytes Links

Trading Reference Links



--- In amibroker@xxxxxxxxxxxxxxx, "melticemelt" <melticemelt@xxxx> 
wrote:
> 
> 
> I have tried what I can do to control PositionSize but it still 
work 
> wrong. I just want to set PositionSize to 4. I tested PositionSize 
in 
> negative value and also get wrong contract sizing. It often jump 
from 
> high contract size to low and then jump back and so on ...
> 
> http://alumni.csie.ncu.edu.tw/~meltice/tmp/PositionSize.PNG
> Initial Equity is high enough
> MarginDeposit is only 90000
> why contract size is not fix to 4 on backtest result

I got it. It work now.
Settings->Portfolio->Limit trade size ...
set to 100%
and AmiBroker will also adjust to the max lots that market can trade 
at that bar.








------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/