Thanks, so simple..I just wasn't seeing the answer. Sid --- On Fri, 8/6/10, reinsley <reins...@yahoo.fr> wrote:
From: reinsley <reins...@yahoo.fr> Subject: Re: [amibroker] EOD exit To: amibroker@yahoogroups.com Date: Friday, August 6, 2010, 12:22 AM Hi, Buy = …your conditions…. Sell = ….your conditions…. OR TimeNum() > 125500; For example - MACD crossover : Buy = Cross( MACD(), Signal() ); Sell = Cross( Signal(), MACD() ) OR TimeNum() > 125500; Best regards Le 06/08/2010 05:45, Sidney Kaiser a écrit : Hi Gang, I'm evaluating a simple day trading concept and I need a quick and easy way to exit the trade at 1255 hours. What code do I need to exit either short or long near EOD. TIA SId