PureBytes Links
Trading Reference Links
|
Hi,
I'm having trouble defining position size in futures mode.
What I want to do is to risk a certain % of current equity on each
trade, based on the stop loss $$ value.
For example in EURUSD, I want to risk 3% of my equity (suppose it is
25000 in the current bar) and my stop loss is 25 pips away from entry
point. (Assuming lots of 100k => pointvalue=100.000;
margindeposit=1000)
risk=>25.000*0.03=750
=>750/(0.0025*100000)=3lots
In the example above I would trade 3lots(contracts), so positionsize
would be 3,000.
I can do this if I allways risk a fixed amount, but I don't know how
to do it referring to the current value of equity which varies bar by
bar.
How can I do this in AB (I've already filled in the tick size, point
value,margin deposit in the synmbol page and selected futures mode)?
thanks
------------------------------------
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|