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

Re: Easy Language Help



PureBytes Links

Trading Reference Links

As written, this code will only buy if the last trade was a long. I
don't know but I doubt that's what you had in mind.

>   If Signal1 or Signal2 and (ExitTime(1) <> Time of 1 bar ago and MarketPosition(1) = 1) then
>   Begin
>   If MarketPosition(0) = 0 then
>   Buy 1 Contract;
>   End;

-- 
  Dennis