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

Re: one trade a day



PureBytes Links

Trading Reference Links

Do smething like setting a signal varible since
MarketPosition will only work after the bar.

Var: OkToTrade(False);

If whatever and OktoTrade = False then begin
	Buy("Yippee!") at open;
	OktoTrade = True;
	end;

If whatever and OktoTrade = False then begin
	Sell("Yahoo!") at open;
	OktoTrade = True;
	end;

If Date <> Date[1] then;
	OktoTrade = False;