
10-18-2005, 01:48 PM
|
 |
Senior Member
|
|
Join Date: Oct 2005
Location: Germany
Posts: 307
|
|
Quote:
|
Originally Posted by newdigital
Alex,
what is useClose.Trade.Rules?
Is it to close all the orders in the end of the day?
|
{Signal close of Long position if fast MA crosses below slow MA+yamt}
Shortstop:=Cross(MAShort,MALong);
{Signal close of short position if fast MA crosses above slow MA-yamt}
LongStop:=Cross(MALong,MAShort);
|