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

[amibroker] Re: BACK TESTER _question- controlling min' trade purchase$



PureBytes Links

Trading Reference Links


If you are controlling PositionSize, and set BuyPrice = H/L/C/O, then 
you can just setup a new Buy condition right?

Buy = ...;
Buy = Buy AND ((PositionSize * BuyPrice)+[commission formula]) > 1000;

- chris

--- In amibroker@xxxxxxxxxxxxxxx, das300@xxxx wrote:
> 
> How can I ensure that if a trade (x) , due to volume restrictions or
> otherwise, is less than an amount (Y) it is not to be traded.
> 
> example - A short term system trades but due to commissions I do not
> want to place a trade less than say $1000.00 as the avergae gain is
> likely to be less than commission cost.  NOW due to position sizing 
or
> volume restrictions or any other  position size restriction I do not
> want a trade of less than $1000. I note that AB can restrict a 
MINIMUm
> QTY shares purchased but I dont see how I can control the trade as a
> function of the total trade cost.
> 
> Can anyone give a hint ?
> regards 
> maurice





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/