I'd like to know two things.
Is this possible in Amibroker?
HOW do I code it?
What I want to do:
I want to track several INDEPENDENT trades in 1 security which have
their own initial stop and trailing exit.
Here is my (simplified) Buy condition:
Buy = C > 10 AND Cross(Ref(HHV(H,20),-1);
As you can see it is possible that there are several possible Cross()
during the time that C > 10 is True.
Each 'BUY' has its own independent Stop Loss (E.g. Close minus 10%)
Each Trade has its own independent Trailing Exit (E.g. Highest High
since Buy minus 20%)
Here's the outcome I want:
I test over 2 securities.
Security A passes in January, and exits in March.
Security B passes in February and March.
There is not enough money to take the trade on B in February.
However, there is enough money to take the trade on B in March,
because trade in Security B has exited.
Can this be done?
Joel
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
SPONSORED LINKS
| Investment management software | Real estate investment software | Investment property software |
| Software support | Real estate investment analysis software | Investment software |
YAHOO! GROUPS LINKS
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
