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

Re: ela help



PureBytes Links

Trading Reference Links

>For purposes of testing I need to ensure my system has exited the market
>on the last bar of the chart.
>But I also have alternative exit signals..... I am sure this is a simple
>question, but nothing I try works since one order is if xxx then
>exitlong at xxx stop?

input: xlastbar(true);

if xlastbar = true and date = lastcalcdate and time = lastcalctime
   then begin
      exitlong;
      exitshort;
   end;

-- 
   Dennis