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



Reply via email to