breakout code for TS 2000i

leonard1

Junior member
Messages
10
Likes
0
hi all

please , has anybody got TS 2000i code for breakout TIME'S.
i.e. To trade once per direction per day on the breakout of selected time.

thank you
 
Hi Leo,
Here is the code that works when there is a breakout after 11:00. You can modify your exits and the time to enter...

Code:
If Time >= 1100 then begin
	Buy next bar at Highd(0) stop;
	Sell next bar at Lowd(0) stop;
end;
setexitonclose;

Cheers,
Mani.
 
Top