Hi guys, I’m new here.
I’m trying to find how to adjust transaction value criteria based on my equity.
For example:
I start with $1.000 equity, then I would set my criteria to enter trade stocks with minimum transaction value of $10.000.
As time goes by, my equity grows to $10.000, then I want to set my my criteria to enter trade stocks with minimum transaction value of $100.000.
Can anyone help me with this?
Thanks in advance
Tomasz
2
Carefully read the manual
http://www.amibroker.com/guide/h_portfolio.html
You should specify your position size as percent of equity. AFL Function Reference - SETPOSITIONSIZE
Doing so automatically takes into account current equity.
BTW: your post must contain an error because Stocks can't be usually traded with 10x leverage. Typical margin for stock account is 50% (2x leverage).
Besides $1000 is way too low to open margin account.
FINRA rules say $2000 is minimum margin requirement to be paid in cash before purchasing security on margin: Brokerage Accounts
If you meant futures instead you should read the manual about backtesting futures:
http://www.amibroker.com/guide/h_futbacktest.html
system
Closed
3
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.