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

RE: [amibroker] Simple question



PureBytes Links

Trading Reference Links

Hi,

 

buy = close > ema(c,200);

sell = barssince(buy)==5;

 

Best Regards

Thomas

www.patternexplorer.com

 

 

  _____  

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of veszka
Sent: Sunday, January 07, 2007 5:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Simple question

 

Hello!

How can I do the following:
buy when close price > EMA(200) and sell after with 5 days the date of
buy?
I can't create the condition of selling. Could anybody help me?
Thanks!

 


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date: 1/8/2007 4:12 PM