the problem with your statemetn is that when there are more than 1 buy
signals before the price reaches 10% above the original buy signal
then sell signal will be wrong.
you need to use a loop, example of which has been posted many time and is
probably in the knowledge base

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Bill Halliday
Sent: Friday, 2 March 2007 6:10 AM
To: AmiBroker Trading Systems User Group; AmiBroker Users Group
Subject: [amibroker] Sell Signal help




Hi,
 
I've been working on analyzing a system and don't seem to be able to define
a Sell Signal.
 
I'm working with this one:
 
Sell = High >= ValueWhen(Buy,BuyPrice) * 1.1;
 
It seems to work, but it's the only one I've been able to come up with.
 
I tried setting Sell=0; to force the trailing stop to trigger and sell the
stock.
I didn't have any luck.
 
Could someone send me a few examples of Sell = ???? statements?
 
Thanks,
 
Bill



  _____  

Expecting? Get great news right away with email
<http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailb
eta/newmail_tools.html> Auto-Check.
Try the Yahoo!
<http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailb
eta/newmail_tools.html> Mail Beta. 

 

Reply via email to