[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
short = sell;
cover = buy;
This was how pre-3.59 versions worked.
But now you can have separate trading rules for going long and for going
short:
// long trades entry and exit rules:
buy = cross( cci(), 100 );
sell = cross( 100, cci() );
// short trades entry and exit rules:
short = cross( -100, cci() );
cover = cross( cci(), -100 );
Note that in this example if CCI is between -100 and 100 you are out of
the market.
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
<http://www.amibroker.com>http://www.amibroker.com
----- Original Message -----
From: "Steve Wiser" <slwiserr@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 20, 2001 4:53 PM
Subject: [amibroker] Buy and Sell price
> Tomasz:
>
> I think I have these figured out. This is what I did. Is this correct?
>
> Buyprice=Fractalup+0.065;
> Sellprice=AlligatorGreen;
>
> Buy=Cross(C,Buyprice);
> Sell=Cross(SellPrice,C);
>
> Does the Buy or Sell take place at the price or at the C? I am
thinking it
> is at the price.
>
> Thanks again.
>
> Steve
>
>
>
>
>
> Your use of Yahoo! Groups is subject to
<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/
>
>
>
Yahoo! Groups
Sponsor<http://rd.yahoo.com/M=201621.1431180.3015684.2/D=egroupmail/S=1700007389:N/A=616083/R=2/*http://store.yahoo.com/cgi-bin/clink?ydomains+merchant-ad:dmad/M=201621.1431180.3015684.2/D=egroupmail/S=1700007389:N/A=616083/R=3/990373869+http://domains.yahoo.com/>
www.
Your use of Yahoo! Groups is subject to the
<http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.

PureLinks - Finance Banners.