Use buyprice and sellprice :

Spread = 0.0002;
Buyprice = close + spread;
Sellprice = close - spread;


On Sep 9, 2010, at 11:15 AM, "pipadder" <pipad...@yahoo.com> wrote:

> 
> 
> 
> 
> 
> 
> 
> 
> Hi,
> 
> Thanks for the tip. I am actually using those specifications already, one 
> needs to detail the margin, the value of a pip, etc in order to get 
> appropriate order sizing and accurate results. That part works fine. The 
> problem is that there is nothing there related to commisions or -more 
> specifically- to the currency they are expressed in. The "currency" field in 
> that information window works fine to translate everything to the account 
> currency... everything but the commissions! 
> 
> So far the only idea that comes to mind would be to use as account currency 
> the quote currency (for example JPY for backtesting USDJPY). That would 
> produce accurate results, but it would be a little bit of a pain, and would 
> require changing the account for every currency pair with a different quote 
> currency.
> 
> I am sure there has to be an easier way to do this.
> 
> 
> 
> --- In amibroker@yahoogroups.com, reinsley <reins...@...> wrote:
>> 
>> 
>> Hi,
>> 
>> In Symbol | information | menu
>> 
>> You can set contract specification for each future.
>> 
>> I hope it helps you.
>> 
>> Best regards
>> 
>> 
>> 
> 
> 
> 
> ------------------------------------
> 
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> Yahoo! Groups Links
> 
> 
> 

Reply via email to