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

Re: [amibroker] Re: Buyprice and sellprice...



PureBytes Links

Trading Reference Links

Then you need to set out exactly what you need to do and write the afl to match
It is all logical steps
I do it by writing down all the restrictions and possibilities and
what I need at the end and how I think is best way to achieve this
......... in detail. There are no short cuts and can be very tedious.
I also more often than not write out a flow chart to map all
decisions, inputs, outputs, calculations etc.

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com



2008/7/2 Louis Préfontaine <rockprog80@xxxxxxxxx>:
> Hi Adrian,
>
> Thanks for your suggestion.  But still...  How can I do this?  I mean: I
> want to be precise.  With the kind of markets I am in and what I am trying
> to do, precision is very important...    I need to be able to set a
> particular % adjustment for particular situations...
>
> Louis
>
> 2008/7/1 tayamaan <tayamaan@xxxxxxxxx>:
>>
>> Hi, if you would really like to try to compensate for slippage,
>> adding this to your commissions as part of your transaction costs is
>> perhaps an idea.
>>
>> Adrian
>>
>> > Hi Graham,
>> >
>> > How can I put more information so that my buy price is 1% higher
>> than C and
>> > sell price 1% lower than C?
>> >
>> > Thanks,
>> >
>> > Louis
>> >
>> > 2008/7/1 Graham <kavemanperth@xxx>:
>> >
>> > > Without more information on what you are trying to achieve
>> > > The price will be for the bar of actual entry C*1.01 or C*0.99
>> > >
>> > > Also the prices may be outside than the bar range in which case
>> the
>> > > closer of high or low is used if you have the PriceBoundChecking
>> on
>> > >
>> > > --
>> > > Cheers
>> > > Graham Kav
>> > > AFL Writing Service
>> > > http://www.aflwriting.com
>> > >
>> > > 2008/7/1 Louis Préfontaine <rockprog80@xxx <rockprog80%
>> 40gmail.com>
>> > > >:
>> > >
>> > > > Hi,
>> > > >
>> > > > I have been trying to set a formula for slippage:
>> > > >
>> > > > SetTradeDelays( 1, 1, 1, 1 );
>> > > >
>> > > > BuyPrice = C*1.01;
>> > > > SellPrice = C*0.99;
>> > > >
>> > > > It doesn't work at all. I tried to write C*50 just for fun, but
>> it didn't
>> > > > change the buyprice at all. What can possibly be wrong?
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Louis
>> > >

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

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/