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

Re: Random entries + LeBeau exit = Profitable system



PureBytes Links

Trading Reference Links

> I would like to test this exit strategy (and others) during live intraday
> trading.  A question: How can I tell a TS System that I entered a position
> Long at $105.00 at 2:14PM, so the System would indicate the actual position
> entry on the chart, then apply and plot the exit strategy from that point
> forward on the chart?

input: ent_date(981102), ent_time(1414), buy_sell("buy");

if date = ent_date and time = ent_time then begin
  if buy_sell = "buy" then buy else
  if buy_sell = "sell" then sell;
end;

-- 
   Dennis