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

Re: easylanguage help



PureBytes Links

Trading Reference Links

At 11:10 PM -0400 5/5/00, Barry Silberman wrote:
>=================================
>Variables: MP(0), Count(0);
>
>MP = MarketPosition;
>
>If MP = 1 and MP[1] = 0 Then
>   Value1 = High;
>
>If MP = 1 and BarsSinceEntry >= 1 Then Begin
>   If Close > Value1 Then
>      Count = 1
>   Else Count = 0;
>   If Count = 2 Then
>      ExitLong on Close;
>End;
>=====================================

Looks to me as if the code should work, assuming you have a Buy command somewhere to enter a position.

Bob Fulks