| 
 PureBytes Links 
Trading Reference Links 
 | 
your sell is defined as an array not a condition, needs a true/false
result, like using Cross
On 7/27/05, dorzfn <dorzfn@xxxxxxxxx> wrote:
> hello,
>  I've been trying to write a stop only wanting to do the following:
> once my buyorder is hit,I take  75% of the 5 day average range and
> add that on to the closing price of the last bar for my next bar stop
> .
> However it takes me out of the trade on the same day the trade is put
> on.
> 
> buy=( Close, MA(Close,50) );
> 
> sell =(MA(H-L,5)*.75) + Close ;
> 
> Thankyou very much in advance for any suggestions or references .
> I've looked thru the old postings ive saved on my hd and the help and
> refernce book . Please excuse my AFL coding ignorence.
> 
> best regards, Phil
> 
> 
> 
> 
> 
> 
> 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
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 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/
<*> 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/
 
 |