Hi,
buy = close > ema(c,200); sell = barssince(buy)==5; Best Regards Thomas www.patternexplorer.com _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of veszka Sent: Sunday, January 07, 2007 5:23 PM To: [email protected] 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!
