PureBytes Links
Trading Reference Links
|
I've been racking my head trying to figure out a way to set the max
open positions per market sector. I've been using an if statement
with the MarketID(1) fuction to check the designated market, but when
I set MaxOpenPositions, it declares a global command of positions to
be held for the overall portfolio. Is it possible to see how many
positions are currently open in the portfolio, then if that number is
less than a certain amount, keep opening trades in only the designated
sector? For example, if you have a watchlists for both US Stocks and
Global Stocks, allow only up to 70 US stock trades to remain open, and
then allow only up to 30 Global stock trades to be open; max open
positions 100. Thanks in advance.
Best Regards,
David Piatek
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|