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

[amibroker] Positionsize=-1000; and above



PureBytes Links

Trading Reference Links

Hi,

I was testing a system in forex, with
positionsize=-3/stoploss*buyprice; so that I could risk 3% of my
equity on each trade.
Sometimes the stoploss is just a few pips, so the position size gets
larger than my equity size, but since my account margin is set to 1, I
should be able to trade at maximum with 100 leverage.
The problem is that the backtester doesn't generate any trade.
So I started trying several values for position size, and it works
fine until positionsize=-1000; (leverage=10x). If I set
postionsize=-1001; or above then one of two things happen: theres no
trade generated or the positionsize in the trade lsit is incorrect.
Can someone help me on this? (I'm using version 5.0)

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/