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

[amibroker] Re: How to force Backtester to Calculate Position Size on Open Price?



PureBytes Links

Trading Reference Links

and I do already have UsePrevBarEquityForPosSizing set to False, so
that does not seem to be the issue...



--- In amibroker@xxxxxxxxxxxxxxx, "ozzyapeman" <zoopfree@xxx> wrote:
>
> Hello, even though I have set Buyprice = Open; I noticed that the
> backtester report is displaying position sizes based on the Close of
> the bar. On some trades this makes a huge difference.
> 
> I am backtesting Forex. And I imagine that when trading on the Open, a
> broker like IB will use the dynamic price of the Open to calculate the
> exchange rate and position size, since the Close price is not yet
> known at the time of the trade.
> 
> So how do I force the backtester to mimic the above, and calculate
> position sizes based on Opens? Or is this not even an option?
> 
> I looked up Setoption in the reference guide, and don't seem to see an
> appropriate setting to switch. 
> 
> Any input appreciated.
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/